![]() |
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'"> 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: |
All times are GMT. The time now is 01:21 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|