![]() |
Expect version 2.1 within the next couple of weeks.
|
Some noob questions and feedback. :D
Question 1 Is this shoutbox server intensive? Question 2 Will there be pruning after, say, 24 hours or 48 hours? Question 3 Can admin have the choice to position the the date/time be on the extremely left or right? Question 4 Will this work with forums with vBSEO installed? |
Quote:
2. you set the pruning timer to however many days you want. 3. that can be done by editing one of the php files 4. yes |
Question 1
Can this be styles to something like Inferno Shoutbox? i only have one question :-D download, i hate iframes, but this is the fast shoutbox around |
thanks for this
Tagged, Nominated and Installed |
nice simple shoutbox.
my only problem with it is that the ajax redraws the entire content of the text shown to the users every 2 seconds. You can increase the timer, but it's worthless as it makes the shoutbox feel laggy. The proper way to do it is to append only new content to the output div OR have a hash of the last output to the user, and redraw only if the hash changes (new content to display). |
i made a quick hack to allow this shoutbox to work without redrawing constantly and add a userlist.
new table: Code:
CREATE TABLE `shoutbox_hash` ( at the top of showshout.php, above the <table> tag, I have added: Code:
ob_start (); at the bottom, just after the </table>, I added: Code:
$o = ob_get_contents (); Code:
setInterval ("showshout('1');", 4000); Finally, I replaced the showshout() function with: Code:
function showshout(e) This change is a temp fix for me - it won't reduce server load, but it will reduce bandwidth consumption by a large margin. |
mysql101, that is an excellent hack, and I will be testing it out myself and implementing it into the next version!
|
Any way to add a shoutbox to a specific sub forum, i.e. "forumdisplay.php?f=57"? Thanks.
|
I was thinking that once you generate the output for the display, it should be stored somewhere, and that is the only output used. Then whenever someone makes a post (to shoutinsert.php), you wipe it out. So anytime shoutshow.php is called and there is no stored content, you regenerate it.
That will reduce the server load portion. |
All times are GMT. The time now is 04:04 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:
|