![]() |
Avatar Usage Statistics in AdminCP 1.0
// Avatar Usage Statistics In AdminCP
-- // A hack by N9ne -- // Creation Date: 11th April 2003 -- // Copyright N9ne 2003+ // Description -- // This hack will add an option in the 'Avatar' options, in your AdminCP. The option will read 'Usage Statistics' and upon clicking on it, a page will be brought up listing, ordered by # of users descending, avatar IDs with the number of users using each avatar next to it. Avatars are not displayed on the page as for some forums, this could be quite intensive! Avatars which have no one using them will not be listed. // What needs to be done to install this hack -- // Modification of: admin/(index.php, avatar.php) // Hack Requested by B Freeze // Addons -- // Search for avatars by avatar ID in adminCP. -- // Show Avatar Image In Listing Too |
Awesome job man! You rule! I thought of this hack a week ago and it sounded simple enough, but I didn't see it around anywhere suprising enough. Glad I caught you online. This is going to be a great feature, especially to those who decide to take down avatars but can't decide which ones to remove. Thanks for everything! :)
|
What about if you have a million odd avatars, that will like kill the database when you check the page - you should try and add pagination so i can steal your code and learn from it ;)
- miSt |
Quote:
You'll have to do it first, so I can steal your code and learn from it :p :p I thought about pagination, obviously, in fact I always do, and I could add a lot more to it, ie a picture of the avatar, but I don't know how to...don't have the time to learn how to either... So this would have to do for now :p It won't kill the server too much :p I changed it from what I originally made it which displayed the actual avatar too, I had 300 to display and got bored, so I removed that as most will have the same problem :p |
in pagination not offset something? /me cant rememeber
|
Ok, a little addon, to make life easier for people:
This addon will allow you to search for an avatar from your adminCP by avatar ID. It's attached :p |
Quote:
I don't understand your post? :ermm: |
ANy screenies?
|
Here's one.
|
Quote:
pagination makes pages, 1,2,3,etc... if that is your question ;) |
All times are GMT. The time now is 08:59 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|