The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
If Condition For Minimum Posts
How do i set a if condition for minimum posts?
On my site i want to show the shoutbox for members over 10 posts only... I've tried this: <if condition="$bbuserinfo['posts']==10"> But it only shows to members with 10 posts, not 10 and above. |
#2
|
||||
|
||||
Quote:
HTML Code:
< |
#3
|
|||
|
|||
What do u mean m8...
|
#4
|
|||
|
|||
Actually he meant to use the greater than sign, not less than, and he meant that your code should be:
Code:
<if condition="$bbuserinfo['posts']>=10"> |
#5
|
|||
|
|||
Thanks a lot m8...
|
#6
|
||||
|
||||
Quote:
Ah sorry, I thought he meant to show it for users with less posts as that is the case communly. Thank you for correcting it |
#7
|
|||
|
|||
Quote:
Would it be better to hide the shoutbox for members with less than 10 posts. Instead of showing the shoutbox for members with over 10 posts? Is one way easyer on the server than the other? |
#8
|
||||
|
||||
Personally I think it would be better to prevent access to something to users with less posts in order to kind of motivate them to become more active. Sometimes it works, sometimes it doesn''t especially when those users are at your forum to only get but not give.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|