![]() |
Quote:
Quote:
Code:
<table class="WWU002postbit" cellspacing="2" cellpadding="0"> Quote:
Regarding vBAdvanced, I don't use it, so I'll need your help in determining the source of the problem. First of all, enable debug mode on your forum, go to the page with the problem, and in the new drop down at the bottom of the page, tell me if you see any 'WWU002: Postbit for user X' messages and if the X is non-zero. |
PHP Code:
|
Wetwired:
This is a really great plugin. I was just thinking - it would be really cool if I could get all of my user statistics into the same graphical format as shown in the postbit_legacy layout for the Activity Mod. If it's not too much trouble, would you be able to tell me how to get other numerical values to show up in the graphical format as the Activity Mod does for the post count? Being able to grab a numerical value from the user table and change it to graphical format like this does for post count would actually make a cool standalone addon too. Thanks!! |
What exactly does the Activity meter calculate? It looks like it goes up to 100%, but how does it work?
|
Quote:
Code:
//Separate out postcount You should be able to use the same code to separate out the digits for any value, just change the second line to assign $WWU002postcount to the new value to break down, and replace occurrances of $WWU002_postsd with a different variable to hold the digits. Quote:
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. For an in-depth explaination (this file is included with the mod): https://vborg.vbsupport.ru/attachmen...chmentid=33478 |
Quote:
Now all I need to do is try to get it to work with another variable I have. Unfortunately I don't know why a hook can't use a specific variable when it can be called when placed in the postbit. This isn't to do with the Activity Mod (at most it's an adaptation of a feature of the Activity Mod) so I made a post here instead: https://vborg.vbsupport.ru/showthread.php?t=99795 |
First of all - great hack :)- looks really nice with the images and its pretty usefull. Secondly i have a problem - the titles dont seem to update. I installed the hack over 24 hours ago so theoretically ppl with the needed activity should have been updated today and moved in the higher category.
Code:
if($vbulletin->userinfo['userid']){ If i see it correctly members who once got promoted keep their rank for the rest of the time? Is it possible to make that limited so you get dropped down a level again once ur activity drops below the point of where it had to be to get promoted?-again - I could do that with a cronjob but I'm just wondering if it's something other people would like to see.) Thanks again, Lor20 |
I was just wondering what I would need to edit to move the 4 bars around in the postbit. I want them lined up underneath Rep Power, but instead they are over to the left. What template edits do I need to make to get them lined up?
|
Quote:
Quote:
|
I know it is supposed to update when the user visits, it is not doing that for me though. I have users who have an activity of over 60% and are still on level 1 (while the barriers are set at 25% and 65%). ALL my users are on level one even though about 100 or so of them were online in the last day and had enough activity to be "promoted".
Lor20 |
Do you have phpMyAdmin or another such tool? Check the values for wwu002lastvisit in the user table for some active users and a few entries from the wwu002visitlog table. Also, if you could screenshot the activity hack settings page, that may also be useful.
|
lastvisit is set to last midnight for ppl who visited today, the visitlog looks fine (eg:)
select * from wwu002visitlog where userid=2 limit 5; +------+--------+------------+ | unid | userid | dateline | +------+--------+------------+ | 17 | 2 | 1130803200 | | 737 | 2 | 1130889600 | | 1193 | 2 | 1130976000 | | 1671 | 2 | 1131062400 | | 2175 | 2 | 1131148800 | +------+--------+------------+ my settings are: 2-3-2005 4 weeks reflected 3 counted posts 2.0 for Visit Weighting no Find today's activity for all users 25 Level 2 Threshold 60 Level 3 Threshold 1=Spark 2=Flame 3=Wildfire the rest is default. I even tried to update the memberlevel manually in the table but it didnt get a different title on the forumdisplay either. For some reason the activityupdate wont run it seems. Lor20 |
thx for this.
Works like a charm only if you hover with your mouse over the images you have %% instead of only one (except posts ;) [high]* StarBuG clicks install[/high] |
If you updated the memberlevel in the table, then you should definately be getting different text. I don't know what could be going wrong except that for some reason the ranks aren't being parsed correctly. Import this plugin, go to a forumdisplay page, view source, and copy the comment at the top.
|
when i change the settings for weeks, posts or how much a visit is worth I get this error:
Fatal error: Using $this when not in object context in /some/path/html/forum/admincp/options.php(843) : eval()'d code on line 7 |
nevemind. I got it working right.
|
Quote:
|
[quote]
Quote:
1. OK, so this will turn it OFF when in vbadvanced gallery...which is a workaround. 2. er.... I don't know how to use that code. :( any help would be greatly appreciated. I love this mod. :D :D[/QUOTE can someone tell where to apply this code to turn off the activity hack in vbGallery? (causes conflict) |
fixed
|
Quote:
|
Quote:
|
Quote:
|
Yeah I still have an extra % sign when I scroll over the activity and longevity bars. Can someone lead me step by step on how to fix this? I'm using 3.5.1
|
I hope to get the time this week to fix that and the $this problem, but basicly what you need to do is goto admincp>languages&phrases>phrase manager, click "Search in Phrases" enter "wwu002", and choose "phrase variable name only", then click "Find".
You will get a list of all the phrases used by this mod. At the bottom, under "Global Phrases", you will see the phrases containing %%. For each of them, you will need to hit "Edit" and remove the second %. I'd like to note that in previous versions, the second % was needed. |
activity hack is causing this error in the vbaGallery.
Quote:
also, it was suggested that you turn OFF the activity hack in vbaGallery cause it causes this error using this: Quote:
<< n00b so I know nothing of php syntax etc. unless that error conflict is fixed....turning off the activity hack seem to be teh only option. :( |
Thanks installed.
|
Since vbAdvanced Gallery is not free, and I don't use it, I'm really going to need you guys to help me help you. For starters, I need to find out what's in the post array being passed to postbit_display_start. So I need one of you guys to install the attached plugin, go to a gallery page (whatever page has the postbits), view source, copy all the comments at the top of the source, and paste them here. You should then remove or disable this plugin. The plugin should already censor any sensitive information that appears in the post array.
|
Quote:
Quote:
|
The modification would not increase the number of connections, since it only uses the normal vB one. Perhaps it is just coincidence? The original private version of this mod, which was quite a bit less efficient, ran on a board with 50-100 members online at the same time on average on a low end server.
|
Quote:
do I need to undo that before I add this plugin and post the code? caue I did as you instructed and installed that debug plugin and there doesn't seem to be anything interesting in the viewsource (no comments at the top). |
If you were getting errors from the activity mod, you may need to temporarily disable it so that it does not interfere with this plugin running.
|
what is up with this error? http://photobucket.com/albums/c117/k...nt=screeny.jpg
|
That's what you get if you use one % on vb 3.5.0, which is why everyone is having problems with the two % when they upgrade to vB 3.5.1.
|
Quote:
so where does it go? No one ever said.. where does it go? |
I got a bunch of x's on my gallery.. I need to know where to put this...
Quote:
|
figured it out....
|
how did you get it to work?
|
I've just installed this today, nothing from the plugin shows on my forum though ?
www.throttlejockey.co.uk |
Correction, I've now followed the instruction's. Now how do I remove the extra rank details please ?
|
Quote:
Quote:
<if condition="THIS_SCRIPT == showimage"> <else /> <td class="WWU002postbit"> <table cellspacing="2" cellpadding="0"> <tr> <td><img src="$stylevar[imgdir_misc]/activity/textactivity.gif" /></td> <td><img src="$stylevar[imgdir_misc]/activity/textlongevity.gif" /></td> </tr> <tr> <td title="$WWU002_activityinfo"><img src="$stylevar[imgdir_misc]/activity/activity$WWU002_activitylevel.gif" class="i" /></td> <td title="$WWU002_longevityinfo"><img src="$stylevar[imgdir_misc]/activity/long$WWU002_longevitylevel.gif" class="i" /></td> </tr> <tr> <td><img src="$stylevar[imgdir_misc]/activity/texttoday.gif" /></td> <td><img src="$stylevar[imgdir_misc]/activity/textposts.gif" /></td> </tr> <tr> <td title="$WWU002_todayinfo"><img src="$stylevar[imgdir_misc]/activity/today{$WWU002_todaylevel}_$WWU002_maxtodaylevel.gi f" class="i" /></td> <td dir="ltr"><img src="$stylevar[imgdir_misc]/activity/posts$WWU002_postsd[1].gif" class="il" /><img src="$stylevar[imgdir_misc]/activity/posts$WWU002_postsd[2].gif" class="im" /><img src="$stylevar[imgdir_misc]/activity/posts$WWU002_postsd[3].gif" class="im" /><img src="$stylevar[imgdir_misc]/activity/posts$WWU002_postsd[4].gif" class="im" /><img src="$stylevar[imgdir_misc]/activity/posts$WWU002_postsd[5].gif" class="im" /><img src="$stylevar[imgdir_misc]/activity/posts$WWU002_postsd[6].gif" class="im" /><img src="$stylevar[imgdir_misc]/activity/posts$WWU002_postsd[7].gif" class="im" /><img src="$stylevar[imgdir_misc]/activity/posts$WWU002_postsd[8].gif" class="im" /><img src="$stylevar[imgdir_misc]/activity/posts$WWU002_postsd[9].gif" class="ir" /></td> </tr> </table> </td> <td valign="top" nowrap="nowrap"> <div class="smallfont"> </if> if you replace the above with this it will fix it.. so postbit and postbit legacy |
All times are GMT. The time now is 11:22 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:
|