View Full Version : Can I make it where members can set the top forum banner to their choosing?
Matt Whelan
05-02-2004, 05:16 AM
I have a forum for a certain car model. I also have a forum section for another car model that replaced this vehicle. I want to buy a URL for the "other" car and forward it to my forums.
My question is, can I somehow add an option where each user can set their banner to display their preferred URL?
Thank you.
sabret00the
05-05-2004, 03:43 PM
this can be done via conditionals, it really don't ned hacking
just add a user option (2 radial buttons, top one equals "CAR_NAME_1" second one is "CAR_NAME_2") to ask which header they want
then find:
<img src="$vboptions[bburl]/$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" />
and replace with <if condition="$bbuserinfo[fieldXX] == 1"><img src="$vboptions[bburl]/$stylevar[imgdir_misc]/CAR_NAME_1.gif" border="0" alt="$vboptions[bbtitle]" /><else /><img src="$vboptions[bburl]/$stylevar[imgdir_misc]/CAR_NAME.gif_2" border="0" alt="$vboptions[bbtitle]" /></if>
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.