Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons

Reply
 
Thread Tools
Activity Modification Details »»
Activity Modification
Version: 3.03, by WetWired WetWired is offline
Developer Last Online: Sep 2014 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.7.x Rating:
Released: 04-27-2008 Last Update: 09-05-2008 Installs: 460
DB Changes Uses Plugins
Translations  
No support by the author.

This is the vB3.7/vB3.8 version of this modification.

Description
This hack adds an activity metric for users to your forum; this metric takes into account a variable number of weeks. Also provided is a Junior/Normal/Senior member system based on this metric, and a longevity metric (user registered time as a percent of the amount of time the first user has been registered).

Visiting each day and posting the configured amount of times per day for the configured number of weeks will yeild 100% activity. Posts are checked individually for each day, so days cannot be skipped then spammed up afterwards. The weight of visiting for the day relative to posting is configurable. Weeks are weighted so the most recent has a bigger impact on the activity percent than the most distant.

When a user logs in with activity above the configured threshold, they are promoted from Junior Member to Member. When they log in with the configured amount of time as Member, they are promoted to Senior Member. You can configure the mod to also add secondary usergroups when these promotions happen.

Complexity
This modification requires 1 XML import, uploading of images, and the addition of some CSS, depending on what options you choose

Technical
This hack adds 1 query to showthread for each user who posts in that page (or only 1 for the logged in user by configuration). In addition, the first time a member's post or profile is accessed during a day (GMT), 3 queries are performed to find that user's activity. By configuration, 1 query may be added to each page load to find the logged in user's "activity today". By configuration, 1 query may be added to each member profile view to find that member's "activity today".

Upgradability
This modification will import your settings and data from the 3.0/hack version
This modification will import your settings and data from the 3.5/3.6 mod version

Frequently Asked Questions
  • I don't see the Activity Settings section or Activity Maintenance link on the AdminCP navbar
    You're probably seeing a cached (old) copy of the navbar. Try pressing Ctrl-F5 in IE or FF, or whatever your browser requires to force it to load the current version of the page.
  • I installed this mod and nothing shows up
    First, go to AdminCP|Activity Settings|Display and make sure the dropdown settings are not set to None. If they aren't set to none, the most likely cause is using an old style which does not have template hooks; verify this by creating a new style without a parent and checking to see if the mod displays on it (the images probably won't load, though). If the mod displays on the default style but not your normal one, you need to add template hooks, otherwise post here for help.
  • I installed this mod using the Download/Upload Plugin page and there was an error/it doesn't seem to work
    To install this mod, you need to use the Add/Import Product link on the Manage Products page
  • I just installed and everyone's activity seems low
    1. Part of the activity calculation is what days users visited on. This information isn't collected before the mod is installed, so no user can have 100% activity untill you've been running the mod for the full period of time you have it set to monitor
    2. Please realize that there is no "roll over" for activity; if you have it set to look at 4 posts per day, your users must post 4 posts on each individual day to obtain 100%.
  • I founded this forum, but I don't have 100% longevity
    Somehow a user's join date has been set before yours. When you install, the mod looks for the earliest join date to use to find longevity, but you can change the baseline date. To change the "Start of board" time, go to Maintenance>Activity Maintenance>Set Start of Board, enter your user number in the text field, then click Set Start of Board
  • Why don't the images don't show up?/Why does the postcount have 's's in front of it?
    Be sure to upload one of the activity directories from activityimages.zip to the misc directory for each of your styles. To find a style's misc directory, goto the Style Manager, then from the dropdown next to the style, choose Stylevars. The setting Miscellaneous Images Folder contains the path to that style's misc directory, where you need to upload the activity directory
  • Can I use activity for promotions?
    The project to build a full-blown promotion hack for use with this mod has been cancelled, after losing all of my work, however a much simpler system that adds secondary groups based on two thresholds has been added to the main hack.
  • Can you make X number get split up into digits?
    I understand where you're coming from with this one, but I just can't figure out a way to work this that would be simple to use.
  • The tooltips don't wrap and get cut off with FireFox
    The same thing happens to other vB tooltips (the thumbnail ones, for example). If you know a way to add line breaks to FF tooltips without scripting, please let me know.
Change log

Note: To upgrade, with the old version still installed, go to the Add/Import Product link on the Manage Products page, select the XML file for the new version, choose Yes for overwrite, then click Import.

Update 3.03 release
  • Fixed a PHP error that some people were having

Update 3.01 release
  • Fixed a PHP warning that did not break anything. It should no longer be added to your error logs.

Update 3.00 release
No changes

Update 3.00 beta 3
  • Fixed template to use correct forumhome location
  • Separated text-version stat block into its own template
  • Moved settings into their own navigation group on the left (refresh AdminCP page after upgrading)
  • Added new customization reference page to install zip

Update 3.00 beta 2
  • Fixed a bug which prevented the postbit display option from working
  • Fixed a bug where the Top Activity link could be in the navbar without the Top Activity page being enabled
  • Fixed a bug where certain users have postcount of 'n/a' in Top Activity
  • Added diagnostic screen
  • Set minimum forum version

Version 3 (3.00 beta 1) vs Version 2 (2.80)
  • Added template hook and DOM based styling; manual template modification no longer needed
  • Split the options page into four options pages
  • Added many options to control the style of the mod
  • Added "Countdown to 100%" feature in the Top Activity page
  • All new profile page display for vB3.7
Support

Please click the install link if you install this hack
I will support this hack in this thread on about a weekly basis.

Show Your Support

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

Comments
  #322  
Old 08-12-2009, 06:25 PM
davoodblack davoodblack is offline
 
Join Date: Apr 2008
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

very thanks for this usefull Mods...

i install this mode but when i go to index of forum got this error


Database error in vBulletin 3.8.2:

Invalid SQL:
SELECT unid FROM vb_wwu002visitlog WHERE (userid="1")AND(dateline="1250035200") LIMIT 1;

Code:
MySQL Error   : Table 'bootiran_bootiran.vb_wwu002visitlog' doesn't exist
Error Number  : 1146
Request Date  : Wednesday, August 12th 2009 @ 11:50:39 PM
Error Date    : Wednesday, August 12th 2009 @ 11:50:39 PM
Script        : http://www.bootiran.org/forum/
Referrer      : 
IP Address    : 91.99.224.64
Username      : __DavoodBlack__
Classname     : vB_Database
MySQL Version : 5.0.81-community-log
Reply With Quote
  #323  
Old 08-13-2009, 08:27 AM
Sunka Sunka is offline
 
Join Date: Mar 2008
Location: Croatia
Posts: 400
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi WetWired,

Today this database error come to my e-mail.
What is wrong?

Code:
Database error in vBulletin 3.8.4:

Invalid SQL:
SELECT count(*) as num,floor((1250121599-dateline)/604800) as week FROM wwu002visitlog WHERE (userid=994)AND(dateline>=1246492800) GROUP BY week ORDER BY week;

MySQL Error   : Can't open file: './pijanitv_vbulletin/wwu002visitlog.frm' (errno: 24)
Error Number  : 1016
Request Date  : Thursday, August 13th 2009 @ 01:11:44 AM
Error Date    : Thursday, August 13th 2009 @ 01:11:48 AM
Script        : http://www.pijanitvor.com/forum/showthread.php?t=824
Referrer      : http://www.google.com/url?sa=t&source=web&ct=res&cd=4&url=http%3A%2F%2Fwww.pijanitvor.com%2Fforum%2Fshowthread.php%3Ft%3D824&ei=4EqDSsqfL8iGsAbLnZHQCQ&rct=j&q=primame+i+mamci+za+amura+na+jezerima&usg=AFQjCNFrr9U-km__kfO2nE-vfRALqjsfIw
IP Address    : *******
Username      : Unregistered
Classname     : vB_Database
MySQL Version :
Reply With Quote
  #324  
Old 08-14-2009, 08:04 PM
davoodblack davoodblack is offline
 
Join Date: Apr 2008
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

no one not Help ME???????????????????????
Reply With Quote
  #325  
Old 08-17-2009, 03:47 AM
WetWired's Avatar
WetWired WetWired is offline
 
Join Date: Jun 2002
Location: Texas
Posts: 669
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by davoodblack View Post
very thanks for this usefull Mods...

i install this mode but when i go to index of forum got this error


Database error in vBulletin 3.8.2:

Invalid SQL:
SELECT unid FROM vb_wwu002visitlog WHERE (userid="1")AND(dateline="1250035200") LIMIT 1;

Code:
MySQL Error   : Table 'bootiran_bootiran.vb_wwu002visitlog' doesn't exist
Error Number  : 1146
Request Date  : Wednesday, August 12th 2009 @ 11:50:39 PM
Error Date    : Wednesday, August 12th 2009 @ 11:50:39 PM
Script        : http://www.bootiran.org/forum/
Referrer      : 
IP Address    : 91.99.224.64
Username      : __DavoodBlack__
Classname     : vB_Database
MySQL Version : 5.0.81-community-log
This means that the activity mod failed to propperly install. Since it failed to install, to uninstall it and try it again, you will probably first need to remove the uninstall code (by first selecting "Edit" from the product menu).
Reply With Quote
  #326  
Old 08-17-2009, 03:50 AM
WetWired's Avatar
WetWired WetWired is offline
 
Join Date: Jun 2002
Location: Texas
Posts: 669
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Sunka View Post
Hi WetWired,

Today this database error come to my e-mail.
What is wrong?

Code:
Database error in vBulletin 3.8.4:

Invalid SQL:
SELECT count(*) as num,floor((1250121599-dateline)/604800) as week FROM wwu002visitlog WHERE (userid=994)AND(dateline>=1246492800) GROUP BY week ORDER BY week;

MySQL Error   : Can't open file: './pijanitv_vbulletin/wwu002visitlog.frm' (errno: 24)
Error Number  : 1016
Request Date  : Thursday, August 13th 2009 @ 01:11:44 AM
Error Date    : Thursday, August 13th 2009 @ 01:11:48 AM
Script        : http://www.pijanitvor.com/forum/showthread.php?t=824
Referrer      : http://www.google.com/url?sa=t&source=web&ct=res&cd=4&url=http%3A%2F%2Fwww.pijanitvor.com%2Fforum%2Fshowthread.php%3Ft%3D824&ei=4EqDSsqfL8iGsAbLnZHQCQ&rct=j&q=primame+i+mamci+za+amura+na+jezerima&usg=AFQjCNFrr9U-km__kfO2nE-vfRALqjsfIw
IP Address    : *******
Username      : Unregistered
Classname     : vB_Database
MySQL Version :
As it says, for one reason or another, you were missing or otherwise unable to open a database file. I am no expert in the files that MySQL uses, so I couldn't tell you what the implications of a missing .frm file are. If this is an isolated incident, I would ignore it (perhaps an automated backup had the file locked at that moment, for instance).
Reply With Quote
  #327  
Old 08-17-2009, 08:25 AM
Brathamike Brathamike is offline
 
Join Date: Mar 2009
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hello great mod i have installed this mod about a week ago and i notice that my activity is moving up very fast
for 8 post i notice that the activity is at

Overal Activity 21%
visti Activity 24%
Post Activity 20%
Today 20%
Post Count 8

Board only been active for 2 weeks

I would like to slow this down..I want something like.

10,000 post at 80% for activity

it seems like with my post count at 8 i will hit that 100 mark very soon

so is it possable to slow this down or change some settings

thanks
love your mod
Reply With Quote
  #328  
Old 08-21-2009, 06:05 AM
WetWired's Avatar
WetWired WetWired is offline
 
Join Date: Jun 2002
Location: Texas
Posts: 669
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You can have it count up to 6 weeks and count up to 10 posts per day.
The activity statistic is a measure of the level of activity within the past x weeks. Weeks are weighted so that the most recent weeks are most important.
Visiting counts toward activity, also.

What are your current settings for the mod?
Reply With Quote
  #329  
Old 08-21-2009, 02:08 PM
Brathamike Brathamike is offline
 
Join Date: Mar 2009
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by WetWired View Post
You can have it count up to 6 weeks and count up to 10 posts per day.
The activity statistic is a measure of the level of activity within the past x weeks. Weeks are weighted so that the most recent weeks are most important.
Visiting counts toward activity, also.

What are your current settings for the mod?

Hello thank you sir for your response.

here are my settings at the moment
weeks Reflected 2
visit weight .5
counted post per day 2


What im trying to do is set this so it will be hard to reach the 100% mark. What settings do you recommend

thanks for your resposne
Reply With Quote
  #330  
Old 08-21-2009, 04:21 PM
WetWired's Avatar
WetWired WetWired is offline
 
Join Date: Jun 2002
Location: Texas
Posts: 669
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay, 100% activity means that a user has met all your required visits and posts.

With your settings of 2 weeks, and counting 2 posts per day, the requirement for 100% activity is to visit each day and post twice each day for two weeks.

With the default setting of 4 weeks, and counting 4 posts per day, the requirement for 100% activity is to visit each day and post four times each day for four weeks.

If you set it to the maximum settings of 6 weeks, and counting 10 posts per day, the requirement for 100% activity is to visit each day and post 10 times each day for six weeks.

The visit weight has no effect on difficulty to get 100% (because to get 100%, you have to get all your visits regardless what they are worth), but setting it to .5 does increase the difficulty to get to activity levels below 100%.
Reply With Quote
  #331  
Old 08-21-2009, 05:03 PM
Brathamike Brathamike is offline
 
Join Date: Mar 2009
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by WetWired View Post
Okay, 100% activity means that a user has met all your required visits and posts.

With your settings of 2 weeks, and counting 2 posts per day, the requirement for 100% activity is to visit each day and post twice each day for two weeks.

With the default setting of 4 weeks, and counting 4 posts per day, the requirement for 100% activity is to visit each day and post four times each day for four weeks.

If you set it to the maximum settings of 6 weeks, and counting 10 posts per day, the requirement for 100% activity is to visit each day and post 10 times each day for six weeks.

The visit weight has no effect on difficulty to get 100% (because to get 100%, you have to get all your visits regardless what they are worth), but setting it to .5 does increase the difficulty to get to activity levels below 100%.
Great! thank you for your time. I understand now
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 01:39 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.09003 seconds
  • Memory Usage 2,329KB
  • 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
  • (4)bbcode_code
  • (4)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
  • (1)pagenav_pagelinkrel
  • (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