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)

GoTTi 05-08-2006 09:58 PM

figured it out.

when "Allow vBCode/Smilies" is set to yes, and we type " inside the shout, we get the "

when disabled it comes up "

FLMom 05-09-2006 02:12 AM

ah cool! Thanks for letting me know! :D

FLMom 05-09-2006 02:20 AM

You are right, I just tested it out! I wish there were a way to use this with the smilies, I really like smilies LOL

Davidspl 05-09-2006 02:25 PM

Admins, supermods and all mods can edit the shouts, is there anyway to make it admins only edit?

Zweeper 05-09-2006 05:39 PM

Quote:

Originally Posted by D.Ilyin
Edit your template with vBShout
FIND:
Code:

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
AND REPLACE:
Code:

width="100%"
with yours left column widht.


thx, but don't work. :(

o0Hubba0o 05-09-2006 08:48 PM

Quote:

Originally Posted by DjTaz
Yes thats possible .. find the VbShout Plugin in your plugin manager - and go to Edit ....

find the code
Code:


$vbulletin->templatecache['FORUMHOME'] = str_replace($Position, $Position . ' $Shoutbox', $vbulletin->templatecache['FORUMHOME']);

at the bottom and replace it with
Code:

$Position = '<--shoutbox-->';
$vbulletin->templatecache['FORUMHOME'] = str_replace($Position , ' $Shoutbox' , $vbulletin->templatecache['FORUMHOME']);

This will make the shoutbox seem to dissappear from all of the styles , but you'll discover that on the styles that you want it to appear on , go to FORUMHOME and put in
<--shoutbox-->
where you want it to display (usually under the navbar)

That should do what you want.


Man you're a life saver, vbshout wouldn't work in one of my skins I bought and this did the trick, thank you so much.

And I'm glad I never updated, the " thing really seems to be a problem still.

DjTaz 05-09-2006 10:28 PM

Quote:

Originally Posted by o0Hubba0o
Man you're a life saver, vbshout wouldn't work in one of my skins I bought and this did the trick, thank you so much.

And I'm glad I never updated, the " thing really seems to be a problem still.


Glad i could be of assistance. Thats what we are here for - im sure some day you'll sort me out when im stuck with a problem.

arcadian_girl 05-10-2006 01:03 PM

k, i love this mod, i really do, but it's increasing server load a lot...and i run two forums, so that's doubled, cos i've installed it on both forums. i've only had it installed a few days, so no complaints yet from my host, but i'd like to avoid any complaints.

could we possibly have a list of all the things you can do to reduce server load? i've been reading through this thread-don't claim to have read it all, but i've read about 1/3 of it, and this is what i've come up with:

-dont allow smilies in the shouts, or if so, allow only 1 smiley per shout
-prune shouts (how much effect does this have? how often should i be pruning them?)

is there anything else i can do with the shoutbox to reduce server load? is there somewhere i can change how often AJAX refreshes-it's once every 10 seconds, no? is there somewhere i can change that, and if so, what would i change it to?

thanks in advance for any help-i really like this mod and want to keep it, but i've got to find a way to get the server load down.

jerx 05-10-2006 01:11 PM

You have to increase the refresh time.

Quote:

Originally Posted by tqvn2004
It is server intensive because it is refreshing too often (in every 10 second!). This rate can be changed to a lower value, let's say in every 2 or 5 minutes.

To change the rate, find in forumhome_vbshout template:

Code:

setTimeout('requestShouts()', 10000)
and replace with

Code:

setTimeout('requestShouts()', 120000)
Note:

1/ 120000 milisecond = 2 minutes :D

2/ For those who put the shout box in front page with Advanced CMS hack, find and replace the adv_portal_vbshout template (or whichever the name you use).


arcadian_girl 05-10-2006 01:21 PM

thank you!!! i will try that. (probably stupid) question: if it's set to two minutes, and someone posts a shout, and i refresh after 30 seconds, will i see the new shout? or will i not see it until it refreshes by itself, after two minutes? (hopes that makes sense)


All times are GMT. The time now is 08:20 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.03693 seconds
  • Memory Usage 1,747KB
  • 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
  • (6)bbcode_code_printable
  • (4)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