EpicStats Plugin [by Kae]

Forum
Last Post
Threads / Messages

Kaeliah

Premium Member
Premium Member
Joined
Sep 28, 2010
Messages
475
Points
0
Age
31
Location
Pennsylvania, United States
Mysidian Dollar
21,285
EpicStats Plugin
By Kaeliah

Modification TOS

Admin Preview
EpicStats Preview

This plugin greatly expands the statistics available to your members and your adoptables site in general. It includes 10 separate statistics that can be turned on or off individually but they can all be viewed in the admin control panel. The plugin also features new css attributes and a plugin enable/disable function.

Statistics Currently Available
  • Top 10 Adoptables by Clicks
  • Top 10 Users With The Most Adoptables
  • Top 10 Richest Users
  • 10 Newest Users
  • Top 10 Themes by Popularity
  • Top 10 Adoptable Types
  • Online Users
  • Total Number of Adoptable Types
  • Total Number of Owned Adoptables
  • Total Number of Registered Users

Statistics To Be Added
  • 5 Random Adoptables
  • Recently Adopted
  • Total Clicks

Installation: Upload the 3 attached files to the main folder of your adoptables website, where your admin.php and stats.php and all those pages are. Run the install.php file ONCE and then delete it(for security and redundancy purposes). Go to Admin CP -> Site Settings -> E-Stat Admin to access your admin options. The Plugin must be enabled for the new amazing stats to be seen.

The New CSS Attributes Are:
Code:
table#stats { }
#stats { }
#statshead { }
#statsmain { }

Please note that the online users is a simple listing of all the users online alphabetically by username with a link to their profile, it's not nearly as extensive as the online users page available by default. If you have an incredible amount of owned adoptables or users(10,000+) you may wish to remove a few statistics to unload your server a bit.

If you have any suggestions for additional stats, please feel free to let me know as they may be added to later versions.

Enjoy!

 

Attachments

  • install.php
    1.3 KB · Views: 32
  • estats.php
    6.2 KB · Views: 35
  • estatsadmin.php
    12.5 KB · Views: 28
Last edited:
Wow this, glad you did it Kaeliah. ^^ I was thinking that maybe it can be a feature for Mys v1.3.0, but I havent decided. XD
 
:smile: I had fun with this one. I had to learn some new things for MySQL statements so it was a learning experience on top of being a cool plugin(imo). I'm hoping for some suggestions of stats, my goal is to have 20 options but I could only think of 11 myself, and I only implemented 10 and saved the last one for the v2 that will eventually come out when I get suggestions.
 
I see, glad it turned out to be a fun experience. While working with the friend and friendlist script, I sorta mastered the two functions explode(), implode() and the array loop code foreach(). It is always a neat idea to learn new things.
 
Yes, I agree.

SELECT theme, COUNT(uid) FROM ".$GLOBALS['prefix']."users GROUP BY theme ORDER BY COUNT(uid) DESC LIMIT 10

I managed to write that statement after some research. XD Took a few tries to get it right though. It's purpose is to count all the users using a particular theme, for ever theme at least 1 user is using. x.x and also select the theme name.
 
Well actually I was considering that maybe we coders can add one or two screenshots of how the mods look like in Mys adoptables site. ^^
 
2 Previews added. I don't mind adding previews as long as the images are hosted on the forum, I don't feel cluttering up my photobucket account with them. So maybe -hint- dev staff could have a larger attachment holding or be allowed more images for that purpose -hint-
 
I added this to my website - it's awesome! I was missing the stat page from MA. Thank you!

For suggestions... most recent adopted, the number of clicks since the site was created, species available? that's all I've got. xD
 

Similar threads

Users who are viewing this thread

  • Forum Contains New Posts
  • Forum Contains No New Posts

Forum statistics

Threads
4,277
Messages
33,119
Members
1,602
Latest member
BerrieMilk
BETA

Latest Threads

Latest Posts

Top