vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=328224

Stop post count from increasing
by DemonicInu
13 Sep 2020 12:31

I know it's possible on older vb's (well if I remember right) but i'm not seeing a option to leave users post in a forum while this post count stays the same. I want to have a spam section on my forum where users can pretty much post w/e but I don't want their post going up, is that possible?

Mot235 14 Sep 2020 13:08

this is not possible within the settings. Only possible through changing of the core files.

There are no resources on this that I could find, but I was able to achieve this by changing the content.php in the vb library, and the misc.php in the admincp.

I also don't know if its the best way to handle it, but it works, but unless you are willing to make such changes, it's not an option.

Mot235 05 Feb 2021 12:28

Welp after some time and becoming a little bit more comfortable with things I thought I'd share this in case anyone else is interested. Maybe someone smarter than me or more knowledgeable than me could turn this into a mod one day.

I created this area to remind myself and all others that before we do any updates to BASE VB5, that certain items will be OVERWRITTEN, if not kept track of because at this point. We are modding core backend files and many templates have been modified.

1. Feature to prevent post increment. Two locations
core\admincp\misc.php lines 290-326

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

core\vb\library\content.php
line 1003
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

lines 1212-1215
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


How this modification works

Spam world has a set nodeid of 269. In misc.php there exists tools that will go through and fix user post counts by looking for the criteria in that select statement. updated the sql statement to exclude nodes made under spam world which will all have a parentid relating back to the the main spamworld nodeid.


for content entry, somehow I found out that any "nodes" made under spamworld were assigned a routeid of 229 in the database and wrapped post increments to only increment after it checks for a routeid not equal to 229.

To find the routeid needed to check for, I basically made a channel, and then started spamming and then looked in the node table to find out if there was any common thing i could filter by.


All times are GMT. The time now is 01:25.

Powered by vBulletin® Version 3.8.14
Copyright © 2021, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.