BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 24622
    Brajesh Singh on 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

  • Keymaster
    (BuddyDev Team)
    Posts: 24622
    Brajesh Singh on in reply to: Ajax Registration #967

    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.

  • Keymaster
    (BuddyDev Team)
    Posts: 24622
    Brajesh Singh on in reply to: Ajax Registration plugin #966

    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
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 24622
    Brajesh Singh on in reply to: Birthday Widget #961

    Your 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.

  • Keymaster
    (BuddyDev Team)
    Posts: 24622
    Brajesh Singh on in reply to: [Resolved] Lightbox not loading… #959

    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.

  • Keymaster
    (BuddyDev Team)
    Posts: 24622

    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-fields

    Please 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

  • Keymaster
    (BuddyDev Team)
    Posts: 24622
    Brajesh Singh on 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

  • Keymaster
    (BuddyDev Team)
    Posts: 24622
    Brajesh Singh on in reply to: Birthday Widget #956

    Hi Hans,
    Thank you. I noticed that that plugin is working except the fact that they are using PHP4 constructors causing WordPress to throw notices.

    If we plan to implement something similar, It will be easy and more efficient using the new custom field type option for date.

    The only requirement I want to enforce is PHP 5.3+ .
    Should we got for it? Also, I noticed the query performance for their listing is not great(looks for all fields) where it can be directly done with the date value instead.

  • Keymaster
    (BuddyDev Team)
    Posts: 24622
    Brajesh Singh on in reply to: Cannot Create a Gallery #950

    Hi Amaris,
    Welcome to Buddydev Forums.

    Please Visit Dashboard->MediaPress->settings and check Members tab. Is Members tab configured you need to set the view and allowed gallery types/gallery status there.

    If it is not saved and these are not visible, click “Save changes” and then revisit that tab. You can enable/disable these. after that, you should be able to create gallery.

    Hope that helps.

  • Keymaster
    (BuddyDev Team)
    Posts: 24622

    Hi George,
    Thank you for the message.

    It was not a plugin conflict. The new MediaPress has introduced per component status/types support. So, after installing the MediaPress, admin needs to visit settings-> check the components and save. Then visit settings->Component( e.g Members/groups) etc and enable/disable supported types.

    You had it correctly installed but not configured. I just updated the settings. Please check if it is working. I am going to create a few video tutorials in upcoming days to make it easier.

    Thank you
    Brajesh