Hi,
when using the somewhat exotic but not forbidden Accept header
Accept: */*, image/avif
on a text/html output (for example the forum homepage) Xenforo produces a 406 error.
This is not the case when using either
Accept: */*, text/html, image/avif
or
Accept: */*
which both return a 200...
Hi,
I just updated one of our forums to 2.2.5 and did a standard W3C Validator check afterwards this which reported an error message concerning the message_macros template:
The corresponding code line is
<div class="message-userDetails">
<h4 class="message-name"><xf:username user="$user"...
If anyone has a similar problem:
1. clone the lightbox_macros template
2. add the lazy loading adjustments for [ img ] code only in the original version of the lightbox_macros template
3. call the cloned (unmodified) version of lightbox_macros in the bb_code_tag_attach template
--> lazy...
Here is my (not very elegant )solution to this problem:
I modified the lightbox_macros template so that it adds
<script>
UpDateLazy();
</script>
as part of the [ IMG ] tag (only if viewed by a registered user!).
So whenever a member previews or updates a message and the lightbox_macros...
Will this be fixed in the nearby future as it seems to be a general problem?
Btw, the correct FilesMatch command will not fix the problem as it also appears on other forum pages as soon as you navigate there after logging out.
Will setting a max-age for specific file type using
Header set...
Hi there,
as I mentioned in my other thread I have replaced the rendering of the [ IMG ] bb code by a lazy loading of the images (I cannot use the browser function as I trigger the JS file which implements the lazy loading depending on the consent given by a cookie banner).
This results in the...
Hi,
I want to suspend the loading of external images (which have been posted using the [ IMG ] tag) until a consent is given (GDPR issue).
So far I have modified the rendering of the [ IMG ] tag (lightbox_macros and Html.php in the src/XF/BBcode/Renderer directory) to apply event-triggered...