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

dannbass

Yep, it works! and I speak on behalf of everybody, THANKS A LOT for all the great support!!
You're the man!

nneonneo

#2041
[announce] 1.14b released. This release fixes a bug with non-ASCII characters, reported by dannbass.

The package contains upgraders for 1.13 and 1.14, so if you are using those versions, you can simply upload the package and apply 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

You should be able to just upload the package and install/update it as usual.

EDIT: OK, I used the wrong term there. Fixed.
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!

Adolfo

Quote from: nneonneo on April 12, 2008, 07:51:41 PM
You should be able to just upload the package and install/update it as usual.

EDIT: OK, I used the wrong term there. Fixed.

Thanks again :)

scsmilin

ok i thought that I only had to do that for the one in the yshout folder.... thank you I will go try again!!!

Adolfo

nneonneo, one last thing: is there a way to avoid people to load multiple instances of your shoutbox because of tabbed browsing?

nneonneo

@Adolfo: Set checkDuplicates to true in yshout/js/yshout.js. It is also recommended that you update the date after yshout.js (to anything you want; it doesn't have to be a date) in index.template.php to prevent caching (which would cause the change to not take effect)
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!

Adolfo

Quote from: nneonneo on April 12, 2008, 08:15:29 PM
@Adolfo: Set checkDuplicates to true in yshout/js/yshout.js. It is also recommended that you update the date after yshout.js (to anything you want; it doesn't have to be a date) in index.template.php to prevent caching (which would cause the change to not take effect)

I updated the date to Apr172008 but users can still open multiple istance of the shoutbox if they use tabbed browsing.
Maybe because I'm using a TP central block?

nneonneo

In two spots in yshout/js/yshout.js, change
3/*seconds*/
to
20/*seconds*/

That should fix it (it's working for me).
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!

Adolfo

Quote from: nneonneo on April 12, 2008, 08:41:02 PM
In two spots in yshout/js/yshout.js, change
3/*seconds*/
to
20/*seconds*/

That should fix it (it's working for me).

Yeah, it's working with IE (not with Firefox, but that is not a problem) :)

Thanks again

footypro

Is it possible to make it so that you can make a usergroup that are capable of modding the shoutbox, but nothing else. Basically a shoutbox moderator but they wouldn't be able to Moderate the forums or anything else like that?

nneonneo

Set moderatorGroups 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!

mathmission

Have a strange problem to report. Was using this mod with the DoD theme, and it was working just fine. Then all of a sudden, it just sort of stopped working. I can enter text just fine, but when I hit enter to send it, nothing happens, as well as when you click the "submit" button. Mod works on other installed themes as well as default. And like I said, it worked earlier, just sort of stopped working. I've not installed or made any changes since it was working. Ideas?

nneonneo

Just...stopped working? Does the shoutbox still show?
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!

mathmission

#2054
Yeah, shows just fine. And like I said, it works in all the other themes. But for some reason, it just stopped responding. I mean, you can see when someone else, using a different theme, posts a message, but it doesn't do much in the way of posting messages in DoD theme now. I've tried removing the code from that theme, and putting it somewhere else, just doesn't work...



*Edit* - Installed the original index.template.php, then applied the mod code again, and that seems to have fixed the problem, whatever it might have been. What I don't understand was that I hadn't changed anything since its installation...

nneonneo

Was it just a problem for you? If so, it could've been browser caching. Occasionally, one of the support files gets somehow corrupted (this has happened to me a few times), and your browser saves the bad copy, which then causes the shoutbox to not work. In that case, if you force-refresh the page (Shift-Refresh on Firefox, not sure about other browsers), then it causes the files to be reloaded, usually resolving the 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!

pongsak

How can it show only  the messages for last 24 hrs?
smf 1.1.2 with dilbermc themes.
> 50 mods installed.

nneonneo

In the history, or the shoutbox?

That's a pretty tricky question, I think. The easiest way to do it would be to modify the preg_replace which uses preg_timeformat (so that instead of just matching the timestamp, it matches the whole shout), then let preg_timeformat delete the whole shout (return nothing) if it is too old.
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!

scsmilin

Ok i thought this was the forum itself but I was advised to come here and repost...sorry about that.......

From time to time my shout box suddenly fills with things like....


Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /hermes/web06/b987/pow.unigirl1972/htdocs/forum/Sources/Subs.php on line 321

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /hermes/web06/b987/pow.unigirl1972/htdocs/forum/Sources/Load.php on line 391

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /hermes/web06/b987/pow.unigirl1972/htdocs/forum/Sources/Load.php on line 392

Notice: Undefined index: BAN_CHECK_IP in /hermes/web06/b987/pow.unigirl1972/htdocs/forum/Sources/Load.php on line 492

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /hermes/web06/b987/pow.unigirl1972/htdocs/forum/Sources/Subs.php on line 321

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /hermes/web06/b987/pow.unigirl1972/htdocs/forum/Sources/Load.php on line 1186

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /hermes/web06/b987/pow.unigirl1972/htdocs/forum/Sources/Load.php on line 1196

Notice: Undefined index: theme_url in /hermes/web06/b987/pow.unigirl1972/htdocs/forum/Sources/Load.php on line 1217

Notice: Undefined index: images_url in /hermes/web06/b987/pow.unigirl1972/htdocs/forum/Sources/Load.php on line 1218

Notice: Undefined index: theme_dir in /hermes/web06/b987/pow.unigirl1972/htdocs/forum/Sources/Load.php on line 1219

Warning: array_unshift() [function.array-unshift]: The first argument should be an array in /hermes/web06/b987/pow.unigirl1972/htdocs/forum/Sources/Load.php on line 1383

Notice: Use of undefined constant WIRELESS - assumed 'WIRELESS' in /hermes/web06/b987/pow.unigirl1972/htdocs/forum/Sources/Load.php on line 1395

Notice: Use of undefined constant WIRELESS_PROTOCOL - assumed 'WIRELESS_PROTOCOL' in /hermes/web06/b987/pow.unigirl1972/htdocs/forum/Sources/Load.php on line 1397

Notice: Undefined index: theme_dir in /hermes/web06/b987/pow.unigirl1972/htdocs/forum/Sources/Load.php on line 1472

Notice: Undefined index: default_theme_dir in /hermes/web06/b987/pow.unigirl1972/htdocs/forum/Sources/Load.php on line 1484

Notice: Undefined index: default_theme_dir in /hermes/web06/b987/pow.unigirl1972/htdocs/forum/Sources/Load.php on line 1492

Notice: Undefined index: theme_dir in /hermes/web06/b987/pow.unigirl1972/htdocs/forum/Sources/Load.php on line 1472

Notice: Undefined index: theme_dir in /hermes/web06/b987/pow.unigirl1972/htdocs/forum/Sources/Load.php on line 1560

Notice: Undefined index: theme_url in /hermes/web06/b987/pow.unigirl1972/htdocs/forum/Sources/Load.php on line 1560

Notice: Undefined index: theme_dir in /hermes/web06/b987/pow.unigirl1972/htdocs/forum/Sources/Load.php on line 1561

Notice: Undefined index: theme_url in /hermes/web06/b987/pow.unigirl1972/htdocs/forum/Sources/Load.php on line 1561

Notice: Undefined index: default_theme_url in /hermes/web06/b987/pow.unigirl1972/htdocs/forum/Sources/Load.php on line 1572

Notice: Undefined index: default_theme_url in /hermes/web06/b987/pow.unigirl1972/htdocs/forum/Sources/Load.php on line 1573

Notice: Undefined index: theme_language_error in /hermes/web06/b987/pow.unigirl1972/htdocs/forum/Sources/Load.php on line 1592

Notice: Undefined index: theme_dir in /hermes/web06/b987/pow.unigirl1972/htdocs/forum/Sources/Load.php on line 1560

Notice: Undefined index: theme_url in /hermes/web06/b987/pow.unigirl1972/htdocs/forum/Sources/Load.php on line 1560

Notice: Undefined index: theme_dir in /hermes/web06/b987/pow.unigirl1972/htdocs/forum/Sources/Load.php on line 1561

Notice: Undefined index: theme_url in /hermes/web06/b987/pow.unigirl1972/htdocs/forum/Sources/Load.php on line 1561

Notice: Undefined index: default_theme_url in /hermes/web06/b987/pow.unigirl1972/htdocs/forum/Sources/Load.php on line 1572

Notice: Undefined index: default_theme_url in /hermes/web06/b987/pow.unigirl1972/htdocs/forum/Sources/Load.php on line 1573

Notice: Undefined index: theme_dir in /hermes/web06/b987/pow.unigirl1972/htdocs/forum/Sources/Load.php on line 1560

Notice: Undefined index: theme_url in /hermes/web06/b987/pow.unigirl1972/htdocs/forum/Sources/Load.php on line 1560

Notice: Undefined index: theme_dir in /hermes/web06/b987/pow.unigirl1972/htdocs/forum/Sources/Load.php on line 1561

Notice: Undefined index: theme_url in /hermes/web06/b987/pow.unigirl1972/htdocs/forum/Sources/Load.php on line 1561

Notice: Undefined index: default_theme_url in /hermes/web06/b987/pow.unigirl1972/htdocs/forum/Sources/Load.php on line 1572

Notice: Undefined index: default_theme_url in /hermes/web06/b987/pow.unigirl1972/htdocs/forum/Sources/Load.php on line 1573

Notice: Undefined index: lastActive in /hermes/web06/b987/pow.unigirl1972/htdocs/forum/Sources/Subs.php on line 2556

Notice: Undefined index: lastActive in /hermes/web06/b987/pow.unigirl1972/htdocs/forum/Sources/Subs.php on line 2586

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /hermes/web06/b987/pow.unigirl1972/htdocs/forum/Sources/Subs.php on line 321

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /hermes/web06/b987/pow.unigirl1972/htdocs/forum/Sources/Subs.php on line 321

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /hermes/web06/b987/pow.unigirl1972/htdocs/forum/Sources/Subs.php on line 321

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /hermes/web06/b987/pow.unigirl1972/htdocs/forum/SSI.php on line 662

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /hermes/web06/b987/pow.unigirl1972/htdocs/forum/SSI.php on line 695

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /hermes/web06/b987/pow.unigirl1972/htdocs/forum/Sources/Subs.php on line 321

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /hermes/web06/b987/pow.unigirl1972/htdocs/forum/Sources/Load.php on line 896

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /hermes/web06/b987/pow.unigirl1972/htdocs/forum/Sources/Load.php on line 914

Notice: Undefined index: time_offset in /hermes/web06/b987/pow.unigirl1972/htdocs/forum/Sources/Subs.php on line 835

Notice: Undefined index: todayMod in /hermes/web06/b987/pow.unigirl1972/htdocs/forum/Sources/Subs.php on line 842

Notice: Undefined index: time_offset in /hermes/web06/b987/pow.unigirl1972/htdocs/forum/Sources/Subs.php on line 835

Notice: Undefined index: todayMod in /hermes/web06/b987/pow.unigirl1972/htdocs/forum/Sources/Subs.php on line 842

Notice: Undefined index: time_offset in /hermes/web06/b987/pow.unigirl1972/htdocs/forum/Sources/Subs.php on line 835

Notice: Undefined index: todayMod in /hermes/web06/b987/pow.unigirl1972/htdocs/forum/Sources/Subs.php on line 842

Notice: Undefined index: time_offset in /hermes/web06/b987/pow.unigirl1972/htdocs/forum/Sources/Subs.php on line 835

Notice: Undefined index: todayMod in /hermes/web06/b987/pow.unigirl1972/htdocs/forum/Sources/Subs.php on line 842

Notice: Undefined index: time_offset in /hermes/web06/b987/pow.unigirl1972/htdocs/forum/Sources/Subs.php on line 835

Notice: Undefined index: todayMod in /hermes/web06/b987/pow.unigirl1972/htdocs/forum/Sources/Subs.php on line 842

Notice: Undefined index: time_offset in /hermes/web06/b987/pow.unigirl1972/htdocs/forum/Sources/Subs.php on line 835

Notice: Undefined index: todayMod in /hermes/web06/b987/pow.unigirl1972/htdocs/forum/Sources/Subs.php on line 842


and that's just part of it as it will just as suddenly return to normal. The thing is, none of this actually points to the shoutbox--- just forum and forum 'sources' ....any idea what's wrong here? I'm using the 1.1.4 version- no beta.

nneonneo

I think all the errors are caused by the first few -- the ones relating to mysql_query. It looks like SMF can't connect to the database, and since the shoutbox isn't set up to catch such errors, they simply fall through to output.

It's possible that the shoutbox is exceeding the maximum connection limit, the "flood" limit, or some other limit on your database, or that the database server/process is busy doing other things. Whatever the cause, it's certainly related to the database in some way.

My shoutbox doesn't directly use the database, but SSI.php loads a lot of SMF files, which in turn use the database to load settings, etc.
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: