PDA

View Full Version : Miscellaneous Hacks - Activity Modification


Pages : [1] 2

WetWired
28 Apr 2008, 03:37
This is the vB3.7/vB3.8 version of this modification (http://www.vbulletin.org/forum/showthread.php?t=93831).

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, uploading of images, 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
This modification will import your settings and data from the 3.5/3.6 mod version

Frequently Asked Questions I don't see the Activity Settings section or Activity Maintenance link on the AdminCP navbar
You're probably seeing a cached (old) copy of the navbar. Try pressing Ctrl-F5 in IE or FF, or whatever your browser requires to force it to load the current version of the page.
I installed this mod and nothing shows up
First, go to AdminCP|Activity Settings|Display and make sure the dropdown settings are not set to None. If they aren't set to none, the most likely cause is using an old style which does not have template hooks; verify this by creating a new style without a parent and checking to see if the mod displays on it (the images probably won't load, though). If the mod displays on the default style but not your normal one, you need to add template hooks, otherwise post here for help. 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 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 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 Why don't the images don't show up?/Why does the postcount have 's's in front of it?
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.

Update 3.03 release Fixed a PHP error that some people were having

Update 3.01 release Fixed a PHP warning that did not break anything. It should no longer be added to your error logs.

Update 3.00 release
No changes

Update 3.00 beta 3 Fixed template to use correct forumhome location Separated text-version stat block into its own template Moved settings into their own navigation group on the left (refresh AdminCP page after upgrading) Added new customization reference page to install zip

Update 3.00 beta 2 Fixed a bug which prevented the postbit display option from working Fixed a bug where the Top Activity link could be in the navbar without the Top Activity page being enabled Fixed a bug where certain users have postcount of 'n/a' in Top Activity Added diagnostic screen Set minimum forum version

Version 3 (3.00 beta 1) vs Version 2 (2.80) Added template hook and DOM based styling; manual template modification no longer needed
Split the options page into four options pages
Added many options to control the style of the mod
Added "Countdown to 100%" feature in the Top Activity page
All new profile page display for vB3.7
Support

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

shadowevil
28 Apr 2008, 03:50
great mod, i like it ..... installed

JWalker05
28 Apr 2008, 04:14
Very happy to see this mod ready for 3.7. :)

Jasem
28 Apr 2008, 05:00
Thank you very much, good work

DJ Matt4684
28 Apr 2008, 06:02
I already had this installed, but it was version 2.80. To upgrade, all I have to do is import the xml file? Do I select overwrite to yes or no? Also, I am using everything, but the posts with this hack. Not sure if that would matter or not. I just need some clarification on this for an upgrade.

WetWired
28 Apr 2008, 06:12
Yes, just import with overwrite set to yes. You can change the display options in the AdminCP|vBulletin Options panel to disable duplicate/undesired visual elements.

Playa82
28 Apr 2008, 07:03
i got vbadvanced installed. the stat page doesn't work. everytime i want to see it, i get back to the main page.

somebody know how to fix that ?

PaylaX
28 Apr 2008, 07:33
Perfect!

Thanks WetWired. (http://www.vbulletin.org/forum/member.php?u=14793)

Installed

PixelFx
28 Apr 2008, 07:39
installed

Magnumutz
28 Apr 2008, 08:14
Whoa, it's nice to see an old modification brought back to life :D

Good job dude !

KURTZ
28 Apr 2008, 11:56
i think which this hack is pretty similar to vBexperience ... :)

Magnumutz
28 Apr 2008, 12:24
It's better looking ;)

Big Boss
28 Apr 2008, 12:39
Not bad at all. I'm gonna have this installed as soon as I've upgraded to 3.7.

gwerzal
28 Apr 2008, 13:06
Looks good.

What is the difference to the vbexperience mod.

Dont mean to put this down as it looks really good but are there anything this does that doesn't

Hornstar
28 Apr 2008, 14:19
I'm thinking of installing this again. my members used to love it.

WetWired
28 Apr 2008, 14:23
i got vbadvanced installed. the stat page doesn't work. everytime i want to see it, i get back to the main page.

somebody know how to fix that ?Make sure you have the stat page enabled. There is a bug where the link can be disabled while the stat page is disabled.

Whoa, it's nice to see an old modification brought back to life :D

Good job dude !o_0 It never died

WetWired
28 Apr 2008, 14:37
This mod is to creates an absolute activity metric, whereas the one provided by vbexperience is relative. This mod has a curve on the value of contributions in previous weeks, whereas vbexperience's activity stat is linear. This mod caps valued activity per day, whereas it would appear that you can spam up vbexperience's activity stat in one day.

Basicly, this mod allows you to set up an activity metric where you can look at the value the user has and have a good feel for how active they are. The way mine is set up, I can look at it and know that 20% is lurkerish, 50% participates, and 100% participates a lot. In the activity mod, multiple people can reach 100%, because 100% is a fixed goal, not based on the comparison of you to others.

ShawneyJ
28 Apr 2008, 15:06
Excellent

book marked for tomorrow ;) thx

Magnumutz
28 Apr 2008, 16:30
o_0 It never died
Well, it hasn't been updated for like an year, before this one.
So... you get my point :p

WetWired
28 Apr 2008, 16:39
That's because there really wasn't anything that needed to change, though I did add that "Countdown to 100%" feature on my own forum during 2.80.

Speaking of changes, I'm open to considering actions with new features of vB3.7 as posts, but I haven't really had the time to poke arround and figure them out, so if you'd like me to add the option to consider taking some action to be the same as posting, please post with: The name of the action Any steps needed to enable the action Steps to perform the action A brief explaination of the action Any technical details you might have such as table names and field names involvedThis will help me quickly come up to speed so I can consider the additions.

MetalORock
28 Apr 2008, 17:39
very great, thank you ! :) but wait for final version

logicuk
28 Apr 2008, 17:50
i cant get this to display in my postbit

ive tried selecting default location and alternative location and it still dont show

any ideas how i can get it to show in the postbit?

and how do i see the activity statistics page showing top 25 users?

thanks

WetWired
28 Apr 2008, 19:10
Make sure that your postbit has the template hooks in it. Custom styles, especially for older versions may not have them. This mod requires the following lines in your postbit or postbit_legacy template, depending on which you use:
$template_hook[postbit_userinfo_left]
$template_hook[postbit_userinfo_right]
$template_hook[postbit_end]
If your postbit template doesn't have these and you don't know where to put them, you can add
$WWU002_rankblock
under the username and
$WWU002_statblock
under the postcount to add the stuff for this mod manually. With the manual mods, none of the postbit controls in the options will work, however.

To see the activity statistics page, go to the Activity Top Activity Page section in the options and make sure the top two options are set to yes, then click the "Stats" link in the navbar. If your navbar doesn't have template hooks, the url will be like
http://zelaron.com/forum/index.php?do=activitystat
but with the path to your forum index. You'll need to manually put it somewhere.

I highly recommend that you update your style/get a style that has template hooks, as I suspect most vb3.7 mods will require them.

logicuk
28 Apr 2008, 19:22
i cant get it working id be greatful if you can come on the icq account listed on your profile

thanks

hubba
28 Apr 2008, 19:36
Installed but nothing happens... the activity folder is in the misc dir... using 3.7 Beta 4

WetWired
28 Apr 2008, 20:31
Did you check to see if it shows on the vBulletin default style?

hubba
28 Apr 2008, 20:55
Yes... also not showing.

Evolution06
28 Apr 2008, 21:48
Installed not showing read the install guide and asked questions does not work on default or any style for that matter please advise. Version vB 3.7 rc4

WetWired
28 Apr 2008, 23:00
I'm writing up a diagnostic routine that will be part of beta2 later tonight. Hopefully that will help me find the problem.

WetWired
29 Apr 2008, 00:42
beta2 posted. I think I found the bug that was causing most of you problems. If you're still having problems, visit the Activity Maintenance page (in the Maintenance group in the AdminCP -- you may need to force refresh), perform the Configuration diagnostic, and get the output to me.

DS MrSinister
29 Apr 2008, 04:06
thanks for updating your mod sir. works great.

Playa82
29 Apr 2008, 06:32
good work on that update, but i still can't get the stats page working. as is said, everytime i want to see it, i get back to my portal main page.

butch3r
29 Apr 2008, 10:24
good work on that update, but i still can't get the stats page working. as is said, everytime i want to see it, i get back to my portal main page.

Open template "activity_navbar" and replace it with

<td class="vbmenu_control"><a href="forum.php?$session[sessionurl]do=activitystat">$vbphrase[WWU002_stats_short]</a></td>

Playa82
29 Apr 2008, 11:12
Open template "activity_navbar" and replace it with

<td class="vbmenu_control"><a href="forum.php?$session[sessionurl]do=activitystat">$vbphrase[WWU002_stats_short]</a></td>


now it works. thank you

WetWired
29 Apr 2008, 13:59
Open template "activity_navbar" and replace it with

<td class="vbmenu_control"><a href="forum.php?$session[sessionurl]do=activitystat">$vbphrase[WWU002_stats_short]</a></td>
Fixed for beta3...

butch3r
29 Apr 2008, 14:21
Fixed for beta3...

How did you fix that in beta?
is that ->
<a href="$vboptions[forumhome].php$session[sessionurl]do=activitystat">

WetWired
29 Apr 2008, 15:34
Yes. As soon as I saw your fix I realized I forgot that the forumhome isn't always index.php

butch3r
29 Apr 2008, 17:42
Yes. As soon as I saw your fix I realized I forgot that the forumhome isn't always index.php

Can i ask you one more question? I think its better to make Activity Settings not in "vBulletin Options" but "Activity" with 4 tabs in there.
>> Sry for my english

Magnumutz
30 Apr 2008, 05:23
How do i add this to my postbit, manually?

WetWired
30 Apr 2008, 14:20
All of the available variables are listed at the bottom of the installation instruction file, but the easiest way is to add
$WWU002_rankblock
$WWU002_statblock
where you want them. The first is the additional rank provided by the mod, while the second is the actual activity and longevity information. I suggest putting the rank under the usertitle and putting the statblock under (or instead of) the postcount. If you need search,add below type instructions, I can provide those, too.

Magnumutz
30 Apr 2008, 19:33
Thanks, in the install file, it kinda messed with my mind :p
I really didn't understood it.

But thanks for clearing everything out.

Playa82
30 Apr 2008, 19:48
is there an easier way to add them seperate ?

like this:

https://www.vbulletin.org/forum/external/2008/04/1.jpg

i got that @ my site, but it's a lot of coding to do that... see below:

1st Line:
<div class="pbit" align="left">
<table class="WWU002postbit" 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>
</table>
</div>

2nd Line:
<div class="pbit" align="left">
<table class="WWU002postbit" cellspacing="2" cellpadding="0">
<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.gif" 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>
</div>

Karnal Sinn
30 Apr 2008, 20:56
Thanks, in the install file, it kinda messed with my mind :p
I really didn't understood it.

But thanks for clearing everything out.

The previous version of this mod has the manual instructions.

WetWired
30 Apr 2008, 21:18
is there an easier way to add them seperate ?

The previous version of this mod has the manual instructions.
Unlike the previous versions of the mod, the actual blocks that are added to the postbits and the profile page are in separate templates so they are easier to modify and so you can modify them without manually adding them to the templates. The activity_rankblock template creates the WWU002_rankblock variables, which by default is just the rank text wrapped in a div if the rank text is enabled. The activity_statblock template creates the WWU002_statblock variables, which contains the activity and longevity information.

In the past, the feeling that I got was that people were not very interested in information in customizing the look, so I stuck with the customization information I've had since the beginning, but I'll try to put together a better explanation.

turkcom
04 May 2008, 01:44
how can i activate the border around the grahics?

WetWired
04 May 2008, 03:00
You need to add the CSS to your style as instructed in the installation instructions

turkcom
04 May 2008, 09:35
You need to add the CSS to your style as instructed in the installation instructions

Thank you for this great hack.
It runs now perfectly.

Magnumutz
06 May 2008, 09:17
What was updated today? Cuz the change log is the same...

butch3r
06 May 2008, 13:43
Nothing changed..

Question to developer: why cp help do not display?

butch3r
06 May 2008, 13:51
And by the way: here comes xml for russian users
P.S. CPHELP phrases are not translated

WetWired
06 May 2008, 14:15
Nothing changed..

Question to developer: why cp help do not display?
That would be a bug that noone caught in beta3, related to moving the options to their own pages.

Chadi
09 May 2008, 00:35
This hack is crashing the browser when viewing threads.

I've duplicated this in IE7, FF2/3 and Opera 9

WetWired
09 May 2008, 04:31
Can I get the output of AdminCP|Maintenance|Activity Maintenance|Configuration diagnostic, please?

I expect that it's a problem with the code for the postbit "Alternate position"; try setting it to "Default position" and see if the problem persists. Also, a sample postbit source when the problem is happening may be useful (or the source for the whole page). If "Default position" doesn't work, you can set it to "None," which completely removes the JS from the page but leaves everything else enabled, until I figure out the problem.

Xorn
09 May 2008, 04:52
Mod does not work for me. I uploaded .xml from manage products | Add/Import Products

but after that nada, i got nothing. Cant view it in vbullet options, or in the maintenence. all that shows up on my site is "novStats" under the postbit

Chadi
09 May 2008, 06:24
Can I get the output of AdminCP|Maintenance|Activity Maintenance|Configuration diagnostic, please?

I expect that it's a problem with the code for the postbit "Alternate position"; try setting it to "Default position" and see if the problem persists. Also, a sample postbit source when the problem is happening may be useful (or the source for the whole page). If "Default position" doesn't work, you can set it to "None," which completely removes the JS from the page but leaves everything else enabled, until I figure out the problem.

Where is this??

AdminCP|Maintenance|Activity Maintenance|Configuration

I do not see anything under admincp > maintenance that has to do with activity maintenance or configuration.

WetWired
09 May 2008, 14:20
Should be here
80192
If not, try Ctrl-F5 to force refresh everything. If you see the Activity Settings section at the top of the navigation, you should see the Activity Maintenance link.

WetWired
09 May 2008, 14:22
Mod does not work for me. I uploaded .xml from manage products | Add/Import Products

but after that nada, i got nothing. Cant view it in vbullet options, or in the maintenence. all that shows up on my site is "novStats" under the postbit
You may have to force-refresh your AdminCP with Ctrl-F5 to see the new sections, though you should still see the stats in the postbit and user profile pages. If you see the Activity Maintenance link after refreshing, please run a configuration diagnostic and post the results, otherwise, please go to the Plugin Manager and check the Activity Modification section, which should look like this if the mod is propperly installed:

newtsys
11 May 2008, 02:23
all installed with ease but I can not get my post count to show. The box remains empty. Any suggestions here wetwired?

never mind I found it thanks anyways..

clicked installed

AppleTalk.tv
25 May 2008, 01:56
I know you said to check the .css in the instation guide, but I still don't see it mate.

I looked, but can't find it. Anyway I am trying to do two things.

One: Add a box for each of the four things. Around each of them. And then also if possible, how can I get the box around the whole postbit part of the activity? (and if it is just .css, around everything like they have)

Thanks for any info dude!

test site (http://www.vbcredits.com/forum/showthread.php?t=1530)

there is an example of what I am trying to do with it.

Let me know. :)

WetWired
25 May 2008, 05:53
I really don't see how you can miss it. It's practically the only thing in the installation guide. I've highlighted it in the attached screenshot. Be sure to copy and paste from the actual activity_mod_install.html, as there is more to the right not shown in the image.

To add a box arround the whole thing, you'd add something like the following to the css:
table.WWU002postbit {border:1px solid black;}which would add a 1px black border arround it.

safakuygur
25 May 2008, 08:08
thanks good hacks

DS MrSinister
26 May 2008, 21:37
Can you add a option that places the stats under the quick links and not the navbar it self. that would be great if you would..

Thanks

steve1966
27 May 2008, 15:52
great addition thank you

Super Jinni
27 May 2008, 16:36
one question

does it track user activities and show where user go and what he did? so if you want to know where every user went and what he did you can find that out in single page

does it do that?

WetWired
28 May 2008, 06:25
No, it only adds tracking for whether or not a user visited, and that only is used, with post data, to generate a number indicating how active a user is on the forum.

AppleTalk.tv
30 May 2008, 19:39
Alright I got the css to work. but now how does one center it in the center of the postbit?

nevermind. I just edited the activity_statblock and added <center> to the begining and </center> to the end.

Euro-Shakar
30 May 2008, 20:56
Hi, I'm a little bit new to all of this, so if my question may sounds a bit noobish,
sorry for that.

my forum current version is 3.7.1, I tried to install this hack, but seems like all get massed up in Admin cp and on the user profile...
In some parts you don't see the text that should be written.
now is it something that I need to try fix by myself? since I see that some basic things that should have work normal doesn't ... (text..)
or this patch support only 3.7.0 and I need to wait for 3.7.1 ?

Mr saleki
30 May 2008, 22:38
very good thanks sir

ninjamaster
30 May 2008, 23:01
thanks m8 will try this later :)

WetWired
01 Jun 2008, 22:21
Hi, I'm a little bit new to all of this, so if my question may sounds a bit noobish,
sorry for that.

my forum current version is 3.7.1, I tried to install this hack, but seems like all get massed up in Admin cp and on the user profile...
In some parts you don't see the text that should be written.
now is it something that I need to try fix by myself? since I see that some basic things that should have work normal doesn't ... (text..)
or this patch support only 3.7.0 and I need to wait for 3.7.1 ?
I'm not sure exactly what you are asking. If you could, please go to the AdminCP|Maintenance|Activity Maintenance page (you may have to force-refresh your admincp for it to show), and click the Go button under Configuration Diagnostic. Please copy and paste the results page into a text file and post it.

alawee.blawee
09 Jun 2008, 07:52
outstanding
awesome
fantastic
fabulous

OcR Envy
11 Jun 2008, 19:14
I've noticed by visiting your forums that you've customized the script to appear around the avatar. This looks amazing btw, any chance at releaseing the code for this design?

WetWired
12 Jun 2008, 06:00
The stuff arround the avatar is just a change to the HTML. I use a different set of images and absolute position them. Unfortunately, it seems that Safari and the new FireFox don't support the z-index CSS attribute for whatever reason, so this method has issues.

clothahump
15 Jun 2008, 12:07
I am unable to see users "Today" activity, I am logged in as admin so surely I should be able to see it?

WetWired
16 Jun 2008, 18:27
Today display is disabled by default except for the logged-in user because it is the most resource intensive part of the mod (because it can change at any time, it cannot be cached between pages). You can turn it on in the Activity Display page in the control panel.

clothahump
16 Jun 2008, 18:32
Cheers, so the individual members can see their own but not others.

WetWired
16 Jun 2008, 18:34
Unless you change from the default settings, yes. If you run a small forum, then the load probably won't hurt, but since I've had several big forums interested in my mods before I default all settings to reduce queries.

f1x3d
17 Jun 2008, 09:11
In debug mode I see a message "WWU002: Today info not in cache; running today activity". How can I enable caching?
And I don't understand how "Find today's activity for logged-in user" option works. I didn't see any changes after I change it state to "Yes".

