• 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/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter jgjh151

    (@jgjh151)

    Sample sql below. Was trying to see whats in the db for the posts and the gallery value. “ng_gallery” is the only custom field I have for the gallery plugin. Not sure about the one with the underscore?

    select * from postmeta where post_id=7243
    
    meta_id	post_id	meta_key	     meta_value
    
    20190	7243	     ng_gallery	     667
    20191	7243	     _ng_gallery	     field_508184e73d358
    Plugin Author Apollo139

    (@aloziak)

    Hi, I’ve updated the plugin. This version supports ACF5 Pro. this should to resolve your problem.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to update mysql from previous version to new’ is closed to new replies.