Any chance this plugin will be updated to support PHP 8?
“PHP 8.0: Calling non-static class methods statically result in a fatal error”
Thank you!
]]>Hi!
I try to use this plugin with GatsbyJS and got an array of ngg_id and ngg_form in acf query. Does anybody knows how to receive an array of images. Is it possible to use it with Gatsby? It would be very great help.
Advanced Custom Fields version 5.8.11
Advanced Custom Fields: NextGEN Gallery Field add-on version 2.1
Wordpress version 5.4.1
UPD I found that wordpress template should be corrected with a code example. Can anybody give an example what file in wordpress should be corrected?
]]>After updating ACF to 5.7.6 all gallery fields were reset to text fields. After manually re-configuring them, the Allow null option is not having any effect. There should be a -Select- option on top of the field’s dropdown menu, but it doesn’t show.
Edit: previous ACF version was 4.4.12
]]>Hello,
I see this plugin hasn’t been updated in over 2 years. However, is there a filter that can be used to display the galleries in a descending order instead of ascending?
I was able to achieve this by changing acf-ngg-v5.php on line 373 to use array_reverse:
<?php foreach( array_reverse($galleries) as $gallery ) : ?>
But if I can tap into the plugin with a filter that would be the correct approach instead of changing the plugin.
Thanks!
]]>Currently we are using WordPress version 3.0.1 and Nextgen gallery custonm fields plugin version is 1.1.2 only in my site due to compatibility issues because your latesst version 1.2.4 is compatible up to 3.9.14 only and now we want upgrade my WordPress version to the current version 4.6.1 along with plugin current version .So i am requesting you to please kindly make this updated plugin compatible to the current WordPress version 4.6.1 as soon as possible.
]]>Is there a way to use other NextGEN Gallery styles like masonry and other with this plugin?
https://www.ads-software.com/plugins/advanced-custom-fields-nextgen-gallery-field-add-on/
]]>Could you make your plugin work with NextGEN Plus?
NextGEN Gallery works a charm, but I have installed NextGEN Plus and can’t select the Pro templates via the dropdown…
https://www.ads-software.com/plugins/advanced-custom-fields-nextgen-gallery-field-add-on/
]]>i’ve notice in the acf-ngg-v4.php this line (line 32):
error_log(“calling Plugin Construct”);
I don’t understand the utility of that line of error_log, for me that line in the error_log it’s only a problem!
Can you remove it?
https://www.ads-software.com/plugins/advanced-custom-fields-nextgen-gallery-field-add-on/
]]>The plugin work for me
https://www.ads-software.com/plugins/advanced-custom-fields-nextgen-gallery-field-add-on/
]]>Fatal error: Call to undefined method nggdb::find_all_album() in /home/duitslandreisgids.nl/public_html/tentoonstellingenduitsland/wp-content/plugins/advanced-custom-fields-nextgen-gallery-field-add-on/acf-ngg-v4.php on line 247
https://www.ads-software.com/plugins/advanced-custom-fields-nextgen-gallery-field-add-on/
]]>Hi, first of all, thanks for this great plugin! I use it everywhere, now!
recenlty,i had this problem tho:
PHP message: PHP Fatal error: Call to undefined method nggdb::find_all_album() in /srv/www/43.lc/edm/htdocs/assets/plugins/advanced-custom-fields-nextgen-gallery-field-add-on/acf-ngg-v4.php on line 247
Since i don’t use albuns, i just commented the line 247:
//$albumlist = $nggdb->find_all_album( 'name', $order_dir, $limit, $start);
i’m using ACF 4.4 and nextgen 2.0.74.
the function find_all_album was buried deep in
products/photocrati_nextgen/modules/ngglegacy/lib/ngg-db.php
but now its gone.
https://www.ads-software.com/plugins/advanced-custom-fields-nextgen-gallery-field-add-on/
]]>Hi,
All was great until I updated NextGEN half an hour ago.
Warning: Illegal string offset ‘ngg_form’ in /home/temporar/public_html/wp-content/plugins/advanced-custom-fields-nextgen-gallery-field-add-on/acf-ngg-v4.php on line 342
The admin is completely broken and it shows:
Warning: in_array() expects parameter 2 to be array, string given in /home/temporar/public_html/wp-content/plugins/advanced-custom-fields-nextgen-gallery-field-add-on/acf-ngg-v4.php on line 232
Warning: in_array() expects parameter 2 to be array, string given in /home/temporar/public_html/wp-content/plugins/advanced-custom-fields-nextgen-gallery-field-add-on/acf-ngg-v4.php on line 233
Fatal error: Call to undefined method nggdb::find_all_album() in /home/temporar/public_html/wp-content/plugins/advanced-custom-fields-nextgen-gallery-field-add-on/acf-ngg-v4.php on line 247
I hope you can fix this soon to match the latest NextGEN version.
Best Regards,
Grietje
https://www.ads-software.com/plugins/advanced-custom-fields-nextgen-gallery-field-add-on/
]]>My NextGen Galleries are not displaying properly.
I built a bare-bone page to test.
https://www.beta.richardsonarchitects.com/slideshow-test/
Advanced custom fields Version 4.4.0
Advanced Custom Fields: NextGEN Gallery Field add-on Version: 2.1
NextGEN Gallery by Photocrati Version 2.0.66.37
<div class="DOPNextGENThumbnailGallery" id="DOPNextGENThumbnailGalleryd38827afccc5da343aec33810309334c">
<img src="https://www.beta.richardsonarchitects.com/wordpress/wp-content/gallery/inverness-artist-studio/artists-studio-1.jpg" alt="artists-studio-1" title="artists-studio-1" style="display: none;"><img src="https://www.beta.richardsonarchitects.com/wordpress/wp-content/gallery/inverness-artist-studio/artists-studio-2.jpg" alt="artists-studio-2" title="artists-studio-2" style="display: none;"><img src="https://www.beta.richardsonarchitects.com/wordpress/wp-content/gallery/inverness-artist-studio/artists-studio-3.jpg" alt="artists-studio-3" title="artists-studio-3" style="display: none;"><img src="https://www.beta.richardsonarchitects.com/wordpress/wp-content/gallery/inverness-artist-studio/artists-studio-4.jpg" alt="artists-studio-4" title="artists-studio-4" style="display: none;"></div>
https://www.ads-software.com/plugins/advanced-custom-fields-nextgen-gallery-field-add-on/
]]>Hi I’ve updated ACF to v5 and this plugin doesn’t work anymore.
Can anyone help?
https://www.ads-software.com/plugins/advanced-custom-fields-nextgen-gallery-field-add-on/
]]>Hello, before this plugin came out we have written something custom that did the same thing basically, it added a gallery field to the ACF section so we could select a gallery for posts. Now we’ve had to install this plugin as it works with latest version of NextGen Gallery. Our gallery ID’s are stored in ACF called ng_gallery. When installing this plugin, I removed our old file and created a field titled the same thing. I was hoping your plugin would read the value since I named then the same. It doesn’t preselect the chosen gallery from old posts when viewing the edit post screen, the drop down has the default ‘select’ showing. The values are saved as I can still show them on front end of site. If I reselect the gallery in the dropdown and save it, then upon reload in admin, the select box is populated with the gallery selection. So instead of going through over 500 posts and reselecting the gallery and saving, how can I do this programmatically?
https://www.ads-software.com/plugins/advanced-custom-fields-nextgen-gallery-field-add-on/
]]>This happens on posts that I have not selected a gallery, if a post has a gallery selected then the warning is not shown and the gallery works as intended.
Here is a link: https://www.proiectitd.ro/activitati/invitatie-conferinta-de-lansare-proiectului/
Is there a fix for this?
https://www.ads-software.com/plugins/advanced-custom-fields-nextgen-gallery-field-add-on/
Advanced Custom Fields – NextGEN Gallery Field add-on 2.0
Advanced Custom Fields 4.3.8
NextGEN Gallery by Photocrati 2.0.59
Ran into an issue with the select dropdown breaking when editing a page with a single gallery select configuration. Multi gallery select worked, just an issue with single gallery select set in the field group. An array is required when in_array is invoked to check if the current item in the loop matches a selected item, resulting in a broken select dropdown and this warning:
Warning: in_array() expects parameter 2 to be array, string given in website.com/wp-content/plugins/advanced-custom-fields-nextgen-gallery-custom-field/nggallery-v4.php on line 183
Line number 183 might not be exact due to my testing, but below is what I ended up with that fixes the issue. In a nutshell, things only work out if $aSelectedGalleries is an array and not a string.
// Get selected galleries
$aSelectedGalleries = is_array( $field['value'] ) ? $field['value'] : array( $field['value'] );
Cheers and thanks for the great plugin!
-PaulMighty
https://www.ads-software.com/plugins/advanced-custom-fields-nextgen-gallery-field-add-on/
]]>I am using this plugin with NextGen gallery and ACF.
I want to show this in my flexslider carousel, I have below code
<section class=”slider”>
<div id=”slider” class=”flexslider”>
<ul class=”slides”>
</div>
<div id=”carousel” class=”flexslider”>
<ul class=”slides”>
</div>
</section>
Could you help me how to show the thumbnails & images in a loop as per above code?
Thanks
https://www.ads-software.com/plugins/advanced-custom-fields-nextgen-gallery-field-add-on/
Hi, I found out that after saving the draft of an article, the gallery I had chosen is not selected anymore – it only stays selected when I publish the article.
Is there any way to avoid this behaviour?
Thank you,
NM
https://www.ads-software.com/plugins/advanced-custom-fields-nextgen-gallery-field-add-on/
]]>I find it hard to work with the new NextGen Gallery since it has been renewed.
I’m working with the latest version of NextGen Gallery in combination with the Advanced Custom Fields NextGen Gallery Add-On which causes me to use following code to get fetch my gallery:
<?php
foreach ( get_field ( 'galerij' ) as $nextgen_gallery_id ) :
if ( $nextgen_gallery_id['ngg_form'] == 'album' ) {
echo nggShowAlbum( $nextgen_gallery_id['ngg_id'] , 'locations');
} elseif ( $nextgen_gallery_id['ngg_form'] == 'gallery' ) {
echo nggShowGallery( $nextgen_gallery_id['ngg_id'] , 'locations');
}
endforeach;
?>
The code fetches the custom template for the album and galleries, but the custom template don’t work anymore. Previously it was possible to copy the template files in de /view/ directory and place these into the /theme/nggallery/ directory. When I do this with the latest version, I get the following error:
Fatal error: Call to a member function get_original_dimensions() on a non-object in /home/mycomputer/domains/domaindir/public_html/wp-content/themes/themename/nggallery/gallery-locations.php on line 100
Have I copied the wrong template? What template should I copy to customize for my own template?
Thanks in advance. If my question is not clear, please ask, I’ll respond quickly.
https://www.ads-software.com/plugins/advanced-custom-fields-nextgen-gallery-field-add-on/
]]>Just wondering if there are any plans to migrate this plugin to the new afc 4 structure. current one only works with version 3 of afc.
thx
https://www.ads-software.com/extend/plugins/advanced-custom-fields-nextgen-gallery-field-add-on/
]]>Hi!
I’m a bit desperate. I’ve installed and activated the NextGEN and ACF plugins and then this add-on but the “NextGEN Gallery” option doesn’t show up in Field Type as one of options. I’m not getting any error message so I can’t even specify what may be the problem. All plugins are activated, obviously.
I would really appreciate any clue.
Regards,
Adam
https://www.ads-software.com/extend/plugins/advanced-custom-fields-nextgen-gallery-field-add-on/
]]>Hello,
I was using some functions to filter the Media Library
and show only the user images, but when I added a special field
to add an Image, the “Media Library” tab shows all the images in the blog, but wordpress pages like “media-upload.php”, “media.php”, “upload.php” works properly showing only user images.
Which of this php files is user in this pop-up windows appear when I click on the “Add Image” button?
In advance, thanks.
https://www.ads-software.com/extend/plugins/advanced-custom-fields-nextgen-gallery-field-add-on/
]]>can you give an example code?
https://www.ads-software.com/extend/plugins/advanced-custom-fields-nextgen-gallery-field-add-on/
]]>Hi,
thank you for the great plugin!
I use this plugin in my site,but cant show nextgen in my site.
I have two acf fields,one field is Relationship include the other one,the other one has your plugin nextgen field,i use code
<?php
foreach ( get_field ( 'nextgen_gallery_id' ) as $nextgen_gallery_id ) :
if ( $nextgen_gallery_id['ngg_form'] == 'album' ) {
echo nggShowAlbum( $nextgen_gallery_id['ngg_id'] ); //NextGEN Gallery album
} elseif ( $nextgen_gallery_id['ngg_form'] == 'gallery' ) {
echo nggShowGallery( $nextgen_gallery_id['ngg_id'] ); //NextGEN Gallery gallery
}
endforeach;
?>
in
<?php $posts = get_field('hotel_ballroom'); if( $posts ): ?>
................
<?php endif; ?>
i just see other fields cant show nextgen gallery
plz help me
sorry for my bad english
https://www.ads-software.com/extend/plugins/advanced-custom-fields-nextgen-gallery-field-add-on/
]]>Hi,
thank you for the great plugin!
I need to include a piece of the following shortcode for the call of an (gallery) template into your code and I have no idea how to do that.
The shortcode is
[nggallery id=1 template=dop-thumbnail-gallery]
Could you please help me?
https://www.ads-software.com/extend/plugins/advanced-custom-fields-nextgen-gallery-field-add-on/
]]>Hello,
I just dowloaded your plugin (1st installation) ang get 2 warnings in my dashboard when displaying the gallery customed post field:
Is this a bug in the code? How can I correct this?
( ! ) Warning: in_array() expects parameter 2 to be array, string given in C:\wamp\www\local-labs\wordpress\wp-content\plugins\advanced-custom-fields-nextgen-gallery-field-add-on\nggallery-field.php on line 183
( ! ) Warning: in_array() expects parameter 2 to be array, string given in C:\wamp\www\local-labs\wordpress\wp-content\plugins\advanced-custom-fields-nextgen-gallery-field-add-on\nggallery-field.php on line 18
THank you.
regards
https://www.ads-software.com/extend/plugins/advanced-custom-fields-nextgen-gallery-field-add-on/
]]>Hello,
is it possible to modify the plugin to show a galleryview template instead of the basic nggallery ones?
galleryview > https://www.ads-software.com/extend/plugins/wordpress-nextgen-galleryview/
Thank you in advance
https://www.ads-software.com/extend/plugins/advanced-custom-fields-nextgen-gallery-field-add-on/
]]>I’ve purchased the gallery plugin for ACF, and it was working fine until today when I noticed that the function get_field(‘gallery’) returned an array of attachment IDs instead of the mutlidimensional array with all the image URLs.
Perhaps the only thing I can think of that I changed was that I disabled another plugin that had to do with .htaccess control. I’m going to dig deep into the code and see what’s wrong, but if any of you have had this problem, your help will be appreciated!
https://www.ads-software.com/extend/plugins/advanced-custom-fields-nextgen-gallery-field-add-on/
]]>Hi! Thanks for this plugin, its very handy.
But could you help me: i neeed to display album with galleries in “compact” form, and the function returns only a full view.
https://www.ads-software.com/extend/plugins/advanced-custom-fields-nextgen-gallery-field-add-on/
]]>