vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Posting in specific forums you specify deducts or adds to post count (https://vborg.vbsupport.ru/showthread.php?t=59932)

lazytown 02-08-2005 10:45 PM

Is there any way to make this work with the rebuild options? So it can apply retroactively? I wanted something that would have fractional post counts for off-topic forums, etc. But it can still be done with whole numbers by just multiplying everything.

-V

oldfan 02-09-2005 12:40 AM

Sorry but I'm confussed...
I have a spam forum, #20
to remove a 1 from they're post count I have to...

if ($foruminfo['forumid']==20)
{
$doposts = 'posts = posts - 1,';

??
thanks

oldfan 02-10-2005 04:11 AM

bump :)

Erwin 02-10-2005 09:49 AM

Quote:

Originally Posted by oldfan
Sorry but I'm confussed...
I have a spam forum, #20
to remove a 1 from they're post count I have to...

if ($foruminfo['forumid']==20)
{
$doposts = 'posts = posts - 1,';

??
thanks

Correct, except you forgot a } at the end. :)

Paul M 02-10-2005 11:02 AM

How well does vB handle negative posts counts ?

oldfan 02-10-2005 03:01 PM

Doesn't seem to do anything :/ on 3.06

Erwin 02-11-2005 01:15 AM

Quote:

Originally Posted by oldfan
Doesn't seem to do anything :/ on 3.06

I'll check when I find time to see if the code in 3.0.6 has changed.

oldfan 02-12-2005 11:28 AM

Quote:

Originally Posted by Erwin
I'll check when I find time to see if the code in 3.0.6 has changed.

thank you :)
Just so you know, when I installed it..
The post count didn't change when I posted in ANY forum.

ZombieAndy 02-17-2005 02:54 PM

Quote:

Originally Posted by oldfan
thank you :)
Just so you know, when I installed it..
The post count didn't change when I posted in ANY forum.

can this be based on a userID or usergroup rather than forumID? and is there a way it can be set in the admin cp?

Erwin 02-17-2005 09:43 PM

Quote:

Originally Posted by YodaTheCoda
can this be based on a userID or usergroup rather than forumID? and is there a way it can be set in the admin cp?

I'll modify this hack to do this via the Admin CP. :) Wait for it...


All times are GMT. The time now is 02:55 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.01590 seconds
  • Memory Usage 1,726KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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