WetWired
17 Jun 2008, 14:26
As it says in the description, there are no built-in template changes for "Find today's activity for logged-in user" to support. This option was added because people wanted to show activity today for the logged in user on their portal pages or on the navbar.

The meaning of "WWU002: Today info not in cache; running today activity" is that there is no prior post on this page by the user (as of the time the message is issued), so activity today must be calculated. Activity today is only cached for the duration of the page load, as the user may make another post between the page you are viewing and the next. The cache just makes it so activity today isn't queried over and over for the same user if they have 10 posts on the same page. The main activity level, however, is stored in the user data once calculated and reused till the next "midnight."

sylar
23 Jun 2008, 17:34
Intalled, Great.

BANDiT600
25 Jun 2008, 13:38
I'm running vB v3.7.2. I've got this error:
[Wed Jun 25 16:07:59 2008] [error] PHP Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of WWU002promoteUser(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in /home/XXXXX/forum.dancesport.ru/www/global.php(405) : eval()'d code on line 657

Declan127
25 Jun 2008, 13:43
Thanks for this :D, great mod

-=Leb=-
25 Jun 2008, 14:24
Very nice work.


Installed and nominated

WetWired
25 Jun 2008, 15:00
I'm running vB v3.7.2. I've got this error:
It doesn't keep anything from working, it just works less efficiently.
I'm pretty sure I've found and fixed it for the next version.

-=Leb=-
25 Jun 2008, 15:26
NVM i got it :)

BANDiT600
25 Jun 2008, 15:49
It doesn't keep anything from working, it just works less efficiently.
I'm pretty sure I've found and fixed it for the next version.

Yeah, I know that, I just keep your eyes on it...;)

lostguy
27 Jun 2008, 03:37
My forum Dark base ! I wonder how to make the border effect where i can have BOX each the color bar ..! Right now i can only see those color bar but NO border i think .

https://www.vbulletin.org/forum/external/2008/06/11.jpg

lg

WetWired
27 Jun 2008, 14:31
You need to add the CSS as instructed in the installation document.
at the bottom of one of the "Additional CSS Definitions" fields on the Main CSS page, add one of the following sections, depending on whether your style is dark or light:

mhmd1983
01 Jul 2008, 01:29
can i use posts per day variable in other templates ? , like showing some data if today posts = value

WetWired
01 Jul 2008, 15:10
As detailed in activity_mod_customization.html, the Activity Today for the logged in user can be accessed with $bbuserinfo[WWU002_todaylevel]. The only complication is that you have to enable "Find today's activity for logged-in user" in the display settings.

SaTaNaSsO
05 Jul 2008, 10:51
nice hack...installed.. :)
but i would like to know how to hide "LONGEVITY" and "POSTS" on the postbit template... if is possible...

BANDiT600
06 Jul 2008, 18:35
Here are russian *.gif images:

WetWired
07 Jul 2008, 14:14
You can remove them from the activity_statblock template.
<if condition="isset($output['WWU002_activitylevel'])">
<table class="WWU002postbit" cellspacing="2" cellpadding="0">
<tr>
<td><img src="$stylevar[imgdir_misc]/activity/textactivity.gif" alt="$vbphrase[WWU002_activity]" /></td>
</tr>
<tr>
<td><img src="$stylevar[imgdir_misc]/activity/activity$output[WWU002_activitylevel].gif" class="i" title="$output[WWU002_activityinfo]" alt="$output[WWU002_activitylevel]/20" /></td>
</tr>
<tr>
<td><img src="$stylevar[imgdir_misc]/activity/texttoday.gif" alt="$vbphrase[WWU002_activity_today]" /></td>
</tr>
<tr>
<td><if condition="$output['WWU002_maxtodaylevel']"><img src="$stylevar[imgdir_misc]/activity/today{$output[WWU002_todaylevel]}_$output[WWU002_maxtodaylevel].gif" class="i" title="$output[WWU002_todayinfo]" alt="$output[WWU002_todaylevel]/$output[WWU002_maxtodaylevel]" /><else /><img src="$vboptions[cleargifurl]" width="63" height="7" class="i" title="$output[WWU002_todayinfo]" alt="" /></if></td>
</tr>
</table>
</if>

ss20
07 Jul 2008, 21:45
Unfortunately when I switch on this mod - my forum trying to run scripts which make my forum stuck.... Pls adv what to do? Only work propely when Automatic postbit alteration is none!
******************
Versions
vBulletin version: 3.7.1
Activity mod version: 3.00
Settings
Activity today: Yes Yes No
Postbit style: Alternate location
Profile style: Both
Ranktext: Yes
Top activity: Yes Yes
Template hooks
Style p1 p2 p3 pl1 pl2 pl3 u1 u2 n
MASTER STYLE Y Y Y Y Y Y Y Y Y
--Default Style Y Y Y Y Y Y Y Y Y

WetWired
08 Jul 2008, 13:15
Try setting Automatic postbit alteration to Default location, Remove postbit text postcount to No, Remove postbit text joindate to No, then see what happens.

Skyrider
08 Jul 2008, 13:25
Possible you can add support for this plugin?
http://www.vbulletin.org/forum/showthread.php?t=182938

As this plugin takes over the complete posts and doesn't show the other plugin's post count anymore.

This one rocks though!

WetWired
08 Jul 2008, 18:48
I'm not sure I understand what the issue is. If you're saying that the Activity Modification is removing the postcount output, you can correct that by setting "Remove postbit text postcount" to no in the Activity Display settings.

raja811
26 Jul 2008, 22:40
Thx

SessizDunya
08 Aug 2008, 09:08
Great Mod. Installed, thanks a lot.

I have a quick question. I see 2 of user activity, long etc. image mod on every thread. First one is below the ranks, the other one is at the bottom. How can I modify this and delete the bottom one? I couldn't find the temp.. :confused:

shaqoneal
09 Aug 2008, 14:17
this looks like a really cool mod. i was wondering about the technical aspects.


you said:
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".

but I was wondering, how much would that generally increase the mySQL databases size by for a forum that has 1,900 members (generally 500 active) and about 2000 new posts to the forum a day?

I'm under the restriction of server load so that's why I would like to know. Thank you.

Deej510
10 Aug 2008, 17:02
Getting this warning on the stats page:
Warning: unserialize() expects parameter 1 to be string, array given in [path]\index.php(69) : eval()'d code on line 17

WetWired
11 Aug 2008, 01:00
Great Mod. Installed, thanks a lot.

I have a quick question. I see 2 of user activity, long etc. image mod on every thread. First one is below the ranks, the other one is at the bottom. How can I modify this and delete the bottom one? I couldn't find the temp.. :confused:
That is most odd. Did you manually edit the templates?

WetWired
11 Aug 2008, 01:04
but I was wondering, how much would that generally increase the mySQL databases size by for a forum that has 1,900 members (generally 500 active) and about 2000 new posts to the forum a day?
The mod should not significantly increase database size.
In its default configuration, server load increase should be inperceptable except when users first start viewing threads each day. Even then, this load increase should generally be minor unless you have many active users at the time the day rolls over.

SessizDunya
15 Aug 2008, 10:17
That is most odd. Did you manually edit the templates?

No, I didn't edit the templates. This is really weird. On the menu; Automatic postbit alteration, when I choose "Default Location" I see 2 activity windows. You can see the attached file;

SSJB_7
15 Aug 2008, 11:58
can you help me i installed it and the only thing get is this

https://www.vbulletin.org/forum/external/2008/08/36.jpg

with light activity and instead of white it makes black with dark activity you can see in my site also i don't uninstall it, till some suggetions.
I tried to upload it at forum/images/misc.... ....with dark/white folders
....with only activity folders
....with only the files .
Please if you can help me.
Thanks a lot

WetWired
17 Aug 2008, 04:04
No, I didn't edit the templates. This is really weird. On the menu; Automatic postbit alteration, when I choose "Default Location" I see 2 activity windows. You can see the attached file;Could you please copy the postbit template you are using (postbit or postbit_legacy) into a text file and attach it?

WetWired
17 Aug 2008, 04:09
can you help me i installed it and the only thing get is this

with light activity and instead of white it makes black with dark activity you can see in my site also i don't uninstall it, till some suggetions.
I tried to upload it at forum/images/misc.... ....with dark/white folders
....with only activity folders
....with only the files .
Please if you can help me.
Thanks a lot
I can't find a link to your site in your profile. Please be sure that forum/images/misc is the correct folder. The style you are using may use a different misc folder. The proper installation of the images should have the images accessable as for example .../misc/activity/longevity20.gif . If you right click the 20/20 and click properties, you should be able to see where it is looking for the image, which should help you figure out where to put it.

SessizDunya
20 Aug 2008, 08:11
Could you please copy the postbit template you are using (postbit or postbit_legacy) into a text file and attach it?

Sure. I attached my postbit template. Thanks.

WetWired
20 Aug 2008, 13:38
The problem is that you have the postbit_userinfo_right template hook twice. The activity mod puts the stats in $template_hook[postbit_userinfo_right].
The first place is here:
<if condition="$show['reputation']"><div style="padding:2px 0px 2px 0px;"></div><div><span id="repdisplay_$post[postid]_$post[userid]">$post[reputationdisplay]</span></div></if>
$template_hook[postbit_userinfo_right]


<if condition="$show['member']"><if condition="$show['avatar']">
<div class="smallfont">
&nbsp;<br /><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a></if>
</div>
</if>
The second is here <div>
$vbphrase[my_mood]: <img src="images/mood/$post[mood].gif" border="0" />
</div>
</if>

</div>
$template_hook[postbit_userinfo_right]
<div style="padding:5px 0px 5px 0px;"></div>

</td>
</if>If you remove one, your problem will be fixed.

