The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
vB Shoutbox 1.0 Details »» | |||||||||||||||||||||||||
Well, people wanted it, so here it is: a vB-integrated Shoutbox. It's a little different than the one they used to have on this site, however. The moderation functions are VERY basic...but they'll be improved for 2.0, most likely, if there's any interest.
A short breakdown:
Enjoy. Here's a live demo: http://www.movieforums.net/shoutbox.php Show Your Support
|
Comments |
#382
|
||||
|
||||
Yes, I really like this shoutbox alot. But I am having a problem with one of the optional feature, the mass shout pruning. I am running vb 2.3.0 and uploaded admin_shoutbox.php file and replaced the code in the index.php file in the /admin directory. When I try to delete a shout either by userid or by date it changes screens says "0 shout(s) deleted" and nothing happens. I didn't know if anybody had any ideas that could help me.
|
#383
|
||||
|
||||
Im not sure if this allready has been suggested, but I'll post it anyway (25 pages is alot!):
I came across the script used alot of processing time, and figured at last it was cause one LIMIT statement is not set up (and that will affect performace very much, if you have a shoutbox table with alot of shouts, as us: 127.000 shouts) Find this line: $limit = ($start > 0) ? "LIMIT $start, ".($shout_limit + 1) : ''; and change it to: $limit = ($start > 0) ? "LIMIT $start, ".($shout_limit + 1) : "LIMIT $shout_limit"; It will speed up the default page (when you are not browsing for older shouts) quite a bit for big shoutboxes (we went from 11 sec to 2 sec) |
#384
|
||||
|
||||
Eh? There's a limit on every query except the counters, last I checked.
|
#385
|
||||
|
||||
not if $start=0
The shouts query will query ALL the shouts in the shouts table, even when you only need the first $shout_limit. if $start >0, then yes, there is a limit set (and thats why browsing the history is quicker) |
#386
|
||||
|
||||
Did you guys ever figure out why the page attempts to download itself when you are submitting a shout?
I tried to fiddle with the templates and the file but couldn't get around it. |
#387
|
||||
|
||||
Has anybody thougth of making a really small chat of it?
Like making a folder chat and making it really look like chat, leaving all the functions, changing the layout and minimizing all the not-needed functions?! |
#388
|
|||
|
|||
I like Shoutbox although my big concern is what my users might type in there. Is there any way to bann certain words from showing in the Shoutbox?
|
#389
|
||||
|
||||
@Splitfyre - Find in shoutbox.php:
Code:
$shout_text = bbcodeparse($shout_text); Code:
$shout_text = censortext($shout_text); For those of you who want to know how to limit the number of smilies allowed in the shoutbox: Find: Code:
if ($type == 'shout' && $comment_submit && trim($message) != '' && $bbuserinfo[userid] > 0) { Code:
// check max images if ($maximages!=0) { $parsedmessage=bbcodeparse($message); if (countchar($parsedmessage,"<img")>$maximages) { eval("standarderror(\"".gettemplate("error_toomanyimages")."\");"); exit; } } Satan |
#390
|
|||
|
|||
Hi, one of the admins on my board installed this hack for me. Problem is that i think he messed up with the code somewhere... it seems that all the previous shouts that should show are not showing up and i am not sure why. Would anyone care to give me some ideas?
|
#391
|
|||
|
|||
Maybe I missed it, but is there a way to limit how often someone can shout in the shoutbox?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|