|
Page 1 of 1
|
MrWizard 
Joined: August 2006
Posts: 87
Location:  Long Island, NY
|
 Can Someone Please Help With CHATBOX.
I installed it as per the instructions and added the link in the "Quick Links" and can't seem to get it to work. I added this link to the QL box:
<td class="genmed" align="left"><a href="{U_CHATBOX}" target="ChatWindow" onClick="window.open('','ChatWindow','height=570,width=850,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes');">Chat</a></td>
All that does is go bact to my main page. If I do it with "chatbox_front.php" I get a "Hacking Attempt" error.
I also would like to know how to hide the link from guest users. The same way it is setup here on this site.
____________ Thanks, Mr.Wizard
The Scripting Idiot!
Sua Sponte a World of Warcraft Tanaris Guild
|
#1 Tue 26 Sep, 2006 00:49 |
|
Sponsors

|
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.
|
| |
difus 
Joined: August 2006
Posts: 763
Location:
|
 Re: Can Someone Please Help With CHATBOX.
do a block
example on www.digi-sky.net/mums/
download my realease 2.8
take chat block from it
|
#2 Tue 26 Sep, 2006 07:29 |
|
KugeLSichA 
Joined: August 2006
Posts: 803
Location:  Dresden
|
 Re: Can Someone Please Help With CHATBOX.
I installed it as per the instructions and added the link in the "Quick Links" and can't seem to get it to work. I added this link to the QL box:
<td class="genmed" align="left"><a href="{U_CHATBOX}" target="ChatWindow" onClick="window.open('','ChatWindow','height=570,width=850,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes');">Chat</a></td>
All that does is go bact to my main page. If I do it with "chatbox_front.php" I get a "Hacking Attempt" error.
I also would like to know how to hide the link from guest users. The same way it is setup here on this site.
did you specify the "{U_CHATBOX}" and did you all instruction on the install.txt?
|
#3 Tue 26 Sep, 2006 10:54 |
|
difus 
Joined: August 2006
Posts: 763
Location:
|
 Re: Can Someone Please Help With CHATBOX.
of course I did it by instructions,but for the link I modified blocks_imp_chat.php and in ACP created the block
the block shows how many users are in chat.I think it is better
I'm talking about 1.1.9 chat or newer version of it
maybe it help you
$chat_link = "<a href="javascript:void(0);" onClick="window.open('" . append_sid("chatbox_mod/chatbox.$phpEx") . "','" . $userdata['user_id'] . '_chatbox' . "','scrollbars=no, resizable=yes, width=540,height=450')">" . $lang['Click_to_join_chat'] . "</a>";
in topic chess mod here I posted demo username and password
take look at my chat
|
#4 Tue 26 Sep, 2006 11:22 |
|
MrWizard 
Joined: August 2006
Posts: 87
Location:  Long Island, NY
|
 Re: Can Someone Please Help With CHATBOX.
Thank you for the replies. I got it working now but, have a new problem. When I type a message nothing happens. I click send and my message doesn't come up. Does anyone have any clue what I might have done wrong? BTW I am using the newest version that MG had posted : Version 3.02
____________ Thanks, Mr.Wizard
The Scripting Idiot!
Sua Sponte a World of Warcraft Tanaris Guild
|
#5 Tue 26 Sep, 2006 22:51 |
|
difus 
Joined: August 2006
Posts: 763
Location:
|
 Re: Can Someone Please Help With CHATBOX.
I don't tested MG version
but this version is working here and it has little diference with 1.19
|
#6 Tue 26 Sep, 2006 23:10 |
|
MrWizard 
Joined: August 2006
Posts: 87
Location:  Long Island, NY
|
 Re: Can Someone Please Help With CHATBOX.
Thanks anyway. I guess I can't use the chat mod. Too bad the instructions weren't a little more clarified.
____________ Thanks, Mr.Wizard
The Scripting Idiot!
Sua Sponte a World of Warcraft Tanaris Guild
|
#7 Tue 26 Sep, 2006 23:19 |
|
MrWizard 
Joined: August 2006
Posts: 87
Location:  Long Island, NY
|
 Re: Can Someone Please Help With CHATBOX.
Ok here we go: Now I get the following error when I open a chat window,
Fatal error: Call to undefined function smilies_pass() in C:serverxampphtdocschatbox_modmessenger_view.php on line 159
What the hell does this mean and how do I fix it?
____________ Thanks, Mr.Wizard
The Scripting Idiot!
Sua Sponte a World of Warcraft Tanaris Guild
|
#9 Thu 28 Sep, 2006 00:23 |
|
difus 
Joined: August 2006
Posts: 763
Location:
|
 Re: Can Someone Please Help With CHATBOX.
replace bbcode.php from my site [in downloads bbcode058] with your includes/bbcode.php
|
#10 Thu 28 Sep, 2006 00:31 |
|
MrWizard 
Joined: August 2006
Posts: 87
Location:  Long Island, NY
|
 Re: Can Someone Please Help With CHATBOX.
One more thing. I want to add a link in the "nav_quick_links.tpl" and no matter what I do I get a "Hacking Attempt" error.
Could you please tell me the proper link to put in there? I would rather use the "Nav Links" instead of a block. This is what I recently tried to use:
<tr>
<td align="left" width="8">{IMG_ARROW_RIGHT}</td>
<td class="genmed" align="left"><a href="chatbox_front.php" target="ChatWindow" onClick="window.open('','ChatWindow','height=540,width=450,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes');">Live Support</a></td>
</tr>
This of course did not work.
BTW: The chat block works just fine. So I know that everything works.
____________ Thanks, Mr.Wizard
The Scripting Idiot!
Sua Sponte a World of Warcraft Tanaris Guild
|
#11 Thu 28 Sep, 2006 19:41 |
|
difus 
Joined: August 2006
Posts: 763
Location:
|
 Re: Can Someone Please Help With CHATBOX.
try this
<tr>
<td align="left" width="8">{IMG_ARROW_RIGHT}</td>
<td class="genmed" align="left"><a href="javascript:void(0);" onClick="window.open('{S_JOIN_CHAT}','{CHATBOX_NAME}','scrollbars=no,width=540,height=450')">{L_CLICK_TO_JOIN_CHAT}</a></td>
</tr>
if OK you must add some code to chat.php for guests redirect to login
more
in languages you can change join to chat > live chat or ....
|
#12 Thu 28 Sep, 2006 20:14 |
|
MrWizard 
Joined: August 2006
Posts: 87
Location:  Long Island, NY
|
 Re: Can Someone Please Help With CHATBOX.
Difus, Thank you very much for your help. It is working exactly the way I want it to.
BTW: I like your site.
____________ Thanks, Mr.Wizard
The Scripting Idiot!
Sua Sponte a World of Warcraft Tanaris Guild
|
#13 Thu 28 Sep, 2006 20:27 |
|
difus 
Joined: August 2006
Posts: 763
Location:
|
 Re: Can Someone Please Help With CHATBOX.
you are welcome
|
#14 Thu 28 Sep, 2006 20:30 |
|
Mighty Gorgon 
Luca Libralato
Joined: August 2006
Posts: 7192
Location:  Borgo San Michele
|
 Re: Can Someone Please Help With CHATBOX.
You can also view the HTML source of this site and copy the code...
____________ Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
|
#15 Mon 02 Oct, 2006 01:35 |
|
|
Page 1 of 1
|
Was this topic useful?
Was this topic useful?
| Link this topic |
| URL |
|
| BBCode |
|
| HTML |
|
You cannot post new topics You cannot reply to topics You cannot edit your posts You cannot delete your posts You cannot vote in polls You cannot attach files You can download files You cannot post calendar events
|
|
|
|