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

Nequil

@nneonneo

How I can to messages in shoutbox showing from top to bottom?

nneonneo

$reverseShouts in yshout/settings.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!

Nequil

Quote from: nneonneo on October 26, 2008, 03:19:09 PM
$reverseShouts in yshout/settings.php

ok works, but how I can set this option in history?

waronyou

Yes I uninstalled it and got the error. IDK My host fixed the  500 error and I loaded up my back up defaults sources and theme.

I only unistalled it to adjust the refresh since I uploaded the whole package and couldnt access the file.  I might put it in tp but im hesitant. It was working fine with no errors. Why would it do that when I uninstalled it?

nneonneo

@Nequil: In yshout.php, replace
echo processChats($text,$user);
by
$text=processChats($text,$user);
echo implode("\n", array_reverse(explode("\n", $text)));


@waronyou: It probably has to do with incorrect permissions. Hosts vary widely in what permissions are accepted.

When you get a 500 server error, it is usually a good idea to consult the server's error_log.
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!

adamcanada

Quote

I just did what it said on here and my scrollbar works perfect. The site is www.southshorestangs.com if you want to check it out.

Weird, everytime I try it the scrollbar squishes everything to the left, I expand the width and it will expand until a certain extent..it gets halfway across the shoutbox and then it will disappear.

nneonneo

I am guessing this is because of something particular to your theme (probably a width: declaration or similar in a parent element). Which theme are you using, and where did you install 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!

nwobhm

I've got a new question. I have set this shoutbox into my front page and now it seems that people stay looged-in even if I have set from the forum settings that they shouldn't be visible after 10 minutes of inactivity.
This 10 minute rule doesn't seem to be working now?

I'm not sure if this shoutbox is cause of it ???

bfeo

How can I disable smileys in the shoutbox?  They are flashing everything the shoutbox reloads.

nneonneo

@nwobhm: It could be the shoutbox, since every refresh potentially marks the user as active.

Change this line in yshout.php:

writeLog(); // mark user as online
to
if(isset($_POST["reqtype"]) && $_POST["reqtype"] != 'refresh') writeLog(); // mark user as online

This will mark the user as active only if he shouts or refreshes the whole page.

@bfeo: In yshout.php, change
parse_bbc($text)
to
parse_bbc($text,false)
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!

adamcanada

I am using the DarkBreak theme with SMF + TinyPortal

Patriot89

I can't get the sound to work, it was named for "sound.mp3" but the file received was "chat.mp3", now I changed the url path so it would link to "chat.mp3" however the sound still does not work...

dangerboy

How can i prevent a banned user to chat in shoutbox? I banned the user already in the forum but he can still see the shoutbox and chat. I need to do ban the user twice on forum and shoutbox.. Is there a way to ban the user in the shoutbox and forum at the same time?

Pho3niX90

hey there, i have installed the shoutbox but I'm getting a strange error, similar to the one of 2.0 beta 4, when some1 tries to post the posting button doesn't work, like its a javascript error or something?

I'm using SMF 1.6 so cant see whats wrong? could you mabe help me, and aswell I'm using the advanced edition of your shoutbox..

Thanks in advanced 8)

PS: My website is www.sybarific.co.za [nofollow]
Username: Tester
Password: 123456

nneonneo

@Patriot89: Did you install it manually?

@dangerboy: The ban systems are separate, so you have to ban a user from both.

@Pho3niX90: You are using an older version of the <head> code. Edit index.template.php and update the <head> code section. You might also want to keep the customization made to onload:
window.onload=function(){loadChat();};
is changed to
window.onload=function(){ loadChat(); if(previousOnload) previousOnload(); addReflections(); };
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!

Pho3niX90

Quote from: nneonneo on October 29, 2008, 10:31:10 AM
@Patriot89: Did you install it manually?

@dangerboy: The ban systems are separate, so you have to ban a user from both.

@Pho3niX90: You are using an older version of the <head> code. Edit index.template.php and update the <head> code section. You might also want to keep the customization made to onload:
window.onload=function(){loadChat();};
is changed to
window.onload=function(){ loadChat(); if(previousOnload) previousOnload(); addReflections(); };

I have tried that, but no luck:(

Patriot89

I did not install it manually

Patriot89

Also, is there a way to allow registered users to change their name in the shout box

for example

User Name is DonGio

he wants to change his name to Bubbles...

can we set it so he types "/nick Bubbles"

now his name is Bubbles..


nneonneo

@Patriot89: Hmm. Try a newer soundmanager2.

As for changing the username, try this:

In yshout/yshout.php, change
if(isGuest())
{
if($autoGuestName!==false)

to
if(true)
{
if(isGuest() && $autoGuestName!==false)


Change
else
echo '
',$inputForumName,'value="',$user['name'], '" disabled="disabled" />';[/code[
to
[code] else
echo '
',$inputForumName,'value="',$user['name'], '" />';


In yshout/js/yshout.js, change
userdata='';
if (guest) {

to
userdata='';
if (true) {


This will allow ordinary members to edit the name field on the left.
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!

Nequil

In my shoutbox text are bold, how I can fix this?


Advertisement: