SpamBlocker

Spam Blocker is a CakePHP Behavior that automatically before after a comment is made. Each comment is tested upon a point system to determine if it should be approved, set to pending (high points), or marked as spam / deleted (low points).

Snippets for Javascript

Characters Remaining // charsRemain()
Calculate how many characters remain in a textarea.
Slugify // slugify()
Transform text into a URL slug. Replaces whitespaces with dashes and removes non alpha-numeric characters.
Element Exists // elementExists()
Checks to see if an element exists in the DOM
Go To Page // goTo()
Relocates the page to a new URL
Toggle Checkboxes // toggleCheckboxes()
Toggle all checkboxes within a form.