vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   [AJAX] vBShout v2.0 (https://vborg.vbsupport.ru/showthread.php?t=93097)

Snake 02-01-2006 10:21 PM

Where is the vBShout code replacement in the templates? I coudn't find it.

mrcrx 02-01-2006 10:34 PM

Quote:

Originally Posted by bashy
Does anyone have any probs with regards to this frezzing, (sort of) and not posting the shout?
I sometimes have to refresh and or close the browser and open a new 1?
I only have it for my staff so only about 5 use it??

Any ideas please?

I have the same issue but with 25 or so people. this is such a great mod that people just deal with it.

Big_Ern 02-01-2006 11:51 PM

instead of banning certain usergroups, is there a way to ban users who are NOT part of certain usergroups?

all of the users on our forum are a 'registered user'. Then as they progress we vote them into a 'members' section with adition rooms they can access, but to do this we make the member functionality a secondary usergroup (ie they are still a primary 'registered user')

What I want is to only allow our 'members' to ahve acces to the shout box. Would this be possible?

I'm thinking it would be easy to chnage the logic in the code, but i thought I'd ask here first before I dig into it.

thanks

-aaron

Great Mod btw!

thisgeek 02-02-2006 04:57 AM

Disabling auto refresh and adding a 'refresh' button

Go to style manager, and edit (or customize) the template forumhome_vbshout

Find text:
HTML Code:

<input type="submit" value="Shout" class="button" />
And add immediately BELOW it:
HTML Code:

<input type='button' class='button' value='Refresh' onclick='requestShouts()' />
The code must go above the 'if condition' code.
This line occurs twice - add the new button to both.

THEN

Find the text:
Code:

setTimeout('requestShouts()', 10000)
And comment it out by enclosing it with /* and */ like so:
Code:

/* setTimeout('requestShouts()', 10000) */
You can also delete the line entirely.

The shoutbox will now only refresh if you a) Submit a shout, or b) hit the 'refresh' button.

Murty 02-02-2006 07:54 AM

does anyone know, how i can change the title of the box 'ShoutBox' to something else?

S@NL - BlackBik 02-02-2006 08:03 AM

@ Murty: You can edit that in the template Forumhome templates -> forumhome_vbshout (search for "Shoutbox" in the template).

S@NL - BlackBik 02-02-2006 08:08 AM

Quote:

Originally Posted by Aftermath
Where is the vBShout code replacement in the templates? I coudn't find it.

Aftermath, there isn't :)
Check the plugincode of the vbshout plugin at the forumhome_complete hook.
Scroll all the way down, and you'll see how ZT positions the shoutbox.
He substitutes a text in the forumhome template by that text plus $shoutbox.
This way, no template alterations are necessary.

S@NL - BlackBik 02-02-2006 08:10 AM

Quote:

Originally Posted by mrcrx
i have someone banned from the shotbox but there still able to shout. any suggestions?

You can edit the banning options for the shoutbox.
Just select "Can not view shoutbox" and you'll have no problem no more ;)

Murty 02-02-2006 08:23 AM

Quote:

Originally Posted by S@NL - BlackBik
@ Murty: You can edit that in the template Forumhome templates -> forumhome_vbshout (search for "Shoutbox" in the template).

ohh derr, thanks

mrcrx 02-02-2006 11:45 AM

Quote:

Originally Posted by S@NL - BlackBik
You can edit the banning options for the shoutbox.
Just select "Can not view shoutbox" and you'll have no problem no more ;)

Yes I played with it alittle. The only way i can ban someone from it is if i set it to can not view shotbox. The other features still let the user post. thanks for the help.


All times are GMT. The time now is 02:58 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
  • Page Generation 0.03634 seconds
  • Memory Usage 1,746KB
  • 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
  • (2)bbcode_code_printable
  • (2)bbcode_html_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (6)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete