Thread Like Summary
Morgan
Total Likes: 2
Original Post (Thread Starter)
by FREAK
FREAK
Here's a fun one............ is there a way to adjust a members post count without having to do it for all the members. I know you can do a rebuild of post counts for everyone but I don't want to do that.

I've made an area of the forum that requires x amount of posts before granting access and a few new members have made garbage posts to try to circumvent the process. I do not want to allow that type of behavior because that defeats the purpose of the intent.

Quality posts not bs posts with one word.
Liked Replies
by Ruben
Ruben
Correct , lets say you want member number 666 to have 1500 posts.

SQL Query
UPDATE `ubbt_USER_PROFILE` SET `USER_TOTAL_POSTS` = '1500' WHERE `ubbt_USER_PROFILE`.`USER_ID` = '666';

I have used this in the past where say I pruned a lot of posts and then ran the re-builders.
This will cause the members of the posts to loose some on their post count.
So usually the most active members complain.
Like "Hey I used to have 4500 posts now it shows 2500 posts".
So I appease them by modifying their post count back to what it was.
Of course it would be crazy to do say 6000 members one at a time.
Let alone know what there were supposed to be.
1 member likes this
by Gizmo
Gizmo
Well, you could just set their post count manually through a database query:
SQL Query
UPDATE `ubbt_USER_PROFILE` SET `USER_TOTAL_POSTS` = 'numberofposts' WHERE `ubbt_USER_PROFILE`.`USER_ID` = 'uid';
1 member likes this
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
spam issues
by ECNet - 03/19/2024 11:45 PM
Who's Online Now
2 members (ahmed047, Nightcrawler), 615 guests, and 132 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)