The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
[Request] Sidepanel on/off?
Erm, im not exactly knowledgable with php, so im not positive if it can be done or not.. But i currently have the sidepanel hack form here installed on my board, but chances are, some people wont like it.
SO.. is there any way that I can have a user option to turn the sidepanel on or off in the user cp? Making the sidepanel individual for each user? This would be greatly appreciated.. Oh, also, i dont have it installed on each skin.. so it wouldnt have an effect on each skin, so.. would i have to install it on all? I would, right? Please help, though theres no rush.. Thanks for your time, Amiga-uk/Dave Fairclough |
#2
|
|||
|
|||
Please?
I want this hack ;_; |
#3
|
||||
|
||||
With the new VB3 conditionals, this is cake. First, create a new User Profile Field.. use Single-Selection Radio Buttons. Make two options, "on" and "off". Make note of the profilefieldid.
Then, in whichever template you call the sidepanel and encompass it with: HTML Code:
<if condition="$bbuserinfo['fieldXX']==On"> $SIDEPANELVAR </if> |
#4
|
|||
|
|||
Thanks a lot Magnus, i'll test this out asap =)
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|