SessizDunya
20 Aug 2008, 13:51
The problem is that you have the postbit_userinfo_right template hook twice. The activity mod puts the stats in $template_hook[postbit_userinfo_right].


Thank you very much man. Looks great!

hawspipe
20 Aug 2008, 15:39
Hi,
I really like this mod, however, I can't get the "Top Activity Page" to display or show the link anywhere. Do you have ideas on where I can start to figure out what is going on?

WetWired
20 Aug 2008, 19:23
It's disabled by default. Have you turned it on in the Top Activity settings?

hawspipe
20 Aug 2008, 20:04
Yes, I've double checked all of the setting, tried re-installing and still can't get it to show up.

WetWired
21 Aug 2008, 01:22
Is it just the link that's not showing, or does viewing index.php?do=activitystat not work either?

If you could go to AdminCP>Maintenance>Activity Maintenance and post the results of the configuration diagnostic, that would give me a better picture of what might be going on.

hawspipe
21 Aug 2008, 01:45
Yes, I tried accessing it via index.php?do=activitystat and all it does it take me back to the home page.

Versions
vBulletin version: 3.7.2
Activity mod version: 3.00

Settings
Activity today: Yes Yes Yes
Postbit style: Alternate location
Profile style: Both
Ranktext: Yes
Top activity: Yes Yes

Template hooks
Style p1 p2 p3 pl1 pl2 pl3 u1 u2 n
MASTER STYLE Y Y Y Y Y Y Y Y Y
--Default Style Y Y Y Y Y Y Y Y N

WetWired
21 Aug 2008, 13:33
Well, the link isn't showing because your navbar template doesn't have the template hook for it. The link is added to $template_hook[navbar_buttons_left]. Assuming your navbar changes are just new/rearanged links, you should revert your navbar and redo your changes, being carefull not to remove any template hooks, since this will affect other mods you might install, too.

As for the page itself, that situation is most odd. The only thing I can think of is that some other mod is changing $_REQUEST['do'] or also uses the forumhome_start plugin and is returning. I suggest turning off all other mods and see if the problem persists. If not, turn them on one by one untill the problem comes back; the one you just turned on when it stops working is probably the problem.
Depending on the cause, you may be able to work arround the problem by going to Plugins&Products>Plugin Manager, finding the Activity Modification forumhome_start plugin, editing it and setting the execution order to 1.

john102774
22 Aug 2008, 07:46
Great hack! Thank you.

I'm running, VB3.7.2 PL2

john102774
22 Aug 2008, 08:53
Open template "activity_navbar" and replace it with

<td class="vbmenu_control"><a href="forum.php?$session[sessionurl]do=activitystat">$vbphrase[WWU002_stats_short]</a></td>

Thank you!

meissenation
25 Aug 2008, 13:06
I saw in a previous post someone brought this up and it was somewhat disregarded -- but this should not be ignored. My PHP Error log is swollen from the amount of errors this modification is creating.

PHP Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of WWU002promoteUser(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in global.php(405) : eval()'d code on line 542

My first error of this occurred when it was installed on August 20, 2008 at 9:04am. In my log file, it's line 7659. Scroll massive amounts down and my last entry in the PHP Error log currently is at 517423 -- 99.999% of the errors between 7659 and 517423 is this same Call-time pass-by-reference error message. In only 5 days, this error has created over 500,000 lines of errors -- or 100,000 per day. Please fix or advise what to do to fix the error because 100,000 error lines per day is just rediculous and unnecessary.

WetWired
25 Aug 2008, 13:31
How was it disregarded? I indicated that I found and corrected the error for the next version, I just didn't feel that it was important enough to release a version with only that change. Since there haven't been any other issues, I guess I'll make a release with just that...

-=Leb=-
25 Aug 2008, 15:48
Nice work and thx for the update :)

john102774
26 Aug 2008, 09:03
I'm using vb 3.7.2 pl2

The problem is when I go to the stats page and I try to veiw the secound or third page it takes me to the main page.

WetWired
26 Aug 2008, 13:19
Open template "activity_navbar" and replace it with

<td class="vbmenu_control"><a href="forum.php?$session[sessionurl]do=activitystat">$vbphrase[WWU002_stats_short]</a></td>
Thank you!

I'm using vb 3.7.2 pl2

The problem is when I go to the stats page and I try to veiw the secound or third page it takes me to the main page.

I believe your second problem is related to your first one. You should not need to change activity_navbar in the release version in order for it to point to the correct page. Make sure that AdminCP>vB Options>Forums Home Page Options>Script Name for Forum Home Page is set correctly. If the code in the quote worked for you, it should say "forum", not "index"

john102774
27 Aug 2008, 07:59
I believe your second problem is related to your first one. You should not need to change activity_navbar in the release version in order for it to point to the correct page. Make sure that AdminCP>vB Options>Forums Home Page Options>Script Name for Forum Home Page is set correctly. If the code in the quote worked for you, it should say "forum", not "index"

Thanks for the response Wet, However I have vBadvanced CMPS v3.0.1 as my main page. Which throws the link off a bit.

Main page = index.php
Page with all threads = forum.php

Is there a workaround for me to get it to work?

Thanks again :)

WetWired
27 Aug 2008, 13:48
I just told you.
Make sure that AdminCP>vB Options>Forums Home Page Options>Script Name for Forum Home Page is set correctly. If the code in the quote worked for you, it should say "forum", not "index"The purpose of this stock vB setting is tell the forum software where the forum index page is, because they know you might have something else as index.php . Following this established convention, the Activity Mod uses this setting in all links to the Top Activity page.

SSJB_7
28 Aug 2008, 00:12
Thank you very much you are the best is working just fine thanks again

john102774
28 Aug 2008, 04:57
Thank you very much you are the best is working just fine thanks again

+1.

It's kinda tricky but here it goes.

I want the Vba page to be the main page when members logs in (index page). On the index page lies a link called forum which take you to a page that displays a list of categories etc.

If I set the AdminCP>vB Options>Forums Home Page Options>Script Name for Forum Home Page, to forum, it works but the default page that members will be directed to when loggin on will be the page with all the categories.

However if I set the AdminCP>vB Options>Forums Home Page Options>Script Name for Forum Home Page to index it no longer works but, members who log in will be able to view the page that I want.

Sorry if I caused any confusion. Thanks for the help. yep I'm a noob.. haha

WetWired
28 Aug 2008, 13:37
Well if that's the case, you'll have to manually edit the mod. Go to Admin CP>Plugins & Products>Plugin Manager. Edit each of the plugins starting with "Top Activity", replacing each occurance of
$vbulletin->options['forumhome']
with
'forum'
(with the single quotes)

I would suggest that you inquire at vbadvanced.com about an alternate means of making the login redirect propperly.

john102774
28 Aug 2008, 17:56
Well if that's the case, you'll have to manually edit the mod. Go to Admin CP>Plugins & Products>Plugin Manager. Edit each of the plugins starting with "Top Activity", replacing each occurance of
$vbulletin->options['forumhome']
with
'index'
(with the single quotes)

I would suggest that you inquire at vbadvanced.com about an alternate means of making the login redirect propperly.

Unfortunately that didn't work. I will take your suggestion and inquire at vbadvanced.

Thanks for all your help! GREAT Mod! :up:

WetWired
29 Aug 2008, 00:24
Err, I meant to say replace with 'forum' o_0. Not sure how I mixed that up.

thecore762
29 Aug 2008, 01:46
Wired, I can't figured out for the life of me to get this thing installed properly, I keep getting the error on line 107 on global.php

Tell me what to edit, and where to go since I just got started off with vB.

Here is the exact error I get:
Fatal error: Cannot pass parameter 2 by reference in /home/xxxxxx/public_html/forums/global.php(404) : eval()'d code on line 107


My website link: www.47r-squad.com

WetWired
29 Aug 2008, 02:54
Not sure how I missed that one.
Go to Activity Settings>Rank and Promotions, then set Promote in absence to No untill the next release.

dreads
29 Aug 2008, 06:21
isnt that in a defualt setting tat its set to "no"

thecore762
29 Aug 2008, 07:39
Yup, its set to no by default.
Anyways, I still need help with my issue, read post #: http://www.vbulletin.org/forum/showpost.php?p=1609455&postcount=131

WetWired
29 Aug 2008, 23:24
You can only get that error on that line if the setting is set to yes. The only other thing I can suggest is to comment out the line causing the error untill I can fix it; unfortunately the fix requires rethinking the way I do it, so it'll take a bit of time.

To comment out the offending line, edit the global_start Activity Modification plugin, find
WWU002promoteUser($userinfo,0);and replace it with //WWU002promoteUser($userinfo,0);

I intend to post a release fixing this within the next week.

merk_aus
30 Aug 2008, 00:33
nice mod would come in helpful - that way i can reward those who have high activity - thanks

xyzmary2001
02 Sep 2008, 13:05
Geez, I found a very nasty problem and I had to uninstall. I really love this hack, and I want to know what to do to fix the issue.

In fact, when is enabled and a user tries to post, it appears a white page with novpostTD and one has to press "back" button and refresh in order to see what it posted.

Also, under the close threads appears a novPost message, this until I disable the hack.

Please, can you help me with this? I am quite puzzled why this happens and I like very much the hack.

technom8t
02 Sep 2008, 13:15
Geez, I found a very nasty problem and I had to uninstall. I really love this hack, and I want to know what to do to fix the issue.

In fact, when is enabled and a user tries to post, it appears a white page with novpostTD and one has to press "back" button and refresh in order to see what it posted.

http://img367.imageshack.us/img367/2640/novpostiv2.jpg

Also, under the close threads appears a novPost message, this until I disable the hack.

Please, can you help me with this? I am quite puzzled why this happens and I like very much the hack.


