Quote:
|
u didn't get my question... what condition for vb4 to make some stuff showed only when post created by some usergroups members?
In postbit template: HTML Code:
{vb:raw post.usertitle} |
if used in the postbit templates, then:
<vb:if condition="is_member_of($post,6,7)"> stuff </vb:if> |
Need a vBulletin 5 version on page manager
|
Where would I find the ''THIS_SCRIPT'' names for files? Is there any easy way? I'm trying to find some mod additions.
|
You should look in php files of vB installation.
For example, take a look in index.php, you'll find there (in the beginning) this: PHP Code:
|
Quote:
|
If it isn't in the file, then you can't use that condition; you would need to use another condition. Your best bet is to ask in the modification thread if there is a condition you may use.
|
This thread is from 2010 and no one has updated the original post to reflect that $forum['forumid'] should actually read $foruminfo['forumid']. The list is technically inaccurate for noobs since the first variable doesn't work. It's been 4 years; could someone update it please? I sent a user over to fetch the conditional and he was telling me it wouldn't work. guess what, he was right!
|
This conditional doesn't work anymore. Suggestions to fix it?
Show is every forum but one: Remember to change x Code: Code:
<vb:if condition="$forum[forumid] != x">Show this if forum id is not x</vb:if> |
All times are GMT. The time now is 12:44 AM. |
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:
|