The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
option for users to turn off some code?
Hi first off i hope this is the right board to post this. sorry if it isn't
I have a code on my forum homepage, lets for example sake say its Code:
<script> some code here </script> script name: hide O see O with the default being see. i am guessing this is some kind of <vb: if feild# kinda thing but i have no idea of the whole setting for hide or see in the if code and making it default see. hope that makes sense ??? i am using vb 4.0.3. --------------- Added [DATE]1274180822[/DATE] at [TIME]1274180822[/TIME] --------------- ok done a bit of reading and i'm almost there. i have created a radio button in the usercp code name option: show O hide O i have made the default radio button show. then i added this code to my footer of my forum Code:
<vb:if condition="$bbuserinfo['filed20']== 'show'"> Code to show or hide </vb:if> where am i going wrong? --------------- Added [DATE]1274181820[/DATE] at [TIME]1274181820[/TIME] --------------- found the problem the code i copied had a typo in it, it should read field20 and not filed20 as above :erm: |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|