The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Chatbox Link Help - can this be done?

Go down

Chatbox Link Help - can this be done? Empty Chatbox Link Help - can this be done?

Post by TheWrongPlanet June 20th 2008, 4:10 am

Is there a way to create a special link to the chatbox which also displays the number of users currently in chat?

Something that looks like...

Join Chat (0) = If no one is in chat...

Join Chat (4) = If there are 4 people in chat.

and by clicking on it it would take you to the chat box?


Thanks!


Last edited by TheWrongPlanet on June 26th 2008, 5:44 am; edited 1 time in total
TheWrongPlanet
TheWrongPlanet
New Member

Male Posts : 15
Reputation : 0
Language : English

http://www.thewrongplanet.com

Back to top Go down

Chatbox Link Help - can this be done? Empty Re: Chatbox Link Help - can this be done?

Post by Guest June 20th 2008, 2:29 pm

They already show that in the who is online box. Now I believe this code should work for you:

Code:
<tr>
   <td class="row1">
      <span class="gensmall">{TOTAL_CHATTERS_ONLINE} :
      {CHATTERS_LIST}
      <br />
      <!-- BEGIN switch_chatbox_popup -->
      <div id="chatbox_popup"></div>
      <script type="text/javascript">
      insertChatBoxPopup('{disable_viewonline.switch_chatbox_activate.switch_chatbox_popup.U_FRAME_CHATBOX}', '{L_CLICK_TO_JOIN_CHAT}');
      </script>
      <!-- END switch_chatbox_popup -->
      </span>
   </td>
 </tr>
<!-- END switch_chatbox_activate -->
</table><!-- END disable_viewonline -->
avatar
Guest
Guest


Back to top Go down

Chatbox Link Help - can this be done? Empty Re: Chatbox Link Help - can this be done?

Post by TheWrongPlanet June 20th 2008, 3:58 pm

I copied and pasted it, but nothing happened... I don't have a lot of experience with java, is there anything site specific I have to change in the code for it to work on my site?
TheWrongPlanet
TheWrongPlanet
New Member

Male Posts : 15
Reputation : 0
Language : English

http://www.thewrongplanet.com

Back to top Go down

Chatbox Link Help - can this be done? Empty Re: Chatbox Link Help - can this be done?

Post by Guest June 20th 2008, 4:04 pm

Be sure to click on the A/A button in the top right of the text box BEFORE you paste the code.

So delete everything in the text box-clcik the A/A button-paste the code-click save
avatar
Guest
Guest


Back to top Go down

Chatbox Link Help - can this be done? Empty Re: Chatbox Link Help - can this be done?

Post by TheWrongPlanet June 21st 2008, 2:37 am

Did that just now and it has the same result... nothing happens
TheWrongPlanet
TheWrongPlanet
New Member

Male Posts : 15
Reputation : 0
Language : English

http://www.thewrongplanet.com

Back to top Go down

Chatbox Link Help - can this be done? Empty Re: Chatbox Link Help - can this be done?

Post by Guest June 21st 2008, 4:17 am

maybe you are puting it in the wrong spot. Kilsek, where would you put that?

Drag~
avatar
Guest
Guest


Back to top Go down

Chatbox Link Help - can this be done? Empty Re: Chatbox Link Help - can this be done?

Post by TheWrongPlanet June 22nd 2008, 8:45 am

Still not getting anywhere with this... I'm pretty sure it's possible it shows up on the Who's On Line Widget at the bottum of the forum. I'd just like it to show up on my nav bar...

Live Chat (*# of users in chat*)

If it has 1 person in chat it would look like...

Live Chat (1)

5 People

Live Chat (5)

I don't know how to explain it better then that!

Any help would be appreciated!

Thanks
TheWrongPlanet
TheWrongPlanet
New Member

Male Posts : 15
Reputation : 0
Language : English

http://www.thewrongplanet.com

Back to top Go down

Chatbox Link Help - can this be done? Empty Re: Chatbox Link Help - can this be done?

Post by TheWrongPlanet June 26th 2008, 12:42 am

Someone here has to know how to do this!
TheWrongPlanet
TheWrongPlanet
New Member

Male Posts : 15
Reputation : 0
Language : English

http://www.thewrongplanet.com

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum