buddypress

Conflict between two jQuery's scripts

六月ゝ 毕业季﹏ 提交于 2020-01-14 05:04:11
问题 I'm spanish (sorry for my english), and it's the first time that i write here for ask something. After hours of debugging and searching why the Fancybox script didn't work i search a conflict between two scripts in my website (now in Maintence Mode) I use a few scripts on my website, but I can safely say that I have a conflict between these two scripts: http://www.planetdescargas.com/wp-content/themes/bigfoot/javascripts/jquery.mousewheel-3.0.4.pack.js http://www.planetdescargas.com/wp

how set the scope for the AJAX query with buddy press meta query

自作多情 提交于 2020-01-06 15:18:17
问题 I am trying to filter group with meta query with reference of bellow reference link code https://gist.github.com/boonebgorges/2638943 This link code i have added in my function.php and bellow code of spinet i have added in /wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/groups/index.php in div groups dir-list $meta_filter = new BP_Groups_Meta_Filter( 'group-custom-field-cat', 'Art and Culture' ); //print_r($meta_filter); echo @json_decode($meta_filter, true); Now if you visit

Using buddypress avatar upload and crop function on another bp page

三世轮回 提交于 2020-01-03 03:13:11
问题 Currently I am using BP Avatar to create user profile picture in the website. Now, I want to use the upload and crop + preview function of BP Avatar for another page and another image purpose with custom settings also. I have tried to copy and edit the code in the new page but it can't work, even the preview. Hope someone can help. Thankyou. 回答1: Here is the code. I detect the problems start when bbp not detect the user because in the bbp core they get the user id from url, and in my case

wordpress - I cannot call bp_notifications_add_notification

时光怂恿深爱的人放手 提交于 2019-12-25 05:30:53
问题 I am new in wordpress development and I want to start to develop a personal plugin which will i use in my site. my site uses wordpress and buddypress. In buddypress, they have notifications, which is pretty good. but i want my plugin to also add notifications to buddypress as well, and will appear to members. I have seen the documentation here: bp_notifications_add_notification() so far my code is below. Please note that i have removed may parts of the plugin just to simplify it <?php /*

Wordpress permalinks 404 not found

久未见 提交于 2019-12-23 03:14:47
问题 i want to modify my permalink structure to a /%postname%/ to use Buddypress on a wordpress website server. After some trial, i experiencing some trouble and even with my search in different forum, i don't know how to solve it. My .htaccess permission is for the trial 666 so wordpress have to modify this file, but won't (last file modify at my server installation). In the database, the permalinks structure succesfully passed to %postname%. Now, i have a 404 error in all pages i want to access.