does this problem occur on all styles? or just the 1 style, i have it workin on 10 styles on 3.7.3 with no problems at all, it sound like some sort of security token issue with a style, if u have a custom style try reverting the new post template, this may solve the issue, although do note that if you do this and it doesn't work you will have to reinstall the xml file for that style and also add any additional template changes you might have manually made to it before you reverted

thanks

xyzmary2001
02 Sep 2008, 13:24
I have checked now and it appears on all my skins, including the default one.

Also, I have to mention that I have used the second method (I installed the activity folder in misc for every style). I didn't do any template modification, just uploaded the folder and imported the product.

Thanks!

WetWired
02 Sep 2008, 13:46
I've never seen anything like this. If I had to guess, I'd think it meant that the AJAX request wasn't getting what it was expecting, but this is very much a guess. Can you look at your HTTP error log and see if any entries are added when you get this issue?

Vinyljunky
02 Sep 2008, 18:20
I think these stats look much better than VBExperience :up:

I still have VBExperience active but Ive stopped it displaying those horrible bars.

Thanks for sharing your work :)

yotsume
05 Sep 2008, 08:01
Does this take VB Blog usage into account? Does this calculate both forum and blog time? If not I cant use this at all.

thecore762
05 Sep 2008, 08:48
You can only get that error on that line if the setting is set to yes. The only other thing I can suggest is to comment out the line causing the error untill I can fix it; unfortunately the fix requires rethinking the way I do it, so it'll take a bit of time.

To comment out the offending line, edit the global_start Activity Modification plugin, find
WWU002promoteUser($userinfo,0);and replace it with //WWU002promoteUser($userinfo,0);

I intend to post a release fixing this within the next week.

Sir, you are the best, thank you for helping me!:D

WetWired
06 Sep 2008, 16:35
I have posted the fixed version

Oria
14 Sep 2008, 16:29
i can not uninstall this mod, the eror is :
Database error in vBulletin 3.7.2:

Invalid SQL:
ALTER TABLE `user`
DROP `wwu002activitybd`;

MySQL Error : Can't DROP 'wwu002activitybd'; check that column/key exists
Error Number : 1091
Request Date : Sunday, September 14th 2008 @ 06:26:59 PM
Error Date : Sunday, September 14th 2008 @ 06:27:00 PM
Script : http://.....com/admincp/plugin.php?do=productkill
Referrer : http://....com/admincp/plugin.php?do=productdelete&productid=wwu002&s=
IP Address :
Username : System
Classname : vb_database
MySQL Version : 4.1.22-standard


if i enable this product my board dead and i cant uninstall it !

help :O ?

WetWired
14 Sep 2008, 20:15
The only way that can happen is if it was not completely/propperly installed. Instead of uninstall, choose edit. The third section will be "Existing Install/Uninstall Code." Check the box for delete next to the third row (which should contain the query you posted), then click save at the bottom. You should then be able to uninstall.

lazydesis
19 Sep 2008, 00:17
i like this one very much. thank you so much for the mod....

Thijmen1992
24 Sep 2008, 13:07
Hmm... i installed it.
But when i view a post, it only shows the first post, and keeps loading.

Anyone have a solution?:S

Cocko
24 Sep 2008, 17:36
Thanx for this great add-on. Just installed, translated and try how its working.
I have done all maintenance manually.

Logged in as admin, the visit activity shows 0%. Don't know where is calculated.

Some of my settings:
Find today's activity for all users: Yes (and No - tried both)
Find today's activity for logged-in user: Yes
Show activity breakdown in tooltip: Yes (here at tooltip, visit activity: 0%)

WetWired
25 Sep 2008, 16:14
Thanx for this great add-on. Just installed, translated and try how its working.
I have done all maintenance manually.

Logged in as admin, the visit activity shows 0%. Don't know where is calculated.

Some of my settings:
Find today's activity for all users: Yes (and No - tried both)
Find today's activity for logged-in user: Yes
Show activity breakdown in tooltip: Yes (here at tooltip, visit activity: 0%)

I just installed and everyone's activity seems low 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 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%. Your visit activity will start at zero, because vBulletin does not track when you visited before you install the mod.

WetWired
25 Sep 2008, 16:23
Hmm... i installed it.
But when i view a post, it only shows the first post, and keeps loading.

Anyone have a solution?:S

This is most likely an issue with the javascript to modify the postbit; it may not work correctly if your postbit has been modified significantly from the default. Setting Automatic postbit alteration to None or Default location and setting Remove postcount and Remove joindate to No should prevent this. If you set Automatic postbit alteration to None, you can manually add the modifications by following the instructions in the Manual postbit modifications section in activity_mod_customization.html in the zip file.

john102774
25 Sep 2008, 19:20
Your visit activity will start at zero, because vBulletin does not track when you visited before you install the mod.

With that said in the Stat page it states, 19 days to 100% and 87%.

Some members do not have days, they just have percentages.

what does this mean or what is it referring to?

Thanks! :)

WetWired
25 Sep 2008, 20:24
If they do not have an "x days to 100%", then they have not started on their way to 100% (they missed visiting or posting yesterday) or are already there. This feature was added because it's hard to tell otherwise; for good reasons your activity may seem to "stall" while "bubbles of inactivity" are purged. On my forum, I have rewards for reaching and sustaining 100% activity; if it doesn't matter much on your forum, you may want to disable the feature.

john102774
25 Sep 2008, 21:58
If they do not have an "x days to 100%", then they have not started on their way to 100% (they missed visiting or posting yesterday) or are already there. This feature was added because it's hard to tell otherwise; for good reasons your activity may seem to "stall" while "bubbles of inactivity" are purged. On my forum, I have rewards for reaching and sustaining 100% activity; if it doesn't matter much on your forum, you may want to disable the feature.

Thanks for the explanation!

If they are "already there" how can reward them for reaching and sustaining 100% like how you have on your forum? :D

WetWired
26 Sep 2008, 04:53
I have a usergroup that I add people to that gives them a larger avatar. I use template conditionals to make it smaller while they are under a certain activity level. I have a second group for those that sustain 100% for 28 days that goes small at a lower activity level. You can use the variables mentioned in the customization document to implement such systems.

In any case, the rewards are manual and could be something easier to setup.

GoTTi
26 Sep 2008, 10:49
i have the casino installed, and i noticed that my casino cash was not showing in the postbit after i installed this. any ideas?

WetWired
26 Sep 2008, 14:15
Try turning off the "Remove x" options in the Activity Display options.

Cocko
26 Sep 2008, 20:08
Your visit activity will start at zero, because vBulletin does not track when you visited before you install the mod.

Sorry and thanx a lot!

Barteh
27 Sep 2008, 17:59
Is there any way to make the data (both postbit and ranks page) accessible only to the administrator usergroup? i.e. similar to a user's IP address only showing for mods and higher.

This mod sounds like quite an interesting way of gauging clan member activity, but making it public might promote spamming to influence ranking. If this sounds unusual to you, we also have karma padders on our board :rolleyes:

WetWired
27 Sep 2008, 18:34
Well the whole point of the system to cut down on spam, since it only counts a limited number of posts each day. That said, you should be able to use template conditionals so that the info only shows to certain usergroups. Surround the templates
activity_rankblock,activity_statblock,activity_topstatpage
with<if condition="is_member_of($bbuserinfo,6)"></if>, then set User profile page statistics to Right Side and Remove postcount and remove joindate to no. You'll also want to set Add navbar link for Top Activity to no so people don't have questions about a navbar link to a blank page.

Mastergumble
28 Sep 2008, 18:11
Is it possible to make all the fields align in the center of postbit legacy instead the left side?

worldwide2
30 Sep 2008, 00:52
http://www.vbulletin.org/forum/attachment.php?attachmentid=87502&stc=1&d=1222732196

This was working until about half an hour ago when the white background to the stats disappeared and post count started appearing below the rest of the stats if the user was offline.
Any ideas? I presumably changed something by mistake, but I can't imagine what.
I just deleted and reinstalled the mod, as well. No change.

WetWired
30 Sep 2008, 05:33
It looks like the CSS isn't setup. Confirm that one of the sets of CSS data is in the extra CSS for the style. If you were changing the activity_statblock template, there is a class that an outer element needs to have in order for the CSS styling to apply to the rest.

GafferSports
06 Oct 2008, 22:39
Can I ask, is there a way to clean up the database table? I have been using this mod for a good while now and it is superb but the table is getting rather large.

WetWired
07 Oct 2008, 13:40
Admin CP|Activity Maintenance|Prune visit log

pokesph
13 Oct 2008, 19:22
about to install this nice mod on my board.. We use a bunch of styles, approx 25 styles (we let our users choose their favs) and, well, putting the images required for this mod into each style's misc folder seems rather redundant (as well as some themes, both light and dark, use the vB default images/locations)

Is there a way to set image paths up to point to something like images/misc/activity/dark and images/misc/activity/light so we could set per theme/template??

Otherwise I foresee a long, detailed install process..

thanks for the awesome mod :)

WetWired
13 Oct 2008, 22:54
The images are only used in one template, activity_statblock. You could take the content of that template, paste it in notepad, and replace all occurances of$stylevar[imgdir_misc]withimages/misc/activity/darkor whereever you like.

If you have a parent style that most of your styles are derived from, you might opt to replace with something like {activity-images} and set a replacement variable for that in the child styles according to which directory is appropriate.

Please note that if you have styles with postbits that vary in certain ways from the defaults, you will have trouble with the JS postbit modifications. You can disable these by setting the postbit modification to default location and remove postcount and remove joindate to no. You can also disable them per-style by removing the content of the activity_postbit_epilogue template in the styles with trouble.

