Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Activity Modification Details »
Activity Modification
Mod Version: 2.80, by WetWired (Member) WetWired is offline
Developer Last Online: Sep 2014 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.5.4 Rating: (33 votes - 4.88 average) Installs: 472
Released: 08 Aug 2005 Last Update: 05 Feb 2007 Downloads: 3742
Not Supported DB Changes Uses Plugins Template Edits Translations  

For vB3.7, see The vB3.7 version

This is the plugin/vB3.5/vB3.6 version of this hack

This mod was developed on vB3.6.4, and tested for compatibility with vB3.5.4

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, modification to 3 templates, 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

Frequently Asked Questions
  • 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
  • I'm using the images template version, but the images don't show up
    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.

2.80 release update
  • Added AdminCP option to disable display of activity ranks (ranktext)
  • Modified template changes to support the above change (for most people, your templates should work as is)
  • Modified template changes for image horizontal postbit to always locate activity information in the upper right of the postbit, so it doesn't move arround from post to post (if you're happy with how it is now, no need to update)
2.80 rc3 update
  • You can now control the number of entries on the Top Activity board from the adminCP
  • Top Activity templates are properly cached
  • Changes for XHTML 1.0 validation (requires template reedits if you want XHTML validation)
2.80 rc1 update
  • Added improved built-in Top Activity page
  • Added option for activity breakdown in activity bar tooltip
  • Added option to promote users when their activity is calculated instead of just when they visit to help admins that are having trouble with the promotion system
  • Fixed issue with maintenance section with other languages. It should display correctly now for all languages.
  • Added admin help in 3.6.x
  • Added 3.6.x version and link in product list
  • No template changes since 2.70 (there are new templates, however)
2.71 update
  • Corrected a bug where users on forums with "Weeks reflected" set to 1 could not reach 100% activity
2.70 update
  • Full info available to MEMBERINFO template
  • Full info available for the logged-in user (see template customization in install file)
  • Fixed % issue with different vB versions
  • "Midnight" for activity hack is configurable. Note that it may be desirable to set this to a time other than true midnight for your users.
  • Options to control calculation of activity today in MEMBERINFO and for logged-in user
  • Simple promotion system adds secondary usergroups when members are promoted in the ranktext system
  • Reworking of internals
  • Default templates should not try to display activity information when it is unavailable (a generic fix that covers vbA gallery)
2.51 update
  • Updated phrases for vb3.5.1
  • Updated options activity refresh for vb3.5.1
  • Fixed problem with activity-based ranks
2.50 Release update
  • Added fix for reversed posts field in images version templates when user is using a right-to-left language. (Manually update the postbit and postbit_legacy templates)
Beta 6 update
  • Added extra checks for excessive activity
  • User activity is now automatically refreshed when settings changes make it neccessary
  • Fixed guest bug
Beta 5 update
  • Removed the query added to PM views in beta 4
  • Removed the post digits setting; it causes trouble since the majority of users seem to be using the image version, and the load impact is slight anyway.
Beta 4 update
  • Fixed the problem where activity panel displayed incorrect information in PMs
  • Moved start of board into settings, removed 1 query from showthread, view PM, view user note
Beta 3 update
  • Fixed a critical issue with activity caching. Everyone should update
  • Fixed an issue with a query not working when using table prefixes
  • Added template modification instructions
  • Added image template mod version screenshot
Beta 2 update
  • There was an issue with % signs in the phrases, this has been corrected.
  • Screen shots added.
Changes from the hack version
  • Thresholds for promotions are configurable
  • Ranktext system is configured from the options page instead of by a file
  • You can now prune the visit log from the adminCP (Under Maintenance>Activity Maintenance)
Support

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

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	member.gif
Views:	7603
Size:	46.6 KB
ID:	33100   Click image for larger version

Name:	thread.gif
Views:	7722
Size:	47.9 KB
ID:	33101   Click image for larger version

Name:	threadfancy.gif
Views:	6755
Size:	47.7 KB
ID:	33167   Click image for larger version

Name:	cpoptions.gif
Views:	907
Size:	76.2 KB
ID:	59741  

Click image for larger version

Name:	cpmaintenance.gif
Views:	941
Size:	20.4 KB
ID:	59742   Click image for larger version

Name:	topactivity.gif
Views:	1830
Size:	32.9 KB
ID:	59743  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Miscellaneous Hacks Activity Modification WetWired vBulletin 3.7 Add-ons 359 17 Apr 2013 22:41
Top Activity List for Activity Modification WetWired vBulletin 3.5 Add-ons 5 31 Oct 2007 22:00
Add-On Releases [Addon] TopX Activity Modification v1.0 Beta 1 Logikos Modification Graveyard 10 30 Apr 2006 04:07

  #301  
Old 20 Aug 2006, 12:15
rogersnm's Avatar
rogersnm rogersnm is offline
 
Join Date: Apr 2006
Location: Cyberspace, UK
Real name: Nick Rogers
There isn't a cpnav file..
Reply With Quote
  #302  
Old 20 Aug 2006, 12:40
Nachtfalke Nachtfalke is offline
 
Join Date: Apr 2006
Real name: André
I know that there isn't a cpnav xml, so the navigation must be built somewhere in a plug in. But I could not find this either ...
Reply With Quote
  #303  
Old 20 Aug 2006, 13:11
bashy bashy is offline
 
Join Date: Nov 2005
Originally Posted by Nachtfalke
Could modding a vb become addictive after some time?
ha ha ha ha h...

Ya think?
I am most probably the worst
__________________
Bashy

Bashys Place ~ Bashys Hosting
Reply With Quote
  #304  
Old 20 Aug 2006, 13:39
rogersnm's Avatar
rogersnm rogersnm is offline
 
Join Date: Apr 2006
Location: Cyberspace, UK
Real name: Nick Rogers
well it's name is "activity modification" and it's location is: "admin_index_navigation" you can just disable it because it should work..
Reply With Quote
  #305  
Old 20 Aug 2006, 13:47
rogersnm's Avatar
rogersnm rogersnm is offline
 
Join Date: Apr 2006
Location: Cyberspace, UK
Real name: Nick Rogers
Ok this should work a treat, disable the above plugin and then upload the attached xml file to /includes/xml and then it should work
Attached Files
File Type: xml cpnav_activity.xml (325 Bytes, 14 views)
Reply With Quote
  #306  
Old 20 Aug 2006, 14:59
Nachtfalke Nachtfalke is offline
 
Join Date: Apr 2006
Real name: André
...not quite! I followed your instructions and uploaded the new file. After that I logged out off the acp, cleared all cookies and logged back in again. But the new CP_nav doesn't show up. And because of disabling the plugin, the old one doesn't either (as expected)
Reply With Quote
  #307  
Old 20 Aug 2006, 15:31
rogersnm's Avatar
rogersnm rogersnm is offline
 
Join Date: Apr 2006
Location: Cyberspace, UK
Real name: Nick Rogers
hmm, i tested it on mine so i can't see why it shouldn't work..
Reply With Quote
  #308  
Old 21 Aug 2006, 18:29
WetWired's Avatar
WetWired WetWired is offline
 
Join Date: Jun 2002
I will investigate the failed start of board problem, and the CP nav issue. Is the CP nav issue only with 3.6?
Reply With Quote
  #309  
Old 22 Aug 2006, 06:15
MissKalunji's Avatar
MissKalunji MissKalunji is offline
 
Join Date: Aug 2003
Real name: Mj Bain
seems tobe working fine so far on 3.6.0
__________________
____________
BossLady
Reply With Quote
  #310  
Old 22 Aug 2006, 07:03
Nachtfalke Nachtfalke is offline
 
Join Date: Apr 2006
Real name: André
Originally Posted by WetWired
I will investigate the failed start of board problem, and the CP nav issue. Is the CP nav issue only with 3.6?
Don't know. I didn't install that on my 3.5.4 Board ...
Reply With Quote
  #311  
Old 22 Aug 2006, 22:59
MissKalunji's Avatar
MissKalunji MissKalunji is offline
 
Join Date: Aug 2003
Real name: Mj Bain
Originally Posted by WetWired
I will investigate the failed start of board problem, and the CP nav issue. Is the CP nav issue only with 3.6?
is that normal that this mod adds 10 queries?

edit : never mind the inferno warning was adding 20 queries go figure!
__________________
____________
BossLady

Last edited by MissKalunji; 22 Aug 2006 at 23:16.
Reply With Quote
  #312  
Old 22 Aug 2006, 23:37
WetWired's Avatar
WetWired WetWired is offline
 
Join Date: Jun 2002
It is normal for this mod to add a lot of queries at the start of the day, and for it to quickly taper off.
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".
There are several options that start off which add queries when turned on. They should all explain the query impact in the description.

In the default configuration, it is possible for this mod to add no queries when viewing a thread. This happens when posts for all of the posters on the displayed page have been previously viewed during the day, and none of those posters are the active user. On the other hand, if you view a thread page (of 25 posts), where each post is by a different user and noone has been viewing the board today, you could get 25x3=75 queries the first time you view the thread (but if you refresh it would drop to zero, because the activity is stored for each user from the first page load).

Activity is per user, not per post, so the typical senario is that after the configured "midnight" for the mod, people are viewing threads and the people that post a lot get their activity calculated and stored, using a lot of queries. After that, pages probably get 6 or 9 queries added as people view posts by less-frequent posters. Eventally, virtually all of the active users will have their activity already calculated and stored, and the mod will be adding only the single query to calculate the logged-in user's activity today in threads they posted in. Note that this is one of the reasons for the configurable day cycle: if you place the mod's midnight at the time where you have the lowest usage, not only will the day cycles seem more natural to the users, but the load spike after midnight will be placed where it won't matter as much.

I have made every effort to minimize SQL server load caused by this mod. Not only is activity stored for future page loads, but it is also stored for future posts on the same page, for example. It would be possible for me to do only 3 big queries every page load, but those 3 queries would create a larger and ongoing load than the way that I do it.
Reply With Quote
  #313  
Old 23 Aug 2006, 03:58
IncredibleHawk's Avatar
IncredibleHawk IncredibleHawk is offline
 
Join Date: Mar 2006
Real name: XtremeDownloadZ
Arrow

Awsome Awsome
Reply With Quote
  #314  
Old 23 Aug 2006, 03:59
Nachtfalke Nachtfalke is offline
 
Join Date: Apr 2006
Real name: André
Thumbs up Nice Idea for the activity toplist addon

I guess I figured out, how you can show the activitytstat.php addon as a correct location in Who is online. By adding two mini-plugins and a phrase, the WOL-List will show the right location. Maybe this could be added to the package, if it is good enough. I do not claim any credits, since this bases on a tutorial I found on vbhacks-germany.com (thank you Andreas ). Okay, here we go:

1. Add a new phrase, name it activity_toplist and give it the value of "Toplist" or "Statistic" or whatever you desire.

2. We now need the first plugin to introduce the addon to our vbulletin system. Select "add plugin", in the dialog select the product "Activity modification" and the hook "online_location_process". Add the following code to it:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

3. It's time to tell the WOL what to do, so we add the next plugin. Select "add plugin", in the dialog select the product "Activity modification" and the hook "online_location_unknown". Now add the code:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

4. All done. The next time somene visits the activitystats.php, it will be shown correctly in the who is online list.

By the way, this system is working of course for every other installed hack that is not shown correctly. Hope that helps someone out.
Reply With Quote
  #315  
Old 25 Aug 2006, 06:15
MissKalunji's Avatar
MissKalunji MissKalunji is offline
 
Join Date: Aug 2003
Real name: Mj Bain
thx wetwired
__________________
____________
BossLady
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 22:28.

Layout Options | Width: Wide Color: