How to move User rating
From Joomla! Documentation
(Difference between revisions)
m |
m (Added core hack notice) |
||
| Line 1: | Line 1: | ||
| + | {{CoreHackNotice}} | ||
| + | |||
Only real solution I found is a hack though, namely in file mambots/content/mosvote.php. Change | Only real solution I found is a hack though, namely in file mambots/content/mosvote.php. Change | ||
Revision as of 16:13, 2 February 2011
| This is a core hack. Files you change as described on this page will be overwritten during updates of Joomla!. For more information, see Core hack. |
Only real solution I found is a hack though, namely in file mambots/content/mosvote.php. Change
$_MAMBOTS->registerFunction( 'onBeforeDisplayContent', 'botVoting' );
to
$_MAMBOTS->registerFunction( 'onAfterDisplayContent', 'botVoting' );
This is relevant to version 1, however for version 1.5 mambots have become plugins, therefore you should look for the file /plugins/content/vote.php
and change
$mainframe->registerEvent( 'onBeforeDisplayContent', 'plgContentVote' );
to
$mainframe->registerEvent( 'onAfterDisplayContent', 'plgContentVote' );