![]() |
Where is the vBShout code replacement in the templates? I coudn't find it.
|
Quote:
|
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! |
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" /> HTML Code:
<input type='button' class='button' value='Refresh' onclick='requestShouts()' /> This line occurs twice - add the new button to both. THEN Find the text: Code:
setTimeout('requestShouts()', 10000) Code:
/* setTimeout('requestShouts()', 10000) */ The shoutbox will now only refresh if you a) Submit a shout, or b) hit the 'refresh' button. |
does anyone know, how i can change the title of the box 'ShoutBox' to something else?
|
@ Murty: You can edit that in the template Forumhome templates -> forumhome_vbshout (search for "Shoutbox" in the template).
|
Quote:
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. |
Quote:
Just select "Can not view shoutbox" and you'll have no problem no more ;) |
Quote:
|
Quote:
|
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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|