![]() |
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 |
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". |
it's ok, i got it.
by the way, as admin i can't see the stats in threadview "only for registered users"... |
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 |
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 |
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.
|
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"> HTML Code:
<tr> |
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.
|
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.
|
Quote:
anyone else? |
So is there a new one made for 3.6 but will be released shortly?
|
Quote:
|
Quote:
|
How do you show the points achieved today thiung for all members instead of just the user who owns it?
|
It's in the options panel. Find today's activity for all users
|
shows how much i look doesn't it.
/me installs |
lon·gev·i·ty ( P ) Pronunciation Key (ln-jv-t, lôn-)
n. pl. lon·gev·i·ties Long duration or continuance, as in an occupation: had unusual longevity in the company; her longevity as a star. |
I installed this. Looks wonderful, but when Im online and have 20+ posts today it says I have visited but have not posted. Any suggestions would be appreciated. :)
Thanks in advance. EDIT: LOL NEvermind. It works. Nice hack! |
hi, first of all thanks for the hack! its great,
but i've came across a problem: look at the attached image, the Activity Maintenance was placed in the wrong place, but the actual problem is when i change the setting of "Set Start of Board" for example, it gives me an ok response (as if it really changed it) but when i enter the script again, it seems that the setting was not changed. |
Hi @ll,
at first i would like to thank WW for this beautyful hack. I love it, it was a snap to install, works fluently in a heavily modded vb 3.6 gold testboard and simply looks awesome. I had to modify it a little to suit my needs, since I am not a pixelator, I had to change the images headlines to normal text. I included a screenie from the postbit_legacy to proove it (I modified this template a lot, the big button simply expands or collapses the detailed infos, screenie shows of course the expanded look). Also the top ten activity addon works fine, I even managed to integrate it with my vbadvanced CMPS system, see the other screenshot. But there is one little issue i have with the acp: the cpnav is missing some text. Looks like a phrase or so is not found. Could anybody help me out with that? See attached screenshot #3 Thanks again for codng such a nice addon. And thanks to all the people out there who make my day with hacks and stuff for my beloved VB. Could modding a vb become addictive after some time? :D |
There isn't a cpnav file..
|
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 ...
|
Quote:
Ya think? I am most probably the worst |
well it's name is "activity modification" and it's location is: "admin_index_navigation" you can just disable it because it should work..
|
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 :)
|
...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)
|
hmm, i tested it on mine so i can't see why it shouldn't work..
|
I will investigate the failed start of board problem, and the CP nav issue. Is the CP nav issue only with 3.6?
|
seems tobe working fine so far on 3.6.0
|
Quote:
|
Quote:
edit : never mind the inferno warning was adding 20 queries go figure! |
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.
Quote:
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. |
Awsome Awsome
|
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: PHP Code:
PHP Code:
By the way, this system is working of course for every other installed hack that is not shown correctly. Hope that helps someone out. |
thx wetwired
|
I very like this Hack and it works fine for me with 3.60 Gold.
Thank you for your Efforts to code such Things, I know that's not easy Work. :cool: |
Quote:
|
thank you for this script. i am wondering if one has tested this script on VB 3.6.0 thanks
|
yup, works fine for me :)
|
thanks rogersnm i will test it now..
|
All times are GMT. The time now is 12:41 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|