The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Users in chat Code

View previous topic View next topic Go down

Solved Users in chat Code

Post by Richsballpythons on July 13th 2011, 11:30 pm

Im trying to make a spot on the forum at the top to show whos in the chat box. I copied the original script from the bottom but it causes the forum to go out of wack.

when i use this code below it shows just how i want it to, but will not update with number in chat or whos in chat.

<span class="gensmall">There are currently <strong>0</strong> user(s) on the ChatBox: <br /><div id="chatbox_popup"></div><script type="text/javascript">//<![CDATA[
insertChatBoxPopup('/chatbox/index.forum?', 'Join the Chat');//]]>


Any Idea how i can edit the above to do what i need it to.

I want it to look like it does at the bottom of the page but at the top as well in a widget.

There are currently 5 user(s) on the ChatBox : username, username,

Richsballpythons
Forumember

Posts : 314
Reputation : 0
Language : English

Back to top Go down

Solved Re: Users in chat Code

Post by Richsballpythons on July 13th 2011, 11:39 pm

There has to be a way to do this if its already on the forum by default.

Richsballpythons
Forumember

Posts : 314
Reputation : 0
Language : English

Back to top Go down

Solved Re: Users in chat Code

Post by Nera. on July 13th 2011, 11:59 pm

Hi,

Copy the variable in your index_body template for phpBB2, move it up in the template and place it where you want it to be



Code:
         <span class="gensmall">{TOTAL_CHATTERS_ONLINE}: {CHATTERS_LIST}</span>


Last edited by Nera. on July 14th 2011, 12:02 am; edited 1 time in total

Nera.
Energetic

Female Posts : 7077
Reputation : 2013
Language : English
Location : -

http://webartzforum.com

Back to top Go down

Solved Re: Users in chat Code

Post by Richsballpythons on July 14th 2011, 12:23 am

I figured it out Now, Seems that code needs to be in the Page and not in a widget.

Richsballpythons
Forumember

Posts : 314
Reputation : 0
Language : English

Back to top Go down

Solved Re: Users in chat Code

Post by Nera. on July 14th 2011, 1:39 am

Solved ~ Locked

Nera.
Energetic

Female Posts : 7077
Reputation : 2013
Language : English
Location : -

http://webartzforum.com

Back to top Go down

View previous topic View next topic Back to top


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