• ResolvedPlugin Author Jacob N. Breetvelt

    (@opajaap)


    Please test this version if you have time and a non critical site.
    You will need to install it manually.

    Changelog:

    = 5.1.8 =

    = Bug Fixes =

    * Fixed a thumbdown image appearing under some circumstances while not appropriate.
    * The shortcode generator did not show photo previews when the filestructure was set to tree. Fixed.

    = New Features =

    * Admin errors will now be logged in ..wp-content/wppa-depot/admin/error.log
    * Table VIII-B7 Remove empty albums. To cleanup member albums that are never used.
    * Extension to the #last album keyword in shortcodes. #last can be followed by two numbers, the parent album id ( 0 = systemwide ) and the number of albums to find.
    Example album=”#last,0,3″ finds the 3 most recently modified albums of the system, album=”#last,7,4″ finds the 4 most recently modified subalbums of album number 7.
    Works to find covers only.
    * The single button voting system button can now also be displayed below the thumbnails. Table IV-E15.

    = Other Changes =

    * When importing from NextGen galleries, the Set Source Directory selection list now clearly indicates ngg galleries even when the ngg folder is not the default location.
    * Included a check that the source folder can no longer be set as a subfolder of the wppa folder.
    * Facebook api will only be loaded when it ia actually used.
    * The breadcrumb box has been rewritten and gives more and better info.

    https://www.ads-software.com/plugins/wp-photo-album-plus/

Viewing 7 replies - 1 through 7 (of 7 total)
  • I just solved the conflict with facebook property. But wait for the next update ?? tks!

    in wppa-non-admin.php go to line 53 to 74!

    // Share info for sm that uses og
    	$id = wppa_get_get('photo', '0');
    	if ( ! is_numeric($id) ) $id = '0';
    	if ( get_option('wppa_og_tags_on', 'yes') == 'yes' ) {
    		wppa_cache_thumb($id);
    		if ( $thumb ) {
    			$title  = wppa_get_photo_name($thumb['id']);
    			$imgurl = wppa_get_thumb_url($id);
    			$desc 	= wppa_get_og_desc($thumb['id']);
    			$url    = wppa_convert_to_pretty(str_replace('&', '&', wppa_get_image_page_url_by_id($thumb['id'], $wppa_opt['wppa_share_single_image'])));
    			$site   = get_bloginfo('name');
    
    			echo "\n<!-- WPPA+ Share data -->".'
    				<meta property="og:site_name" content="'.esc_attr($site).'" />
    				<meta property="og:type" content="article" />
    				<meta property="og:url" content="'.esc_attr($url).'" /><!-- dynamicly updated -->
    				<meta property="og:title" content="'.esc_attr($title).'" /><!-- dynamicly updated -->
    				<meta property="og:image" content="'.esc_attr($imgurl).'" /><!-- dynamicly updated -->
    				<meta property="og:description" content="'.esc_attr($desc).'" /><!-- dynamicly updated -->';
    				echo "\n<!-- WPPA+ End Share data -->\n";
    		}
    	}

    because there was a conflict when loading the post

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    And what is wrong there then????

    The version prior to 5.1.7 when it was enabled og: property facebook was loaded even without photos in the post and was in conflict with other social plugins. Putting this code posted makes sure that you do not load when empty. But I just read that you solved in the new version. thanks

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    I just updated this version. See the new changelog

    I hope to load it in the week, thanks again!

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    Released

    I’m trying now!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Pre-release 5.1.8.rc1 is available’ is closed to new replies.