nneonneo's Shoutbox

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

Previous topic - Next topic

DareDevil1990

hi guys need some help i am using  nneonneo's Shoutbox in my site but the shoutbox wont show different colours of of different mebergrouponly the colour of admin is coming in shoutbox please help

nneonneo

See post immediately above yours. This feature will be implemented in the upcoming 1.12 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!

Mick.

Thanx nneonneo,that worked.   You should link this member code to the 1st page.

Mick.

Quote from: nneonneo on January 25, 2008, 08:55:23 AM
See post immediately above yours. This feature will be implemented in the upcoming 1.12 release.

Keshav is right.   The member colors worked but when they post,nothing shows.   Just their name is visible nothing else.

DareDevil1990

Quote from: nneonneo on January 25, 2008, 08:55:23 AM
See post immediately above yours. This feature will be implemented in the upcoming 1.12 release.
but the same shoutbox is been used in other sites and colour of different member groups are coming in shoutbox.....

nneonneo

Quote from: BlueDevil on January 25, 2008, 09:46:57 AM
Quote from: nneonneo on January 25, 2008, 08:55:23 AM
See post immediately above yours. This feature will be implemented in the upcoming 1.12 release.

Keshav is right.   The member colors worked but when they post,nothing shows.   Just their name is visible nothing else.

That's downright strange. Unless I posted the code wrong, it shouldn't do anything to their post text.

If it's happening on your board, I should go take a look, since I cannot reproduce it in either IE7 or Firefox.
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!

ByeVas

Hi nneonneo,
10x gor a great mod, but I have a problem and can't get it running I would be glad if you can help... so here si the problem...

1) I installed the mod manually because it didn't work with the automatic install no matter what changes I did (just for info)
2) I got it runing (applouse) ;) but the shoutbox works ok only on the frontpage if you go inside a topic the content looks strange and I see only shoutbox loading...(the problem)

3) I tried fixing it by changing the var board_url but when I do so the shoutbox stops working even on the frontpage and I see only "shoutbox loading" everywhere

4) I see an error also "8: Undefined index: path
File: /path/to/myforum/Themes/default/Admin.template.php (eval?)
Line: 107"

no matter what is my board url the error is still there... here is my line 107:
   var board_url = "'; $boardurlparsed = parse_url($boardurl); echo $boardurlparsed['path'], '";

I tried changing the var board_url to almost everything....

10x for your attention and great mod again ;)

examino

Quick question about Smileys Addition. I did all described.

And thus, i managed to make the smileys appear on the SB but when i click on ANY of them, nothing happens. Any help would be appreciated.

nneonneo

@ByeVas: Do you have search-engine friendly URLs? That causes big problems for the script.
As for board_url, you can try
var board_url = "/";

@examino: Did you add "name=..." to *every* instance in yshout/yshout.php? The "name" tag is required for the smiley code to find the typing bar, and there are many instances of
id="shout-text"
in the yshout.php file. Each one needs to have a name attribute for it to work properly.
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

#1529
No, i didn't quite did that. But i'm not sure i understand exactly. It seems like i have to enter a name for each smiley in the code but where exactly? May I have an example?


EDIT:

Where do i add the "name" tag and how exactly?


If you are reffering to step 5 of the guide, i did it yes. But only for those two mentined there. Isn't it enough?

nneonneo

From http://www.simplemachines.org/community/index.php?topic=137508.msg1388091#msg1388091 step 5

Quote5. Open yshout.php for namely some input.

find

<form id="shout-form" action="#">

replace  to

<form id="shout-form" name="shout_form" action="#">

find

<input id="shout-text" style="color: #666666;" maxlength="125" value="" type="text" />

replace to

<input id="shout-text" style="color: #666666;" maxlength="125" value="" type="text" name="shout_text" />

That's it.  :D



I would recommend instead that you find
id="shout-text"
and add after
name="shout_text"
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

That, I did. That's two lines of code edited, right? Still not working though.

nneonneo

No, not just two lines. There are several instances of shout-text.
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

#1533
I added the name tag everywhere but still nothing. So I uploaded yshout.php and index.template.php for you to check if and when you have some time to spare. I' m trying for hours now. Nothing seems to make it work. Than you for all your help.

EDIT: Figured it out. Thank you again.

ByeVas

Quote from: nneonneo on January 26, 2008, 10:29:45 AM
@ByeVas: Do you have search-engine friendly URLs? That causes big problems for the script.
As for board_url, you can try
var board_url = "/";

Yes use SEF urls. I tried : var board_url = "/"; but it shows only "loading shoutbox" while var board_url = "'; $boardurlparsed = parse_url($boardurl); echo $boardurlparsed['path'], '"; This works only on the frontpage, on the other pages the content is scrambled and the soutbox does not load...

nneonneo

OK. Use the second code, and please turn SEF URLs off. That will fix the issue (AFAIK the major search engines don't have a problem crawling your site without SEF URLs)
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!

Mick.

Quote from: ByeVas on January 27, 2008, 05:08:53 AM
Quote from: nneonneo on January 26, 2008, 10:29:45 AM
@ByeVas: Do you have search-engine friendly URLs? That causes big problems for the script.
As for board_url, you can try
var board_url = "/";

Yes use SEF urls. I tried : var board_url = "/"; but it shows only "loading shoutbox" while var board_url = "'; $boardurlparsed = parse_url($boardurl); echo $boardurlparsed['path'], '"; This works only on the frontpage, on the other pages the content is scrambled and the soutbox does not load...

Yep. I replaced it with this code:

var board_url = "/";
[/quote]

but it only shows "loading shoutbox".

....i get the same errors as well.  Lots pages 'tho lol.

nneonneo

Err, BlueDevil, wasn't your shoutbox working before?
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!

Mick.

Quote from: nneonneo on January 27, 2008, 11:40:25 AM
Err, BlueDevil, wasn't your shoutbox working before?

It works just fine but i get lots of errors like this one:

8: Undefined index: path
File: /home/midwest9/public_html/Themes/OverView01_tp/index.template.php
Line: 131


I tried replacing to this:

var board_url = "/";

but the shoutbox goes on "loading shoutbox" and it stays like that.

well i deleted that code and pasted back the original.

I dont mind errors and never did.  They dont slow down my forum so im not that worrired.  I have to delete them every now and then.  lol.

Mick.

For what is worth i have 83 working mods installed   hahahahahaha!!!!

Advertisement: