yummp
Forum Replies Created
-
@haseeb0001 This is my setup:
Using default theme. No other themes installed: https://www.yummp.net/wp-content/uploads/2022/07/Screenshot-2022-07-14-at-09.10.53.png
Only 2 plugins installed. Password Protected and Login Designer: https://www.yummp.net/wp-content/uploads/2022/07/Screenshot-2022-07-14-at-09.08.56.png
Only the default post: https://www.yummp.net/wp-content/uploads/2022/07/Screenshot-2022-07-14-at-09.11.03.png
Only one asset in media library: https://www.yummp.net/wp-content/uploads/2022/07/Screenshot-2022-07-14-at-09.14.11.png
My Password Protected settings: https://www.yummp.net/wp-content/uploads/2022/07/Screenshot-2022-07-14-at-09.11.14.png
When using the login designer to design my password protected page: https://www.yummp.net/wp-content/uploads/2022/07/Screenshot-2022-07-14-at-09.11.57.png
(Please note that the logo in sidebar is complete, but the rendering of the logo is distorted)Going to your plugin codebase and changing line 144 in
class-login-designer-password-protected.php
to include a size parameter forwp_get_attachment_image_url()
: https://www.yummp.net/wp-content/uploads/2022/07/Screenshot-2022-07-14-at-09.12.13.pngAnd the result thereafter: https://www.yummp.net/wp-content/uploads/2022/07/Screenshot-2022-07-14-at-09.12.25.png
I can’t imagine it should be anything but a line of code in your plugin that needs fixing.
- This reply was modified 2 years, 7 months ago by yummp.
Forum: Plugins
In reply to: [FileBird - WordPress Media Library Folders & File Manager] Deleted itemsAll I see from both posts make perfect sense and I can relate. Luckily for me, this is a website currently in progress, so no major impact, though I thought I would share my experience in case it could shed some light on a potential bug in the code.
I used the bulk select multiple times, to select all of the logos to be put in a folder, and all of the background images etc etc. And the folders on the left hand side also updated with the counters and numbers etc.
Then final bulk select, I marked what was in the bottom and pressed the big blue “delete permanently” button, and nothing happened. Refreshing the page, I realise that the counters in the logo folder and products folder no longer are shown, and the images to be deleted still sits in the bottom of the “uncategorised” folder.
So the experience was as one would expect it to be, until it wasn’t. So from what I could deduce from the experience would be, that the delete method is posting an array of index values for deletion, rather than the ids of the selected media items. And this index hadn’t been properly updated after moving items using bulk select. Or – Possibly an error is introduced as the remaining media items are remapped in the folder after moving some files, causing the respective media ids to be out of sync.
Nevertheless, I hope this can help prevent similar experiences in the future, as that very big blue button can cause big trouble with people like me behind the wheel. ??
Forum: Plugins
In reply to: [FileBird - WordPress Media Library Folders & File Manager] Deleted itemsI faced the somewhat same thing today. I just got the Filebird plugin as part of the Avada theme update. Thought I would give it a go, and started organising the product images in one folder, logos in another and so on. All of it happening in what you could consider “AJAX” in behaviour.
At the end, I had like 100 images left from the old demo import, and I marked them for deletion. after a few seconds, they were still there, but a few products and all my logos had been deleted.
I reckon that during the dynamic file organising, the window hadn’t updated the index for the remaining items correctly, and used an old index array of values to be sent for deletion causing me a little bit of trouble now having to recreate and upload all logos and a 100 product images again. damn a bummer there.