News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

nneonneo's Shoutbox

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

Previous topic - Next topic

TOOMUCH4MOST

Hi... I have 2 members that all of a sudden cannot see the shoutbox... all they get is the shoutbox loading... thing.  I logged in with their account and sure enough I see the same thing,  What could cause only 2 members to have this problem??

Thanks for a great mod.


FragaCampos

Quote from: nneonneo on January 02, 2008, 11:17:40 PM
Hello FragaCampos:

This is a oft-discussed problem. If your browser supports AJAX (Firefox, IE 5.5+, ...) then this message means that your browser was unable to load the shoutbox -- usually, this means the server had some problem serving it up.

Try these:
1) Check server error logs -- errors like "denied due to write-attribute/777" or "file not writable [...]" on yshout/yshout.php typically indicate misconfigurations (usually, chmod'ding yshout.php 755 or the chats folder 777/755 fixes these)
2) Go to http://domain.com/forum/yshout/yshout.php and see what comes up:
a) "Nothing to do" -- shoutbox should be functional (probably client side issue -- easiest thing to do is give me the forum URL and let me check it out)
b) Nothing at all -- shoutbox lacks language files but should otherwise work
c) HTTP Error 500 -- shoutbox failed to load due to a server error (check error log)
d) HTTP Error 404 -- shoutbox isn't installed...
e) Anything else -- Something isn't right.

Thanks for you reply.
I didn't receive any server errors. And i changed the chats folder to 777 andnothing changed.
Also, i went to the url you provided and saw nothing but a ordinary page. The only difference i see from http://www.domain.com/ is the icons on the top of the page :/

nneonneo

@YodaOfDarkness: See http://www.simplemachines.org/community/index.php?topic=137508.msg1195341#msg1195341 for a solution posted a while ago.

@TOOMUCH4MOST: If your theme has a header upshrink, try uncollapsing/showing the header

@FragaCampos: By http://domain.com I meant the real domain and path to your forum, not actually domain.com.
Check out the AJAX Shoutbox (my one and only mod to date :P)
Do you like SMF? Are you using ProBoards, InvisionFree, ActiveBoards or some other web-hosted forum? I can help you convert to SMF (without having to purchase a DB conversion)...contact me [nneonneo {at} gmail *dot* com], and see this topic
spammers here!

nneonneo

Just calling loadChat(); should've fixed that, unless yshout.php is somehow inaccessible...

If indeed yshout.php is inaccessible, then it's a server thing. Visiting /forum/yshout/yshout.php should say "Nothing to do"; anything else is a problem.
Check out the AJAX Shoutbox (my one and only mod to date :P)
Do you like SMF? Are you using ProBoards, InvisionFree, ActiveBoards or some other web-hosted forum? I can help you convert to SMF (without having to purchase a DB conversion)...contact me [nneonneo {at} gmail *dot* com], and see this topic
spammers here!

nneonneo

Hmm, that's odd. Got a URL I can check out?
Check out the AJAX Shoutbox (my one and only mod to date :P)
Do you like SMF? Are you using ProBoards, InvisionFree, ActiveBoards or some other web-hosted forum? I can help you convert to SMF (without having to purchase a DB conversion)...contact me [nneonneo {at} gmail *dot* com], and see this topic
spammers here!

nneonneo

#1445
Using Wireshark, I think that yshout.php is somehow outputting corrupted compressed data.

Try setting "$gzipCompression" to false.

EDIT: There's a spurious newline some time before ob_start("ob_gzhandler"); -- maybe an added "echo" or something. This causes the resulting GZip output to be corrupted, and thus unreadable to the browser.
Check out the AJAX Shoutbox (my one and only mod to date :P)
Do you like SMF? Are you using ProBoards, InvisionFree, ActiveBoards or some other web-hosted forum? I can help you convert to SMF (without having to purchase a DB conversion)...contact me [nneonneo {at} gmail *dot* com], and see this topic
spammers here!

nneonneo

Yeah, setting it to hidden should be fine. Just don't delete it ;)
Check out the AJAX Shoutbox (my one and only mod to date :P)
Do you like SMF? Are you using ProBoards, InvisionFree, ActiveBoards or some other web-hosted forum? I can help you convert to SMF (without having to purchase a DB conversion)...contact me [nneonneo {at} gmail *dot* com], and see this topic
spammers here!

nneonneo

Surprisingly, I don't think this is easily doable.

It may be possible with some JS hacks (for each <p> in $("shouts"), set alternating colors to the style sheet).

Sadly, no major browsers yet support :nth-child (except Konq AFAIK), so it's not a viable solution (otherwise, something like #shouts p:nth-child(even) {...} would work easily).
Check out the AJAX Shoutbox (my one and only mod to date :P)
Do you like SMF? Are you using ProBoards, InvisionFree, ActiveBoards or some other web-hosted forum? I can help you convert to SMF (without having to purchase a DB conversion)...contact me [nneonneo {at} gmail *dot* com], and see this topic
spammers here!

