![]() |
Conditional to hide specific forums on forumhome
Hi,
I have the main English forums, then I have some other language forums. I have setup a user profile field with some selectable options to show all, show none, or show a specific language only (plus English, as those are our main ones). I haven't yet managed to get any of it working. Editing in forumhome_forumbit_level1_post Code:
<vb:if condition="$bbuserinfo[field26] == 'Show English only'"> Thanks, Tim. |
You can only use $forumid if it's registered to the template you're putting that code in. If that's the problem, you could try using $GLOBALS[forumid].
Edit: oh, I see now you said which template you're editing. You could also try using $forum[forumid]. |
Thank you. I made a profile field with options to show english only, and show all of them (to show the foreign languages).
Then I used: Code:
<vb:if condition="$bbuserinfo[field26] == 'Show English only'"> |
All times are GMT. The time now is 06:02 PM. |
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:
|