raja811
18 Oct 2008, 18:28
FAQ Members List New Posts Search Calendar Quick LinksLog Out


User CP


Stats

i instal new skin and then all FAQ Members List New Posts Search Calendar Quick LinksLog Out mixed stats somewhere why? how to added near usercp?

https://www.vbulletin.org/forum/

WetWired
19 Oct 2008, 04:03
It probably means that the style does the navbar a different way. Try editing/removing the contents of the template activity_navbar in that style.

LeatherNeck
19 Oct 2008, 05:14
works a treat with 3.8.0, thanks :)

zero5854
25 Oct 2008, 05:51
First thanks for this mod....
Second sorry if this has been posted b4 but there are too many posts to search adn my search didnt quite come up.

how to change from this
https://www.vbulletin.org/forum/external/2008/10/8.png

To this?
https://www.vbulletin.org/forum/external/2008/10/9.png

Im sure they are cutom graphics...but to sit and edit ALL of them?

Thanks for any help!

WetWired
27 Oct 2008, 06:08
You'd pretty much have to edit them individually for that exact effect. If you look in the customization documentation, however, you will find that variables are exposed that would allow you to make the bar graph in other ways. You could, for instance, use the activitypercent to control a cell width in a table.

Chris583
28 Oct 2008, 15:57
I like the mod. But I find the text in the POST COUNT images hard to read. Maybe its just me and my widescreen 1680 resolution but shouldnt it be as readable as the default text for post count?

Also, if anyone made custom images for it I WOULD LOVE to be able to see and or download them for use lol

Thanks

zero5854
28 Oct 2008, 17:56
well I mean is there a PS plugin I can use or something?

WetWired
28 Oct 2008, 22:25
I have no trouble reading the post count out to a meter from my 20" 1600x1200 display. Even so, you could always change the images or leave the default count enabled. I have custom round images I use on zelaron, but they aren't easily reused; also, recent versions of FF have trouble with the HTML I used to layer them.

zero, the images were hand drawn in PSP. I created the filled image then unfilled it with the paint bucket, saving each step. I did this for both the light and dark versions. I also manually created each version of the ones I use on my forum.

WetWired
28 Oct 2008, 22:45
You could create bar graphs in your templates by replacing your activity_statblock with this:
<if condition="isset($output['WWU002_activitylevel'])">
<table class="WWU002postbit" cellspacing="2" cellpadding="0">
<tr>
<td><img src="$stylevar[imgdir_misc]/activity/textactivity.gif" alt="$vbphrase[WWU002_activity]" /></td>
<td><img src="$stylevar[imgdir_misc]/activity/textlongevity.gif" alt="$vbphrase[WWU002_longevity]" /></td>
</tr>
<tr>
<td nowrap="nowrap" title="$output[WWU002_activityinfo]"><if condition="$width=$output['WWU002_activitypercent']/2+1"> <img src="$stylevar[imgdir_poll]/bar1-l.gif" alt="" width="3" height="10" /><img src="$stylevar[imgdir_poll]/bar1.gif" alt="" width="$width" height="10"
/><img src="$stylevar[imgdir_poll]/bar1-r.gif" alt="" width="3" height="10" /></if></td>
<td nowrap="nowrap" title="$output[WWU002_longevityinfo]" ><if condition="$width=$output['WWU002_longevitypercent']/2+1"> <img src="$stylevar[imgdir_poll]/bar2-l.gif" alt="" width="3" height="10" /><img src="$stylevar[imgdir_poll]/bar2.gif" alt="" width="$width" height="10"
/><img src="$stylevar[imgdir_poll]/bar2-r.gif" alt="" width="3" height="10" /></if></td>
</tr>
<tr>
<td><img src="$stylevar[imgdir_misc]/activity/texttoday.gif" alt="$vbphrase[WWU002_activity_today]" /></td>
<td><img src="$stylevar[imgdir_misc]/activity/textposts.gif" alt="$vbphrase[posts]" /></td>
</tr>
<tr>
<td nowrap="nowrap" title="$output[WWU002_todayinfo]"><if condition="$output['WWU002_maxtodaylevel']">
<if condition="$width=50*$output['WWU002_todaylevel']/$output['WWU002_maxtodaylevel']+1">
<img src="$stylevar[imgdir_poll]/bar3-l.gif" alt="" width="3" height="10" /><img src="$stylevar[imgdir_poll]/bar3.gif" alt="" width="$width" height="10"
/><img src="$stylevar[imgdir_poll]/bar3-r.gif" alt="" width="3" height="10" /></if></td>
<else /><img src="$vboptions[cleargifurl]" width="63" height="10" /></if></td>
<td dir="ltr"><img src="$stylevar[imgdir_misc]/activity/posts$output[WWU002_postsd1].gif" alt="$output[WWU002_postsd1]" /><img src="$stylevar[imgdir_misc]/activity/posts$output[WWU002_postsd2].gif" alt="$output[WWU002_postsd2]" /><img src="$stylevar[imgdir_misc]/activity/posts$output[WWU002_postsd3].gif" alt="$output[WWU002_postsd3]" /><img src="$stylevar[imgdir_misc]/activity/posts$output[WWU002_postsd4].gif" alt="$output[WWU002_postsd4]" /><img src="$stylevar[imgdir_misc]/activity/posts$output[WWU002_postsd5].gif" alt="$output[WWU002_postsd5]" /><img src="$stylevar[imgdir_misc]/activity/posts$output[WWU002_postsd6].gif" alt="$output[WWU002_postsd6]" /><img src="$stylevar[imgdir_misc]/activity/posts$output[WWU002_postsd7].gif" alt="$output[WWU002_postsd7]" /><img src="$stylevar[imgdir_misc]/activity/posts$output[WWU002_postsd8].gif" alt="$output[WWU002_postsd8]" /><img src="$stylevar[imgdir_misc]/activity/posts$output[WWU002_postsd9].gif" alt="$output[WWU002_postsd9]" /></td>
</tr>
</table>
</if>

Nadeemjp
30 Oct 2008, 08:38
hi there. it is a nic mod and i am using it. a little problem that ihave is that the font color is too light and is hard to read. my background is some what in between dark and light. is there any way that i can turn the font of the words like "longevity" or "activity" a bit more darker?

thanx

for references, i am giving the url:http://www.familybunker.com/forums/showthread.php?p=25449#post25449

WetWired
30 Oct 2008, 16:11
You could edit the graphics to be a different color. The text is a solid color, so you can just use the fill tool in your graphics editor. All the word graphics have the word "text" in their filename. You could also use the word graphics from the light set and everything else from the dark set.

Cocko
31 Oct 2008, 18:24
The activity addon runs fine until I have installed GARS yesterday.

Now I see under the comment button at the end of first post (only)
novPostTD novStats

When I disable the Activity Modification addon no issue appears.

What is the difference that GARS and Activity Modification don't work together?

WetWired
01 Nov 2008, 07:37
Those things indicate that the JavaScript was unable to find the markers it needs to modify the postbit. If you turn off the options that require JS (alternate location and removing stuff), they should go away.

I don't know what GARS is but if you're only having trouble with the first post, you might be able to put a conditional in the activity_postbit_epilogue template so it doesn't run for the first post. You might try wrapping the current contents with <if condition="$post['postcount']>1">
</if>though I'm not sure if that will work.

Cocko
01 Nov 2008, 10:44
Thanx for answering.

GARS = Geek Article and Review System (GARS) LITE (http://www.vbulletin.org/forum/showthread.php?t=108514&highlight=gars) changes the template of first
posts in forums where it's active so the activity modification won't be shown even
it's set to active.

Your approach sounds good. In if clause I need to add s.th. like
&& or WHERE forumID == 4,21,xx". What is it exactly?

Cocko
01 Nov 2008, 12:22
This replacement of activity_postbit_epilogue works fine ;)
forumid 108 can be changed to whatever fits to GARS forums.

<if condition="$post[postcount]>1" && $forumid!=108>
<script type="text/javascript">
<!--
WWU002Post('$post[postid]');
//-->
</script>
</if>Thanx again.

Onone
01 Nov 2008, 17:33
Thanks, installed :)

edit:
After i installed the hack i get a error. the error is:
Database error in vBulletin 3.7.3:

Invalid SQL:
ALTER TABLE `user` ADD `wwu002activity` INT UNSIGNED NOT NULL ,
ADD `wwu002activitydate` INT UNSIGNED NOT NULL ,
ADD `wwu002memberlevel` TINYINT UNSIGNED DEFAULT "1" NOT NULL ,
ADD `wwu002fullmemberdate` INT UNSIGNED NOT NULL ,
ADD `wwu002lastvisit` INT UNSIGNED NOT NULL;

MySQL Error : Duplicate column name 'wwu002activity'
Error Number : 1060
Request Date : Saturday, November 1st 2008 @ 06:29:41 PM
Error Date : Saturday, November 1st 2008 @ 06:29:41 PM
Script : *******
Referrer : **********
IP Address : *******
Username : *********
Classname : vb_database
MySQL Version : 4.1.22-standard

what to do?

WetWired
02 Nov 2008, 08:44
That means that it was already partially installed. Have you ever installed this mod before or did you have a different error during a prior install?

If you have phpmyadmin, check your user table and see what columns it has that start with wwu002. Also check to see if you have a wwu002visitlog table.

Onone
02 Nov 2008, 14:42
Yes, i have install this mod before. how do i fix it?

WetWired
03 Nov 2008, 05:32
Do you have phpmyadmin to check the fields? Or do you know what version you installed?

BigJohnny
06 Nov 2008, 00:31
I dont have it installed yet as im working on a couple of other small changes to my board first, but I'm wondering, you say there are no template edits now, but are there still variables to use?

Im making my 3.7 memberinfo page duplicate some aspects of my 3.6 memberinfo, and one of the things I had was the activity mod visible in a users profile..... basically the profile was very similar to the postbit.

Is there still a way to put the activity stats/titles etc in the memberinfo template?

WetWired
06 Nov 2008, 13:17
Yes, the variables are still there (though the names are slightly different in some cases) and automatic modifications are easily disabled.

Onone
06 Nov 2008, 16:16
Do you have phpmyadmin to check the fields? Or do you know what version you installed?

yes, i have phpmyadmin how do i check the fields?

i think the version was 3.00 beta 2.

BigJohnny
06 Nov 2008, 22:25
go to phpmyadmin, select the database that vbulletin is using, then "browse" the user table, and look for the columns mentioned above.

Nadeemjp
07 Nov 2008, 07:29
hello guys i have one small problem that i dont know how to handle

please see the image below:

https://www.vbulletin.org/forum/external/2008/11/33.png

i have installed so many mods and when they appear in the users' posts, the user profile actually becomes so wider and bigger.

i was wondering that the activity showcase should be shifted towards the left side. i mean not under the user name or stuff, but between user name and user details on the right hand side. in short i want this to be displayed in the middle of the user profile bar ......

i dont know which things to edit for displaying like that. could someone tell me where to add what code? cause i am totally not a coder and have no idea how to write codes:)

BigJohnny
07 Nov 2008, 12:28
if you edit the Time Spent Online mod to be shorther, then your postbit wont be so big.
It looks like thats whats causing the problem.

Nadeemjp
07 Nov 2008, 12:41
thanx bigjohnny, but i have new style which is horizontal and not post bit lagacy. so it is not the width i am worried about, it is the height that is why i thought maybe i should move the activity to the left side

WetWired
07 Nov 2008, 14:52
If you use the alternate position from the display settings, it should show up in its own column. I'm not sure exactly what you're asking for, however.

WetWired
07 Nov 2008, 15:07
yes, i have phpmyadmin how do i check the fields?

i think the version was 3.00 beta 2.
After selecting your database from the dropdown on the left side (it may be pre-selected), click user on the left side. On the right side it will show a list of fields in the user table. I'm interested in the fields whose names start with wwu002. Also, check to see if a table named wwu002visitlog shows on the left side.

The quickest solution is to delete the fields starting with wwu002 and the wwu002visitlog table in phpmyadmin (you should backup your db first, incase you make a mistake). Once you do this, you will be able to install the mod normally. Alternately, if you tell me what is there, I can make a version of the mod install which does not create those fields.

Sawa Dee SohL
11 Nov 2008, 20:37
I have this Downloaded - but the 'Today' Activity isn't showing.


It shows for the user, who is logged in - but for me viewing other users, it shows them at 0

I have it so it takes 2 posts, and 1 log in to be considered 'active' for the day...

And my other Admin has posted 43 times, and logged in several times - still reading nothing on the 'Today' portion when I look at his account.

But for HIM, it shows he's got full activity.

Is it soley for the user to see his own? Or did i do something wrong when installing?

rob01
12 Nov 2008, 07:11
how many queries this add?

in my forum is 9 :S

WetWired
12 Nov 2008, 18:53
I have this Downloaded - but the 'Today' Activity isn't showing.

This is an activity display option. Showing activity today for everyone requires more queries, so by default it is off.

WetWired
12 Nov 2008, 19:03
how many queries this add?

in my forum is 9 :S
From the opening post:
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".The number of queries added will vary depending on a number of factors, especially enabling options which add queries and viewing posts by users who haven't been processed for the day, yet. With the default options, midday (after all users have had a post view and thus have had their activity calculated and put in the database), it should add 0 to 1 queries to each page load depending on if the logged in user posted in that page.

I provide information about the load impact of each setting in the description of the setting in the CP (if no info is provided, then there is no load impact) so you should be able to easily tune this to your board.

adamskiii
16 Nov 2008, 21:00
the graphics are not showing up. I copied all the images to my misc folder and this is what I get:

https://www.vbulletin.org/forum/

any help?

thanks

DJDynasty239
17 Nov 2008, 06:50
It is installed and working properly and awesome, however I want to get rid of the "Today" and "Posts" part of them, they are turned off in the Display Settings, but still appear...any suggestions?

edit : I got rid of them in the "activity_statblock" ...so I believe I did that right.

My problem now is, I just ran through and did about 50 posts as a test, and the activity hasn't reflected that at all, I am not sure if I made an error when removing the 2 sections, or if it takes a full 24 hours to reflect.

Also, I am a member on boxden.com which I am sure is using your mod because they have the same thing there, however the "Longevity" was renamed to "Dope Meter" and the meter reflects the user reputation, are you aware of anyway to tie those two in together?

Thanks for the great mod, and the help bud

WetWired
17 Nov 2008, 13:50
the graphics are not showing up. I copied all the images to my misc folder and this is what I get:

http://i251.photobucket.com/albums/gg285/lambo_2161/untitled12.jpg

any help?

thanks
From the opening post:

Why don't the images don't show up?/Why does the postcount have 's's in front of it?
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
You need an activity directory within the misc directory, and it needs to be the correct misc directory for the style. If you right click the alt-text for the images and select properties, your browser should tell you where it's looking for the images, which is where you should put them.

WetWired
17 Nov 2008, 13:55
It is installed and working properly and awesome, however I want to get rid of the "Today" and "Posts" part of them, they are turned off in the Display Settings, but still appear...any suggestions?

edit : I got rid of them in the "activity_statblock" ...so I believe I did that right.

My problem now is, I just ran through and did about 50 posts as a test, and the activity hasn't reflected that at all, I am not sure if I made an error when removing the 2 sections, or if it takes a full 24 hours to reflect.

Also, I am a member on boxden.com which I am sure is using your mod because they have the same thing there, however the "Longevity" was renamed to "Dope Meter" and the meter reflects the user reputation, are you aware of anyway to tie those two in together?

Thanks for the great mod, and the help bud
The today bar fills up until the midnight you have set in the activity settings, then it dumps into the main activity. The reason the today bar exists is to clarify when a user has reached the maximum contribution to their activity bar for the day.
As for the reputation, I don't know how they did it, though there's many possibilities, I'm sure.

ndut
18 Nov 2008, 00:12
cool... :)

adamskiii
18 Nov 2008, 02:01
From the opening post:

You need an activity directory within the misc directory, and it needs to be the correct misc directory for the style. If you right click the alt-text for the images and select properties, your browser should tell you where it's looking for the images, which is where you should put them.

thanks man. its working:D

Just one thing, how would I change the position of the mod so its at the bottom of everything, for example, my thanks mod is at the top and this mod is at the bottom. How do I make it so the mod shows up under the thanks?

thanks

WetWired
18 Nov 2008, 14:32
Well, the mod purposely tries to get close to the top, so you'd need to manually edit the postbit. There are instructions for doing this in the activity customization info file in the zip(you'd want to put the insert for the stats lower in the postbit than the instructions say to). Be sure to turn off automatic postbit modification in the display settings if you manually modify the postbit.

puregraf
02 Dec 2008, 18:18
my site is still very slow when your plugin is enabled. memory goes up instantly to over 80% on my dedicated server, and also server load goes from normal under 5.00 to crazy over 55% used up.


any thoughts? the old version for the older vbulletin did not cause this problem

WetWired
03 Dec 2008, 05:04
What settings are you using? There are many settings that will increase your load, especially "activity today" settings.

