Home Private Messages Search
CPG Dragonfly™ CMS Dedicated Server & Bandwidth Sponsored by DedicatedNOW
Toggle Content
 
Forums ⇒ CMS (All) ⇒ Requests :: Archives ⇒ allow users to login using their email or their nickname :: Archived


allow users to login using their email or their nickname :: Archived
Requests for core changes must be submitted through the Projects Features section.
Go to page 1, 2  Next
This forum is locked: you cannot post, reply to, or edit topics.    This topic is locked: you cannot edit posts or make replies.    Printer Friendly Page     Forum Index ⇒  Requests

Topic Archived View previous topic :: View next topic  
Author Message
brownas98
Nice poster
Nice poster

Offline Offline
Joined: Jan 13, 2005
Posts: 114
Location: Rio de Janeiro
PostPosted: Mon Sep 26, 2005 12:44 am
Post subject: allow users to login using their email or their nickname

hi,

just an idea because on my old site which i am moving to dragonfly at the moment i allow people to login using either their nickname(i call this username) or the email which they registered with.

i found that about 80% of users actaully use their email to login, maybe because they have so many different nicknames on various sites(could also apply to having maybe different emails address i suppose).

just a thought, eventually i will be doing this but i think its a good feature and would be much better if it was included as then people would not have to hack the code every time the files where updated.

thanks for listening

_________________
•●••●••●••●••●••●••●•๑۩۞۩๑•●••●••●••●••●••●••●•
Reality checks don't bounce

brownas98's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
XP Pro/Apache 2/MySQL 5.0.18-nt/PHP 5.1.2/Dragonfly CVS/phpMyAdmin 2.7.0-pl2


Last edited by brownas98 on Mon Sep 26, 2005 8:02 am; edited 1 time in total
Back to top
View user's profile Visit poster's website MSN Messenger Photo Gallery
run0
Supporter
Supporter

Offline Offline
Joined: Jun 28, 2004
Posts: 1559

PostPosted: Mon Sep 26, 2005 4:56 am
Post subject: Re: allow users to login using there email or their nickname

sounds like a good idea to me, what happens if there are two people that use one email address though?


run0's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/1.3.33 (Unix)/4.0.22-standard/4.3.9/DF 9.x
Back to top
View user's profile Visit poster's website
xengoreth
DocuMentor
DocuMentor

Offline Offline
Joined: Jul 16, 2004
Posts: 49

PostPosted: Mon Sep 26, 2005 6:06 am
Post subject: Re: allow users to login using there email or their nickname

Actually, e-mail is unique per user, so no two accounts could have the same address. This wouldn't be too hard to implement.


xengoreth please enter your server specs in your user profile! Crying or Very sad
Back to top
View user's profile
run0
Supporter
Supporter

Offline Offline
Joined: Jun 28, 2004
Posts: 1559

PostPosted: Mon Sep 26, 2005 7:08 am
Post subject: Re: allow users to login using there email or their nickname

yea I suppose dragonfly doesnt allow multiple email registrations as it is so it wouldn't be a problem

_________________


run0's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/1.3.33 (Unix)/4.0.22-standard/4.3.9/DF 9.x
Back to top
View user's profile Visit poster's website
WebSiteGuru
1000+ Posts Club
1000+ Posts Club

Offline Offline
Joined: Jun 09, 2005
Posts: 2318

PostPosted: Mon Sep 26, 2005 2:26 pm
Post subject: Re: allow users to login using their email or their nickname

Yep, it should not be the problem using email instead of username. In some cases that I see, username is email address

_________________
Lead Theme Designer - WebSiteGuru Designs

WebSiteGuru's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux 2.6.9 / Apache 2.2.6 / MySQL 5.0.27 / PHP 5 / DF Version 9.2.1
Back to top
View user's profile Visit poster's website Yahoo Messenger
djdevon3
Gold Supporter
Gold Supporter

Offline Offline
Joined: Aug 05, 2004
Posts: 4363

PostPosted: Mon Sep 26, 2005 3:32 pm
Post subject: Re: allow users to login using their email or their nickname

that would be good and have (other login options) in the userinfo block to accomodate for it.


djdevon3's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/1.3.33/4.4/4.3.11
Back to top
View user's profile Visit poster's website Photo Gallery
jzky
Supporter
Supporter

Offline Offline
Joined: Jun 25, 2004
Posts: 220
Location: Norway - Harstad
PostPosted: Tue Sep 27, 2005 7:46 pm
Post subject: Re: allow users to login using their email or their nickname

I like this one to.. have some users that dont remember theyr username, so e-mail login woud be nice

_________________
www.jzky.net a Dragonfly site. cms.jzky.net < test site. - Pardon my bad englsih WinkMy home town

jzky's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux / Apache / PHP Version 5.2.0 /MySQL Version 4.1.21-standard / CMS Version 9.1.1
Back to top
View user's profile Visit poster's website
WebSiteGuru
1000+ Posts Club
1000+ Posts Club

Offline Offline
Joined: Jun 09, 2005
Posts: 2318

PostPosted: Tue Sep 27, 2005 7:49 pm
Post subject: Re: allow users to login using their email or their nickname

jzky wrote:
I like this one to.. have some users that dont remember theyr username, so e-mail login woud be nice

FYI, some people have multiple email accounts and you know what happens. They forgot which one they used. Wink

_________________
Lead Theme Designer - WebSiteGuru Designs

WebSiteGuru's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux 2.6.9 / Apache 2.2.6 / MySQL 5.0.27 / PHP 5 / DF Version 9.2.1
Back to top
View user's profile Visit poster's website Yahoo Messenger
xfsunoles
XHTML Specialist
XHTML Specialist

Offline Offline
Joined: Apr 30, 2004
Posts: 2502
Location: Melbourne, Florida
PostPosted: Tue Sep 27, 2005 8:40 pm
Post subject: Re: allow users to login using their email or their nickname

WebSiteGuru wrote:
jzky wrote:
I like this one to.. have some users that dont remember theyr username, so e-mail login woud be nice

FYI, some people have multiple email accounts and you know what happens. They forgot which one they used. Wink

hehe, i have about 3 Email Address but i don't used 2 Big grin


xfsunoles's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Apache/1.3.34 (Unix)/4.0.25-standard/4.4.1/CVS
Back to top
View user's profile Visit poster's website AIM Address MSN Messenger Yahoo Messenger Photo Gallery
JSellnau_TSCC
Supporter
Supporter

Offline Offline
Joined: Jul 12, 2005
Posts: 102
Location: La Crosse, WI USA
PostPosted: Tue Sep 27, 2005 8:46 pm
Post subject: Re: allow users to login using their email or their nickname

I think it would be good to maybe have an "either email or username" type of deal.

_________________
Joel
Tri-State Computer Consulting
jsellnau @ tsccgraphix.com
www.tsccgraphix.com
ww.tri-stateconsulting.net

JSellnau_TSCC's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
CentOS 3.4/Apache 1.3.34/mySQL 4.0.25/PHP 4.4.1/DF 9.0.6.1
Back to top
View user's profile Send e-mail Visit poster's website ICQ Number AIM Address MSN Messenger Yahoo Messenger
WebSiteGuru
1000+ Posts Club
1000+ Posts Club

Offline Offline
Joined: Jun 09, 2005
Posts: 2318

PostPosted: Tue Sep 27, 2005 11:09 pm
Post subject: Re: allow users to login using their email or their nickname

Agreed with that. there should be an option to login for either.

_________________
Lead Theme Designer - WebSiteGuru Designs

WebSiteGuru's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux 2.6.9 / Apache 2.2.6 / MySQL 5.0.27 / PHP 5 / DF Version 9.2.1
Back to top
View user's profile Visit poster's website Yahoo Messenger
xfsunoles
XHTML Specialist
XHTML Specialist

Offline Offline
Joined: Apr 30, 2004
Posts: 2502
Location: Melbourne, Florida
PostPosted: Tue Sep 27, 2005 11:20 pm
Post subject: Re: allow users to login using their email or their nickname

i think i found solution for this, i need more testing for this.


xfsunoles's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Apache/1.3.34 (Unix)/4.0.25-standard/4.4.1/CVS
Back to top
View user's profile Visit poster's website AIM Address MSN Messenger Yahoo Messenger Photo Gallery
JSellnau_TSCC
Supporter
Supporter

