07-24-2006, 10:11 PM
|
#1 |
Join Date: Jul 2006 Location: New Jersey, U.S.A. | Variable Forum Description | | I have a featured artist/band forum on my vB; I have the band name as a variable $featuredartist, so I can just change that and it updates the forum name and everything, but now I'm trying to doing something similar with the forum description as that contains the members of the band and there positions (instruments). So I want to set-up a variable for each band, for the current week or weeks past, for example:
$lal="Lead Vocals/Guitar: Chris<BR>
Bass/Backing Vocals: Kyle<BR>
Drummer: Mark";
$ike="Lead Vocals/Guitar: John<BR>
Lead Guitar/Back Vocals: Cliff<BR>
Bass Guitar: Joann<BR>
Drummer: Dave";
so I can then pull each description with just the variable but what I want to do is set a featured artist decription to the featured artist band:
So for example if the $featuredartist="Life After Lisa"
$featuredartistdescription="$featuredartist"
somehow I need the value of $featuredartist to call the description, either $lal or $ike, in this case it would be $lal for Life After Lisa, there will be many more bands, so I'm just trying to make this as easy for me to change the bands from week to week.
I can't figure out how to do this.... anybody have any ideas or somebody willing to write a plug-in/hack for this?
If somebody's willing to make this hack, could you make it admincp controlled with the option of adding bands (almost like forums), band website urls, band image, and description(members). and then a section for assigning the featured artist.
Last edited by HDRebel88; 07-24-2006 at 10:16 PM..
| |