How Do I Make Links unclickable In Forum, Blog and Comments

Some members have been busy posting all manners of links to there wares and offers from my site. I don't have all the time in the word to sit down to ban, edit and delete posts

What do I do so that when links are posted, they will be unclickable. So that the only way to visit such like is to copy it and paste it on the address bar.

(Note: Most of the like are html imbeded links. That is a clickable word or phrase and not neccessirily a url. I will like to stop both)

Quote · 13 Apr 2011

Any help with this. Even part. I need to limit these spammers.

Quote · 14 Apr 2011

You might be better off denying access to your site from certain countries, or by using the anti-spam tools in the administration panel.

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 14 Apr 2011

If you really want to do this, you can edit the file /inc/utils.inc.php   Add the line in red, and save.

 

// HTML Purifier plugin   
global $oHtmlPurifier;
require_once( BX_DIRECTORY_PATH_PLUGINS . 'htmlpurifier/HTMLPurifier.standalone.php' );
if (!isset($oHtmlPurifier)) {

HTMLPurifier_Bootstrap::registerAutoload();

$oConfig = HTMLPurifier_Config::createDefault();       
$oConfig->set('Filter.YouTube', true);
$oConfig->set('URI.DisableExternal', 'true');
$oConfig->set('HTML.SafeObject', 'true');
$oConfig->set('Output.FlashCompat', 'true');
$oConfig->set('HTML.FlashAllowFullScreen', 'true');
$oConfig->set('Filter.Custom', array (new HTMLPurifier_Filter_Vimeo(), new HTMLPurifier_Filter_LocalMovie()));

$oConfig->set('HTML.DefinitionID', '1');
$oDef = $oConfig->getHTMLDefinition(true);
$oDef->addAttribute('a', 'target', 'Enum#_blank,_self,_target,_top');

$oHtmlPurifier = new HTMLPurifier($oConfig);
}

return $oHtmlPurifier->purify($val);
}

 

Understand though, if you do this, No links OR images outside of your domain will be allowed.  You can give it a try to see if it's what you want

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 14 Apr 2011
 
 
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.