Difference between revisions of "How to move User rating"
From Joomla! Documentation
(remove and newer)
m (Wilsonge moved page How to move User rating to J1.5:How to move User rating: Move into 1.5 namespace)
Revision as of 06:33, 27 May 2013
The only real solution for moving the user rating is a hack.
In version 1.5 mambots have become plugins, therefore you should look for the file
/plugins/content/vote.php and change
$mainframe->registerEvent( 'onBeforeDisplayContent', 'plgContentVote' );
$mainframe->registerEvent( 'onAfterDisplayContent', 'plgContentVote' );
You must hack a mambot, namely in file
$_MAMBOTS->registerFunction( 'onBeforeDisplayContent', 'botVoting' );
$_MAMBOTS->registerFunction( 'onAfterDisplayContent', 'botVoting' );