Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

Reply
 
Thread Tools
Avatar Usage Statistics in AdminCP 1.0 Details »»
Avatar Usage Statistics in AdminCP 1.0
Version: 1.00, by N9ne N9ne is offline
Developer Last Online: Jul 2019 Show Printable Version Email this Page

Version: 2.3.x Rating:
Released: 04-10-2003 Last Update: Never Installs: 9
 
No support by the author.

// 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

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 04-11-2003, 12:56 PM
B Freeze B Freeze is offline
 
Join Date: Mar 2003
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!
Reply With Quote
  #3  
Old 04-11-2003, 01:08 PM
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Location: England
Posts: 9,071
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #4  
Old 04-11-2003, 01:16 PM
N9ne N9ne is offline
 
Join Date: Feb 2002
Posts: 1,495
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Today at 03:02 PM Mist said this in Post #3
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

You'll have to do it first, so I can steal your code and learn from it

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 It won't kill the server too much

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
Reply With Quote
  #5  
Old 04-11-2003, 01:21 PM
colicab-d's Avatar
colicab-d colicab-d is offline
 
Join Date: Dec 2002
Location: Glasgow
Posts: 382
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

in pagination not offset something? /me cant rememeber
Reply With Quote
  #6  
Old 04-11-2003, 01:22 PM
N9ne N9ne is offline
 
Join Date: Feb 2002
Posts: 1,495
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #7  
Old 04-11-2003, 01:24 PM
N9ne N9ne is offline
 
Join Date: Feb 2002
Posts: 1,495
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Today at 03:15 PM colicab-d said this in Post #5
in pagination not offset something? /me cant rememeber

I don't understand your post? :ermm:
Reply With Quote
  #8  
Old 04-11-2003, 06:52 PM
Areku Areku is offline
 
Join Date: Feb 2002
Posts: 540
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ANy screenies?
Reply With Quote
  #9  
Old 04-11-2003, 08:05 PM
N9ne N9ne is offline
 
Join Date: Feb 2002
Posts: 1,495
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here's one.
Reply With Quote
  #10  
Old 04-11-2003, 09:03 PM
Sebastian's Avatar
Sebastian Sebastian is offline
 
Join Date: Oct 2002
Location: America
Posts: 488
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Today at 10:15 AM colicab-d said this in Post #5
in pagination not offset something? /me cant rememeber

pagination makes pages, 1,2,3,etc... if that is your question
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:45 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04781 seconds
  • Memory Usage 2,287KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete