Im going to add this to my forum page generalities, but what is the code for the number of users online?
+2
Keir
axiom
6 posters
There are +amount+ users on the forum.
axiom- Forumember
- Posts : 29
Reputation : 1
Language : english
- Post n°1
There are +amount+ users on the forum.
Keir- Forumember
- Posts : 30
Reputation : 3
Language : Romanian
Location : România, Buzau , Podgoria
Put this code anywhere in your forum:
- Code:
<script id="_wau4wo">var _wau = _wau || []; _wau.push(["classic", "sxic3s0ssze2", "4wo"]);
(function() {var s=document.createElement("script"); s.async=true;
s.src="http://widgets.amung.us/classic.js";
document.getElementsByTagName("head")[0].appendChild(s);
})();</script>
axiom- Forumember
- Posts : 29
Reputation : 1
Language : english
I like that but I just want the text, "There are +amount+ users on the forum."
Chris Dans- Forumember
- Posts : 55
Reputation : 1
Language : English/Coding/Design
There is a thing so number users online it's called statics it shows you who is online.
Keir- Forumember
- Posts : 30
Reputation : 3
Language : Romanian
Location : România, Buzau , Podgoria
Try this code:
Change "forum link" with your forum adress.
- Code:
<!-- Start FreeUsersOnline Code - Do Not Modify! -->
<script language="Javascript" src="http://www.freeusersonline.com/?action=track&siteurl=forum link"></script>
Change "forum link" with your forum adress.
axiom- Forumember
- Posts : 29
Reputation : 1
Language : english
Almost, but its clickable
Edit: Just want the code to give me the number of people online, please no other website ad on things
Edit: Just want the code to give me the number of people online, please no other website ad on things
Keir- Forumember
- Posts : 30
Reputation : 3
Language : Romanian
Location : România, Buzau , Podgoria
Enter here: http://www.freeusersonline.com/ and get the code for your forum!
SLGray- Administrator
- Posts : 51554
Reputation : 3524
Language : English
Location : United States
Just use these:
Number of Users:
{*FORUMCOUNTUSER}
Number of Users Online:
{*FORUMONLINEUSER}
Remove the *'s.
Number of Users:
{*FORUMCOUNTUSER}
Number of Users Online:
{*FORUMONLINEUSER}
Remove the *'s.
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Darren1- Helper
- Posts : 11853
Reputation : 566
Language : English
Hi,
Where exactly do you want to put it?
If it's within the templates, here's a BB2 code
I believe these codes are pretty self explanatory,
Notice the *nolink*, this is scripted into the templates, good luck
<!-- BEGIN switch_viewonline_nolink -->
<span class="cattitle">{L_WHO_IS_ONLINE}</span>
<!-- END switch_viewonline_nolink -->
{TOTAL_USERS}<br />
<td class="row1"><span class="gensmall">{TOTAL_USERS_ONLINE}<br />
{RECORD_USERS}<br />
<br />
{LOGGED_IN_USER_LIST}</span></td>
</tr>
{L_CONNECTED_MEMBERS}
{L_WHOSBIRTHDAY_TODAY}
{L_WHOSBIRTHDAY_WEEK}
<tr>
<td class="row1"><span class="gensmall">{LEGEND}Â :Â {GROUP_LEGEND}</span></td>
</tr>
Where exactly do you want to put it?
If it's within the templates, here's a BB2 code
I believe these codes are pretty self explanatory,
Notice the *nolink*, this is scripted into the templates, good luck
<!-- BEGIN switch_viewonline_nolink -->
<span class="cattitle">{L_WHO_IS_ONLINE}</span>
<!-- END switch_viewonline_nolink -->
{TOTAL_USERS}<br />
<td class="row1"><span class="gensmall">{TOTAL_USERS_ONLINE}<br />
{RECORD_USERS}<br />
<br />
{LOGGED_IN_USER_LIST}</span></td>
</tr>
{L_CONNECTED_MEMBERS}
{L_WHOSBIRTHDAY_TODAY}
{L_WHOSBIRTHDAY_WEEK}
<tr>
<td class="row1"><span class="gensmall">{LEGEND}Â :Â {GROUP_LEGEND}</span></td>
</tr>
axiom- Forumember
- Posts : 29
Reputation : 1
Language : english
- Post n°10
Re: There are +amount+ users on the forum.
^ all that does is show the { } code, literally, like it doesn't show who's online but the code itself
LGforum- Hyperactive
- Posts : 2265
Reputation : 264
Language : English
Location : UK
- Post n°11
Re: There are +amount+ users on the forum.
The code provided by Darren will likely only work on the index template due to the fact the online users are only calculated and parsed server side for the index.
The best way to do this is to include the 'who is online' widget in the sidebar and use JavaScript to obtain the information or move it.
The best way to do this is to include the 'who is online' widget in the sidebar and use JavaScript to obtain the information or move it.
axiom- Forumember
- Posts : 29
Reputation : 1
Language : english
- Post n°12
Re: There are +amount+ users on the forum.
Alright thanks
» is it possible to make chat box of the forum only for a cretain amount of posts
» How do I set up users and users who have been on the forum for less than 7 days?
» How to import users from old forum after new forum creation
» My forum is down for me and all the users. Help me please.
» forum down for all users - please help
» How do I set up users and users who have been on the forum for less than 7 days?
» How to import users from old forum after new forum creation
» My forum is down for me and all the users. Help me please.
» forum down for all users - please help