Nick
Forum Replies Created
-
Forum: Plugins
In reply to: [Post Comments as bbPress Topics] No buttonNevermind – that function calls get_post_field() which uses sanitize_post_field(), which removes tags like
<button> </button>
.It sounds like we need to keep it as-is to not run afoul of the plugin mods. Anyone who prefers something else can manually override the code as @juhametsakallas has done…
Forum: Plugins
In reply to: [Post Comments as bbPress Topics] No buttonMoreover, we can include html in the “Content of topic first post:”
which ultimately is displayed by this template file
wp-content/plugins/buddyboss-platform/bp-forums/templates/default/bbpress/content-single-topic-lead.php
(buddyboss version, but will be roughly the same for bbpress) which displays the post content with this function, which is a straight echo.function bbp_topic_content( $topic_id = 0 ) { echo bbp_get_topic_content( $topic_id ); }
So, if the mods have a problem with us echoing the admin-set link text, they should take up battle with bbpress itself.
Forum: Plugins
In reply to: [Post Comments as bbPress Topics] No button@robin-w, esc_attr was added to satisfy concerns that the plugin team had. But I just looked at the code and don’t see any reason whatsoever for this $link_text variable to be be escaped – the text is set in the backend by an admin, so there shouldn’t be any concerns about it.
Can we revert to
echo ($link_text)
here?Forum: Plugins
In reply to: [LiteSpeed Cache] Please remove this noticeThanks, yes I know it’s just a reminder. But it would be great if it only happens if there’s two object caching plugins turned on at the same time.
Forum: Plugins
In reply to: [Code Manager] Where are snippets stored? Database or PHP files?Thanks for the reply! But this isn’t helpful for me – I’ll keep looking for a plugin that stores snippets in files.
It appears to be working fine now. Thanks!
Given that you say it redirects, I wonder if we both have some htaccess redirect going on. I’ll check mine later today. Yet, the fact that we both have this issue with the same plugin does suggest it is the plugin in some way.
- This reply was modified 2 years, 9 months ago by Nick.
I just installed a fresh WP site and didnt have the problem. Something strange is happening with my site… I’ll follow up if I figure it out.
Forum: Plugins
In reply to: [LiteSpeed Cache] Cant pull images that were uploaded with BuddyBossDone. Thanks very much!
Forum: Plugins
In reply to: [LiteSpeed Cache] Cant pull images that were uploaded with BuddyBossThanks, however I don’t think that’s the problem. As I’ve said, LS Cache recognizes the files and even sends them successfully – it just doesnt pull them. Here are two screenshots of my database, showing that they enter the litespeed_img_optm and litespeed_img_optming tables and receive a successful response from your server. They never leave the optming table though.
https://ibb.co/s1Rn8L7
https://ibb.co/K661L07
https://ibb.co/y0GW14d
https://ibb.co/Y3tZ4vgThe status never changes from 3 (requested) to 6 (notified). It just seems like your server rejects them completely rather than the plugin and its queries being the problem. If that’s just how it is, then I’ll leave this alone. But it might be worth looking into why your server is rejecting photos that it is successfully receiving (and even telling my server that it has received) – it may be a very simple and unnecessary line of code that looks for a particular filepath.
Forum: Plugins
In reply to: [LiteSpeed Cache] Cant pull images that were uploaded with BuddyBossI just submitted a report
Report number: ZCJCWCBO
Report date: 05/28/2022 18:17:36My debug log that covers a few different actions
https://pastebin.com/ryQ2iYU41. Uploaded an image in media library.
2. Optimized and pulled
3. Uploaded an image through BB Activity Feed.
4. Optimized but never pulled.
5. Upload another image to media library.
6. Optimized again, and it seemed to try to do the BB ones again but failed. I think it successfully optimized the media library image group though.I’m not sure how we would debug this – its clearly something within the BuddyBoss mechanism that is preventing it from happening. They get saved in /wp-content/uploads/bb_medias/2022/05/*.jpg. Not sure if LS Cache is having trouble writing to that path despite it being able to read/recognize images from it? Or if there is some BB filter that is blocking it all.
If you don’t want to investigate another plugin, that is completely understandable…
Forum: Plugins
In reply to: [LiteSpeed Cache] Cant pull images that were uploaded with BuddyBossUgh. Super annoying. If you click “Destroy all optimization data” it resets your upload limit to 1. That should DEFINITELY not happen – the limit should be stored in the user account on Quic.cloud.
This is going to cost me hours of time…
Forum: Plugins
In reply to: [LiteSpeed Cache] Cant pull images that were uploaded with BuddyBossThanks. I am debugging now. I cleared everything and it successfully pulled an image from the Media Library. Unfortunately my limit is currently 4 images and there’s a 5 minute gap between submissions, so I have to keep waiting.
I will submit a report when ready and notify you here.
Forum: Plugins
In reply to: [LiteSpeed Cache] Cant pull images that were uploaded with BuddyBossNo, it does connect because I can see on Quic.cloud that the usage counter has incremented.
Cleanup unfinished data doesn’t help. I already did that prior to my reports.
I’ll try disabling everything other than LS cache and see what happens,but don’t expect it to work.
Forum: Plugins
In reply to: [LiteSpeed Cache] Cant pull images that were uploaded with BuddyBoss