Ban HTML links in profiles

Anyone know if there is a plugin or function to ban or NOT allow HTML links in profiles?

Quote · 19 Feb 2014

Where in profiles?

Geeks, making the world a better place
Quote · 19 Feb 2014

Are you actually getting legitimate users that are using links in their profiles? 99% of the time the only users that signup that put links in either their profile desc or headline are spammers.

If spam is your problem then i have a module for that.

https://www.deanbassett.com
Quote · 19 Feb 2014

A option is to make fields plain text via 'Builders' >> 'Profile Fields'

DedicatedServer4You.com -- BIGGEST Range of Dedicated Servers at the Lowest Price!
Quote · 19 Feb 2014

Or if you want to keep the HTML editor, it is possible to remove the <a> tag from the valid elements.  Then TinyMCE would strip out the anchor tag when the person submits the form.

Geeks, making the world a better place
Quote · 19 Feb 2014

remove the <a> tag from the valid elements


Is exactly what I am looking for.. Where to set this up?

Quote · 22 Feb 2014

Sorry to be removed in the profile description... 

Quote · 22 Feb 2014

 

Sorry to be removed in the profile description... 

The file to edit would be the /templates/base/scripts/BxBaseEditorTinyMCE.php.  I think profile description uses the first tinymce init.

Now it will remove it from anywhere that same tinymce is used.  What you can do is to create a new one, but you have to add it to the script that handles the number assigned to each TinyMCE and I can not remember the name of the file but could search for it.

To learn about removing valid elements, http://www.tinymce.com/wiki.php/Configuration:invalid_elements

Do not use double quotes; follow the format you see in the BxBaseEditorTinyMCE.php use of single quotes.

You would also want to remove the link, advlink, and the buttons; removing the plugins will automatically remove the buttons.

Geeks, making the world a better place
Quote · 22 Feb 2014
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.