View Full Version : how do I do this?
Chadi
06-01-2005, 11:47 PM
This is my shoutbox that I use (www.cbox.co.za)
It shows the text fields once a person registers (even if they are COPPA, awaiting email confirmation). I want the text field to be shown only to the fully registered members, not banned, not COPPA, not awaiting email confirmation. How do I do this?
Thank you.
<td>
<if condition="is_member_of($bbuserinfo,1)">
You must be registered to use the shoutbox
<else />
<iframe frameborder="0" width="100%" height="50" src="http://cbox.co.za/box/?boxid=439&boxtag=7868&sec=form&wname=68&wemail=68&wmsg=175" marginheight="0" marginwidth="0" scrolling="no" name="cboxform" allowtransparency="yes" style="border: #ababab 0px solid; border-top: 0px;"></iframe>
</if>
</td>
Chadi
06-11-2005, 10:24 PM
*bumP* waited 9 days :)
deathemperor
06-12-2005, 01:07 AM
use <if condition="is_member_of($bbuserinfo,2)">
Chadi
06-12-2005, 01:39 AM
Doesn't work. I have a test user with "awaiting email confirmation" status, still shows enabled ability to post in shoutbox
deathemperor
06-13-2005, 08:41 AM
try
<td>
<if condition="!is_member_of($bbuserinfo,array(2,4,5,6,7))">
You must be registered to use the shoutbox
<else />
<iframe frameborder="0" width="100%" height="50" src="http://cbox.co.za/box/?boxid=439&boxtag=7868&sec=form&wname=68&wemail=68&wmsg=175" marginheight="0" marginwidth="0" scrolling="no" name="cboxform" allowtransparency="yes" style="border: #ababab 0px solid; border-top: 0px;"></iframe>
</if>
</td>
make sure you are using a vbulletin shoutbox, cuz this is only for it. As I saw in your site it's not a vbulletin hack
Chadi
06-15-2005, 12:25 AM
try
<td>
<if condition="!is_member_of($bbuserinfo,array(2,4,5,6,7))">
You must be registered to use the shoutbox
<else />
<iframe frameborder="0" width="100%" height="50" src="http://cbox.co.za/box/?boxid=439&boxtag=7868&sec=form&wname=68&wemail=68&wmsg=175" marginheight="0" marginwidth="0" scrolling="no" name="cboxform" allowtransparency="yes" style="border: #ababab 0px solid; border-top: 0px;"></iframe>
</if>
</td>
make sure you are using a vbulletin shoutbox, cuz this is only for it. As I saw in your site it's not a vbulletin hack
Yes, its not a vbulletin hack but can you help me on the one I'm using? Its a nicer shoutbox.
<if condition="is_member_of($bbuserinfo,array(1,3,4,8))">
This doesn't work. I tried a tets user (COPPA) and unregistered user, both showed ability to type text. These group ID numbers are correct however
deathemperor
06-15-2005, 12:54 PM
if it's not a vbulletin hack it never work in any cases with my code.
And I am sorry since I have no idea what that script is, I can't help you. Moreover this isn't the place to ask thing (this is general discussion forum ), even not for vbulletin hacks supports.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.