nneonneo's Shoutbox

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

Previous topic - Next topic

nneonneo

@Judgey: I get a 500 Internal Server Error on http://www.judgey.info/yshout/yshout.php. Check the CHMOD permissions...

@mdrcracing: In yshout/yshout.php, change the preg_timeformat function. It looks like this:
function preg_timeformat($matches)
{
// format: <timeval=(value)>
return timeformat(intval($matches[1]));
}

Change the return line to "return '';"

Also, change
$chatText=preg_replace_callback("/<timeval=(\d+)>/","preg_timeformat",$chatText);
to
$chatText=preg_replace_callback("/\[<timeval=(\d+)>\]/","preg_timeformat",$chatText);
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!

Judgey

wow mate u so good, was because it was not set at 755.

Many thx :)

Nibogo

Quote from: nneonneo on February 24, 2008, 11:49:31 AM
Wow, I totally missed a page of replies. Sorry about that!!

I'm going to try to reply to everyone here.

@NIBOGO: If you're trying to put the shoutbox in the portal, you will have to do some things differently, though I am not familiar with the portal you are using. For the board index ("action=forum") it should work, since it appears to be the default theme.


i try to install in my forum , the link is:

http://mundo-se.com/foro/index.php

and the portal is:

http://mundo-se.com/foro/index.php?action=portal

i cant install this mod :(

nneonneo

Is the skin the default skin? It should work out-of-the-box...

To anyone interested: attached is a "beta" of 1.13. The major changes are the elimination of prototype.js (well, actually it is replaced with a stub providing the necessary functions), and the moving of CSS from index.template.php and yshout.php into their own files (yshout-style.css in the theme directory and yshout directory). This may make manual installations easier to comprehend as well as making upgrading, editing and uninstallation easier (since the CSS can now be modified without having to muck with index.template.php -- my hope is that after 1.13, nobody will have to touch that file except for manual installation).
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!

Chopper

Quote from: nneonneo on February 27, 2008, 10:30:13 PM
Is the skin the default skin? It should work out-of-the-box...

To anyone interested: attached is a "beta" of 1.13. The major changes are the elimination of prototype.js (well, actually it is replaced with a stub providing the necessary functions), and the moving of CSS from index.template.php and yshout.php into their own files (yshout-style.css in the theme directory and yshout directory). This may make manual installations easier to comprehend as well as making upgrading, editing and uninstallation easier (since the CSS can now be modified without having to muck with index.template.php -- my hope is that after 1.13, nobody will have to touch that file except for manual installation).

Is there an option in Admin to alter features??

mdrcracing

thanks for the help... worked without a prob...

nneonneo

@Chopper: There isn't an admin-panel component. All settings are handled through editing one of yshout.php (most common), yshout.js (not so common) or index.template.php (for the layout; 1.13 will address this by splitting the CSS off to its own file).
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!

Chopper

Quote from: nneonneo on February 28, 2008, 09:18:21 AM
@Chopper: There isn't an admin-panel component. All settings are handled through editing one of yshout.php (most common), yshout.js (not so common) or index.template.php (for the layout; 1.13 will address this by splitting the CSS off to its own file).

Ok, i have installed but where is the admin for this?? Maybe im being stupid but i cant see it?

nneonneo

I already said there isn't an admin component. If you want to make a change, edit yshout/yshout.php.

As for *why* I've opted to leave an admin panel out, it's because of a few reasons: efficiency (it's called often, and having it check settings from a DB isn't the fastest way to do things) -- this has been largely negated by using a lot of SMF loading features, and secondly because SMF 2.0 will come out sometime (preferably sooner), and it will likely involve at least some changes to the admin panel, so I'd like to write one after the API is clear.
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!

NascarFan

Can someone please explain me, how i can disable the BBcode in the Shoutbox?
I dont want that some users are posting extra large pictures with the IMG tag and other stuff, linking from other sites

thanks

Chopper

Quote from: nneonneo on February 28, 2008, 11:53:47 AM
I already said there isn't an admin component. If you want to make a change, edit yshout/yshout.php.

As for *why* I've opted to leave an admin panel out, it's because of a few reasons: efficiency (it's called often, and having it check settings from a DB isn't the fastest way to do things) -- this has been largely negated by using a lot of SMF loading features, and secondly because SMF 2.0 will come out sometime (preferably sooner), and it will likely involve at least some changes to the admin panel, so I'd like to write one after the API is clear.

Sorry mate, i totally misread.

nneonneo

Disabling all BBCode?

Find both lines starting with
$newText = parse_bbc($newText);
and comment them out. This will disable all BBCode.
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!

Diami

I tried to install it to my board, but it's still saying ...loading shoutbox...

I altered the board url, and it's still not working. Any idea why?

http://papigice.net/newforum

nneonneo

http://www.papigice.net/newforum/yshout/yshout.php gives a 500 server error. This likely means a permission problem; try setting the permissions of the folder to 755.
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!

Diami

I checked it, it already is 755.  :(

nneonneo

Odd. Check the server error log, then. Maybe there is a hint. Some hosts are set up funny :P
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!

ronnie42

Hi all,

Am using the shoutbox on our new forum at www.chauffeursforum.eu

And so far we are happy with it, only what i wanted to ask is can i rename the shout box name?

It says now : shout box  and i wanna replace it in something dutch like "kanaal 9" or something like that.
How do i do that?  and the same thing goes for the shoutbox button can i chance the name to at that button?

Thanks so far.
Powered by SMF 2.0 RC4

Jimi_Hendrix

Hi nneonneo,

I want to insert in the shoutbox' page this:

echo '<div id="useronline">'; ssi_whosOnline(); flush(); echo '</div>'; (view user online)

for refresh this div with your function doRefresh()...how i do???

thanks  ;D

ps
For the previous issue ... You are able to solve?

Barbarus

Hello,

My page "shoutbox" is good.

If i add smileys bar :

Fatal error: Call to undefined function: loadlanguage() in /home4/b/barbarus/www/ant/forums/mymod/smiley.php on line 101

An idea?

link shoutbox: http://www.belgant.be/index.php?option=com_wrapper&view=wrapper&Itemid=77 [nofollow]

Thank you

(i'm french, sorry for the error)
[nofollow]

De4thPr00f

Can someone help me?
http://newengine.sam-clan.com/
The shoutbox only says "...loading shoutbox..."
Nothing happenz.

Advertisement: