![]() |
VB Condition based on postcount?
Hey guys!
Can you help me out here real quick? I'm trying to implement a condition so that users with a specific postcount only can view the content. In VB3 this code always worked for me: Code:
<if condition="$bbuserinfo['posts'] < 50"> What do i have to change to make it work? ty in advance |
The same condition should work with vb4, but you have to change the if tags to vb4 format, like:
Code:
<vb:if condition="$bbuserinfo['posts'] < 50"> |
Awesome man, thank you!
1 Question though. What if i wanted to display it for users with less than X posts and guests? |
Quote:
|
All times are GMT. The time now is 04:45 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:
|