manutoo
Forum Replies Created
-
I changed the output order in /wp-content/plugins/list-category-posts/includelcp-catlistdisplayer.php , function lcp_build_post() , and it seems to work fine !
Forum: Plugins
In reply to: [YOP Poll] Plugin could not be activated because it triggered a fatal error.I just installed v5.6 .
This time, I got this error message on activation :PHP Fatal error: Invalid opcode 153/1/8. in /wp-content/plugins/yop-poll/inc/plugin-functions.php on line 1050, referer: /wp-admin/plugins.php?error=true&plugin=yop-poll%2Fyop_poll.php&_error_nonce=5fda64fc1a
So I checked that file, and change this :
function widgets_init(){ add_action( 'widgets_init', function () { return widget_init(); } ); }
to that :
function My_widget_init() { return widget_init(); } function widgets_init(){ add_action( 'widgets_init', 'My_widget_init'); }
and now it works !
I use latest version of eAccelerator, if it matters.
Forum: Plugins
In reply to: [YOP Poll] Plugin could not be activated because it triggered a fatal error.Hello,
I have sent an email to your email with the detail of my server. If it’s not in your inbox, then it’s in your spam box… ??Forum: Plugins
In reply to: [BridgeDD] Latest posts from a specific forum ?EDIT:
the forum list must be space separated and the changed line becomes :
. $db -> sql_in_set('t.forum_id', $Forums !== false ? array_map('intval', explode(" ", $Forums)) : (!empty($wflag) ? $guest_forums : $user_forums))
Forum: Plugins
In reply to: [BridgeDD] Latest posts from a specific forum ?Thanks for the offer, but I managed to do the changes by myself.
If others are interested, it happens in : wp-content/plugins/bridgedd/bridgedd_widgets.min.addon .
You’ll need to beautify this file (for example with https://universalindent.sourceforge.net/ , it also contains a PHP beautifier).Then the main stuff is to change the SQL call from :
$sql = 'SELECT t.topic_id, t.topic_last_post_id, t.topic_last_poster_id, t.topic_last_post_time, t.topic_title, u.username, u.user_colour FROM ' . TOPICS_TABLE . ' t, ' . USERS_TABLE . ' u WHERE ' . sql_in_set('t.forum_id', ((!empty($wflag)) ? $guest_forums : $user_forums)) . ' AND u.user_id = t.topic_last_poster_id ORDER BY t.topic_last_post_time DESC LIMIT 0,' . $limit;
to :
$sql = 'SELECT t.topic_id, t.topic_last_post_id, t.topic_last_poster_id, t.topic_last_post_time, t.topic_title, u.username, u.user_colour FROM ' . TOPICS_TABLE . ' t, ' . USERS_TABLE . ' u WHERE ' . $db -> sql_in_set('t.forum_id', $Forums !== false ? $Forums : (!empty($wflag) ? $guest_forums : $user_forums)) . ' AND u.user_id = t.topic_last_poster_id ORDER BY t.topic_last_post_time DESC LIMIT 0,' . $limit;
With “$Forums” containing the comma separated list of Forums you want to display ; example : “41”, or “41, 13”, etc…
Sorry, I won’t have the time to help you check what’s going on… Right now, I’m ok with the other plugin ; also I prefer it as it leave the default comment box on instead of switching between it and FB one.
BTW, with your plugin, if I clicked on “switch to classic comment”, and then “switch to FB comment”, then the FB comments didn’t appear anymore, I had to reload the page to see them again.
With “Facebook Comments” I had some issue as well till I checked a few optional options meant to fix not appearing comments, so maybe your plugin works 100% only when there’s other stuff already activated in WP.