Projects ⇒ Bugs ⇒ #386: wrong email in profile ⇒ CPG Dragonfly™ CMS
Bug #386 wrong email in profile
Project: Dragonfly 9.0 -> 9.0.2 Category: My Account
Submitted: Saturday, April 02, 2005 (14:03:06) Modified: Sunday, April 03, 2005 (04:57:09)
Status: Closed Assigned to:
PHP Version: 4.3.10 HTTPD Server: Apache 1.3

View/Vote Add Comment

by: qrees
Description:
------------
There to fields to enter email. One in registration info, the real one, and another in profile info, the false one. But in profile there is always displayed the REAL email, no matter what is in false email.
When display email is turned on, the real email is displayed, not the false one. When false email is set, the real email is displayed.
So the false email is NEVER displayed.

Expected result:
----------------
In My profile there should be false email.

Actual result:
--------------
Real email.
by: DJMaze
Go watch the profile as member or anonymous instead of admin.
by: qrees
Users from my site told me about this error and I checked it after as normal user. How do you know i was checking this as admin if i didn't tell you about this??!!
by: qrees
Sorry this post, but this is still open in my opinion. Now I have found what is wrong:
line:
$email_link = ($board_config['board_email_form'] && !can_admin('members')) ? getlink('Forums&file=profile&mode=email&u='.$userinfo['user_id']) : 'mailto:'.$email;

should be changed to:
$email_link = ($board_config['board_email_form'] && !can_admin('members')) ? getlink('Forums&file=profile&mode=email&u='.$userinfo['user_id']) : 'mailto:'.$email;

In userinfo.php line 165.
by: DJMaze
This bug has been fixed in the CVS.

Snapshots of the sources are packaged every 6 hours; this change
will be in the next snapshot. You can grab the snapshot at the
Downloads section.

Thank you for the report, and for helping us to make CPG-Nuke CVS for 9.0 better.
User Info

Welcome Anonymous



(Register)
Community

Support for DragonflyCMS in a other languages:

Deutsch
Español