Newsletter
|
Before you do any installations & tests, check the system requirements for Jollom and once your system meets them go to www.mollom.com and get a KeyPair. The registration, membership and usage of Mollom (and of course Jollom) are free! System requirements
After that go to the Jollom download and get the Jollom package from there. Install and enable it together with the visual protection tool. If you want to use the plugin only then go to its settings and add the public and private keys there. If you want to use the visual protection tool then choose "Jollom" from the component menu in the Joomla! admin and follow its instructions. Also read the Quicktips in the packages readme. From here only people who want to use the Jollom Script should continue reading. The visual protection tool users may need to follow the instructions given in the component or just watch the tutorial here! The default setup is awaiting for Jollom Scripts to be added. So, if you want to protect a form like com_fireboard, com_contact, com_mailto, com_easybook or com_sobi2 then go to our forums and get the definition scripts from the Jollom Scripts section. This howto will then only be for further explanations. If there is no Jollom Script available for your form you might want to read a little deeper into this howto and make your form work with it on your own. But do not worry, it is simple. It would be nice if you could post your Jollom Script then into the forums! If you want to protect an extremly ajax'ed form then ask in the main Jollom forum for further help. Ok, first things first: What are Jollom Scripts? They enable any component to use captchas for its forms (except forms that are extremely Ajax'ed) and also check submitted data for "bad content" In long: com_easybook {First of all, and it is very important to know: All properties have to be in that order and no single property mustn't left out. Instead, unused properties get a value of "null" (at least the optional ones). You can put your own script in the plugin settings into the textbox where it says "Put the scripts for your custom components here." You can add as many components you want, but each component may only occur once and all components are sperated by a comma, like: com_contact { .... } , com_easybook { .... } , and so on Now all elements explained:
If you want to protect more than one form per component, then you can seperate the triggers by using | like that: task=save|task=update&id=?|task=delete&id=? If you protect more than one form and add them like that, all the content fields below (marked green) have to reflect that too, meaning that the names of the form elements should appear in the same order like the triggers you defined. E.g.: submitTrigger: task=save|task=update&id=?|task=delete&id=?; subjectName: title|title|null; bodyName: newMessage|updateMessage|null; <
Concatente form field names using the + symbol. E.g. subjectName: subject+title+username
The name of the form-input in a form that can be described as "Body" in meaning of a message. It is optional, too but recommended if you have to handle content and don't know where it fits best. Concatente form field names using the + symbol. E.g. bodyName: subject+title+username
The name of the form-input for the message's author
The name of the form-input for the author's email website
The name of the form-input for the author's email address <<authorOpenIdName>> The name of the form-input for the author's openId
The name of the form-input for the author's identity (may depend on the form application like userid's or customer numbers etc.)
The form's action method
Here you can decide on what file to jump to after a submit and after the data was checked
In combination with the spam protection, this is the most powerful feature. The submitted content is checked for its quality. The quality is indicated as a double between 0 and 1, where 1 means very good content with dense information and 0 means simply "useless". Hope you have fun to add and test components like I have. It would be nice if you would post your definitions into our Jollom forum! Before I forget: If a form doesn't work for you, e.g. because it is an AJAX form then you can also use the plugins' included framework (only available for the Jollom for Joomla 1.5 Edition!). If you do not have enough coding experience ask in the forums to implement a jollom integration for your component. It is quite easy, too! |
