![]() |
i get this problem:
Total Posts: 999 (2.30 posts per day) Find all posts by n9com Find all threads started by n9com Forum Activeness Statisticsn9com is most active in the forum The Lounge with a total of 262 posts contributing to 0.03% of their total posts. But it works fine for another member in the US (i am in the UK) - dont know if this makes a difference: PostsTotal Posts: 2,145 (13.07 posts per day) Find all posts by ice Find all threads started by ice Forum Activeness Statisticsice is most active in the forum The Lounge with a total of 1159 posts contributing to 57.95% of their total posts. |
I've had this hack installed a while now and I've noticed that it doesn't appear for me when using Mozilla Firebird. I've tested it with Internet Explorer and Opera and it shows OK on those.
|
Nice.
*install* |
Fatal error: Call to undefined function: log_admin_action() in /pub/home/install_ufactive.php on line 200
|
Quote:
Quote:
Regards, g-force2k2 |
Updated the hack to v1.3
Basically all the update does is optimize the query for performance issues especially advised for larger boards so that the number of records that the database has to scan is decreased drastically. Download the attached txt and make the changes to the member.php. It's just one file modification, but it'll with it's increased performance it's worth it. Cheers, g-force2k2 |
Two things:
One: Quote:
[/high] I have found out why this is: Code:
<!-- vb3 User Forum Activeness Hack v1.0 -- Copyright g-force2k2 2004 //--> Use: Code:
<!-- vb3 User Forum Activeness Hack v1.0 : Copyright g-force2k2 2004 //--> Two: Quote:
|
I think the previous poster was right: the value of $userinfo['posts'] is not coming thru properly ... this is formatted using vb_number_format earlier in the member.ph file, so the value of $userinfo['posts'] is in fact a string now - not a number.
We're almost there: $userinfo gains it's values on (unedited) line 184 ... we just need to reverse the effect of vb_number_format on the value of $userinfo['posts'] ... |
Just a FYI: I created a debugging var
Code:
$_allposts = intval($userinfo['posts']); Quote:
Hmmmm ..... Ah - HAH! I checked another user just for interest's sake :) Quote:
Quote:
EDIT: Yup - Admin user-related ... Quote:
Found the bug ... dunno how to fix it ... :ninja: |
I received this error when trying to install:
Database error in vBulletin 3.0.0 Release Candidate 3: Invalid SQL: SELECT phrasetypeid FROM phrasetype WHERE fieldname='global' mysql error: Table '......_forums.phrasetype' doesn't exist mysql error number: 1146 Date: Wednesday 04th of February 2004 12:37:25 AM Script: http://.......com/acpanel/install_ufactive.php?step=5 Referer: http://.......com/acpanel/install_ufactive.php?step=4 Username: Dave IP Address: .............. This is a clean install of vB, minus a couple of very minor template changes. Any clue what could be going wrong? I got this after it attempted to update the language phrases. |
Quote:
Once you fix the install file you can carry on from the place you were. In fact, I outlined the correct code here: https://vborg.vbsupport.ru/showpost....2&postcount=32 It's the first part that corrects the install. |
Update to version 1.4 Below.
Upgrade 1.4 Details. -- Fixes Install and File Modification for forums that use the 'TABLE_PREFIX' Fixes one of the issues with browser compatablity Fixes another error with making $userinfo[posts] an number value again. Great thanks to "Natch" and "buro9" for helping me debug some of the issues, still working on the last issue though. Regards, g-force2k2 |
I must be an idiot. Thanks man. I've been modding on YaBB for a couple of years, but this was my first attempt to install a vB hack. Wouldn't you know I'd do something stupid. ;)
|
Applying Upgrade 4 gave me the following PHP error;
Quote:
Quote:
I'll give it the benefit of the doubt for now though as I'll be reapplying the whole hack from scratch soon when RC4 is released (friday apparantly). |
Quote:
I should learn to test my work before releasing updates, bad practice that I don't. updated the attachment above going to test it now, and run the actual installer updates and if RC4 has some major changes I will probably update again :p Cheers, g-force2k2 |
idem
PHP Code:
|
Socrate try re-downloading the upgrade4.txt, because it was updated and those changes are included in your sql.
Cheers, g-force2k2 |
Quote:
|
Yes that fix is much better, thankyou. :)
|
OK, new problem on RC4: Nothing shows in the table. You just see a border with no text in it. I'm going to try it all again tomorrow but I've just spent hours readding my hacks to my just-upgraded board.
EDIT: It turns out the hack is fine. I just needed to drop and redo steps 1 & 2. |
Is this interacting with total posts on the profile for anyone else? If I comment out this hack's code in member.php, it works fine, otherwise I get like post counts of 5 for members with thousands.
|
Quote:
PHP Code:
PHP Code:
g-force2k2 |
Great - thanks! That fixed the problem with post count. Still having a problem with the % though. (I get like 32600% even after the upgrades.)
Just another comment - would there be a way to exclude forums? :) |
Quote:
As for the high percentage that's the only bug that I am unsure of, but I will try and seek a fix, for some odd reason I never have gotten that percentage issue, but a few others addressed it and Natch tried to explain it on page four I believe. Cheers, g-force2k2 |
Yeah - it's only happening to my Administrators ...
|
Quote:
The following links show three profiles ... This one calculates ( (most active forum posts / 2 ) *100 ) and is an ex-moderator profile. This is my profile, and is calculating ( (most active forum posts/1) * 100 ). A regular user profile, calculating properly ( (most active forum posts/total user posts) * 100 ). |
Quote:
Would it be something like: Code:
WHERE t.forumid NOT IN ( " . implode ( ",", get_noaccess_forumids ( ) ) . " OR 'forumid==16' ) FYI - some (but not all) regular users are coming up with the weird percentages as well as admins. |
Quote:
PHP Code:
Cheers, g-force2k2 |
Ah that makes more sense lol - thanks hon! :)
|
Great Hack m8 :D
|
Quote:
I can also confirm the fix fixes the post count leaving just the percentage iffy. |
are those thousand posts also posted in hidden or restricted area's?
This hack works fine on my board tho... |
alright I just installed this and everything went fine
though I'm having similar problems to other people for most users, it seems those with 1000s+ posts their post count is cut off it seems to the first number for those with 1000s and the second number for those with 10000s (user with 13,000 is shown with post count of 13, user with 6,000 is shown with 6 posts) which in turn shows an insane % such as 60000% and so on. also seems users with 100s of posts everything shows up fine. I've gone through this thread and not sure on what fixes if any work to solve these problems. Would be a great hack if this was cleared up... |
up...
are the problems with this hack not going to be fixed? |
Quote:
i have this problem not only on administrator but also smod and normal user |
Quote:
Anyhow, your numbers are being formatted with commas... strip them out and it'll be fine :) It only happens with users who have more than 1,000 posts yeah? ;) |
yeah the problem is this but i can't find the error ;___;
|
Ah well, break vbulletin.org procedures to publish someone's code when he should be supporting, sigh.
Here is the solution :) You've got some code in member.php that is part of this hack... just below: PHP Code:
PHP Code:
PHP Code:
It's a great hack, and all of the solutions are in this thread... the author just hasn't kept track of it and rolled the bug fixes back into the installer to help everyone who has recently installed it. Anyhow, that should solve it. |
great! that fixed it. thanks
|
Thank you thank you thank you!
|
All times are GMT. The time now is 02:48 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|