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:
Add Reply
Change amount of Guests, Members and Anony Members; By Viral.
Topic Started: Jan 23 2010, 12:51 AM (93 Views)
Reid
Member Avatar
È una trappola!

This topic has been moved from our official support board.

Originally posted by: Viral.
Change amount of Guests
Members and Anony Members
Code or Skin Name: Remove Text in Users in the past 'x' Minutes
Description: Removes the bit which says: x guests, y members, z anonymous members (In the past 15 minutes).
Preview of it in Use: http://z15.invisionfree.com/viraltest2/index.php
Where it goes (code): Footer
Copyright: In Code, don't remove.

Code:
 
<script>
// Viral of http://www.zetaresources.com
guests=110; // Amount of Guests
members=999; // Amount of Members
anony=1000; // Amount of Anonymous Members
td=document.getElementsByTagName('td')
for(i=0;i<td.length;i++){
if(td[i].className=="row4" && td[i].innerHTML.match('anonymous')){
a=td[i].innerHTML.split('anonymous members')[1];
td[i].innerHTML="<b>"+guests+"</b> guests, <b>"+members+"</b> members, <b>"+anony+"</b> anonymous members"+a
}}
</script>
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Codes & Modifications · Next Topic »
Add Reply