View Full Version : Increase post count of all memebers
abdulbasitsaeed
09-20-2009, 12:02 AM
Hi everyone!
I want to increase the post count of all the members on my forums (as a gift). I know that it can be done manually, user by user. But is there any way to do it on a global level, i.e. for all members altogether without editing every member's profile in the Admin Control Panel?
Any input would be appreciated.
Adrian Schneider
09-20-2009, 12:23 AM
You can run the following query to add 10 posts to every member in the database:
UPDATE user
SET posts = posts + 10
Change 10 to however many posts you want to increment their records by.
abdulbasitsaeed
09-20-2009, 12:43 AM
Thank you very much for your prompt response, SirAdrian. :)
Just so that I'm clear on this, I am supposed to run this code in the "Execute SQL Query" option in the Admin Control Panel, right?
And I'm supposing it shall have to be executed in the Manual Query box, right?
Adrian Schneider
09-20-2009, 01:17 AM
Yes.
AdminCP > Maintenance Tab > Execute SQL Query
Paste it in the box and submit. You may have to also add a table prefix before 'user' if you have one configured. :)
abdulbasitsaeed
09-20-2009, 01:24 AM
Thank you once again, sir! :)
I'll hopefully get back to you on this.
--------------- Added 1253465949 at 1253465949 ---------------
Just wanted to let you know that it worked like a piece of cake!
Thank you, my friend. :)
abdulbasitsaeed
09-21-2009, 01:27 AM
Another question...well, I was thinking if I could increase the reputation level of all members instead of increasing the post count.
Is it possible to execute an SQL query like above to do so? :)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.