Members have requested the ability to view other members emails. Can I give them the ability to do that?
Support Forum
assume you mean the email address of other members… there is a permission for that…
Yes, the emails of the other members. Please give step by step instructions. I keep missing the permission you are talking about.
permissions are set on forum – permissions – manage permissions…
please read: http://codex.simple-press.com/codex/getting-started/controlling-access/
if you need a primer on permissions…
the permission is titled: Can view email and IP addresses of members
Sorry to not start off with the right question. I already have the given permission for: Can view email and IP addresses of members, for Standard and Full Access users. When I am logged in as an Admin I can see users email addresses. When I am logged in as a User I can not see other users email addresses.
I am not sure if this is being caused by how I originally set up the users? On the WordPress side I created users as Subscribers to the site, this was done so I could use a plugin WP Hide Dashboard to restrict access to the Dashboard.
On the second point – subscribers is just fine and probably the best role to give your ordinary users. Please note that what ‘Hide Dashboard’ does can actually be done within the SP Admin (Options > Global Settings) so you may not need the extra plugin unless it gives you other benefits.
The email popup should be available through the forum tools for each post – i.e., the small icon that appears over on the left (by default) within each row. Is this not showing up for your users?
OK, finally realized that when signed in as a user and activate the “Open the forum toolset” button you can click on it and then get the option to see Users email and IP address.
But when I click on the users Profile I can’t see their email address. Is there anyway that a user can see another users email address when they view the other person profile? When I am signed in as an administrator I see their email address under Contact “John Doe”.
actually, in all of our supplied themes it is already in the popup profile (and the edit profile) pages… its displayed by template function:
sp_ProfileShowEmail()
however, it looks like the template function does not check the permission for displaying it… it simply checks if an admin or if you clear the adminOnly argument to the function… so you can display it, just its either to admins or everyone… probably best if it checks the permission…
This is an invite only, private forum. And the group and my boss would like everyone to see each others emails when viewing profiles. So … how would I go about changing the template function to display emails to everyone?
as I said, add the adminOnly argument… so find
sp_ProfileShowEmail(”, __sp(‘Email’));
in your sp theme and change it to
sp_ProfileShowEmail(‘adminOnly=0’, __sp(‘Email’));
as always, be sure you are editing your own sp theme and not ours to keep from losing your changes on a theme update…
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
please post exactly what you used for code… make sure when you copied mine, you got correct quotes (standard quote characters instead of odd backwards quotes)… I should have made it a code seqment..
I removed the sp_ProfileShowEmail(”, __sp(‘Email’)); and pasted sp_ProfileShowEmail(‘adminOnly=0’, __sp(‘Email’)); in its place.
To the best of my knowledge I followed your directions correctly.