Titel: EasySpamKiller Installation Beitrag von: misi1234 am 29. 10. 2009 19:30
Thx for the plugins and videotutorial but please tell me: - where is the file I need to edit and whats the name of it? - where can I find the script that I need to paste into the file? Titel: Re: EasySpamKiller Installation Beitrag von: misi1234 am 29. 10. 2009 22:11
Ok I found it, did it but I've made some tests and it doesn't work... http://msurowiecki.netau.net/index.php/guestbook/entry/add - link to my site... The file to edit is: components/com_easybook/controllers/entry.php and the code to paste is:
Code:
/* * ADD NiK START * We load the plugin group 'easy' and define an event 'onSubmitEasyBook' */ //--Easy plugins JPluginHelper::importPlugin('easy'); //--Get reference to dispatcher $dispatcher =& JDispatcher::getInstance(); //--Custom handlers $results = $dispatcher->trigger('onSubmitEasyBook', array(&$admins, &$temp)); foreach( $results as $result ) { if( JError::isError($result) ) { //--A plugin returned an error - hopefully it has displayed some message cause.. //--We will end here return false; } }//foreach /* * ADD NiK END */ Why it doesn't work? I did everything like you showed. Should I see numbers and letters to enter when signing my guestbook? Titel: Re: EasySpamKiller Installation Beitrag von: misi1234 am 30. 10. 2009 08:25
engl Ok I've received to much spam, had to disable easybook...
Powered by SMF 1.1.8 | SMF © 2006, Simple Machines LLC
|