vBulletin Modifications

Mods/admins make thread have no post count

Welcome to vBHackers.com! - vBHackers Updates:

Go Back   vBulletin Modifications > General vBulletin Section > vBulletin Modification Requests

Reply
 
LinkBack Thread Tools
Old 09-07-2004, 09:30 PM   #1
Coder
Join Date: Jul 2004
Keyser Söze is on a distinguished road

Default Mods/admins make thread have no post count

in my forum we have alot of threads like "post ur desktop" random pic thread and so on, and these are nothing but spam threads

and we have rewards for high post count and im sick of members spamming there way to hell just to get them

i would love LOVE to have a hack that i could make a thread have no post count, i know u can set a certain forum itself to not have any but i want to just be able to do it on a single thread (in the thread tools)


a bonus would be so that i could set old threads to not have any, and update the counters to remove ppls post count for that thread

thank you very much




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 09-09-2004, 07:43 AM   #2
Coder
Join Date: Aug 2004
Fury is on a distinguished road

Default

Hmm... just a thought here.
______

i only started to work on VB3 yesterday but ill give it a shot.
add this query to your forum DB
You must first be a registered member to view any code.
go to functions_newpost.php find
You must first be a registered member to view any code.
REPLACE $bbuserinfo['posts'] += 1; with
$thrd = $DB_site->query_first("SELECT * FROM thread WHERE threadid='$threadid'");
if ($thrd['countposts'] !=0) { // Count posts incase the V is off
$bbuserinfo['posts'] += 1;
}

Scroll down a bit, and you'll see $doposts = 'posts = posts + 1,';
replace it with

if ($thrd['countposts'] !=0) { // Count posts incase the V is off
$doposts = 'posts = posts + 1,';
}
__________

Now you have to add something like "Show Signature" in the thread to make it "UnPosts Count" or something like that.
As i said, im new at this, but this code will work (i hope)




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-09-2004, 12:33 PM   #3
Coder
Join Date: Apr 2004
Location: UK
ShavedApe is on a distinguished road

Default

oh i misread the first post and gave wrong info ignore this post ;)

Last edited by ShavedApe; 09-09-2004 at 12:36 PM.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ratio THREAD vs. POST aikanarov vBulletin Modification Requests 2 05-23-2005 11:21 PM
Exclude forum from post count CarpHunter vBulletin Modification Requests 3 05-17-2005 02:29 PM
Just got the Thread Count Hack by TouchingVirus Infamouz Nex General vBulletin Support 7 04-26-2004 01:38 AM
Mods and SMods cannot Physically remove a post or thread scsa20 vBulletin Modification Requests 2 04-21-2004 10:04 PM


All times are GMT -3. The time now is 01:38 AM.


SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc. (Patent Pending)