FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » Allowing only particular domain email registrations
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Allowing only particular domain email registrations [message #162275] Tue, 20 April 2010 06:20 Go to next message
tinkuforyou is currently offline  tinkuforyou   India
Messages: 16
Registered: February 2010
Location: India
Karma: 0
Junior Member
Hi,

I am curios about knowing about , Is there any feature that we can allow the user to register form a particular domain...

For ex :- i would like to get the users those who have gmail account only

if some other user i.e abcdef(at)yahoo(dot)com shouldn;t be allowed to register.


Thanks
Manoj
Re: Allowing only particular domain email registrations [message #162279 is a reply to message #162275] Tue, 20 April 2010 17:49 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
Yes, you are in luck. For details, please read E-mail Filter.
Re: Allowing only particular domain email registrations [message #162286 is a reply to message #162279] Wed, 21 April 2010 05:10 Go to previous messageGo to next message
tinkuforyou is currently offline  tinkuforyou   India
Messages: 16
Registered: February 2010
Location: India
Karma: 0
Junior Member
thanks naudefj .. so if i want to allow only the "@manoj.kumar.com and @tinku.manoj.com"" then i have to use the following regular expressions .

#.*@(manoj\.kumar\.com|tinku\.manoj\.com)$

Please correct me if i am wrong?


Thanks
Manoj
Re: Allowing only particular domain email registrations [message #162288 is a reply to message #162275] Wed, 21 April 2010 07:10 Go to previous messageGo to next message
tinkuforyou is currently offline  tinkuforyou   India
Messages: 16
Registered: February 2010
Location: India
Karma: 0
Junior Member
i tested but it is not working Sad

I am not able to find the way out Rolling Eyes

please let me know which is the correct reg.exp to be used ?


Thanks
Manoj
Re: Allowing only particular domain email registrations [message #162290 is a reply to message #162288] Wed, 21 April 2010 07:54 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
OK, the '#' is no longer needed and was removed from FUDforum some time ago (because a standard regex will do). The documentation is thus outdated. I'll rewrite it later and also add a couple of examples.
Re: Allowing only particular domain email registrations [message #162291 is a reply to message #162290] Wed, 21 April 2010 09:15 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
The documentation was updated. Note that you can use a standard Negative Look Ahead regex to allow certain E-mail addresses and block all others.
Re: Allowing only particular domain email registrations [message #162295 is a reply to message #162291] Wed, 21 April 2010 12:17 Go to previous messageGo to next message
tinkuforyou is currently offline  tinkuforyou   India
Messages: 16
Registered: February 2010
Location: India
Karma: 0
Junior Member
Yep it is working ! Thanks naudefj Smile

Thanks for giving early response


Thanks
Manoj
Re: Allowing only particular domain email registrations [message #162296 is a reply to message #162295] Wed, 21 April 2010 12:22 Go to previous messageGo to next message
tinkuforyou is currently offline  tinkuforyou   India
Messages: 16
Registered: February 2010
Location: India
Karma: 0
Junior Member
Knocking you again Sad

If i change this value then it is applicable to existing user also ? it this is the correct behaviour because of this i am not able login as the admin too .


Thanks
Manoj
Re: Allowing only particular domain email registrations [message #162297 is a reply to message #162296] Wed, 21 April 2010 12:28 Go to previous message
tinkuforyou is currently offline  tinkuforyou   India
Messages: 16
Registered: February 2010
Location: India
Karma: 0
Junior Member
I updated the email from the database and it is working .



Thanks
Manoj
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Password Retrieval and global settings changes
Next Topic: ID For Messages to Move
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 23 08:16:28 GMT 2024

Total time taken to generate the page: 0.02729 seconds