YAFLogo

plasticman
  • plasticman
  • 53.4% (Neutral)
  • YAF Forumling Topic Starter
13 years ago
Hi guys,

I want to set all users e-mail address property to @mypostdomain.com.

What's the easiest way to do it?
Do I get it right that users can't edit this property at thier profiles by themselves?
Sponsor

mjhufford
13 years ago
A SQL query is going to be your best bet. UPDATE yaf_Users SET Email = NickName + "@MyPostDomain.com" Double check your field and table names. You may also want to do a TRIM on nickname or a REPLACE if you're allowing spaces.
raveendraagautam
13 years ago
mjhufford wrote:

A SQL query is going to be your best bet. UPDATE yaf_Users SET Email = NickName + "@MyPostDomain.com" Double check your field and table names. You may also want to do a TRIM on nickname or a REPLACE if you're allowing spaces.



Thanks for this information

Aquarius communications 

YAF Logo Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved
About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button