Previous Thread
Next Thread
Print Thread
Hop To
#183015 04/22/2007 3:40 PM
Joined: Aug 2004
Posts: 490
Likes: 2
Addict
Addict
Joined: Aug 2004
Posts: 490
Likes: 2
I have a situation where one of my users has had a long-standing dispute with someone who is about to be added as a forum admin.

Overall there is a request to erase or alter the IP of that user to 9.9.9.9 for instance for his entire posting history.

What is the sql command to do that? Because if I don't agree he wants all his posts erased and I don't want it to some to that...

Joined: Aug 2006
Posts: 1,360
Likes: 2
Y
Veteran
Veteran
Y Offline
Joined: Aug 2006
Posts: 1,360
Likes: 2
UPDATE ubbt_POSTS SET POST_POSTER_IP = "9.9.9.9" WHERE USER_ID =100000

Set the 10000 to the user id of that user.

Don't forget to also look in the database at the user tables to erase IP's there. You can simply do that with phpmyadmin or alike.


[Linked Image from siemons.org]
Yarp #183021 04/22/2007 6:32 PM
Joined: Jun 2006
Posts: 16,532
Likes: 150
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,532
Likes: 150
You know, if the user who's to become an admin can't put "beef" behind him and act accordingly with the power you're bestowing upon him... he doesn't have the maturity to handle it imo...

I also think you'll have a lot more to worry about than him finding the guys ip...
1. He can "become" the user, read his pm's, post as him, etc.
2. He can remove the user.
3. he can prune posts of the user.
4. he can otherwise make that user's life hell...

Last edited by Gizmo; 04/22/2007 6:34 PM.

I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Gizmo #183029 04/22/2007 7:23 PM
Joined: Jul 2006
Posts: 4,057
Joined: Jul 2006
Posts: 4,057


Valid points there Gizmo !


BOOM !! Version v7.6.1.1
People who inspire me Isaac ME Gizmo
Joined: Aug 2004
Posts: 490
Likes: 2
Addict
Addict
Joined: Aug 2004
Posts: 490
Likes: 2
Thanks guys. I will probably make this person just a moderator with the ability to edit users, but he will still be able to view IP addresses...

So is this the exact command which I should type:

UPDATE ubbt_POSTS SET POST_POSTER_IP = "9.9.9.9" WHERE USER_ID =100000

Or do I need a space between {=} and {100000} ?

Also I have to put the IP in parenthesis, say "9.9.9.9" , but not the user ID, right?

Joined: Jun 2006
Posts: 16,532
Likes: 150
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,532
Likes: 150
you need ""'s to signify the start and end of content as there are .'s in the line, you don't need ""'s on the userid as there is no additional information.

If you want to get ultra anal with a query then:
UPDATE `ubbt_POSTS` SET `POST_POSTER_IP` = '9.9.9.9' WHERE `USER_ID`='100000';


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
PHP 8 bug in membermanage.tmpl
by phoenix011235 - 09/08/2026 7:47 PM
Are any of these legitmate?
by Baldeagle - 09/06/2026 1:37 PM
8.0.1 Patch Changelog Discussion
by isaac - 11/26/2025 1:34 PM
Upgraded to ver8 - now can't login
by phoenix011235 - 10/24/2024 8:50 AM
Who's Online Now
0 members (), 407 guests, and 105 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Ride safe!
Ride safe!
by Morgan, December 7
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260527)