Replies
- Brajesh Singh on October 16, 2015 at 7:54 am in reply to: [Resolved] BP Gallery seems to have stopped working #973
Thank you for confirming George 🙂
- Brajesh Singh on October 16, 2015 at 3:48 am in reply to: [Resolved] BP Gallery seems to have stopped working #971
Have updated the plugin. version 1.4.0 should fix all the issues. Please upgrade.
https://buddydev.com/plugins/bp-gallery/Thank you
Brajesh - Brajesh Singh on October 16, 2015 at 2:48 am in reply to: [Resolved] BP Gallery seems to have stopped working #970
There is one small issue. When theme compat is active, the directory is not loading properly. Working on it. It will be a little delayed than the earlier stated time.
- Brajesh Singh on October 16, 2015 at 2:25 am in reply to: [Resolved] BP Gallery seems to have stopped working #969
Hi George, thirdmind
There were some javascript issue related to Jquery scrollTo plugin update and Jquery easing plugin. Also, some notices on php 5.4. I have fixed them and testing now. Will be uploading in 30 mins to an hour and message back here.Thank you for your patience.
Brajesh That is happening due to conditional profile field throwing js error.
Let us continue the discussion in the other thread.
https://buddydev.com/support/forums/topic/ajax-registration-plugin/
Closing this as duplicate.Hi John,
Just checked your site. Disable Conditional profile field plugin, It is throwing javascript error causing issue.
Also, which captcha plugin you are using , It does not seem to work on the register modal. Please visit Settings->BuddyPress->Settings and disable “Ajax loading ” of the registration page. Then check, if that works or not?Thank you
BrajeshYour wish is my command 🙂
Coming tomorrow, same time, with one change. If you don’t mind, i will like to name that BP Birthday Widget instead.Hi Nauti,
Thank you for your mails and all your efforts to help so far.the problem lies with lack of an open API for foobox. The documents you pointed were for the events that get triggered after a lightbox is attached to the element.
I haven’t seen any example on how do we attach the foobox lightbox to custom elements.
Here is how I do it for Ligbox/colorbox plugin for Single gallery page
//this is the javascript code that I put in my theme’s document ready
if( jq.fn.colorbox != undefined ) { jq( ".mpp-single-gallery-media-list .mpp-item-thumbnail").colorbox({ rel:'gallery', href: function () { var url = jq(this).data('mpp-large-src'); return url; }}) ; }
and this is the php I put in my bp-custom.php
add_filter( 'mpp_media_html_attributes_pre', 'mpp_inject_colorbox' ); function mpp_inject_colorbox( $atts ) { $media = $atts['media']; if( ! $media ) { return $atts; } $atts['data-mpp-large-src'] = mpp_get_media_src('', $media ); return $atts; }
And this makes it work for this plugin
https://wordpress.org/plugins/lightbox-plus/On single gallery pages.
So, to enable it for foobox, I need some access to their API. Like colorbox has great documentation here
http://www.jacklmoore.com/colorbox/Now to answer why it does not work out of the box for all lightbox? The problem is MediaPress gallery contains media where each media have their own page. They don’t directly link to the media file. If they linked directly to the media file, most of the lightbox plugin will work out of the box. But in that case, we loose the commenting/view counting/rating etc many functionalities that are important for single media.
Can you please ask the developers of FooBox if they have some guide on how to integrate it with 3rd party plugin where the anchor does not link to actual media file. We can use data attributes though.
- Brajesh Singh on October 15, 2015 at 1:17 am in reply to: Don't want to allow members to edit even once in Non Editable Profile Fields #958
Hi,
Thank you. I am sorry but that name sounded too much specific.I hope you don’t mind if I name it BuddyPress Readonly Profile Fields.here you go
https://github.com/buddydev/bp-readonly-profile-fieldsPlease do note that while logged in as admin, you will first need to mark a field as Readonly(from visibility drop down).
After that, the field will not be visible to users on their edit profile page.
PS: A side effect is when you are logged in as admin, you will see the “Readonly” visibility on all the fields of user. But setting it for any other field than what you marked in admin will not work. I have done that to save 1 query. If you want to have it on for any field, please let me know and I will enable that.
thank you
Brajesh - Brajesh Singh on October 15, 2015 at 12:59 am in reply to: [Resolved] BP Gallery seems to have stopped working #957
Hi George,
I have received your login details and will look into it in a couple of hours and get back to you.Thank you
Brajes