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 |
#372
|
||||
|
||||
No your plugins control the generating.
1) In the plugin "Top Activity" at forumhome_start hook PHP Code:
PHP Code:
2) you use selected instead of selected="selected" in the template "WWU002statpage" HTML Code:
<option <if condition="$perpage==10">selected</if>>10</option> <option <if condition="$perpage==20">selected</if>>20</option> <option <if condition="$perpage==50">selected</if>>50</option> <option <if condition="$perpage==100">selected</if>>100</option> HTML Code:
<option<if condition="$perpage==10"> selected="selected"</if>>10</option> <option<if condition="$perpage==20"> selected="selected"</if>>20</option> <option<if condition="$perpage==50"> selected="selected"</if>>50</option> <option<if condition="$perpage==100"> selected="selected"</if>>100</option> After doing these modifications the errors had disappeared take a look: http://validator.w3.org/check?uri=ht...doctype=Inline Also the edits to postbit(_legacy) need some corrections in the <img> tags Regards |
#373
|
||||
|
||||
Also I discovered a bug in the top activity page.
take a look here http://www.syrianmeds.net/forum/inde...p=100&langid=9 Now look for users who have the same activity level, for example the users: NINAR & almoheeb, both share the activity 3.8% and the rank 91, but the next rank is 94 not 92. got it? |
#374
|
||||
|
||||
That's how the ranks are supposed to go. Just because 3 people are 1st doesn't make the next person 2nd. If two people tie for gold in the Olympics, the next person gets bronze, not silver. If you don't like the way I do ties, you can turn them off in the CP.
|
#375
|
||||
|
||||
Uploaded 2.80 rc3. You only need to redo the template edits if you want alt attributes on all your images...
|
#376
|
||||
|
||||
Quote:
Thank you |
#377
|
||||
|
||||
great one..thanks for this bro... install clicked...
|
#378
|
|||
|
|||
Does anyone know why i have double like in the picture
|
#379
|
||||
|
||||
One is from the mod and can change with activity, the other is the default one based on usergroup or customizable. This works out really well when everyone has custom titles, because this way, you can still tell who the staff are.
It shows that in the screenshot: Attachment 33101 If you don't want it, just search for $WWU002_ranktext in your postbit_legacy template, and remove the whole line |
#380
|
|||
|
|||
Ok I've added it successfully, now when a member has a large Location description it shifts the longevity, posts etc graphics to one side which makes that side look a bit odd.
How do I move member info 'Location:********' from the right side to under the avatar? I've attached an image Thanks |
#381
|
||||
|
||||
You can find the location field by searching for
Code:
<if condition="$post['field2']"><div>$vbphrase[location_perm]: $post[field2]</div></if> Also, I have an idea to fix the original problem of the other stuff affecting the placement of the activity stuff, but I don't have time ATM to work on it. Check back Monday afternoon for that. |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|