News:

Wondering if this will always be free?  See why free is better.

Main Menu

nneonneo's Shoutbox

Started by nneonneo, December 26, 2006, 06:58:11 PM

Previous topic - Next topic

brianjw

Quote from: fritpa on February 13, 2007, 09:18:28 PM
How can i put emoticons in this shoutbox? is this possible?

Thank you.
It has emotions. It uses the emotions you have on your SMF Smileys ;)

Sarke

I have one concern with the this shoutbox.  I've been using it for a few days now, and my logs are filled with "404 /yshout/yshout.php".  I realise that this is how the shoutbox works, but it's quite significant.

Just today, I have about 115,000 error messages logged because of the 404 that the shoutbox uses, and that's about 87% of the total hits on my site (today).  Put another way, the amount of requests increased by about 650%.

Isn't there another way of doing this?  Can't the server contact the client when a new shout is made, instead of the client having to check in all the time?

My MODs          Please don't PM me for support, post in the appropriate topic.

Calaad

Quote from: buben06 on February 12, 2007, 11:20:27 AM
I have problem with encoding.

...when I change all instances of utf-8 in yshout.php to windows-1251 (russian) , it fixes datestamp and username (if russian) and shows them correctly, but the input text becomes all #$^@$%^&. (if typed in russian, english works fine either way)

Also, when I use default yshout.php (with utf-8), it's opposite: I can input text to shoutbox and see simbols in english and russian as well, but the datestamp and username is @#%$^#

Same things here with iso-8859-1. It seems like changing encoding in yshout.php just change reading from home.txt not writing...  

HexImaL

Hey, can you please update the mod, so we can install it on 1.1.2?

Daggers

This will work in 1.1.2 but you have to add it manually  :o ;)


DASBEAN

Quote from: mrbean17 on February 12, 2007, 06:37:31 PM
Quote from: mrbean17 on February 08, 2007, 10:45:41 PM
How does one fully remove this mod? I applied it and didn't like it to much and now after uninstalling, it's still in my default theme ... I've attempted to manually remove it and I'm just messing things up.

Can you please tell me how to fully remove this?

Thanks

Hello again, hoping for an update.

Thanks

Can anyone please help with a full clean removal of this mod? The uninstall did not remove from the default theme and I've had to disable that theme for the time being.

Any help is appreciated.

Thanks

WxChat.com

Hey nnennoeo can you please read this post.. I think you missed it.. or I may have asked a question that can't be done.. but I doubt that.

http://www.simplemachines.org/community/index.php?topic=137508.msg948932#msg948932

Rob_Ghost

This might have already been stated but... Is there anyway to remove / add commands? I'd just much rather not have users able to use the /impersonate command and would rather it not exist, but it would also be nice to be able to add and remove features.

It would be very nice to remove the impersonate feature though... >.<

WxChat.com

nneonneo...Dude my DEDICATED server just hit 20% CPU usage and when we killled the shout box usage fell to 2% :(

It seems that you have a MAJOR memory leak in your script.

That shout box was so well loved we had 5-8 peeps litterally chatting on it in real time! But there is a major issue with memory on it and I have to kill it.. Can you look into this please..I would love to use your shout box as I have found it to be the best SMF shout thus far.

Daggers

Quote from: mrbean17 on February 14, 2007, 05:27:05 PM
Quote from: mrbean17 on February 12, 2007, 06:37:31 PM
Quote from: mrbean17 on February 08, 2007, 10:45:41 PM
How does one fully remove this mod? I applied it and didn't like it to much and now after uninstalling, it's still in my default theme ... I've attempted to manually remove it and I'm just messing things up.

Can you please tell me how to fully remove this?

Thanks

Hello again, hoping for an update.

Thanks

Can anyone please help with a full clean removal of this mod? The uninstall did not remove from the default theme and I've had to disable that theme for the time being.

Any help is appreciated.

Thanks

The mod adds 3 section of code to index.template. Each section starts with //YSHOUT HERE and ends with //YSHOUT END

Open index.template, find the 3 sections and remove them.

Alternatively, IF you have no other mods which have installed into index.template then drop in the default file and overwrite.  ;)


ProtoType

I see in the posts above, that this mod will work with 1.1.2 but requires manual installation. Could someone give some direction as to how this can be done. Type slow, I'm a newbie! :)
Thanks,
ProtoType

circles122345

Quote from: WxChat.com on February 14, 2007, 11:47:56 PM
nneonneo...Dude my DEDICATED server just hit 20% CPU usage and when we killled the shout box usage fell to 2% :(

It seems that you have a MAJOR memory leak in your script.

That shout box was so well loved we had 5-8 peeps litterally chatting on it in real time! But there is a major issue with memory on it and I have to kill it.. Can you look into this please..I would love to use your shout box as I have found it to be the best SMF shout thus far.

yah, its true coz they always refreshing the page until the visitors posting there msg
<<clear the evidence before you leave>>

WxChat.com

I can see it not being an issue with someone on a shared server having an issue but a dedicated one being taken to it's knees.. that tells me that this script, as good as it is, has major memory issues

circles122345

Quote from: WxChat.com on February 15, 2007, 11:30:10 AM
I can see it not being an issue with someone on a shared server having an issue but a dedicated one being taken to it's knees.. that tells me that this script, as good as it is, has major memory issues
yah, i guess thats the peak problem of that now, i hope they can find a way to solve that issue..
<<clear the evidence before you leave>>

binaryspiral

Quote from: WxChat.com on February 14, 2007, 11:47:56 PM
nneonneo...Dude my DEDICATED server just hit 20% CPU usage and when we killled the shout box usage fell to 2% :(

It seems that you have a MAJOR memory leak in your script.

That shout box was so well loved we had 5-8 peeps litterally chatting on it in real time! But there is a major issue with memory on it and I have to kill it.. Can you look into this please..I would love to use your shout box as I have found it to be the best SMF shout thus far.

My hosting provider disabled it because it was using so many resources that others on my server were experiencing poor performance. I highly recommend anyone using a shared host - not use this mod!

I was lucky that my host actually spent the effort to find the root cause of the performance issue and not just shutoff my site and notify me.  

Daggers

I use this mod on 3 sites on shared hosting without any problems what so ever, two of those 3 sites have very active shoutbox's and I have checked both the server status and checked with my hosts and there is no problem at all  :D

Rob_Ghost

Quote from: Rob_Ghost on February 14, 2007, 09:17:47 PM
This might have already been stated but... Is there anyway to remove / add commands? I'd just much rather not have users able to use the /impersonate command and would rather it not exist, but it would also be nice to be able to add and remove features.

It would be very nice to remove the impersonate feature though... >.<

Hate to bump my question up, but I really have to fix this quick. D:

Sarke

Quote from: binaryspiral on February 15, 2007, 03:06:36 PM
Quote from: WxChat.com on February 14, 2007, 11:47:56 PM
nneonneo...Dude my DEDICATED server just hit 20% CPU usage and when we killled the shout box usage fell to 2% :(

It seems that you have a MAJOR memory leak in your script.

That shout box was so well loved we had 5-8 peeps litterally chatting on it in real time! But there is a major issue with memory on it and I have to kill it.. Can you look into this please..I would love to use your shout box as I have found it to be the best SMF shout thus far.

My hosting provider disabled it because it was using so many resources that others on my server were experiencing poor performance. I highly recommend anyone using a shared host - not use this mod!

I was lucky that my host actually spent the effort to find the root cause of the performance issue and not just shutoff my site and notify me. 

I would suggest changing the update value in /yshout/js/yshout.js from 1500 to something like 5000 or 10000 (ms). 

var refreshTime = 1500;

If you have something like 100 people viewing the shoutbox, by default that is 4000 requests per minute, but if you change the update to 5 seconds (5000 ms), that brings the number of shoutbox requests down to 1200 (600 if you change the update to 10 seconds).

Remember that the value is in milliseconds!  If you put something below 1000 (1 second), for example 5 by mistake (thinking it's 5 seconds), you'll end up with over a million requests a minute from just those 100 viewers.

My MODs          Please don't PM me for support, post in the appropriate topic.

Col

I'd suggset disabling updates, and let refreshes take place with new clicks. Grudge's shoutbox suffered from the same problem.

Sarke

Quote from: Col on February 15, 2007, 09:57:11 PM
I'd suggset disabling updates, and let refreshes take place with new clicks. Grudge's shoutbox suffered from the same problem.
I don't know if that's the best solution, because then users would just reload the whole page manually instead.   

My MODs          Please don't PM me for support, post in the appropriate topic.

Advertisement: