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

sashafiero

Quote from: nneonneo on July 12, 2008, 03:49:39 PM
@sashafiero: Those errors would be the result of missing language files! What is going on?

Try putting the code in Modifications.english-utf8.php between
<?php

and
?>
tags.

Something else weird: when I go to http://www.theunforgivingblade.com/forum/yshout/ [nofollow], I get the shoutbox which immediately blanks itself. According to headers, it is apparently giving me a zero-byte response, rather than the proper initialization HTML. I don't quite understand what is happening...


I did as you said to the utf8 file and uploaded it both to my custom theme's language directory, and the language directory of the default theme.

If I visit the yshout by itself as you said, it works fine for me, for whatever reason!

I went over the ./Sources/ManagePermissions.php file again, as it says at the bottom of the manual install instructions and the snippet it says to look for does not exist.  I don't know where to put the required code safely.
SMF 1.1.5 | nneonneo's Shoutbox 1.20

nneonneo

@Normally: I have no idea :S It looks like the Security.php file is not being loaded for some reason...

@sashafiero: Try http://custom.simplemachines.org/mods/index.php?attach=60060&smf_version=1.1.5&mod=585&action=parse (sorry, I got your version wrong...)
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!

sashafiero

Ah ha, that fixes everything right up!  Now I just have to play with the style!  :)  But the help button works, the Shout button says "Shout!" and all is well.

Thank you again and again for your attentive help!
SMF 1.1.5 | nneonneo's Shoutbox 1.20

Stef001

#2943
Quote from: nneonneo on July 12, 2008, 10:31:34 PM
@Normally: I have no idea :S It looks like the Security.php file is not being loaded for some reason...

I have given that file chmod 755 and now when i refresh the page for 3 second i see the shoutbox and than it going back to:
Fatal error: Call to undefined function allowedto() in /home/kaarten/public_html/yshout/yshout.php on line 69

Where is allowedto() defined???

Stef
SMF 2.0.2 | SimplePortal 2.3.5

nneonneo

allowedTo is defined in Subs/Security.php, which should be included by either index.php or SSI.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!

Stef001

#2945
Quote from: nneonneo on July 13, 2008, 01:11:08 PM
allowedTo is defined in Subs/Security.php, which should be included by either index.php or SSI.php.

How it is included in index.php, because i can`t found it.

And the strange thing is, when i refresch the page, i see the shoutbox for about 3 seconds and than i get the fault again.
Fatal error: Call to undefined function allowedto() in /home/kaarten/public_html/yshout/yshout.php on line 69
SMF 2.0.2 | SimplePortal 2.3.5

nneonneo

Both index.php and SSI.php should have this line:
require_once($sourcedir . '/Security.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!

Stef001

#2947
Quote from: nneonneo on July 13, 2008, 04:34:50 PM
Both index.php and SSI.php should have this line:
require_once($sourcedir . '/Security.php');

In Both are present.

Any other idea????

I also get this messages in the fault console from FF:

Fout: request is undefined
Bronbestand: http://www.kaartenleggen.nl/yshout/js/yshout.js?June102008
Regel: 133

Fout: objDiv is null
Bronbestand: http://www.kaartenleggen.nl/yshout/js/yshout.js?June102008
Regel: 147
SMF 2.0.2 | SimplePortal 2.3.5

Pleek

ok, this might have already been posted but reading all 148 pages of this thread doesn't appeal to me. Is there any way to reverse the way the shoutbox shows up? Like so the shout input aria is on top and the shouts show up with the newest on top?

[unplugged]

for reversing shoutbox:
http://www.simplemachines.org/community/index.php?topic=137508.msg1276450#msg1276450.

no need to read all 148 pages.....that's why SMF invented the "search".  :P
« Next Edit: Tomorrow at 08:34:45 PM by SunKing »   <---- « someone stole my sig... :o »



nneonneo

@Pleek: In version 1.20, see yshout/settings.php. In 1.16 and before, http://www.simplemachines.org/community/index.php?topic=137508.msg1276450#msg1276450

@Normally: The shoutbox should be loading SSI.php (require(dirname(__FILE__) . "/../SSI.php");) if it is not loaded from the index page. Did you make the modifications manually? If so, check to make sure that you put
if(isset($_GET['yshout']))
{
$yshout_from_index=true;
include_once('yshout/yshout.php');
exit;
}

BEFORE
// Get everything started up...
define('SMF', 1);


EDIT: Oops, I'm late. :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!

Stef001

Quote from: nneonneo on July 13, 2008, 05:05:31 PM
@Pleek: In version 1.20, see yshout/settings.php. In 1.16 and before, http://www.simplemachines.org/community/index.php?topic=137508.msg1276450#msg1276450

@Normally: The shoutbox should be loading SSI.php (require(dirname(__FILE__) . "/../SSI.php");) if it is not loaded from the index page. Did you make the modifications manually? If so, check to make sure that you put
if(isset($_GET['yshout']))
{
$yshout_from_index=true;
include_once('yshout/yshout.php');
exit;
}

BEFORE
// Get everything started up...
define('SMF', 1);


EDIT: Oops, I'm late. :P

That makes it work.
Thanks, thanks and thanks for the great help.
SMF 2.0.2 | SimplePortal 2.3.5

KeysS

#2952
Hi all, sorry i'm new in this forum :) but i have one problem with this :/ ... when i install the shoutbox =S but all time says :

Warning: fopen(yshout/chats/home.txt) [function.fopen]: failed to open stream: Permission denied in /home/a8100475/public_html/yshout/yshout.php on line 684

The version is

#  AdvSB_1.20.zip
and my forum is

#  1.1.5

I need help please for this :) ...

Thanks

KeysS

anyone can't help me? please

nneonneo

If you can use "chmod" on your FTP, try to chmod yshout/chats to 777, and yshout/chats/home.txt and yshout/chats/history.home.txt to 666.
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!

KeysS

#2955
Quote from: nneonneo on July 14, 2008, 01:49:58 PM
If you can use "chmod" on your FTP, try to chmod yshout/chats to 777, and yshout/chats/home.txt and yshout/chats/history.home.txt to 666.

sorry i'm noob in this u can help better? .... i have msn please, [email protected]

Thanks now work :D

nneonneo

In your FTP client, just use the CHMOD option on the items as described. 666 means READ+WRITE for USER, GROUP and OTHER. 777 means READ, WRITE, EXECUTE for USER, GROUP and OTHER.
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!

KeysS

#2957
Quote from: nneonneo on July 14, 2008, 03:17:17 PM
In your FTP client, just use the CHMOD option on the items as described. 666 means READ+WRITE for USER, GROUP and OTHER. 777 means READ, WRITE, EXECUTE for USER, GROUP and OTHER.

Thanks now works sorry :) but i need resize O_O when all write the shoutbox make big xD ... any idea for this?

No more :D fixed thanks for this shoutbox :P (Y) really nice work

nneonneo

AdvSB uses a two-line format. If you don't like it, you are welcome to use SB_1.20, which uses a one-line format for text, or you can use CSS to make the one-line format.
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!

KeysS

Quote from: nneonneo on July 14, 2008, 03:48:54 PM
AdvSB uses a two-line format. If you don't like it, you are welcome to use SB_1.20, which uses a one-line format for text, or you can use CSS to make the one-line format.

it's done man :D thanks for ur work (Y)

Advertisement: