Jump to content

Looking for script that hides email and or phone numbers in forum posts


bnovak

Recommended Posts

Pretty much the subject says it all. I'd like something that will either black out, XXX out, hide entirely or whatever else you can think of to cover up when a user puts an email address and/or phone number in a forum post.

 

I can setup the function to call a JS based on the user being logged in or not, I just need the script to actually do it.

 

Any ideas?  (i've seen it done on a couple sites but have no idea how it works.)

 

Link to comment
Share on other sites

Would be pretty useless doing this in Javascript as its client-side and could be easily worked around.

 

I agree - but my end users are not exactly a "web savvy" bunch of code junkies so I'm not overly concerned about it.

 

You understand what i'm trying to do though - got any other opinions for an option? The pages are PHP, so If there is some PHP code I could put in that would work also....

 

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.