Author |
Message |
draxx
Involved
![Involved Involved](modules/Forums/images/ranks/4stars.gif)
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Nov 19, 2003
Posts: 282
|
Posted:
Sun Aug 02, 2009 11:59 am |
|
When logged in as a regular user if I look at the file
userinfo-patrick.html
it does not show me his email address.
But if I look at
userinfo-Patrick.html
It shows the email address.
This holds true for all accounts being viewed by a normal user. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Raven
Site Admin/Owner
![](modules/Forums/images/avatars/45030c033f18773153cd2.gif)
Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Sun Aug 02, 2009 5:08 pm |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
draxx
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Aug 02, 2009 5:33 pm |
|
Dunno - can't create an account.
Notice: Array to string conversion in /includes/nukesentinel.php on line 347
Notice: Array to string conversion in /includes/nukesentinel.php on line 348
Notice: Array to string conversion in /includes/nukesentinel.php on line 349
Notice: Array to string conversion in /includes/nukesentinel.php on line 350
Notice: Array to string conversion in /includes/nukesentinel.php on line 351
Notice: Array to string conversion in /includes/nukesentinel.php on line 352
Notice: Array to string conversion in /includes/nukesentinel.php on line 353
Notice: Array to string conversion in /includes/nukesentinel.php on line 354
-------------------------------------
You MUST be logged in to access this option.
-------------------------------------
The option I was trying to access was clicking submit on the email activation form. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Raven
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Aug 02, 2009 6:42 pm |
|
I activated your account. Please try again |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
draxx
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Aug 02, 2009 7:11 pm |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Palbin
Site Admin
![](modules/Forums/images/avatars/Dilbert/Dilbert_-_Dogbert_King.gif)
Joined: Mar 30, 2006
Posts: 2583
Location: Pittsburgh, Pennsylvania
|
Posted:
Sun Aug 02, 2009 8:24 pm |
|
Well that is interesting. |
_________________ "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan. |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Palbin
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Aug 02, 2009 9:32 pm |
|
draxx, Try this and let me know.
Find these lines they should be around line 86 of index.php:
Code:
if (is_admin($admin) OR (is_user($user) AND $usrinfo['username'] == $username)) {
if ($ya_config['useviewemail'] >= '1') {
echo '<tr><td width="30%" align="left">' . _EMAIL . '</td><td width="70%" align="left"><strong>' . $user_email . '</strong></td></tr>';
}
}
|
Change them to this:
Code:
if (is_admin($admin) || (is_user($user) AND ($usrinfo['user_viewemail'] == 1 || $usrinfo['username'] == $userinfo['username']))) {
if ($ya_config['useviewemail'] >= '1') {
echo '<tr><td width="30%" align="left">' . _EMAIL . '</td><td width="70%" align="left"><strong>' . $user_email . '</strong></td></tr>';
}
}
|
|
Last edited by Palbin on Sun Aug 02, 2009 9:45 pm; edited 1 time in total |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Palbin
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Aug 02, 2009 9:40 pm |
|
Made a correction to the above. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
draxx
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Aug 03, 2009 3:54 pm |
|
do you mean userinfo.php ? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
draxx
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Aug 03, 2009 4:01 pm |
|
okay assuming you ment userinfo.php and not index.php then yes the changes still produce the same results. Now if you ment a different file then ?? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Palbin
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Aug 03, 2009 4:36 pm |
|
You certain this produces the same result? Are you logged in as an admin while checking?
If it is still happening we should have 2.4 out in a few weeks. I have it working on the latest build. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
|