 |
 |
 |
 |
#311276 - 08/13/06 04:42 PM
Re: Posts do not count
[Re: AshtarRose]
|
Wizard
Registered: 01/10/00
Posts: 5133
Loc: Portland, OR, USA
|
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#312488 - 01/04/07 12:56 PM
Re: Posts do not count
[Re: ADWOFF]
|
Journeyman
Registered: 01/26/03
Posts: 127
Loc: bend, OR USA
|
Sue- If it is just one forum that you want to not have posts count, do this: /scripts/addpost.inc.php FIND:
$query = "
UPDATE {$config['TABLE_PREFIX']}USER_PROFILE
SET USER_TOTAL_POSTS = USER_TOTAL_POSTS + 1,
USER_TITLE = ?
WHERE USER_ID = ?
";
$dbh -> do_placeholder_query($query,array($UserTitle,$user['USER_ID']),__LINE__,__FILE__);
and change it to the following... but be sure to replace ENTERBOARDNUMBERHERE with the board number where you don't want post count to be increased.
$query = "
UPDATE {$config['TABLE_PREFIX']}USER_PROFILE
SET USER_TOTAL_POSTS = USER_TOTAL_POSTS + 1,
USER_TITLE = ?
WHERE USER_ID = ?
";
if($Board != ENTERBOARDNUMBERHERE){
$dbh -> do_placeholder_query($query,array($UserTitle,$user['USER_ID']),__LINE__,__FILE__);
}
|
|
Top
|
|
|
|
 |
 |
 |
 |
|
|