yzqiang
Forum Replies Created
-
Forum: Plugins
In reply to: [LearnPress - WordPress LMS Plugin] Rest api for mobile appWe need REST API feature urgently.
Is it possible you give me a demo code and we develop a LearnPress REST API plugin or add-on by ourselves.
Thanks very much.- This reply was modified 3 years, 1 month ago by yzqiang.
The problem is caused by the upgrade of BuddyPress to 2.0 later version.
Before 2.0 version, BP_Groups_Group class can get all data of a group.
After 2.0 version, for performance reason, BP_Groups_Group class only get part of data without populate_extras parameter.
Change the code in the function bpfb_documents_move to below, then bp_group_is_member function can be kept without change to Toby’s method.
$group = new BP_Groups_Group((int)@$_POST[‘group_id’],array(‘populate_extras’=>true));
Toby’s method also works well by the way.Forum: Plugins
In reply to: [WP-Emoji] 如何才能让插件支持更多的emoji字符呢?我发现了一个基于iamcal的php-emoji插件的升级版本,https://github.com/NickyX3/Emoji-PHP-Static。里面提供的PNG文件图片更清楚,emoji数量也多了300多个,基本上能够覆盖所有iOS6提供的emoji了。
能否将现在的插件基于这个版本做一次升级呢?
谢谢!MAMP 3.0.5 changed the default user to www, not my administrator account. After change back to administrator, the error solved.
Forum: Plugins
In reply to: [BuddyPress Activity Plus] Unable to upload imagesThe log has been generated successfully. I will research on it first.
Thanks.Forum: Plugins
In reply to: [BuddyPress Activity Plus] Unable to upload imagesIt’s weird the log file wasn’t generated even after my modification of config file. I don’t know wny.
Forum: Plugins
In reply to: [BuddyPress Activity Plus] Unable to upload imagesI have added the code already. I will see the log file and send it to you if there is something available.
Thanks.Forum: Plugins
In reply to: [BuddyPress Activity Plus] Unable to upload imagesAfter rebooting the machine, the problem disappear. However, when I reboot the MAMP, the proble appear again. It’s so weird.
Anyone can tell me why it happens?Forum: Plugins
In reply to: [BuddyPress Activity Plus] Unable to upload imagesBy the way, I tried BuddyPress Activity Plus 1.5, the problem is same.
Is it possible that Mac OS X change the directory permission policy?Forum: Plugins
In reply to: [BuddyPress Docs] Bracket doesn't support ChineseI also confirmed that bracket-to-link doesn’t support common post.
Does it only support Doc post type?Forum: Plugins
In reply to: [BuddyPress Docs] Bracket doesn't support ChineseAnd the bracket-to-link function doesn’t support activity. It makes me develop another type of bracket-to-link function to work in activities.
Why not support both activity and post together?Forum: Plugins
In reply to: [BuddyPress Docs] BP Docs doesn't support WordPress 3.7 nowAnd there are other errors:
http://wordpress.org/support/topic/when-i-use-bracket-i-meet-some-errors
http://wordpress.org/support/topic/bracket-doesnt-support-chinese
Please review them and modify the error together. I expect them very much.
Thanks very much.Forum: Plugins
In reply to: [BuddyPress Docs] When I use bracket, I meet some errorsAnd the bracket-to-link function doesn’t support activity. It makes me develop another type of bracket-to-link function to work in activities.
Why not support both activity and post together?Forum: Plugins
In reply to: [BuddyPress Docs] Not work well with BuddyPress Group Hierarchy pluginI know it doesn’t affect the creation. But group logo can’t be seen in the creation page of BP doc if the hierarchy structure is still in the URL.
I have solved it with such code:
function sjcd_docs_get_create_link($link){
$groups=explode(‘/’,bp_get_current_group_slug());if ( bp_is_group() ) {
$link = add_query_arg( ‘group’, array_pop($groups) ,$link );
}
return $link;
}
add_filter( ‘bp_docs_get_create_link’, ‘sjcd_docs_get_create_link’ ,1000 );
Do you think it’s helpful?Forum: Plugins
In reply to: [YOP Poll] In activity always show the last poll and width keeps 200pxI found the reason. Because when the activity is published, slashes are added. For example, when I add shortcode into activity:
[yop_poll id=”1″]
BuddyPress add slash as:
[yop_poll id=\”1\”]
That’s the reason why the shortcode error happens.