Make your template ready for anti spam

Unfortunately there is the need for a template update in Loudblog 0.5, when it comes to the new anti spam script.

In order to protect your site from comment spam, there are three new Loudblog tags in loudblog 0.5, which are necessary to get the anti spam thing working. You have to add it to your template, just inside the <lb:area_makecomment> tag:


<lb:if_preventspam>

<div class="input">

<label for="commentspam"><lb:spamquestion /></label>

<lb:inputspam />

</div>
</lb:if_preventspam>

Something like that. The three tags are:

In most cases you will be able to copy the code structure from your other input fields like “comment name” and “comment email”. Sounds easy? It surely is!