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)
-   -   Add current post counter to each post! (https://vborg.vbsupport.ru/showthread.php?t=33052)

Tommy Boy 12-16-2001 05:42 PM

You should update the users' post counts in the admin control panel.

FWC 12-16-2001 05:48 PM

[QUOTE]Originally posted by Tommy Boy
You should update the users' post counts in the admin control panel.

Tommy Boy 12-16-2001 06:06 PM

My pleasure! :D

Tommy Boy 12-17-2001 09:46 PM

Screenshot of version 2.0's integration in the Admin control panel...

FWC 12-17-2001 10:18 PM

The download link in the first message is no good. It's a link to the first message again. :)

Tommy Boy 12-17-2001 10:26 PM

Actually, it links to post #15 in this thread, but sometimes browsers don't like to "jump" to an internal anchor for some reason... So just go there yourself, and download it. :p

To upgrade from an early version, just apply the changes to the admin/misc.php file.

Let me know how you like it, considering you're 33% of my users of this hack! ;)

FWC 12-17-2001 10:33 PM

[QUOTE]Originally posted by Tommy Boy
Let me know how you like it, considering you're 33% of my users of this hack! ;)

FWC 12-18-2001 01:19 AM

Tommy, I installed the upgrade on both my public and test boards. I just tried it out on the test board. Very nice! Good job. :D

Sadie Frost 12-18-2001 12:19 PM

Okay, yet another really stupid question from me - was there supposed to be an update-post-counters.php file in the download? Cause I can't find it in my files anywhere and I only received a text file in the download.

I'm asking cause when I was installing and went to update my post counters, I got this database error:

Database error in vBulletin Control Panel 2.2.1:

Invalid SQL: SELECT postcount FROM post LIMIT 1
mysql error: Unknown column 'postcount' in 'field list'

mysql error number: 1054

If I try to go into update counters again, I get a parse error in my misc.php file at line 433 which is part of the following:
Quote:

$deletethreads=$DB_site->query("SELECT threadid FROM thread WHERE title='".addslashes($thread[title])."' AND forumid=$thread[forumid] AND postusername='".addslashes($thread[postusername])."' AND dateline=$thread[dateline] AND threadid>$thread[threadid]");
Can anyone help? Thanks :)

pipi 12-18-2001 03:02 PM

got same error...do we need update-post-counters.php file ?? where to download it??


All times are GMT. The time now is 01:47 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
  • Page Generation 0.01083 seconds
  • Memory Usage 1,729KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete