BuddyDev

Search

Replies

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: [Resolved] Fullwidth header and user menu #8218

    Hello nana,

    Please use the following code to add custom banner image before header.

    
    add_action('cb_before_header','buddydev_custom_banner_image');
    function buddydev_custom_banner_image() {
    	// replace by your link url.
    	$link_url = 'https://google.com';
    	// replace image url with your image url.
    	$image_url = 'http://localhost/dev/slideraddons/wp-content/uploads/2017/03/323H.jpg';
    	printf('<a href="%s"><img src="%s" /></a>', $link_url, $image_url );
    }
    
    

    Thank You
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: [Resolved] Hide any external link from guest. #7659

    Hello Metu,

    Thank you for posting here. Please use the following code in your active theme ‘functions.php’ file.

    
    function bd_hide_external_link( $content ) {
    
    	if ( is_user_logged_in() ) {
    		return $content;
    	}
    
    	$content = preg_replace_callback('/<a\s[^>]*?href=([\'"])(.+?)\1\s?[^>]*>([^<]+)<\/a>/im', function ($matches){
                    // replace the domain name with your domain
    		if ( strpos( $matches[2], 'facebook.com' ) !== false ){
    			return $matches[0];
    		}
    		// for external url
    		return '<a href="#">Login Please to see the link</a>';
    
    	}, $content );
    
    	return $content;
    }
    add_filter( 'the_content', 'bd_hide_external_link' );
    
    

    Thank You
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: Advaced custom field for media uploader #7643

    Hello Jesus,

    BP Simple front end plugin is not compatible with Advanced Custom Fields(ACF). We do have plan to add the functionality in future but we do not have enough resource to add the functionality right now. Sorry for the inconvenience.

    Thank You
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: [Resolved] Sitewide Gallery #7317

    Hello Olivier,

    I apologise for appearing uninformed. By default, only sitewide galleries can be created from the dashboard. It seems @sbrajesh mistook the feature from initial version. We stopped allowing the component selection in 1.0.0 itself.

    So, if you Visit Dashboard->MediaPress->Add New, you can add a new Sitewide gallery.

    Thank You
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: [Resolved] Sitewide Gallery #7312

    Hello Olivier,

    I have checked with a demo SiteWide Gallery created from Backend. It is working perfectly alright. But it seems your membership plugin conflicting when it comes to show that gallery on WordPress page using Shortcode. When I marked page membership to free member gallery was showing on frontend.

    May I ask a question?. Why are you using single gallery Shortcode as it is already available.

    Thanks
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: [Resolved] Sitewide Gallery #7308

    Hello Obourgeois,

    I will assist you now on with this issue. Please point me to your site with a demo account.

    Thank You
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: Help with menu #7298

    Hello Nana and thank you Graham.

    You are right about the browser issue. It is related to browser cache please follow the instruction here http://www.ghacks.net/2015/02/05/how-to-clear-web-storage-in-your-browser-of-choice/ and give it a try. Let me know if it is fixed or not.

    Thank You
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: MediaPress Downloadable Media – MP3 corruption #7080

    Hello George,

    Please Download the updated version of the Plugin from the following URL https://buddydev.com/plugins/mpp-downloadable-media/ and let me know if the problem has been resolved or not.

    Thank You
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: MediaPress Downloadable Media – MP3 corruption #7076

    Hello George,

    I have created a audio gallery using MediaPress and uploads some mp3 files into this gallery. I have downloaded these files using MediaPress Downloadable Media plugin and it is working fine for me. Can You please create a test account and point me to the site where you are getting this issue?

    Thank You
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115

    Hello Justin,

    Thank you for posting here. Please put the following code at the bottom of your current theme “style.css” file and let me know if it works or not.

    
    .simple-post-tax-check-list > li {
    	display: block;
    	float: left !important;
    	width: 50%;
    }
    
    

    Thank You
    Ravi