Tagged: mediapress
Dear BuddyDev,
we recently installed the mediapress plugin in our wordpress site, after some settings changes, we noticed that if admin disable all fields (“Photo”, “Video”, “Audio” and “Documents”), and re-enabled after, the html selected doesn’t show anymore any option value, like image below.
We tried to find the problem, and it appears to be in the database field, if we restore the data trought the button in the mediapress plugin, in the database field will write this:________________________________________________________________________________________
________________________________________________________________________________________
________________________________________________________________________________________a:62:{s:18:”galleries_per_page”;i:12;s:17:”galleries_per_rss”;i:15;s:14:”media_per_page”;i:20;s:22:”media_per_gallery_page”;i:20;s:13:”media_per_rss”;i:20;s:17:”comments_per_page”;i:20;s:17:”show_upload_quota”;i:0;s:25:”show_max_upload_file_size”;i:1;s:15:”activity_upload”;i:1;s:34:”activity_disable_auto_file_browser”;i:0;s:21:”has_gallery_directory”;i:1;s:19:”has_media_directory”;i:1;s:15:”default_storage”;s:5:”local”;s:18:”enable_file_upload”;i:1;s:13:”enable_remote”;i:1;s:18:”enable_remote_file”;i:0;s:20:”download_remote_file”;i:0;s:13:”enable_oembed”;i:1;s:20:”default_media_status”;s:6:”public”;s:16:”mpp_upload_space”;i:10;s:23:”mpp_upload_space_groups”;i:10;s:19:”show_orphaned_media”;i:0;s:21:”delete_orphaned_media”;i:0;s:28:”activity_media_display_limit”;i:6;s:21:”enable_audio_playlist”;i:1;s:21:”enable_video_playlist”;i:1;s:24:”show_gallery_description”;i:0;s:22:”show_media_description”;i:0;s:15:”gallery_columns”;i:4;s:13:”media_columns”;i:4;s:22:”enable_gallery_comment”;i:1;s:20:”enable_media_comment”;i:1;s:17:”active_components”;a:2:{s:7:”members”;s:7:”members”;s:8:”sitewide”;s:8:”sitewide”;}s:12:”active_types”;a:3:{s:5:”photo”;s:5:”photo”;s:5:”audio”;s:5:”audio”;s:5:”video”;s:5:”video”;}s:15:”active_statuses”;a:2:{s:6:”public”;s:6:”public”;s:7:”private”;s:7:”private”;}s:14:”default_status”;s:6:”public”;s:10:”extensions”;a:0:{}s:14:”size_thumbnail”;a:3:{s:5:”width”;i:200;s:6:”height”;i:200;s:4:”crop”;i:1;}s:8:”size_mid”;a:3:{s:5:”width”;i:350;s:6:”height”;i:350;s:4:”crop”;i:1;}s:10:”size_large”;a:3:{s:5:”width”;i:600;s:6:”height”;i:600;s:4:”crop”;i:0;}s:19:”lightbox_media_size”;s:5:”large”;s:17:”single_media_size”;s:5:”large”;s:13:”load_lightbox”;i:1;s:24:”enable_activity_lightbox”;i:1;s:23:”enable_gallery_lightbox”;i:1;s:19:”lightbox_media_only”;i:0;s:37:”enable_lightbox_in_gallery_media_list”;i:1;s:23:”lightbox_disabled_types”;a:0:{}s:22:”autopublish_activities”;a:0:{}s:22:”enable_gallery_archive”;i:0;s:20:”gallery_archive_slug”;s:14:”site-galleries”;s:22:”gallery_permalink_slug”;s:12:”site-gallery”;s:21:”sitewide_active_types”;a:3:{s:5:”photo”;s:5:”photo”;s:5:”audio”;s:5:”audio”;s:5:”video”;s:5:”video”;}s:20:”members_active_types”;a:3:{s:5:”photo”;s:5:”photo”;s:5:”audio”;s:5:”audio”;s:5:”video”;s:5:”video”;}s:27:”members_enable_type_filters”;i:1;s:19:”groups_active_types”;a:3:{s:5:”photo”;s:5:”photo”;s:5:”audio”;s:5:”audio”;s:5:”video”;s:5:”video”;}s:30:”enable_group_galleries_default”;s:3:”yes”;s:21:”contributors_can_edit”;i:1;s:23:”contributors_can_delete”;i:1;s:26:”groups_enable_my_galleries”;i:1;s:19:”gdoc_viewer_enabled”;i:1;s:12:”enable_debug”;i:0;}
________________________________________________________________________________________
________________________________________________________________________________________
________________________________________________________________________________________Instead the record that is printed in error is the following:
________________________________________________________________________________________
________________________________________________________________________________________
________________________________________________________________________________________a:50:{s:17:”active_components”;a:1:{s:7:”members”;s:7:”members”;}s:14:”default_status”;s:6:”public”;s:15:”active_statuses”;a:4:{s:6:”public”;s:6:”public”;s:7:”private”;s:7:”private”;s:8:”loggedin”;s:8:”loggedin”;s:13:”followersonly”;s:13:”followersonly”;}s:12:”active_types”;a:3:{s:5:”photo”;s:5:”photo”;s:5:”video”;s:5:”video”;s:5:”audio”;s:5:”audio”;}s:10:”extensions”;a:4:{s:5:”photo”;s:16:”jpeg,jpg,gif,png”;s:5:”video”;s:12:”mp4,flv,mpeg”;s:5:”audio”;s:12:”mp3,wmv,midi”;s:3:”doc”;s:16:”doc,pdf,docx,xls”;}s:14:”size_thumbnail”;a:3:{s:5:”width”;s:3:”410″;s:6:”height”;s:3:”410″;s:4:”crop”;s:1:”1″;}s:8:”size_mid”;a:3:{s:5:”width”;s:3:”500″;s:6:”height”;s:3:”500″;s:4:”crop”;s:1:”1″;}s:10:”size_large”;a:2:{s:5:”width”;s:3:”600″;s:6:”height”;s:3:”600″;}s:17:”single_media_size”;s:8:”original”;s:19:”lightbox_media_size”;s:8:”original”;s:16:”mpp_upload_space”;s:3:”128″;s:23:”mpp_upload_space_groups”;s:2:”10″;s:17:”show_upload_quota”;s:1:”1″;s:25:”show_max_upload_file_size”;s:1:”1″;s:15:”default_storage”;s:5:”local”;s:18:”enable_file_upload”;s:1:”1″;s:13:”enable_remote”;s:1:”1″;s:18:”enable_remote_file”;s:1:”0″;s:20:”download_remote_file”;s:1:”1″;s:13:”enable_oembed”;s:1:”1″;s:12:”enable_debug”;s:1:”0″;s:21:”has_gallery_directory”;s:1:”1″;s:15:”activity_upload”;s:1:”1″;s:34:”activity_disable_auto_file_browser”;s:1:”0″;s:27:”activity_photo_default_view”;s:7:”default”;s:27:”activity_video_default_view”;s:7:”default”;s:27:”activity_audio_default_view”;s:7:”default”;s:19:”show_orphaned_media”;s:1:”0″;s:21:”delete_orphaned_media”;s:1:”0″;s:28:”activity_media_display_limit”;s:1:”6″;s:27:”members_enable_type_filters”;s:1:”0″;s:34:”members_photo_gallery_default_view”;s:7:”default”;s:34:”members_video_gallery_default_view”;s:7:”default”;s:34:”members_audio_gallery_default_view”;s:7:”default”;s:18:”galleries_per_page”;s:2:”12″;s:14:”media_per_page”;s:2:”20″;s:13:”media_columns”;s:1:”4″;s:15:”gallery_columns”;s:1:”4″;s:24:”show_gallery_description”;s:1:”1″;s:22:”show_media_description”;s:1:”1″;s:21:”enable_audio_playlist”;s:1:”1″;s:21:”enable_video_playlist”;s:1:”1″;s:19:”gdoc_viewer_enabled”;s:1:”1″;s:20:”enable_media_comment”;s:1:”0″;s:22:”enable_gallery_comment”;s:1:”0″;s:13:”load_lightbox”;s:1:”1″;s:19:”lightbox_media_only”;s:1:”0″;s:24:”enable_activity_lightbox”;s:1:”1″;s:23:”enable_gallery_lightbox”;s:1:”1″;s:37:”enable_lightbox_in_gallery_media_list”;s:1:”1″;}
________________________________________________________________________________________
________________________________________________________________________________________
________________________________________________________________________________________It would appear that the “active_types” option was not written when the fields are reset in the plugin after deselecting all fields
https://www.sendspace.com/file/5oy6bf
QUESTION:
1. The “Documents” type in our version doesn’t work and doesn’t appear in the front end option of create.php if we fill the checkbox in the backend plugin.
2. It’s already possible create a gallery with all types format? A gallery composed by photo, video, audio e documents?
3. The addons already work in wordpress 5.5.1, if not which one already work?Waiting your reply.
Hi,
Thank you for using MediaPressCan you please clarify which html select does not work?
Please link me to a screenshot.
1. The plugin is not configured properly. Most probably you haven’t enabled the type for the user component.
2. No
3. We are not aware of any issue yet. If you find one, we will take care of that witin 48 hours(It is about any bug and not new features).
Regards
BrajeshHi Brajesh,
Thank you very much for reply.
Anyway the html that not load the option value in html is this:
<select name=”mpp-gallery-type” id=”mpp-gallery-type”>
</select>
image link: https://imgur.com/pzKYtdc
After we restore the data and put also Documents in the mediapress settings, the only value that show in the front-end are these: Photo, Video and Audio. The Documents doesn’t appear.
Waiting your reply.
Regards
Hi,
Thank you.Please visit Dashboard->MediaPress->Settings->Members Gallery and make sure to re-enable the Types.
When you turn off a type globallay, it gets turned off for each component. If you re-enable it in gallery setting, It won’t be enabled for all components automatically. You will need to visit the tabs and re-enable it.
That was causing it.
Regards
Brajesh
The topic ‘ [Resolved] Bug and question on Mediapress 1.5.1 and WordPress 5.5.1’ is closed to new replies.