Browsing projects by Tag(s)

Select a tag to browse associated projects and drill deeper into the tag cloud.

Showing page 1 of 1

UpdateI won't have time in the near future to do bugfixes, new features etc. Feel free to fork any of the stuff in this repo with attribution. MPTT for KohanaThis project has been superseded by a behaviour for ORM which does the same An implementation of MPTT for Kohanaphp using Kohana's ... [More] ORM functionality. It is based on the implementation of MPTT for CI: http://www.codeigniter.com/wiki/Nested_Sets/ but some major modifications to support ORM, scopes and parent ids This means it is in functionality and syntax more similar to http://trac.symfony-project.com/wiki/sfPropelActAsNestedSetBehaviorPlugin See Documentation for more information about getting file and installing and such. Please submit bugs when you see them. Be clear about the exact circumstances of when a method breaks integrity of a table. Roadmap for MPTT Changelog for MPTT Tree behaviour for Kohana ORMBehaviour for Kohana ORM to do adjacency list trees. SpamCheck library for KohanaSpamCheck module for Kohana. Download libraries into a /libraries folder and you're done. Gives scores ranging between -100 (bad) and +100 (good). Or just a boolean Currently a links and a Akismet plugin Links $spam=new SpamCheck; $spam->add_check('links')->set_link_penalty(4)->set_max_links(2); $spam->add_field('content','some content'); $score=$spam->check(); if(!$spam->is_spam()) echo 'no spam';If there are more than 2 links a penalty is given -(number_of_links^4) else a bonus of 100 points. $spam=new SpamCheck; $spam->add_check('links',2)->set_link_penalty(4)->set_max_links(2); $spam->add_check('akismet')->setAPIKey('api_key')->setBlogURL('http://blog url'); $spam->set_weight('akismet',1); $spam->add_field('content','some content'); $score=$spam->check(); if(!$spam->is_spam()) echo 'no spam'; $spam->get_weighted_scores(); $spam->get_scores(); Uses akismet for spam check of comments. Bear in mind you should have more fields than the 'content' field for a better success rate. Will be documented later. The score is now an average between the links and the akismet plugin. The links plugin has a second argument giving it's weight. So the links plugin has the weight of 2 so is more important. Adding new plugins is not hard. Stuff like the Defensio API might be added, or a bad words list. Formation/ValidationForm generation and validation for Kohana. Latest release on the right Formation_Documentation [Less]

0
 
  0 reviews  |  0 users  |  5,143 lines of code  |  0 current contributors  |  Analyzed 11 days ago
 
 
 
 

Creative Commons License Copyright © 2013 Black Duck Software, Inc. and its contributors, Some Rights Reserved. Unless otherwise marked, this work is licensed under a Creative Commons Attribution 3.0 Unported License . Ohloh ® and the Ohloh logo are trademarks of Black Duck Software, Inc. in the United States and/or other jurisdictions. All other trademarks are the property of their respective holders.