アクティビティ まー@運営 が更新を投稿 7年 8か月前 投稿記事詳細のいいねボタンとタイムラインの同いいねボタンが別になってんのが嫌だなぁ・・・@xlworks さんこれどうにか手はないもんすかねぇ〜 えくせる の返信 (7年 8か月前) 今BuddyPress解析中なので順次。 ×CloseYou need to login in order to like this activity: click here まー@運営 の返信 (7年 8か月前) ざす!ちなみにいいねボタンはナンチャラLIKEってプラグイン使っとります ×CloseYou need to login in order to like this activity: click here ツカサ の返信 (7年 8か月前) 同期させるには結構がっつりスクリプト書く必要ありそうだなあ。 ×CloseYou need to login in order to like this activity: click here えくせる の返信 (7年 8か月前) これくらいで行けました(^^)b remove_action( ‘bp_activity_entry_meta’, ‘wp_ulike_put_buddypress’); add_action(‘bp_activity_entry_meta’, ‘xl_wp_ulike_put_buddypress’); function xl_wp_ulike_put_buddypress($arg=’put’) { global $post,$wp_ulike_class,$wp_user_IP; if (bp_get_activity_type() == “new_blog_post”) { $post_id = bp_get_activity_secondary_item_id(); } if ($post_id) { $backup = $post->ID; $post->ID = $post_id; echo wp_ulike($arg); $post->ID = $backup; } else { echo wp_ulike_buddypress($arg); } } ×CloseYou need to login in order to like this activity: click here ツカサ の返信 (7年 8か月前) お、さすがw ×CloseYou need to login in order to like this activity: click here えくせる の返信 (7年 8か月前) 実験的には成功したが、今ついてるデータの引っ越しがいるかな。 ×CloseYou need to login in order to like this activity: click here まー@運営 の返信 (7年 8か月前) あー、過去データの引越しはしなくても大丈夫すよ、今後に効けばそれで最高すw ×CloseYou need to login in order to like this activity: click here
今BuddyPress解析中なので順次。
You need to login in order to like this activity: click here
ざす!ちなみにいいねボタンはナンチャラLIKEってプラグイン使っとります
You need to login in order to like this activity: click here
同期させるには結構がっつりスクリプト書く必要ありそうだなあ。
You need to login in order to like this activity: click here
これくらいで行けました(^^)b
remove_action( ‘bp_activity_entry_meta’, ‘wp_ulike_put_buddypress’);
add_action(‘bp_activity_entry_meta’, ‘xl_wp_ulike_put_buddypress’);
function xl_wp_ulike_put_buddypress($arg=’put’) {
global $post,$wp_ulike_class,$wp_user_IP;
if (bp_get_activity_type() == “new_blog_post”) {
$post_id = bp_get_activity_secondary_item_id();
}
if ($post_id) {
$backup = $post->ID;
$post->ID = $post_id;
echo wp_ulike($arg);
$post->ID = $backup;
} else {
echo wp_ulike_buddypress($arg);
}
}
You need to login in order to like this activity: click here
お、さすがw
You need to login in order to like this activity: click here
実験的には成功したが、今ついてるデータの引っ越しがいるかな。
You need to login in order to like this activity: click here
あー、過去データの引越しはしなくても大丈夫すよ、今後に効けばそれで最高すw
You need to login in order to like this activity: click here