![]() |
How to add a post requirement to view a ShoutBox
1 Attachment(s)
How to add a post requirement to view a ShoutBox
This mod was actually designed for Inferno Shoutbox Series, yet you could use this for many of the other sb mods. Original Article: http://www.g4hq.com/forum/showthread.php?t=19981 How to add a post requirement to a ShoutBox by: h0ly Skill: 2 out of 10 Mod: Inferno Shoutbox. (Popular shoutbox software) Original Code for Shoutbox Code:
Code:
<if condition="$bbuserinfo[posts] < '10' AND THIS_SCRIPT == 'index'">You require 10 Posts to see the shoutbox.<else /><!--{%SHOUTBOX%}--></if> Code:
<if condition="$bbuserinfo[posts] < '10' AND THIS_SCRIPT == 'index' AND $bbuserinfo[userid]">You require 10 Posts to see the shoutbox.<else/><!--{%SHOUTBOX%}--></if> Well, You are putting down a condition. $bbuserinfo[posts] gets the number of posts the user has. THIS_SCRIPT == 'index' - this means that it must be the index. Support is offered on G4HQ Forums as well as mod requests. Thanks! |
Thanks
|
The best thing to do would to actually create another user group and give just this user group access to shoutbox. Then do a secondary user group promotion to add them to that group.
|
Quote:
|
This didn't work.
|
All times are GMT. The time now is 10:37 AM. |
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:
|