Not quite sure why that may not be working. Are you familiar with logging into the database at all for your site? Curious if the ‘exclude’ column in the wp_ngg_pictures
table is showing a value of 1 for the photos inq question.
We haven’t done much with the plugin in a long time, for what it’s worth.
Hi, there! Same problem for me.
The “Uploads Require Approval” option only works if “Show Description Field” option is enable, and this field for description is no empty when upload an image.
Thanks a lot Michael!
Same question for you Vuelo6, from my last reply.
Hi, Michel
Thanks for your time and fast reply.
The exclude column is showing the value 0 for these images.
https://drive.google.com/file/d/0B1N6EDwyJqJ7UjN4VTdNU2QyeFE/view
all images that have not description are showing value 0
Thanks
-
This reply was modified 7 years, 6 months ago by Vuelo6. Reason: error
-
This reply was modified 7 years, 6 months ago by Vuelo6.
The ones that are showing a numeral zero would be set to not be excluded, with a 1 indicating they should be. So if those ones with a 0 SHOULD be excluded, the question is going to end up being why they weren’t marked as such.
I was just testing your plugin, nevermind. I will not waste your time
Hi,
I had the same issue. I had the “Show Description Field:” unchecked. After I checked it and added a description, everything worked fine, I had to approve the image. Adding no description though, lead to an immediate display of the image in the gallery again.
The problem lies in the npu-upload.php file in the update_details() method.
1st: in line 244, if no description is set, the code returns and does not set the “exclude” flag.
2nd: if the “alttext” also is empty, in line 254 the exclude handling will also not be entered, as the arrUpdateField have no entry.
I still have no idea though, why the first exclude handling in the class.npu_uploader.php in line 90ff does not seem to reach the db or is overwritten afterwards…