neo.webkit
Forum Replies Created
-
Forum: Plugins
In reply to: [WP-MediaWiki] adding more rulesSorry, I found out the issue. It’s my regex. Thanks for the attention anyway.
Forum: Plugins
In reply to: [WP-PostRatings] hook of voting completeI got it. It’s easy but Stackoverflow explain it more clearly. For those who are looking for the same thing,
add_action(‘rate_post’, ‘add_activity_stream’, 10, 3);
function add_activity_stream ($rate_userid, $post_id, $ratings_value) {
//do something.
}reference: https://stackoverflow.com/questions/2843356/can-i-pass-arguments-to-my-function-through-add-action
Forum: Plugins
In reply to: [WP-PostRatings] hook of voting completeThanks, and sorry for my poor WP and programming skill, would you guide me how to bring the $post_id, $post_user, and $post_rate to the function?
I tried the following but got the php warning in the rating,
add_action(‘rate_post’, ‘add_activity_stream’);
function add_activity_stream ($user_id, $post_user, $post_rate) {
//do something
}Forum: Plugins
In reply to: [WP RSS Multi Importer] rssmi_source_link sometimes not availableHi Allen,
Sorry for not making it clear.
With the same RSS link, there are a few posts which the rssmi_source_link isn’t stored. But the source links under those posts are created and they work fine.
Eddie
Forum: Plugins
In reply to: [Pet Manager] Fatal ErrorHi Diana,
Yep, the 1.2 is working now. Thanks for the quick fix.
W
Forum: Plugins
In reply to: [WP RSS Multi Importer] content to custom fieldsThanks Allen. I will try writing some code according to your advice.
I have not added any events as all. It’s strange that I have no problem installing the same amount of plugins under the English version. So I doubt it’s due to the language I use.
Okay, I realized what the problem is. It’s the memory limit PHP can handle. The default is 64MB in my rental server, and it’s working fine when I increase the limit.
Problem is I wonder if my server can afford this when dealing with considerable amount of users. So I just disabled a few plugins and switched the limit back to 64MB.
Thanks for your reply Agelonwl. I think I have solved the problem by inactivating all the plugins and starting them all over again.
Working hard on the translations now!