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

nneonneo

Well, you would change the preg_timeformat function. Currently, it is fixed to the forum; if you don't want that then a simple change from "return ..." to "return strftime('%H:%M',intval($matches[1]));" will work.
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!

kichu

The Guests can see the Shoutbox but cant post...

How to do it

nneonneo

If you want them to post, set $allowGuests to true.

If you don't want them to see the shoutbox, hide the block to guests (if possible); otherwise it won't be possible to remove the shoutbox completely from view of guests.
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!

brianjw

Quote from: nneonneo on October 23, 2007, 09:32:41 AM
If you don't want them to see the shoutbox, hide the block to guests (if possible)...
Of course it's possible. It is always possible as long as you're on an SMF running forum. On the docs for smf it states several kinds of code that will either disable certain membergroups or allow all except guests ;)

nneonneo

[announce] petr00kos has sent me a Greek translation; if you are looking for one, check it out on the main mod page.

Release of 1.11 should be soon, so any feature requests or bug reports should be posted soon :) (and even if you've said it before, go ahead and repeat it, I may have neglected to make note of it).

Finally, the Turkish translation is updated for 1.10, which should alleviate any installation issues. Both language packs have been tested on both UTF-8 and non-UTF-8 language packs, on SMF 1.1.4.
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!

kichu

I mean The Shoutbox must be visible for Guests.. they can see the shouts

but they have optiion to post the shout...

nneonneo

OK, just set $allowGuests to true 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!

nneonneo

[announce] Shoutbox version 1.11 is now out. This release is primarily a minor bugfix release.

Changes:
  • Added allowGuestsPost for finer control of guest abilities. If this is false and allowGuests is true, then guests will be able to view but not post to the shoutbox.
  • Fixed the ExtendedHistory bug where pressing "Cancel" would still go to a history page. Now, it simply cancels the dialog.
  • Fixed loading bugs that could occur when loading the shoutbox on a domain other than the one specified by SMF. Now, the shoutbox should work for any domain.
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!

Shankirili

Hi,

I just installed this mod which seems to perfectly fit my needs, but it isn't working.

It blocks on "...loading shoutbox..."
any advices?

nneonneo

Hmm, let me know your board URL and I'll check it out. The loading code was changed slightly in the last release.
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!

Shankirili

Well, it is a private forum.
I've sent you a PM with the URL.

jayant

I've installed the shoutbox as per direction Version SB_1.10.tgz; compatible with smf 1.1.4 and also did all the needed alterations as per directed in the relevant section, but it is not at all appearing only showing that "loading shoutbox", what is the problem, where I'm going wrong?
www.cave-biology.org/forum

nneonneo

@jayant: Odd, there's no yshout/ folder -- maybe try coping the yshout folder from the package to your forum root.

@Shankirili: Try chmod'ding yshout.php to 755 - some hosts are configured with certain restrictions on script execution.
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!

jossanaijr

I just discovered that some members cannot use shoutbox!  Even when they are logged the message;

Sorry, you must be logged in to use the shoutbox!

persists.  Those members also cannot enter my CHAT automatically without having to enter their username and password in the chat loggin page (Flashchat) but after that they can chat.
I tried to change the membergroup to check but there is no effect.
Any idea?  Is it a Shoutbox issue or some setting in my smf? Note that I tried to enter as one of this member in my pc and the error occurred so it is not a cache problem, I suppose.

nneonneo

This only happens for _some_ of your users? That's really odd...does it work for any non-admin/non-moderator users (i.e. perfectly "regular" members)?

I guess this is something I have to look into -- almost sounds like bad sessions (to clear sessions, just empty out the smf_sessions table) or something else is wrong.

One thing to try is to set $allowGuests to true and check if the username shows up. If it does not, or if it's not the right username, then this is indicative of a failure to load session data. Otherwise, something else is wrong.

Also check the server error log -- maybe PHP is producing warnings (it is also possible that the forum error log may catch some SMF-specific problems).
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!

jossanaijr

Quote from: nneonneo on October 26, 2007, 02:53:56 PM
(to clear sessions, just empty out the smf_sessions table)
How can I do that?

nneonneo

Do you have access to the database (e.g. phpMyAdmin)? If you do, just execute a "TRUNCATE TABLE smf_sessions" in the database. If not, then it is not so easy.
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!

examino

nneonneo, i tried to install in 1.1.4 and shootbox says loading all the time. I tried editting the file with the full address of my forum location as your guidlines said but still nothing. Is it because i run 1.1.4?

jossanaijr

Quote from: nneonneo on October 26, 2007, 03:02:00 PM
Do you have access to the database (e.g. phpMyAdmin)? If you do, just execute a "TRUNCATE TABLE smf_sessions" in the database. If not, then it is not so easy.
Ok, I'm right now in my phpMyAdmin but I need to admit I do not know where should I put this command...

nneonneo

OK, head to the table smf_sessions (left panel navigation) and hit "Empty" on top. Make sure it says "TRUNCATE" in the dialog (NOT "DROP", or SMF will stop working!), and then the sessions table should be empty.
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: