The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Activity Modification Details »» | |||||||||||||||||||||||||
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
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
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
|
Comments |
#282
|
|||
|
|||
sorry, still can't get it
i have 3 ranks: 1=Junior Member, 2=Member, 3=Senior Member and the default group ranks (admin, mod, guest). how can i set to only show a board to e.g. "senior members"? when i promote a user to level 2 and add the title to the secondary usergroup, i should have a usergroup "members", when i add 3rd level, i got "senior members" - is that right?! so i need to set the ranks "member" and "senior member" as usergroup in vb with the special permissions? ----------------------- when i now have a group "specialposter" and got them mentioned in "Override Level Ranks on a primary usergroup id basis", these groups aren't touched by the plugin?! so maybe this is the reason, why the people of this group aren't updated by the plugin? thanks?, thomas |
#283
|
||||
|
||||
I'm having a hard time understanding what you are asking. It should be noted that a user is only promoted when they log in after achieving the requirement.
To show a board only to senior members, you would go into the forum permissions, and click "Deny All" for that forum, then select your senior member usergroup under the forum, edit it, and select "use default usergroup permissions". |
#284
|
|||
|
|||
it's ok, i got it.
by the way, as admin i can't see the stats in threadview "only for registered users"... |
#285
|
|||
|
|||
hi,
first of all: sorry, but my english is not the best, cause i am form germany i have a question reffering to your activity-addon. i want to have a statistic for the activity of my members...something like a top-ten. so i have to know, how the activity is calculated with the parameters out of the database. can you please give me some hints, how i can do this? something like a formula for the activity-calculation would be great. thank you very much! greetings Oli |
#286
|
|||
|
|||
please give me a hint. i searched the whole weekend for a solution...
i need a standalone-script, to calculate the activity-percentage...the formula seems to be: Code:
$WWU002_activitypercent=intval($WWU002_activity/$GLOBALS['WWU002maxPoints']*100); thank you 4 help. Oli |
#287
|
||||
|
||||
The WWU002maxPoints is calculated in global_start at the beginning of each page. LiveWire wrote an addon that does what you are trying to do, which is to list the top 10 activity as it exists in the user table. It should be noted that activity only changes when it is viewed. This means that if a user gets to 100% activity, then goes away and noone views one of his posts or his profile, the database will leave him at 100% activity untill his post or profile is viewed. In reality, this is only an issue for users with low activity to start.
|
#288
|
|||
|
|||
I had that hack removed. I'm not really involved with making hacks anymore, but I think I did fix the activity view problem that WW was talking about. Anyway, if you want to show a list of top active users, then follow these instructions.
Create a new template. Name it activity with the following contents. HTML Code:
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center" style="border-bottom-width:0px"> <tr> <td class="tcat" width="100%">Top Active Users</td> </tr> </table> <table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center"> <tr> <td class="thead" align="left" nowrap="nowrap">User Name</td> <td class="thead" nowrap="nowrap">Activity</td> <td class="thead" nowrap="nowrap">Posts</td> <td class="thead" nowrap="nowrap">Join Date</td> </tr> $activity_bit </table> HTML Code:
<tr> <td class="alt1Active" align="left" id="u5968"> <div class="smallfont"><a href="member.php?u=$activity[userid]">$activity[username]</a></div> <div class="smallfont">$activity[usertitle]</div> </td> <td class="alt2" align="center"><div class="smallfont">$ActivityPercent</div></td> <td class="alt1" align="center">$activity[post]</td> <td class="alt2" align="center">$activity[joindate]</td> </tr> |
#289
|
||||
|
||||
No, you never did fix that. Essentially, you have to re-calculate the activity for every user in order to fix it. You can skip members who haven't visited since the cuttoff, and you can cache the results so you only do it once a day. One of these days, I'll get arround to converting the old script I did for the hack version and prettying up some templates for it.
|
#290
|
||||
|
||||
Okay, I got the accurate top 10 script converted to 3.5, now I just need to give it some time on Zelaron, then I'll be ready to beta it.
|
#291
|
||||
|
||||
Quote:
anyone else? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|