Previous Thread
Next Thread
Print Thread
Hop To
Joined: Aug 2013
Posts: 7
S
stranger
stranger
S Offline
Joined: Aug 2013
Posts: 7
Hi,

We've got a user who for one reason or another wishes to change the registration email address associated with his account. I notice that this field isn't editable in the control panel. Is this possible to do at all? With a SQL query perhaps?

Thanks. smile

Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
Generally there isn't much reason to change said field as it's just an indication of who they where when they registered (hence why it isn't editable); it's only really listed in the CP for the admin. If you are dead set on changing it you'll need to do so with a MySQL editing tool such as PHPMyAdmin.


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, Scouters World
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!
Joined: Aug 2013
Posts: 7
S
stranger
stranger
S Offline
Joined: Aug 2013
Posts: 7
Yeah, he's concerned about it being used to identify him in the unlikely event of a lawsuit or something. I'm not entirely sure what it's all about.

I just thought it seemed like something that *might* be doable so I was looking into it for him.

Unfortunately I don't have access to the PHPMyAdmin, only the CP. So I was hoping it would be something I could do from the SQL command page, maybe something like this totally made up example:

Code
update ubb_USER_PROFILE set USER_REGISTRATION_EMAIL='fake@fake.com' where USER_ID='1234'

But I gather it's not that easy?




Last edited by SarsenLintel; 01/04/2014 12:48 AM.
Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
You could do:
Code
UPDATE `database`.`ubbt_USERS` SET `USER_REGISTRATION_EMAIL`= 'user@domain.tld' WHERE `ubbt_USERS`.`USER_ID`=1234;


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, Scouters World
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!
Joined: Aug 2013
Posts: 7
S
stranger
stranger
S Offline
Joined: Aug 2013
Posts: 7
Thanks.

Upon reflection I'm thinking perhaps I shouldn't be poking around there with my near total lack of knowledge, I'll pass the user's concerns and the above SQL command on to our owner and he can send it on to the sysadmin if he thinks it worthwhile.

Thank you for the information. smile

Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
It's just a trivial piece of data that really has no meaning; I'd advise against just running queries just for the sake of aesthetics that only people with admin access will ever see... but, at the same time I realize these things matter to some people, and it's not my site...


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, Scouters World
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!
Joined: Jul 2006
Posts: 4,057
Joined: Jul 2006
Posts: 4,057
Originally Posted by SarsenLintel
Hi,

We've got a user who for one reason or another wishes to change the registration email address associated with his account. I notice that this field isn't editable in the control panel. Is this possible to do at all? With a SQL query perhaps?

Thanks. smile


Re register under new name and new email address.
Merge users.

I think that's how i have done it in the past. its been a while. But its not as scary as sql.
Try a test run on 2 accounts keeping an eye on what account keeps what. (Email Addresses).


BOOM !! Version v7.6.1.1
People who inspire me Isaac ME Gizmo
Joined: Aug 2013
Posts: 7
S
stranger
stranger
S Offline
Joined: Aug 2013
Posts: 7
Ha, that's great. I've never needed that before, so I totally forgot about that option, but it works perfectly. Talk about missing the forest for the trees. facepalm

Thanks. smile


Link Copied to Clipboard
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
Is UBB.threads still going?
by Aaron101 - 04/01/2022 8:18 AM
Who's Online Now
4 members (Nightcrawler, Outdoorking, Ruben, 1 invisible), 872 guests, and 274 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)