hi..
i try to put this in the forumdisplay template, but no luck, anyone could help: <vb:if condition="!in_array($forum['forumid'], array(1, 2))">not show to forumid 1 and 2</vb:if> still showing to all forum ID, and i read from the 1st page this thread, lots of people got the same problem with me. |
Try using-
Code:
<vb:if condition="!in_array($foruminfo['forumid'], array(1, 2))">not show to forumid 1 and 2</vb:if> |
ok..
one more thing.. how to make condition "show only to member that already had >= 50 post count" ? <vb:if condition="$post['postcount'] >= 50"> now show to under 50 postcount</vb:if> the command above wont work. thanks |
Quote:
<vb:if condition="$userinfo['postcount'] >= 50"> now show to under 50 postcount</vb:if> |
Quote:
not working too.. the command not show to all member.. not just member with under 50 post count |
The variable would be $bbuserinfo['posts'], not $userinfo['postcount'] in forumdisplay.
|
Quote:
--------------- Added [DATE]1339003487[/DATE] at [TIME]1339003487[/TIME] --------------- Quote:
|
Sorry the post count for a user is $bbuserinfo['posts']
for ad_global_below_navbar try $GLOBALS['forumid'] |
thanks, globals works :)
|
Code:
<vb:if condition="in_array($foruminfo[forumid], array(166,113,110,109,108))"></vb:if> --------------- Added [DATE]1339085022[/DATE] at [TIME]1339085022[/TIME] --------------- Obviously the ! addition to the in_array has the reversed effect |
All times are GMT. The time now is 11:23 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|