News:

SMF 2.0.19 has been released! Please update. Read more.

Main Menu

nneonneo's Shoutbox

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

Previous topic - Next topic

WxChat.com

Hey nneonneo it is me again. I love your shoutbox and with the great mods that you have given me I have it looking pretty good. My question is you have Admins in red. How do I set to show mods in green and Global Mods in Blue?
For instance when I post my username is in Red since I am an admin. So can I set this up to work for my mods to show up in color as well? I am sure it can be done just don't know where to start.

DASBEAN

How does one fully remove this mod? I applied it and didn't like it to much and now after uninstalling, it's still in my default theme ... I've attempted to manually remove it and I'm just messing things up.

Can you please tell me how to fully remove this?

Thanks

Forfirith

Manually you just have to remove everything that is inside the YSHOUT tags.... on the index.template.php file

(I hope I didn't write something wrong ... I'm writing this from memory... but the YSHOUT tags is correct...)

brianjw

Ok nneonneo. I am using the shoutbox and since i have a rule that no one is allowed to use real names on my website, i censored the real names to their usernames. The shoutbox does not censor any of the words.... Is there a way you can add this to a future version, what code do I add and where?

Brianjw :)

nielsrasmus

Hi all
I've just installed this mod, and it works perfectly as expected.

Right now i'm building a portalsite with heavy use of the SSI scripts that points to my SMF forum behind it.

I would like to have the shoutbox to appear on my frontpage as well, is this at all possible ???

/niels

brianjw

Quote from: nielsrasmus on February 11, 2007, 09:24:54 AM
Hi all
I've just installed this mod, and it works perfectly as expected.

Right now i'm building a portalsite with heavy use of the SSI scripts that points to my SMF forum behind it.

I would like to have the shoutbox to appear on my frontpage as well, is this at all possible ???

/niels
If you are talking about TinyPortal...
You can get instructions in this topic: http://www.simplemachines.org/community/index.php?topic=137508.msg880188#msg880188
Just instead of a right or left block you put it in the frontpage block and integrate with other codes ;)

circles122345

#286
hello im using BlackRain Themes, I already add this code in plainfully but nothing found even one letter..
pls help me this.

this is my error:

Template Parse Error!
There was a problem loading the /Themes/BlackRain1/index.template.php template or language file. Please check the syntax and try again - remember, single quotes (') often have to be escaped with a slash (\). To see more specific error information from PHP, try accessing the file directly.

You may want to try to refresh this page or use the default theme.
syntax error, unexpected '='


thanks,
<<clear the evidence before you leave>>

Calaad

Hello,

Your mod works perfectly except one caracter : "à".

I try to use charset=ISO-8859-1 instead of utf-8 for the same result...

All other special caracters (like â, ä, ù, €, etc) works without any problems...

In Firefox, "?" replace the "à" and in IE it's "&nbsp;".

If somebody got a solution...

Thank for this mod in any case !


circles122345

i tried many times to fix that..but nothing result.. :(
<<clear the evidence before you leave>>

circles122345

Quote from: RvG on December 27, 2006, 11:39:13 PM
aku... thanks for the info. I would like to use it inside TP. Is it possible?

BTW, still it didn't work to me. Using smf 1.1.1 php 4.

Shout Box

...loading shoutbox...

only this and nothing shows thereafter.


same result here...

<<clear the evidence before you leave>>

nneonneo

@Calaad: I have no idea why. Maybe the accented a is not a UTF-8 character. I do not have anything specially set up to catch characters like that, though...

@circles: You made an error putting the code into index.template.php. PM me the code and I'll see what's up.
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!

buben06

#291
I have problem with encoding.

...when I change all instances of utf-8 in yshout.php to windows-1251 (russian) , it fixes datestamp and username (if russian) and shows them correctly, but the input text becomes all #$^@$%^&. (if typed in russian, english works fine either way)

Also, when I use default yshout.php (with utf-8), it's opposite: I can input text to shoutbox and see simbols in english and russian as well, but the datestamp and username is @#%$^#


any suggestions where I can change the input charset type to recognize windows-1251 ?

Note:
I use russian "windows-1251" charset in the forum settings in general and to switch to russian-utf , is not an option at the time. (too much to retype)

thanks,

Calaad

#292
Just an info :

The problems with the "à" caracter is on writing in "home.txt", it appaers like "Ã&nbsp;". When i write manually inside (with texte editor) and replace it by "&.#.224;" (without point), it appars to be good.

I'll try to search why... ;).

PS : Sorry for my bad english...

richardz

Parse error: syntax error, unexpected '=' in .../Themes/default/index.template.php on line 203

194: echo $context['html_headers'], '
195:
196: <script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
197: var current_header = ', empty($options['collapse_header']) ? 'false' : 'true', ';
198:
199: function shrinkHeader(mode)
200: {';
201:
202: // YSHOUT HERE
203: document.getElementById("yshout").style.display = mode ? "none" : "";204: if(!mode)
205: {
206: loadChat();
207: }




Quote@circles: You made an error putting the code into index.template.php. PM me the code and I'll see what's up.

hmm...the install manual is only talking about the index.template....... are there more files to be changed?

richardz

i used an index.template that was posted a few pages back and it worked. Now i have to analyze it to understand it ;)

DarkVelocity

is it possible to add a scroll bar to your shoutbox?
it'd be alot better

DASBEAN

Quote from: mrbean17 on February 08, 2007, 10:45:41 PM
How does one fully remove this mod? I applied it and didn't like it to much and now after uninstalling, it's still in my default theme ... I've attempted to manually remove it and I'm just messing things up.

Can you please tell me how to fully remove this?

Thanks

Hello again, hoping for an update.

Thanks


brianjw

I like the idea of the scrollbars. Anyway to display the entire shoutbox history inside and make it scroll? ???

Brianjw

fritpa

How can i put emoticons in this shoutbox? is this possible?

Thank you.

Advertisement: