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)

rogersnm 07-24-2006 02:32 PM

I'll just say that i have an average of 8% server load and i have the shoutbox running my host doesn't have a problem ;)

And yes there is version 2.0 of vbshout at vbh :D:D:D:D

TygerTyger 07-24-2006 09:47 PM

Quote:

Originally Posted by Ronin Storm
The server load for this is shockingly high. Unless you own your own server then you can probably kiss this mod goodbye.

Well that's not really true. But people will so insist on using ever-cheaper hosts, thus you get what you pay for.

I'm on shared, it's not cheap, I can run the Shoutbox fine and it gets more than 1000 shouts a week.

Rickie3 07-24-2006 10:42 PM

I dont have a problem with my host either,i'm on shared and I pay $100 USD annually for my hosting package,and I dont find the shout to be server intensive,It is the most used feature on my board and my forum would be naked without it,with over a 1000+ shouts a week,so at the end of the day its all down to what hosting package you bought

Watched 07-25-2006 04:53 AM

Quote:

Originally Posted by rogersnm
I would just like to point out version 5.0 is out out http://gzevolution.net/ The site is currently down but once it's up enjoy the new hack..


erm.. inferno shout v5.0 is for websites, not for forums. current vbshout (shoutbox for forums) is still only 2.0

Ronin Storm 07-25-2006 06:20 AM

Quote:

Originally Posted by rogersnm
I'll just say that i have an average of 8% server load and i have the shoutbox running my host doesn't havea porblem

Have you checked the overall bandwidth usage of the shoutbox versus, say, anything else on vbulletin? I have a memory that it's something like two magnitudes difference. My site has recently changed hardware (I run on a dedicated server) and with the change I no longer have access to my webstats... when I have them again I'll post what I see.

Quote:

Originally Posted by thisgeek
The only thing I've done differently is to change the ' symbol to " &_#39;" (added an underscore cuz the post converts it to an apostrophe)

It shouldn't matter what the translation is. I use the entity reference because they are effectively equivalent. However I could just as easily used "a89fysfh" or some other random collection of characters as long as I'm pretty sure they're a unique string. The changes I've made convert to the entity on storage but convert it back to an apostrophe for display.

Quote:

Originally Posted by thisgeek
because I read somewhere that ' may not work in IE.

I have never had issues with ' as an entity reference. It's one of the more basic ones. XHTML, under some circumstances, appears to have trouble with certain entity references it doesn't recognise ( ) but then I just use the unicode for those ones ( );

Edit: Realised I'd not responded to everyone I wanted to.

rogersnm 07-25-2006 09:51 AM

not any noticable difference, guess it depends on your host :p

I get 1000+ shouts a day

ps: read the sig

Rio Grande 07-25-2006 07:20 PM

Quote:

Originally Posted by Ronin Storm

...

BUG FIX (24 July 2006)

I discovered that there is an issue. Roughly, the issue occurs when you post a shout that has apostrophes, then go to edit it, submit that edit (which also has apostrophes in it) and then edit it again. The second edit retains the original apostrophe bug. This is because the AJAX edit was not also protected in the same way as the original shout.

The changes below should resolve this issue.

In vbshout.php, on approx line 518. find:

PHP Code:

$vbulletin->GPC['shout'] = convert_urlencoded_unicode($vbulletin->GPC['shout']); 

Replace with:

PHP Code:

$vbulletin->GPC['shout'] = convert_urlencoded_unicode(str_replace("'""'"$vbulletin->GPC['shout'])); 

On approx line 524, find:

PHP Code:

$Shout['s_shout']  = bbcodeparser($Shout['s_shout']); 

Replace with:

PHP Code:

$Shout['s_shout']  = bbcodeparser(str_replace("'""'"$Shout['s_shout'])); 

And that should be okay now. I believe. :)

Let me know if you have any issues with it!

I use this fix for the "Apostrophe Bug"
https://vborg.vbsupport.ru/showpost....postcount=1624

and I have the same problem with the edit field. But when I apply your Fix it doesn't work :-/

>> thisgeek : thanks works great ;)

rogersnm 07-25-2006 07:34 PM

you can get the new version which has no bugs and lower server intensity over at vBH read my sig :)

Renmiri 07-25-2006 10:42 PM

How come the RPG Inferno (lite) battles don't use AJAX ? Does the full Inferno have it ?

In an active forum this turn based system is soooo slow! Real battles are not turn based..

rb290 07-26-2006 01:38 AM

i seen on some forums that shoutbox doesnt appear until you register,
can anyone tell me how this could be done ?


All times are GMT. The time now is 05:01 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.03369 seconds
  • Memory Usage 1,755KB
  • 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
  • (4)bbcode_php_printable
  • (6)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