BlackCatDevelopment / BlackCatCMS

BlackCat CMS is a PHP5, HTML5 content management system
https://blackcat-cms.org
Other
11 stars 9 forks source link

Droplet Email filter problem #194

Closed Morpheus1966 closed 11 years ago

Morpheus1966 commented 11 years ago

If I use the Droplet email filter [[EmailFilter]], I get the following error message. The email address is displayed in the front right! max(dot)mustermann(at)domain(dot)com

Blackcat Version is 1.0.1


Black Cat CMS NOTICE Unknown error type: [8] Constant OUTPUT_FILTER_MODE already defined

Notice: Constant OUTPUT_FILTER_MODE already defined in D:\xampp\htdocs\blackcat\framework\CAT\Helper\Droplet.php(902) : eval()'d code on line 50 Black Cat CMS NOTICE Unknown error type: [8] Constant OUTPUT_FILTER_AT_REPLACEMENT already defined

Notice: Constant OUTPUT_FILTER_AT_REPLACEMENT already defined in D:\xampp\htdocs\blackcat\framework\CAT\Helper\Droplet.php(902) : eval()'d code on line 51 Black Cat CMS NOTICE Unknown error type: [8] Constant OUTPUT_FILTER_DOT_REPLACEMENT already defined

Notice: Constant OUTPUT_FILTER_DOT_REPLACEMENT already defined in D:\xampp\htdocs\blackcat\framework\CAT\Helper\Droplet.php(902) : eval()'d code on line 52 Black Cat CMS NOTICE Unknown error type: [8] Constant OUTPUT_FILTER_MODE already defined

Notice: Constant OUTPUT_FILTER_MODE already defined in D:\xampp\htdocs\blackcat\framework\CAT\Helper\Droplet.php(902) : eval()'d code on line 50 Black Cat CMS NOTICE Unknown error type: [8] Constant OUTPUT_FILTER_AT_REPLACEMENT already defined

Notice: Constant OUTPUT_FILTER_AT_REPLACEMENT already defined in D:\xampp\htdocs\blackcat\framework\CAT\Helper\Droplet.php(902) : eval()'d code on line 51 Black Cat CMS NOTICE Unknown error type: [8] Constant OUTPUT_FILTER_DOT_REPLACEMENT already defined

Notice: Constant OUTPUT_FILTER_DOT_REPLACEMENT already defined in D:\xampp\htdocs\blackcat\framework\CAT\Helper\Droplet.php(902) : eval()'d code on line 52

webbird commented 11 years ago

Argh!

You can use the output filter instead (Admin Tools -> Filters), but beware - it cannot distinguish between email addresses in normal text and addresses in form fields, so form may get broken.

My personal recommendation is to use kitFramework, which allows to install an email filter using a captcha. In addition, there are other great tools like Events, Comments and Contacts.

webbird commented 11 years ago

??? What the heck is this...?

if(!(defined('OUTPUT_FILTER_MODE') && defined('OUTPUT_FILTER_MODE') && defined('OUTPUT_FILTER_MODE'))) {

Morpheus1966 commented 11 years ago

the (Admin Tools -> filter) works, what is not so good but I like it that the text is not altered. The KitFramework is great and I will use it for this and other things. It's more about me what does not work ;-)

webbird commented 11 years ago

Please try this update: http://blackcat-cms.org/modules/wbProfiles/ajax/download.php?section_id=7&dl=22

Morpheus1966 commented 11 years ago

Again quickly works fine

Thanks