|
|
Joined: Oct 2002
Posts: 105
Journeyman
|
Journeyman
Joined: Oct 2002
Posts: 105 |
I'm using the IIP6.5 and few days ago I had to remove many posts from one expecific user. Under UBB the current post count is already set to the right number, but on IIP it still showing the larger number and he is on the 'Top 10' users. How can I remove him from there? Thank you
|
|
|
|
Joined: Oct 2003
Posts: 2,305
Old Hand
|
Old Hand
Joined: Oct 2003
Posts: 2,305 |
in the w3t_Users table his U_TotalPosts is still probably high
|
|
|
|
Joined: Oct 2002
Posts: 105
Journeyman
|
Journeyman
Joined: Oct 2002
Posts: 105 |
[]scroungr said: in the w3t_Users table his U_TotalPosts is still probably high [/]
Maybe is something else. That was the first thing I manually reduced to '8'. THere is any other table that si being checked?
THank you
|
|
|
|
Joined: Oct 2003
Posts: 2,305
Old Hand
|
Old Hand
Joined: Oct 2003
Posts: 2,305 |
well heres the complete query $query = " SELECT COUNT(*) as total,t1.B_PosterId,t2.U_Username FROM {$config['tbprefix']}Posts AS t1, {$config['tbprefix']}Users AS t2 WHERE t1.B_PosterId = t2.U_Number AND t2.U_Number > 1 $dayssearchlimit $limit GROUP BY B_PosterId ORDER BY total DESC LIMIT 0,$topposters "; $sth = $dbh -> do_query($query,__LINE__,__FILE__); and looking at that there must be more threads than what your couning.. and there is no way to disbale that per board basis...so am wondering run this query and see what you come up with SELECT COUNT(*) as total,t1.B_PosterId,t2.U_Username FROM w3t_Posts AS t1, w3t_Users AS t2 WHERE t1.B_PosterId = t2.U_Number AND t2.U_Number = '<number of the user>' GROUP BY B_PosterId ORDER BY total DESC
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 5,833
Joined: January 2000
|
|
Forums63
Topics37,573
Posts293,925
Members13,849
|
Most Online5,166 Sep 15th, 2019
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|