Actions

J1.5

How to move User rating

From Joomla! Documentation

Revision as of 23:23, 12 January 2011 by Papaiso (Talk | contribs)

Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

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' );