nneonneo

Probably best to count newlines, as those typically can't get arbitrarily inserted.

I still wish nth-child worked though.
Check out the AJAX Shoutbox (my one and only mod to date :P)
Do you like SMF? Are you using ProBoards, InvisionFree, ActiveBoards or some other web-hosted forum? I can help you convert to SMF (without having to purchase a DB conversion)...contact me [nneonneo {at} gmail *dot* com], and see this topic
spammers here!

nneonneo

FF3 should by release, but current trunk builds (like the one I am using from about 15 days ago) do not.

Opera supports most of the selectors, including nth-child, but not all.

Konqueror is still the only browser to support all of CSS3 AFAIK.
Check out the AJAX Shoutbox (my one and only mod to date :P)
Do you like SMF? Are you using ProBoards, InvisionFree, ActiveBoards or some other web-hosted forum? I can help you convert to SMF (without having to purchase a DB conversion)...contact me [nneonneo {at} gmail *dot* com], and see this topic
spammers here!

SamrtWeirdo

Hey neo, I have a odd problem.
When I try to add the shoutbox, it doesn't display anything but "Shout Box"

I'm using this theme:
http://custom.simplemachines.org/themes/index.php?lemma=256

Please help.

tokinjoker

I have an issue as well...
The shoutbox is working, intermittently.  Most of the time I get a "Nothing to do." message,  which switches to the shouts here and there. Everything else seems to be working correctly.  All the functions and commands work, the history is saved in chats.
Any ideas?

TJ

nneonneo

@SamrtWeirdo: Is your forum using a language other than English? If so, copy Modifications.english.php (in Themes/default/languages) to Modifications.<yourlanguage>.php. Note this *won't* fix the problem (AFAIK) but it should make something (an error? a message?) show up.

@tokinjoker: Strange. I'll probably need to take a look at it; give me a forum URL (or PM if it is private)
Check out the AJAX Shoutbox (my one and only mod to date :P)
Do you like SMF? Are you using ProBoards, InvisionFree, ActiveBoards or some other web-hosted forum? I can help you convert to SMF (without having to purchase a DB conversion)...contact me [nneonneo {at} gmail *dot* com], and see this topic
spammers here!

nneonneo

@tokinjoker: In their infinite wisdom, GoDaddy has added ads to yshout.php. This probably interferes with the presentation of the information.

Possible fix: Change gzipCompression to false in yshout.php (this disables compression but should prevent the ads from corrupting the data sent).
Check out the AJAX Shoutbox (my one and only mod to date :P)
Do you like SMF? Are you using ProBoards, InvisionFree, ActiveBoards or some other web-hosted forum? I can help you convert to SMF (without having to purchase a DB conversion)...contact me [nneonneo {at} gmail *dot* com], and see this topic
spammers here!

tokinjoker

Thanks for the quick response Nneonneo.  Tried turning off compression to no avail  :(  I think I'm gonna havta drop the shoutbox till I can get some ad free hosting.  Great work though, looks and functions very well, when we see it, hehe.
Thanks again!

TJ

nneonneo

Well, here's the thing: I can see the shoutbox fine (using the username you provided); there appears (to me) to be no problem...
Check out the AJAX Shoutbox (my one and only mod to date :P)
Do you like SMF? Are you using ProBoards, InvisionFree, ActiveBoards or some other web-hosted forum? I can help you convert to SMF (without having to purchase a DB conversion)...contact me [nneonneo {at} gmail *dot* com], and see this topic
spammers here!

tokinjoker

Yea, usually when the page first opens the shoutbox will stick around a little longer, but as you traverse the forum, it gets worse, until it only shows the shoutbox for a couple seconds every minute or so.

nneonneo

I just browsed your website for ~10 minutes, and the shoutbox is still functional.
Check out the AJAX Shoutbox (my one and only mod to date :P)
Do you like SMF? Are you using ProBoards, InvisionFree, ActiveBoards or some other web-hosted forum? I can help you convert to SMF (without having to purchase a DB conversion)...contact me [nneonneo {at} gmail *dot* com], and see this topic
spammers here!

Deathschyte

are there any code for making this shoutbox only used for registered member ? i dont want any guest shout or spamming, thx !  ;)

nneonneo

Set $guestsAllowed to false in yshout/yshout.php.
Check out the AJAX Shoutbox (my one and only mod to date :P)
Do you like SMF? Are you using ProBoards, InvisionFree, ActiveBoards or some other web-hosted forum? I can help you convert to SMF (without having to purchase a DB conversion)...contact me [nneonneo {at} gmail *dot* com], and see this topic
spammers here!

Advertisement: