![]() |
How to? No chat entrance unless X post?
How can I apply an "if" conditional on my live chat links so that only members with 5 or greater forum posts can click the links?
I do not want to have to create a whole new usergroup because its too complicated for the situation here and also, by default the member group is where the new registered users start off at, I don't want to move thousands of members to a different usergroup just for this "if" conditional. Thanks. |
Within your vBulletin template, use:
Code:
<if condition="$bbuserinfo['posts'] > 4"> |
Thanks that worked
|
It may not work correctly once a user has over 1,000 posts because that is a formatted number. You should look into grabbing the unformated posts number (look in the code to find it) and then use that in your condition.
|
All times are GMT. The time now is 04:14 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:
|