mIRC Homepage
Posted By: ToRmEnTeD flash chat room name issue...Need fix - 21/10/08 03:00 PM
Hi i have a flash chat room on my site www.tormented.tv/chat.php
However the room name of our channel is #chat18+
I guess forsome reason it ignores the "+" at the end and sends all the users to #chat18 and of course thats just no good lol...
So i have played around with this and cant seem to find a way around it. The admin say i cant do it...but i just dont believe that i cant do anything to get it to work

This is how my chat code looks

Code:
<div id="container">
<div id="html1" style="position:absolute; overflow:hidden; left:40px; top:194px; width:720px; height:601px; z-index:0">
<a id="ewclink" href="http://www.loveyourmyspace.com/"></a><br /><script src="http://www.everywherechat.com/e.php?defaultRoom=chat18+ &roomList=false&fontSize=12&width=720&height=500"></script></div>

 
Posted By: Doqnach Re: flash chat room name issue...Need fix - 21/10/08 03:06 PM
try doing the + as %2B in the URL

no idea if it accepts that but + in URL's is normally used to replace spaces (in some encoding methods) which might screw things up.
Posted By: Joe_Dean Re: flash chat room name issue...Need fix - 21/10/08 03:15 PM
EDIT: nvm. This isn't a mIRC question is it?
Posted By: ToRmEnTeD Re: flash chat room name issue...Need fix - 21/10/08 03:30 PM
Well i think that it kinda fits...It might not be directly related to the software but really most of these scripts are not. I just simply cannot seem to figure out what needs to be done for me to be able to get my chat working again and i seem to have found out where all the really helpful people are (HERE) so i am trying to get my questions answered...Everywhere else is like aol tech support....worthless smile

That code didnt work btw.... It says chat18 $ $chr(43) $ in the chat box where it should say #chat18+
Posted By: Joe_Dean Re: flash chat room name issue...Need fix - 21/10/08 04:20 PM
It wouldn't because your goal isn't related to mIRC.

I figured you were working with a socket script or something, so the $chr() identifier will not work because all you're trying to do is fix some HTML (which really has nothing to do with mIRC unless it involves sockets).
Posted By: ToRmEnTeD Re: flash chat room name issue...Need fix - 21/10/08 04:29 PM
ok so let me ask you this....Is there a way to use something else? Is there a basic java irc chat script or something that i can choose what server/port and channels to use ? I honestly dont know what to do? Do you think that i will never be able to have this chat room on my site?
Posted By: RoCk Re: flash chat room name issue...Need fix - 21/10/08 04:33 PM

http://www.pjirc.com/main.php
Posted By: ToRmEnTeD Re: flash chat room name issue...Need fix - 21/10/08 05:50 PM
Thanks , Not sure im gonna be able to figure that out tho. If anyone can come up with a fix i would greatly apprecate it, Im sure im not the first to have this problem and wont be the last
Posted By: DJ_Sol Re: flash chat room name issue...Need fix - 22/10/08 12:01 PM
chat18 $ $chr(43) $

Are you missing the +?

chat18 $+ $chr(43) $+ <...the rest>
Posted By: ToRmEnTeD Re: flash chat room name issue...Need fix - 22/10/08 03:11 PM
yes when i chant the code to use that line like

Code:
 



<script src="http://www.everywherechat.com/e.php?defaultRoom=chat18 $+ $chr(43) $+&roomList=false&fontSize=12&width=720&height=500"></script>






It only shows this in the chat window box that should just say #chat18+
It says
chat18 $ $chr(43) $

and the blank spaces are exactly how it looks frown

This might be dumb but could a small java script be made to simply place the channel name in that box and then i could leave the channel name in the code blank ?
Posted By: DJ_Sol Re: flash chat room name issue...Need fix - 22/10/08 09:45 PM
$+&roomList=false&font

You are missing a space. Let;s see the code that generated this url please.
Posted By: ToRmEnTeD Re: flash chat room name issue...Need fix - 23/10/08 01:44 AM
This is my script with the changed code as told
Code:
 


<div id="container">
<div id="html1" style="position:absolute; overflow:hidden; left:40px; top:194px; width:720px; height:601px; z-index:0">
<a id="ewclink" href="http://www.loveyourmyspace.com/"></a>
<script src="http://www.everywherechat.com/e.php?defaultRoom=chat18 $+ $chr(43) $+&roomList=false&fontSize=12&width=720&height=500"></script></div>









You can see the results of this by going to my chat page on my site and looking at whats listed in the room name area of the login box
I just simply need it to say only " chat18+ " frown

www.tormented.tv/chat.php


Posted By: argv0 Re: flash chat room name issue...Need fix - 23/10/08 02:11 AM
you were answered in the very first response to this post. use %2B instead of + in your url:

http://www.everywherechat.com/e.php?defaultRoom=chat18%2B&roomList=false&fontSize=12&width=720&height=500
Posted By: ToRmEnTeD Re: flash chat room name issue...Need fix - 23/10/08 04:33 AM
This is the result of adding the string you sudgested.
Code:
 


<div id="container">
<div id="html1" style="position:absolute; overflow:hidden; left:40px; top:194px; width:720px; height:601px; z-index:0">
<a id="ewclink" href="http://www.loveyourmyspace.com/"></a><br /><script src="http://www.everywherechat.com/e.php?defaultRoom=chat18%2B&roomList=false&fontSize=12&width=720&height=500"></script></div>







I did try it. the results can be seen on my chat page now...
it simply says chat18 still no + sign
Posted By: ToRmEnTeD Re: flash chat room name issue...Need fix - 24/10/08 03:37 AM
So could someone explain to me any other way to somewhat easily get my irc room back on my site without using this code/chat software? Something else? the one guy posted a link but i just simply dont understand it ..greek to me. Im not a newb but when it comes to decompilers and stuff i really am clueless.
Anything else open source and easy ?
Posted By: RoCk Re: flash chat room name issue...Need fix - 24/10/08 08:53 PM

Rename your channel #chat18plus. wink
Posted By: ToRmEnTeD Re: flash chat room name issue...Need fix - 25/10/08 08:29 PM
lol yeah thats about what the admin on the server said....Its ok i just ended up getting that java chat to work..seems ok i guess. At least i have my chat working again
thanks for all the efforts
© mIRC Discussion Forums