Hello,
I wasn't able to find a rule for Zoo component anywhere in the forum so I thought I would add one myself. Here's how.
1) This plugin adds points per each item added, only once(item id is used as reference).
2) Download and install the attached plugin in AUP plugins.
3) Add the following lines of code just before
// trigger saved event
in /components/com_zoo/controllers/submission.php file.
(I think its around line 448)
$auplink = JRoute::_('index.php?option=com_zoo&task=item&item_id='.$this->item->id.'&Itemid='.JRequest::getInt('Itemid', 0));
$auphref = '<a href="'.$auplink.'">'.$this->item->name.'</a>';
$api_AUP = JPATH_SITE.DS.'components'.DS.'com_alphauserpoints'.DS.'helper.php';
if ( file_exists($api_AUP))
{
require_once ($api_AUP);
AlphaUserPointsHelper::newpoints( 'plgaup_zoo', '', $this->item->id, $auphref);
}
I hope this helps. If you find any more rules for Zoo please post it here.
Thanks.
Adithya.S