Offline Offline
Joined: Jul 12, 2005
Posts: 102
Location: La Crosse, WI USA
PostPosted: Wed Sep 28, 2005 12:28 am
Post subject: Re: allow users to login using their email or their nickname

Looking forward to it.

_________________
Joel
Tri-State Computer Consulting
jsellnau @ tsccgraphix.com
www.tsccgraphix.com
ww.tri-stateconsulting.net

JSellnau_TSCC's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
CentOS 3.4/Apache 1.3.34/mySQL 4.0.25/PHP 4.4.1/DF 9.0.6.1
Back to top
View user's profile Send e-mail Visit poster's website ICQ Number AIM Address MSN Messenger Yahoo Messenger
xfsunoles
XHTML Specialist
XHTML Specialist

Offline Offline
Joined: Apr 30, 2004
Posts: 2502
Location: Melbourne, Florida
PostPosted: Thu Sep 29, 2005 6:46 pm
Post subject: Re: allow users to login using their email or their nickname

okay i found it....


open includes/classes/cpg_member.php

in Line 105,

Find '.$user_prefix."_users WHERE username='$username' AND user_id>1"

Replace to
'.$user_prefix."_users WHERE username='$username' OR user_email='$username' AND user_id>1"

Careful, this file can be replace in future, it quite of Hack.

Tell me how it goes.


xfsunoles's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Apache/1.3.34 (Unix)/4.0.25-standard/4.4.1/CVS
Back to top
View user's profile Visit poster's website AIM Address MSN Messenger Yahoo Messenger Photo Gallery
Andreas
500+ Posts Club
500+ Posts Club

Offline Offline
Joined: Sep 03, 2004
Posts: 852
Location: Gävle, Sweden
PostPosted: Thu Sep 29, 2005 8:09 pm
Post subject: Re: allow users to login using their email or their nickname

Why not add it to the Core? Does it add alot of queries? Does it slow down a site? I mean, added usability CANNOT be a drawback! Smile Suggest it to DJ, that would be my idea.

_________________
Andreas Rönnqvist
www.omegaproject.se
[OmegaProject] Founder

Andreas's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/Apache 2.0.52(Unix)/4.0.23/4.3.10-2/Dragonfly 9.0.6.1
Back to top
View user's profile Visit poster's website ICQ Number MSN Messenger Yahoo Messenger
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.    This topic is locked: you cannot edit posts or make replies.    Printer Friendly Page    Forum Index ⇒  Requests
Page 1 of 2
All times are GMT
Go to page 1, 2  Next

Archive Revive
Username:
This is an archived topic - your reply will not be appended here.
Instead, a new topic will be generated in the active forum.
The new topic will provide a reference link to this archived topic.
 
   Toggle Content User Info

Welcome Anonymous

Nickname
Password
(Register)

   Toggle Content Last CVS commits
· Fixed .ico Expires header.
· Removed domain name from cookies so subdomains wont access them anymore.
· CSS and JS, case insensitives.
· CSS and JS, send correct HTTP 1.1 headers and fixed issues where themes and...
· Further security class improvements.
· 301 redirects on LEO changes
· Option to force 3xx http status codes
· Validate googlebot.com and google.com crawlers.
· CCBot
· Rss with etag and atom.

read more...

   Toggle Content Community

Support for DragonflyCMS in a other languages:

Deutsch
Español

   Toggle Content X-links
UltraEdit Browse Happy logo Firefox MySQL PostgreSQL Valid CSS! Valid XHTML 1.0! Unicode Encoded Badge NukeBiz Resources Raven DragonflyCMS Dedicated Now InsideSupport Lampe Berger

You are seeing squares or questionmarks on this page?

All content of this website is copyrighted by the Creative Commons NC-SA
The logos and trademarks used on this site are the property of their respective owners
We are not responsible for comments posted by our users, as they are the property of the poster.
Our server runs on a P3 1.2GHz with 512MB RAM with no accelerators
Support GoPHP5.org
Interactive software released under GNU GPL, Code Credits, Privacy Policy