Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Oct 2002
Posts: 105
ehm
Offline
Journeyman
Journeyman
Offline
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

Sponsored Links
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
ehm
Offline
Journeyman
Journeyman
Offline
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


Link Copied to Clipboard
Donate Today!
Donate via PayPal

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.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
JAISP
JAISP
PA
Posts: 449
Joined: February 2008
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)