vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   how do I do this? (https://vborg.vbsupport.ru/showthread.php?t=82371)

Chadi 06-01-2005 11:47 PM

how do I do this?
 
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.

Code:

<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

HTML Code:

<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

Quote:

Originally Posted by deathemperor
try

HTML Code:

<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.


All times are GMT. The time now is 02:25 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
  • Page Generation 0.00996 seconds
  • Memory Usage 1,732KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (2)bbcode_html_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete