Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Most active user Last X (last day/last week/last month/ever) Fully controlled Details »»
Most active user Last X (last day/last week/last month/ever) Fully controlled
Version: 1.5.0, by Omranic Omranic is offline
Developer Last Online: Sep 2021 Show Printable Version Email this Page

Category: Forum Home Enhancements - Version: 3.6.x Rating:
Released: 05-09-2007 Last Update: 05-13-2007 Installs: 121
Uses Plugins Template Edits
Additional Files  
No support by the author.

Please remember to click Mark as Installed if you use this modification.
Support questions from members who have not marked this as installed will be considered low priority.



Attention:
Completely new version by the way, i'm working on it now. note written: 6-10-2007


Many thanks:
Paul M for his permission to capture pieces of code from his mods.


Name: Most active user (today/last week/last month/ever) Fully controlled

Descreption: Display most active user on the forums for the last day / last week / last month or ever over the boards, also with his post count for this period.


How it works:
  • During installation process it calculate & select required data, then insert it in a new table.
  • after that it will process the calculations through cron jops (1 cron dailly: caculates most active user for the last day & most active user ever / 1 cron caculates most active user for the last week / 1 cron caculates most active user for the last month).
  • So the heavy DB Queries will be done once not every page load .
  • This mod uses 4 queries to request already-calculated data that is stored in the database, each one query just request 1 row including 6 fields only, so there is not any DB load, or time load increase after installing this mod.


Features:
  1. can enable/disable the mod globally.
  2. can select to choose most active user for the last day or for the last 24 hours.
  3. can select certain usergroups to show.
  4. can do auto template change, with the ability to disable this feature & do these edits manually.
  5. can choose wwhere to display it by defining Auto-Template Search Text (advanced).
  6. can Collapse Display by default.
  7. can enable/disable most ever active user.
  8. can enable/disable most active user for the month before.
  9. can enable/disable most active user for the week before.
  10. can enable/disable most active user for the day before.
  11. the mod hide null entries (if there is no active user for the last X it will not appear auto.)
  12. this mod displays the most active user & behind his name there is the post count for the X period.
  13. can exclude certain usergroups from being counted in most ative user. v1.5.0
  14. can exclude certain users from being counted in most ative user. v1.5.0
  15. can enable/disable showing usernames with formating tags (prefix / sufix) for usergroups. v1.5.0
  16. can enable/disable display post count of most active user. v1.5.0
  17. can enable/disable linking usernames with user profiles. v1.5.0
  18. uses cron jop for calculations. v1.5.0
  19. fully phrased.


Help Us:
  • Suggestions needed to develop this mod .
  • Translators needed to support more users (translation credits will go to their owners).


Known Isues:
None till now.


History:
v1.0.0 10/5/2007 7:00 AM (EEST): First initial public release.
v1.0.1 10/5/2007 7:40 AM (EEST): Fixing confliction bug with other mod.
v1.5.0 11/5/2007 9:10 PM (EEST): New re-written version, contains new features & many optimizations (approx. it's faster than version 1.0.1 by 15x) [Strongly recomended to upgrade to this version].


Notes:
v1.5.0 is re-writen & totally different from 1.x, it contains many optimizations, it loads 15x faster than v1.0.1 approx., it uses cron jop.
Supported Languages till now: Arabic, English (two products supported in the package, just install one [arabic or english]).


Screen Shots:
Available down there .


Technical Notes:
Plugins: 1
Phrases: 45
Template changes: 1 (AUTO)
Code Changes: 0
Templates: 1
Settings: 15
DB Tables: 1
Cron Jops: 3


Installation Procedure:
  • Upload the required files (just three cron files), exacly upload the folder includes with its contents to your forum root.
  • Install the product file from your admincp.
  • Done .

Show Your Support

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

Comments
  #42  
Old 05-14-2007, 10:53 AM
Omranic's Avatar
Omranic Omranic is offline
 
Join Date: Jan 2005
Location: Egypt
Posts: 536
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by djjeffa View Post
what exactly do you mean by real post count?
I have the most on my site but yet it shows someone else as most active?
and yes I have all groupes enabled
as you know: you as an admin can edit some one's post count by editing his user acount from admincp, this modification doesn't depend on that value & it counts the posts of that user to get the real post count of him/her. so i said "real post count".

regarding to the rest: i see the mod works fine in your forums (that in your signature).


interest
Reply With Quote
  #43  
Old 05-18-2007, 06:07 PM
Aimee1969 Aimee1969 is offline
 
Join Date: Apr 2007
Posts: 71
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have this installed...but the one for the past day is stuck on the same person with (31) and has been for several days...since I installed this...what can I do?

This is what it looks like:

Most active user for the last day Yvette (31)
Most active user for the last week *~Aimee~* (285)
Most active user for the last month *~Aimee~* (1758)
Most active user ever is *~Aimee~* (1758)
Reply With Quote
  #44  
Old 05-27-2007, 04:04 PM
Pearl's Avatar
Pearl Pearl is offline
 
Join Date: Oct 2005
Location: Bedroom in lala land
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

good job.
most easy thing i'v ever installed.
Reply With Quote
  #45  
Old 05-28-2007, 02:51 PM
djjeffa's Avatar
djjeffa djjeffa is offline
 
Join Date: Aug 2004
Posts: 521
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SolidSnake@GTI View Post
as you know: you as an admin can edit some one's post count by editing his user acount from admincp, this modification doesn't depend on that value & it counts the posts of that user to get the real post count of him/her. so i said "real post count".

regarding to the rest: i see the mod works fine in your forums (that in your signature).


interest
so if we hard delete post they still count twards post?
Reply With Quote
  #46  
Old 05-28-2007, 04:37 PM
PinkDaisy's Avatar
PinkDaisy PinkDaisy is offline
 
Join Date: Sep 2006
Posts: 274
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I get a database error that says:

Quote:
Database error in vBulletin 3.6.4:

Invalid SQL:

SELECT * FROM phpkd_maus
WHERE mausid = '4'
LIMIT 1;

MySQL Error : Table 'belliesb_board.phpkd_maus' doesn't exist
Error Number : 1146
Date : Monday, May 28th 2007 @ 09:35:45 AM
Script : http://belliesbabiesnbeyond.com/forums/index.php
Referrer : http://belliesbabiesnbeyond.com/foru...play.php?f=146
IP Address : 75.75.70.111
Username : Jenn
Classname : vb_database
Had to unactivate it right now! When I have it off, it works fine.
Reply With Quote
  #47  
Old 05-29-2007, 09:07 PM
Aimee1969 Aimee1969 is offline
 
Join Date: Apr 2007
Posts: 71
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just uninstalled it too. It isn't moving from day to day. It has said the same post count since I installed it.
Reply With Quote
  #48  
Old 05-30-2007, 02:15 AM
djjeffa's Avatar
djjeffa djjeffa is offline
 
Join Date: Aug 2004
Posts: 521
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Aimee1969 View Post
I just uninstalled it too. It isn't moving from day to day. It has said the same post count since I installed it.

same problem for me
Reply With Quote
  #49  
Old 06-06-2007, 05:29 PM
SDB SDB is offline
 
Join Date: Feb 2004
Posts: 136
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi

Great mod, thank you.

Can this be limited to a certain forum(s)?

Is there a way to grab this information from within the postbit template so I can use a conditional like $is_todays_top_poster[.... to display a badge under the user's name in the postbit?

Thanks in advance
Reply With Quote
  #50  
Old 06-07-2007, 03:45 AM
Omranic's Avatar
Omranic Omranic is offline
 
Join Date: Jan 2005
Location: Egypt
Posts: 536
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Aimee1969 View Post
I have this installed...but the one for the past day is stuck on the same person with (31) and has been for several days...since I installed this...what can I do?

This is what it looks like:

Most active user for the last day Yvette (31)
Most active user for the last week *~Aimee~* (285)
Most active user for the last month *~Aimee~* (1758)
Most active user ever is *~Aimee~* (1758)
It might do this only in case of that this user (Yvette) is the Most active user for the last day & has 31 posts in each day, otherwise it shouldn't do that. (Be sure you have the latest version of the hack).



Quote:
Originally Posted by Pearl View Post
good job.
most easy thing i'v ever installed.
proud to hear that .



Quote:
Originally Posted by djjeffa View Post
so if we hard delete post they still count twards post?
Yes, if you notice the features & technical notes you will observe that the hack uses cron jops to calculate the stats, thats means that these stats updated daily (you can edit the cron jop to be runned at a different time interval if you wish).



Quote:
Originally Posted by PinkDaisy View Post
I get a database error that says:

Code:
Database error in vBulletin 3.6.4:

Invalid SQL:

SELECT * FROM phpkd_maus
WHERE mausid = '4'
LIMIT 1;

MySQL Error : Table 'belliesb_board.phpkd_maus' doesn't exist
Error Number : 1146
Date : Monday, May 28th 2007 @ 09:35:45 AM
Script : http://belliesbabiesnbeyond.com/forums/index.php
Referrer : http://belliesbabiesnbeyond.com/foru...play.php?f=146
IP Address : 75.75.70.111
Username : Jenn
Classname : vb_database
Had to unactivate it right now! When I have it off, it works fine.
Uninstall then re-install it again.



Hope you all interest that mod.
Reply With Quote
  #51  
Old 06-16-2007, 01:06 AM
djjeffa's Avatar
djjeffa djjeffa is offline
 
Join Date: Aug 2004
Posts: 521
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it seems to be working but not the Most active user for the last day
it changes each day but it keep showing members who made like 1 post when there ar members who have made like 5 to 10 post each day and I dont have any set to exclude.
Reply With Quote
Reply


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 04:31 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
  • Page Generation 0.06911 seconds
  • Memory Usage 2,328KB
  • 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
  • (1)bbcode_code
  • (8)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
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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_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