vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Counters and post counts do not reduce! - Now with addon for member count![v1.1] (https://vborg.vbsupport.ru/showthread.php?t=45158)

N9ne 10-28-2002 10:00 PM

Counters and post counts do not reduce! - Now with addon for member count![v1.1]
 
HACK UPDATE!

If you had this hack installed previously, (before the 24th of November, 2002), UNINSTALL it, by looking at this attachment: https://vborg.vbsupport.ru/attachmen...&postid=315867

After you've uninstalled it, look at this attachment and apply the changes relevant: https://vborg.vbsupport.ru/attachmen...&postid=325308



If you are installing this for the first time, CLICK HERE!


Enjoy.

Update: 1st December 2002:

I have created an addon for this hack which means that when a member is deleted, the counter on forumhome will not decrease.

https://vborg.vbsupport.ru/attachmen...&postid=326823

That is the attachment, only one modification to index.php required...it is in beta stages, if you find any bugs, please reply to this thread, however I don't think there will be any :) as I have tested it and it seemed to work.

Chris M 10-29-2002 02:46 PM

Although it is good, I wont use it at my boards...

I feel it is just a way to:

a.) Promote mass spammers - if their posts are deleted, their Post Count doesnt go down? That wont deter them;)
b.) Promote how great your board is - If the posts dont go down, and a user looks in the board and finds like 3 threads and 20 posts when it says hundreds, or a user has now only 30 posts, but it says he has 130 etc, it looks bad, as if you are faking the counts...

Satan

N9ne 10-29-2002 02:59 PM

Ah but hellsatan, wouldn't you hate it if your post count went down :p

Chris M 10-29-2002 03:25 PM

Not really...

It would be an accurate reflection of the posts I have made...

I dont cheat the system, just spam it;)

Satan

N9ne 10-29-2002 03:29 PM

LoL but do you ever prune :p

With my forum, 90k posts, I can't be bothered to backup the DB daily, so it's gonna be pruned eventually ;)

Chris M 10-29-2002 03:35 PM

I havent pruned it yet, but my DB isnt large enough for me to warrant pruning...yet;)

Satan

desi 10-29-2002 03:54 PM

Thanks N9ne ...

thats was fast i posted in the other forum amd u had the hack ready LOL

testing it right now :)

cheers

JulianD 10-30-2002 03:31 AM

Hey thanks N9ne. It's always good to have a hack like this. :)

FFMania 10-30-2002 08:44 AM

Nice Hack Dude...I really need something like this ;)

xware 10-30-2002 12:19 PM

It should be this:
PHP Code:

$countthreads=$DB_site->query_first('SELECT MAX(threadid) AS threads FROM thread'); 


N9ne 10-30-2002 12:32 PM

What's in the .txt file works for me though :confused:

Dynamic One 11-10-2002 04:26 PM

Thanks for this hack m8. Now I can delete the old post I don't need anymore :).

N9ne 11-24-2002 05:34 PM

Ok I've noticed a bug in this hack which means it does not work.

I have a fix for it, it requires modifying index.php and member.php (you only need to modify member.php if you have the "percentage of total posts" hack installed, and do not worry, even if you have pruned and the counters have reduced on forumhome, they will shoot back up ;)

I don't have enough time to post the fix right now, but I'll post it in 30-60 mins.

N9ne 11-24-2002 06:16 PM

<font size="4">Hack update! v1.1 released!</font>

If you had already installed this hack, go to the attachment in the first post, and undo the changes. Then look at the v1.1 attachment below, and apply the changes.

Chris M 11-24-2002 06:40 PM

Nice:)

Satan

350Chevy 11-29-2002 12:11 AM

didn't work in 2.2.9.. dunno..

N9ne 11-29-2002 05:41 PM

it SHOULD work in 2.2.9...as I don't think they changed the code pertaining to what I'm editing?

Could you be more specific as to why it didn't work? Give me details.

350Chevy 11-30-2002 06:15 AM

hmm, Well... I upgraded from phpBB to vB.. I currently have 43,046 posts and 3,860 threads. But the forum software is showing 150,766 posts and 13,628 threads....???

At any rate, I've had to add post counts to quite a few users who who earned them on the previous board or the board prior to phpBB (the board has been through hell, UBB to Hebb to phpBB and now vB.. lol). When I ran the Update Thread Info under Update Counters in the CP, the thread numbers were still off and the users post counts that I've added have disappeared.

I'm guessing something with the dB maybe corrupt when I upgraded from phpBB to vB. I've searched the dB and see no problems though I do notice my forums are numbered quite high. IE. instead of the forum ID's numbered 1-15 or whatever, they're numbered 86-107? Also the post ID's are numbered very high (in the 100,000 range.)

I'm stumped... It's not that great of a deal. The board works and the numbers are not that noticable. It's just one of those quirks you wish were fixed. hehe.. ;)

N9ne 11-30-2002 11:10 AM

What this hack does is take the MAXvalue from the DB...there are entries in the DB for posts, and it will assign numbers to them, so it's going to display the total posts posted, it will take the latest entry to the DB for posts, and take that number and display it...

Legacy 11-30-2002 04:49 PM

How about MEMEBRS Count?
Had a incident where 600 members got removed so the count went down by 600 members

N9ne 11-30-2002 10:40 PM

I'll look into members count.

N9ne 11-30-2002 10:52 PM

This is tested, but not tested much, it may have bugs...AFAIK it works, I added a member from adminCP, then removed it, then added another, so that meant there were 2 members in the DB, but it showed 3 for total members on forumhome, so that meant it worked...test it out though, come back here if there are bugs!

attached:

350Chevy 11-30-2002 10:53 PM

Quote:

Originally posted by N9ne
What this hack does is take the MAXvalue from the DB...there are entries in the DB for posts, and it will assign numbers to them, so it's going to display the total posts posted, it will take the latest entry to the DB for posts, and take that number and display it...
Gotcha. Thanks for the explanation. Like I said it was no big deal, I was just hoping your hack would keep members posts that I've corrected. :)

They can deal with it. :cool:

Legacy 12-02-2002 10:34 PM

Quote:

Originally posted by N9ne
This is tested, but not tested much, it may have bugs...AFAIK it works, I added a member from adminCP, then removed it, then added another, so that meant there were 2 members in the DB, but it showed 3 for total members on forumhome, so that meant it worked...test it out though, come back here if there are bugs!

attached:

Thank You ...Working fine..no problems in the last few days.

Thanks...I do appreciate your help

N9ne 12-03-2002 04:54 PM

No problem :)

Everyone please remember, click install if you install this hack because you will then receive updates of important updates, such as the 1.1 update that was recently released for this hack...that was very important...and click install because I then know people use my hacks ;)

corsacrazy 01-16-2003 06:02 PM

AHHHhhhhhhh i done it and the counters DID reduce :( looks empty now :( i installed it all correctly ps was i ment 2 update counters after ? is there a way i can put it back how it was b4 my prune ?

N9ne 01-16-2003 07:51 PM

Sounds like you installed v1.0, and not v1.1

Look at my first post, and follow the instructions at the top in the red.

Once you install v1.1, the count will come back.

The General 05-11-2003 09:38 AM

Excellent hack, works like a charm!

Cheers...

iggy123 06-05-2003 09:43 PM

this doesnt seem to work with 2.3.0

Julie 03-26-2005 09:06 PM

I realise that the last post from this topic is from Jun 6th 03, but does this one work in 3.0.7? Or is there a way to make it work? Thanks :)

Marco van Herwaarden 03-26-2005 09:50 PM

This will not work on vB3, it is a hack for vB2.

vB2 and vB3 have too many internal differences for hacks to work from one version to the other.

Julie 03-26-2005 10:18 PM

Damn, because I could really use this :P But thanks for the reply! :)

Bro_Joey_Gowdy 08-14-2005 08:38 PM

Quote:

Originally Posted by Julieh
I realise that the last post from this topic is from Jun 6th 03, but does this one work in 3.0.7? Or is there a way to make it work? Thanks :)

This would be useful to have for vb3.5.0...

:nervous:

Marit 06-11-2006 07:53 AM

I would love to have this for v 3.5.4 :)


All times are GMT. The time now is 04:46 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01241 seconds
  • Memory Usage 1,781KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (34)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete