Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
5 registered (Ruben, Stan, SteveS, tradge, Pilgrim), 46 Guests and 14 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 12/20/03
Posts: 4423
Top Posters (30 Days)
Ruben 51
DennyP 24
Gizmo 23
Dunny 17
SteveS 14
AllenAyres 12
SD 10
dbremer 10
drkknght00 9
driv 8
Latest Photos
OK Corral Shoot Out
Testing
Basildon Train Station
Basildon Town Centre looking from the rounderbout
Basildon Town Square
Topic Options
#183015 - 04/22/07 03:40 PM Editing IP records
Conrad Offline
addict
Registered: 08/04/04
Posts: 425
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...
Top
Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
#183017 - 04/22/07 03:50 PM Re: Editing IP records [Re: Conrad]
Yarp™ Offline
Registered: 08/30/06
Posts: 1513
Loc: Breda, NL
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.
_________________________
Top
#183021 - 04/22/07 06:32 PM Re: Editing IP records [Re: Yarp™]
Gizmo Offline

Registered: 06/05/06
Posts: 14994
Loc: Portland, OR; USA
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...


Edited by Gizmo (04/22/07 06:34 PM)
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#183029 - 04/22/07 07:23 PM Re: Editing IP records [Re: Gizmo]
Mark S Offline
Carpal Tunnel
Registered: 07/04/06
Posts: 4447
Loc: Liverpool : England : UK


Valid points there Gizmo !
_________________________
Version v7.5.6 smile smile < Threads satisfaction status
People who inspire me Rick Gizmo Ian David jgeoff ntdoc
Oooo i hear 8 is coming? just after 7 my friend.
Top
#183068 - 04/23/07 04:35 PM Re: Editing IP records [Re: Mark S]
Conrad Offline
addict
Registered: 08/04/04
Posts: 425
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?
Top
#183075 - 04/23/07 08:28 PM Re: Editing IP records [Re: Conrad]
Gizmo Offline

Registered: 06/05/06
Posts: 14994
Loc: Portland, OR; USA
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';
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top



Moderator:  AllenAyres, Harold, Ian, Ron M 
Shout Box

Today's Birthdays
No Birthdays
Recent Topics
Temporary Password email not being received
by
05/24/12 10:02 PM
Ability to "like" individual posts (not Facebook "likes)
by doug
05/23/12 09:03 AM
Island Permissions
by ThreadsUser
05/22/12 03:03 PM
streaming video
by prkrgrp
05/20/12 07:02 PM
New Posts Corrupted? Can someone help?
by PianoWorld
05/19/12 09:41 AM
Forum Stats
10489 Members
36 Forums
33841 Topics
181706 Posts

Max Online: 978 @ 06/24/07 11:19 PM
Random Image