Mysidia Adoptables Support Forum

Mysidia Adoptables Support Forum (http://www.mysidiaadoptables.com/forum/index.php)
-   Mys v1.2.x Mods (http://www.mysidiaadoptables.com/forum/forumdisplay.php?f=38)
-   -   EpicStats Plugin [by Kae] (http://www.mysidiaadoptables.com/forum/showthread.php?t=2083)

Kaeliah 04-10-2011 12:08 AM

EpicStats Plugin [by Kae]
 
3 Attachment(s)
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!


Hall of Famer 04-10-2011 12:16 AM

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

Kaeliah 04-10-2011 12:20 AM

: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.

Hall of Famer 04-10-2011 12:26 AM

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.

Kaeliah 04-10-2011 12:35 AM

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.

Nemesis 04-10-2011 11:06 AM

This is fantastic my site will definitely be using this!

Hall of Famer 04-10-2011 11:40 AM

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. ^^

Kaeliah 04-10-2011 12:25 PM

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-

AlexC 04-10-2011 04:45 PM

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

Kaeliah 04-10-2011 07:46 PM

Species = Types, and so that one's already there for the most part I think but I like the other two!! :BIGO: YAY


All times are GMT -5. The time now is 05:17 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.