Re: new version of BuddyPress Rate Forum Posts
I like to try any plugin and, hei…
@Dwenaus, this Rate Forum Posts plugin looks cool.
It is fine in my localhost but I found this error in live site
http://iluni-ftui.org/groups/situs-iluni/forum/
WordPress database error You have an error in your SQL syntax;
check the manual that corresponds to your MySQL server version for the right syntax to use near
‘WHERE object_type = ‘bb_post’ AND meta_key = ‘rfp_rating’ AND object_id = 1′ at line 1 for query
SELECT meta_value FROM WHERE object_type = ‘bb_post’ AND meta_key = ‘rfp_rating’ AND object_id = 1
made by require, require_once, do_action, call_user_func_array, bp_core_do_catch_uri, load_template, require_once, locate_template, load_template, require_once, do_action, call_user_func_array, rfp_after_topic_title, rfp_get_post_rating_signed, rfp_get_post_rating
It solved by adding code below in rate.inc.php
require_once ABSPATH.’bb-config.php’;
global $bb_table_prefix, $bb_meta_table;
$bb_meta_table = $bb_table_prefix . ‘meta’;
Thanks for the plugin.
Now it works. But since I’m still a WP noob.
I don’t know if it is politically correct.