Have you tried enabling the mod at a low activity time and seeing how it reacts when activity rises? (because if you have a lot of users, activity must be calculated as posts are viewed authored by users whose activity hasn't been calculated yet for the day; you can "schedule" this load increase to happen when load in general is low) If this is effective, you can set the "midnight offset" setting to keep this schedule. (changing the setting, however, invalidates all activity calculated to that point since the setting effects the calculation)

A load average (http://en.wikipedia.org/wiki/Load_average) of 5.00 indicates 100% utilization (for a 1 to 5 core server), so 55% would be a load decrease...

When you say the old version for the older vbulletin, you are refering to vB3.0 or vB3.5?

NikosN
03 Dec 2008, 11:59
Thank you

DJDynasty239
04 Dec 2008, 03:38
If you are able to tell me, what font did you use for the text on "Activity" and "Longevity"?

WetWired
04 Dec 2008, 04:37
I hand drew them.

puregraf
04 Dec 2008, 20:39
What settings are you using? There are many settings that will increase your load, especially "activity today" settings.

Have you tried enabling the mod at a low activity time and seeing how it reacts when activity rises? (because if you have a lot of users, activity must be calculated as posts are viewed authored by users whose activity hasn't been calculated yet for the day; you can "schedule" this load increase to happen when load in general is low) If this is effective, you can set the "midnight offset" setting to keep this schedule. (changing the setting, however, invalidates all activity calculated to that point since the setting effects the calculation)

A load average (http://en.wikipedia.org/wiki/Load_average) of 5.00 indicates 100% utilization (for a 1 to 5 core server), so 55% would be a load decrease...

When you say the old version for the older vbulletin, you are refering to vB3.0 or vB3.5?



weeks reflected: 6
vistit weight 2.0
counted posts per day. 4


Find today's activity for all users
If enabled, then the activity today information is queried for each post; this requires an additional query per user per thread.
If disabled, then the activity today information is only queried for the logged-in user.

No


1
Find today's activity for member profile
If enabled, then the activity today information is queried for member profiles. This adds a query to the member profile page.

No


1
Find today's activity for logged-in user
If enabled, find the logged in user's activity today on each pageload. Adds an extra query to each page load for logged-in users. Note that this information is not included in the default template modifications.

No


1
Show activity breakdown in tooltip
If yes, will show visit% and post% in the activity bar tooltip

Yes

1
Use text-only stat block
If set to yes, will display activity, longevity, and activity today as text instead of using images. When this is set to yes, you do not need to upload the images directory or add the style-specific CSS.

No

1
Automatic postbit alteration
Whether or not template hooks are used to alter the postbit. Choosing "Alternate location" uses JS to move the stat block from the template hook location -- into a separate column on the horizontal postbit, or right under the avatar on the vertical postbit. If your postbit templates are siginificantly modified, "Alternate location" may not work well and you should set this to "None" and add the changes manually.

Error:
1
Remove postbit text postcount
Use JS to remove the div containing the text postcount, since the images version repeats it. Ignored if postbit alteration is "None"

Yes

1
Remove postbit text joindate
Use JS to remove the div containing the join date, since longevity is the same information displayed a different way. Ignored if postbit alteration is "None"

No

1
User profile page statistics
Choose where to display a user's activity information in their profile page

BOTH


Enable Top Activity page
YES

Top Activity detects ties
NO

Display countdown to 100%
NO

WetWired
05 Dec 2008, 01:18
I don't see anything wrong with your settings. Nothing you have set should cause a continuous load increase. Again, what version of vB was it that you didn't have the problem with?
Also, I submit for your consideration that, as I said earlier, if your server's load average is usually at 5.00, your server is usually at 100% utilization already. Adding even a small amount of extra load to an overloaded server will just stack up and cause requests to take even longer. Maybe it's time to upgrade.
That said, there are significant changes between the vB3.0 and vB3.5 version of my mod to deal with hook locations, and it is possible that that is contributing.

dxflw
06 Dec 2008, 20:44
how do i remove the word OWNER?

WetWired
07 Dec 2008, 05:38
It's in the Rank and Promotions settings. The bottom option.

xyzmary2001
14 Dec 2008, 11:10
I have a problem - that may look really hilarious, but to me is quite difficult.

What in the world is "main CSS page" and where can I find Additional CSS Definitions? I adore this mod and I always get an error, I suspect because I didn't add the definition.

Please, help me even if the question is one of a beginner. Thanks!

WetWired
15 Dec 2008, 06:02
It's a selection on the dropdown next to the style name in the style manager. I doubt that not adding it would give you an error, though. If you are getting a JS error, it is due to the way that the mod tries to use JS to get arround the limitations of template hooks. If you turn off the display options that mention JS, it should get rid of the error.

Nadeemjp
15 Dec 2008, 08:27
wet wired
i would liek to suggest that in ur next upgrade, please give more options concerning the placement of the images. i love this hack and dont want to undo it. but it is alongwith other mods, occupying a lot of place in the vertical postbit, thus making the posbit too wide.

is it possible to move it in the center of the vertical postbit? i mean not on the left, not on the right (near the avatar), but in the center? so that the width of the vertical postbit is controlled a tad. if by doing it manually it is achieved, then please do let us know which codes should we add and where should we add, cause not all of us are professional coders:)

WetWired
15 Dec 2008, 13:22
I'm not sure I understand what you're trying to achieve. Can you throw together a mock-up in paint or some such?

Nadeemjp
16 Dec 2008, 01:33
The following is what i wanted to do:
https://www.vbulletin.org/forum/external/2008/12/25.png

Taking the activity display from the right side and putting it in the center of the postbit.
as u can see my postbit vertical width is too much wide. :( my users complain about it but neither i nor my users, want to get rid of these hacks and mods. we wanna use all of them.

WetWired
16 Dec 2008, 01:53
What you want is already built in. Choose "Alternate location" for automatic postbit alteration in Activity Display Settings. This is assuming you're using a horizontal postbit. If for some reason, the JS doesn't work, there is a file in the zip file detailing how to manually add the mod to your postbit after turning automatic alteration off.

Nadeemjp
16 Dec 2008, 07:16
i tried choosing alternate location, but the display didnt move.
but let me try out the description in the attached file. should i face any problem i will contact again

Nadeemjp
16 Dec 2008, 07:29
wetwired, i am sorry but i wasnt able to understand how to accomplish what i mentioned in my post above, even by viewing the attached description. for a non technical person like me it was very confusing. could you please guide me what to follow?

thanx

WetWired
16 Dec 2008, 15:03
Assuming you're only using the horizontal postbit, go to the bottom of that file, where it has the heading "Manual postbit modifications." You'll want to do the modifications for "postbit (alternate location)". You can open your postbit template for editing from the style manager, clicking the <<>> button next to the style to change, then finding the postbit template. Find each find section in the template (the template editor's search function my be of use), then add the insert block above or below that section as indicated. Click save to save the changes. At first, you will have the activity info in both places. Go into activity display settings and set Automatic postbit modification to none to remove it from the old location.

Nadeemjp
17 Dec 2008, 00:53
ok thanx. i managed according to instructions.
but the location after these changes is some what odd.
so these are the two template changes that i should do i mean change their location and see where it gets displayed?
because i still didnt get the block displayed in the middle of the horizontal postbit. it went to the extreme right of the postbit.:)

thanx for the guidance.

WetWired
17 Dec 2008, 04:33
Hmm, so it is. It's been a long time since I've had a forum with a horizontal postbit so I'd forgotten it was on the right. For the second insert, instead add it below
$template_hook[postbit_userinfo_left]

</td>
<td width="100%">&nbsp;</td>

hawspipe
17 Dec 2008, 17:50
Hi,
For some reason my users are not being promoted once the "promotion criteria" is being met at any level. Do have any suggestions where I should look? I have tried running the "Do Memberlevel Promotions" job but it still doesn't work.
Thank you

WetWired
18 Dec 2008, 14:03
Have you checked the users additional groups? The promotion system does not change their main group.
Also be sure you're entering the numerical ID of the group (displayed in the drop down on the right side in the usergroup manager).

MPDesignZ
25 Dec 2008, 14:19
Hi great hack I just have one problem. After installing the hack my adminCP left nav menu collapses and will not stay open. The "Save Prefs" link at the top does not seem to save the menu to the open position. Is there any way to solve this?

WetWired
26 Dec 2008, 06:47
Hmm. I'm not sure why it does that, but it seems to only do it if the activity settings is expanded when you save prefs.

MPDesignZ
26 Dec 2008, 07:46
OK I like to keep them all extended. Is there a possible fix for this?

WetWired
26 Dec 2008, 15:25
I'm sure it's possible to fix, but it won't be simple. For now, I suggest just leaving the activity settings minimized. Eventually, I'll get a chance to look at this in-depth.

MPDesignZ
26 Dec 2008, 23:07
I'm sure it's possible to fix, but it won't be simple. For now, I suggest just leaving the activity settings minimized. Eventually, I'll get a chance to look at this in-depth.

ok great, thanks.

xyzmary2001
28 Dec 2008, 14:06
It's a selection on the dropdown next to the style name in the style manager. I doubt that not adding it would give you an error, though. If you are getting a JS error, it is due to the way that the mod tries to use JS to get arround the limitations of template hooks. If you turn off the display options that mention JS, it should get rid of the error.

You are right, the error still appears, and probably it is because of Java Script, but I have o clue how can I get rid of it. I simply love this mod and I cannot use it. Where should I go to turn off the display options mentioning JS?!

Thank you very, very much!

WetWired
29 Dec 2008, 09:05
Either go into activity display settings and set postbit alteration to default and both options below it to no, or you can disable it per-style by removing the contents of the activity_postbit_epilogue template.

Sunka
01 Jan 2009, 11:48
Working very good.
Installed.
Thank you for creating this MOD!

caggla
02 Jan 2009, 15:31
I am trying to pick up the member of the month by their activities in the forums.
Old members have higher levels of rep and the new yet zealous ones can not catch up with them.

How can I set today's activity to this month's activity?

thanks & regards

WetWired
05 Jan 2009, 05:35
You can't. Today's activity is a relatively quick thing requiring no calculation, whereas once you involve multiple days that is no longer the case. If you want to guage a month's activity, why not just set the activity settings to consider 4 weeks?

darknusens
06 Jan 2009, 01:42
I have a question, when I put my mouse arrow over the user posts meter, all I get is an "S" Why is that? Can I fix it?

darknusens
06 Jan 2009, 01:44
oohh.. wait.. I see what it is... there all ssssss except for the number of posts I've done right?

darknusens
06 Jan 2009, 01:55
I just noticed that under my members user names it added, junior member, member, etc, how can I take this out?

WetWired
06 Jan 2009, 05:05
In order to be XHTML compliant, the images for the postcount use the digit designator as the alternate text. 's' is the digit designator for a space. You can always edit out the alt tags on the activity_statblock template if it bothers you.

WetWired
06 Jan 2009, 14:30
I just noticed that under my members user names it added, junior member, member, etc, how can I take this out?
It's in Rank and Promotion settings. Output Ranktext

simmer1974
09 Jan 2009, 13:29
Is there a way to count only the threads that people start en not the posts?
Some members reply to post to get higher activity instead of creating threads.

Thank you..

Nadeemjp
09 Jan 2009, 16:50
does this work with 3.8?

WetWired
09 Jan 2009, 22:57
Is there a way to count only the threads that people start en not the posts?
Some members reply to post to get higher activity instead of creating threads.

Thank you..
It would not be a simple change.

simmer1974
11 Jan 2009, 22:44
It would not be a simple change.

Maybe (and hopefully) i see this feature in the future :)

Even without that option i love this mod!

lostguy
12 Jan 2009, 02:33
This work with 3.8.0 ? Pls update it if posible so 3.8.0 can use it .

Sunka
12 Jan 2009, 08:41
does this work with 3.8?

Same question

steve1966
12 Jan 2009, 12:55
Same question


i am using it with 3.80 have not found any problems yet