Hi svovaf,
Well, what I did was:
– Using the Plugins->Editor in WordPress I loaded the rating-widget.php file
– Then, I modified the following code:
RW.init("<?php echo WP_RW__USER_KEY; ?>");
And changed it for this:
RW.init("<?php echo WP_RW__USER_KEY; ?>",{
beforeRate: function(vote, rating){
if (!is_logged_in()){
return false;
}else{
return get_user_id();
}
}
});
RW.render();
Again, the only way I could get the plugin to work again was by uninstalling it and then re-installing it.
One thing I did though was to check the values on the database and although the values were correctly set, the plugin always used the default values and didn’t save any changes.