We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Locked Topic
[ C ] Members online thingy
Topic Started: Aug 15 2015, 08:07 AM (454 Views)
Devourz
Member Avatar
Member
[ *  *  * ]
So is it possible to get something like this http://prntscr.com/84w1xj that'll say for example in a box "3" (for example) players online but this go by forum members online (not including guests) for my website
Offline Profile Goto Top
 
Cory
Member Avatar
Member
[ *  *  *  *  *  *  *  *  * ]
So, in this instance, it would say 3 players are online? Where is this suppose to display? If it displays where the active user list is not visible, it will require AJAX.
Offline Profile Goto Top
 
Devourz
Member Avatar
Member
[ *  *  * ]
At the top of my forum by the announcements and stuff however if we could get this in html for my website that'd be sick! Not sure if possible though.












P.s no need to get rid of the current active users list its fine there won't hurt to have 2 things displaying users online
Edited by Devourz, Aug 15 2015, 08:04 PM.
Offline Profile Goto Top
 
Cory
Member Avatar
Member
[ *  *  *  *  *  *  *  *  * ]
Display on the index page only, or all pages?
Offline Profile Goto Top
 
Devourz
Member Avatar
Member
[ *  *  * ]
Cory
Aug 16 2015, 09:21 AM
Display on the index page only, or all pages?
Index page

ALSO: would it be possible to get this in HTML aswell? I'd like to put it on my website too...
Edited by Devourz, Aug 17 2015, 01:50 AM.
Offline Profile Goto Top
 
Devourz
Member Avatar
Member
[ *  *  * ]
Cory
Aug 16 2015, 09:21 AM
Display on the index page only, or all pages?
Still waiting o.o
Offline Profile Goto Top
 
Cory
Member Avatar
Member
[ *  *  *  *  *  *  *  *  * ]
Admin CP Posted Image Themes Posted Image Board Template: Place it where you want it to appear.
Code: HTML
 
<div id="players_online"></div>
Admin CP Posted Image Themes Posted Image Board Template Posted Image Below the Board
Code:
 
<script type="text/javascript">
$(function() {
var pOnline = $('#stats a[href*="/online/"]:contains(Member) strong:eq(0)').text();
$('#players_online').html('<big><strong>' + pOnline + '</strong> Player(s) Online</big>');
});
</script>
Offline Profile Goto Top
 
Devourz
Member Avatar
Member
[ *  *  * ]
Is it possible to get this for my website aswell? i use a free wix website until i get $ to pay for a website however it takes html.


Picture of the box you place the HTML code in on wix: http://prntscr.com/89qj1o
Offline Profile Goto Top
 
Cory
Member Avatar
Member
[ *  *  *  *  *  *  *  *  * ]
It would require PHP to display it on your website.
Offline Profile Goto Top
 
Roby
Member Avatar
#27

Completed!

Your request has been completed. If you have any questions or concerns regarding the state of your request, please feel free to contact me via PM.
Offline Profile Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Closed Requests · Next Topic »
Locked Topic