Support Forum

Members able to view other members emails

18 Answers

New Answer

JD John Durham
John Durham
Member

John Durham said

I made the recommended change.  When logged in as a user I could still not see other users email addresses in their profile, when I clicked “View Full Profile for John  Doe” I got the following error message –

Parse error:syntax error, unexpected T_STRING in /problem-with-post-edit-buttonome/advocate/public_html/wp-content/sp-resources/forum-themes/default/templates/spProfileShow.php on line 63

No, it is not working properly.  I made the changes and the above was the result. 

YS Yellow Swordfish
Yellow Swordfish
Member

While what you entered looks OK – quite clearly it isn’t. That message means that php found a string of text when it was expecting something else. So – some questions.

Did you by accident remove the semi-colon from the line of code before this which is a common cause of this error.

What editing tool did you use to make the edit?

JD John Durham
John Durham
Member

Progress, whatever I did wrong the first time. I didn’t do it this time (no error message).

Now the behavior of the site (when logged in as a member), If you click on another members link to view their profile,  their email is not displayed under Contact “John Doe”, but if you then click View full Profile for “John Doe” their email is displayed.

Anyway to make their email show up without having to click View Full Profile?

 

MP Mr Papa
Mr Papa
Member

what file did you make the original change in??  looks like you change the full profile template file… you need to change the popup profile template file too…