Help Needed
-
- Posts: 2
- Joined: Thu Nov 14, 2002 3:33 pm
- Location: Hartford, Connecticut
- Contact:
Help Needed
Hi Jay,
I run a very popular website (DBSTalk.COM) I am in the process of setting up a Holiday Station using Live365 for my users.
My forum software is Vbulletin which is PHP/MySQL based
What I am trying to do it have the following on my forum home page... (http://www.dbstalk.com/index.php)
Now Playing on the DBSTalk Holiday Channel: Song Name - Artist
The above will be a clickable link which will take people to http://www.dbstalk.com/holiday where they will see the Live365 playlist and a link to tune in.
I for the life of me can't figure how to integrate your php into my index.php
I have put the include include("includes.php"); in the <?php section of my index.php and have placed the following in where I want the song title to display.
Now Playing on the DBSTalk Holiday Channel<b><?php echo $current_song; ?></b>
Yet the title never appears.
If I go to the examples which are also in the same directory they work fine!
I am having a hard time why <?php echo $current_song; ?> is not returning no information.
Better yet I would LOVE a graphic like you have in your tagline. Any way I can do that?
Any help you can give would be appreciated.
I run a very popular website (DBSTalk.COM) I am in the process of setting up a Holiday Station using Live365 for my users.
My forum software is Vbulletin which is PHP/MySQL based
What I am trying to do it have the following on my forum home page... (http://www.dbstalk.com/index.php)
Now Playing on the DBSTalk Holiday Channel: Song Name - Artist
The above will be a clickable link which will take people to http://www.dbstalk.com/holiday where they will see the Live365 playlist and a link to tune in.
I for the life of me can't figure how to integrate your php into my index.php
I have put the include include("includes.php"); in the <?php section of my index.php and have placed the following in where I want the song title to display.
Now Playing on the DBSTalk Holiday Channel<b><?php echo $current_song; ?></b>
Yet the title never appears.
If I go to the examples which are also in the same directory they work fine!
I am having a hard time why <?php echo $current_song; ?> is not returning no information.
Better yet I would LOVE a graphic like you have in your tagline. Any way I can do that?
Any help you can give would be appreciated.
Scott
DBSTalk.COM
DBSTalk.COM
- Jay
- Will work for food (Administrator)
- Posts: 3025
- Joined: Mon Jan 14, 2002 12:48 am
- Location: Next Door
- Contact:
are you include function and $current_song variable next to each other. Premade scripts have a tenacy of bring things in and out of scope which could be causing a problem if your echo is inside of a class or function and your include directive is not, or vice versa.
If there is a header.php file or a header file that is being parsed by php I would use that.
As for the image it's a home brew, but I have an early version of it at www.radiotoolbox.com/codebed/radiotoolbox/
This new one below has additional features beyond that one like image resizing which I just added today (and looks pretty nifty if I say so myself)
I plan on making a more user definable version of it soon to replace that early one in the code bed.
If there is a header.php file or a header file that is being parsed by php I would use that.
As for the image it's a home brew, but I have an early version of it at www.radiotoolbox.com/codebed/radiotoolbox/
This new one below has additional features beyond that one like image resizing which I just added today (and looks pretty nifty if I say so myself)
I plan on making a more user definable version of it soon to replace that early one in the code bed.
- Jay
-
- Posts: 2
- Joined: Thu Nov 14, 2002 3:33 pm
- Location: Hartford, Connecticut
- Contact:
- Jay
- Will work for food (Administrator)
- Posts: 3025
- Joined: Mon Jan 14, 2002 12:48 am
- Location: Next Door
- Contact:
just used the BBCode IMG tag surrouding the url to the script.
like
[IMG]http://someserver.com/whatimplayin.php[/IMG]
like
[IMG]http://someserver.com/whatimplayin.php[/IMG]
- Jay