[]
Anno said:>The same would apply to any post that a member views in which a person has
>included an email address using the [ email ] UBB tags.
This is also easy.
In showflat.php and showthreaded.php
Search for:
// ------------------------------------------------------------------
// If we came from the search engine then we bold the search keywords
Insert before:
if(!$Username || $Username == ""){<br /> $Body = preg_replace("/<a href=(\"|")mailto:(.*?)(\"|")>(.*?)<\/a>/i","[email not visible for Guests]",$Body);<br /><br />} [/]
Thanks very much!! Your suggestion for the showprofile.php works great! However, I included your suggested code before the location you state in the showflat and showthreaded files and it has no effect.. When I am not logged in, I can still view the email addresses members have placed in posts. Is there perhaphs a typo in the code? (I'm not getting any errors, but its not doing anything either).
Thanks,
Basil