AMPXF - AMP for Xenforo 2

AMPXF - AMP for Xenforo 2 [Paid] 2.3.0 Patch Level 3

No permission to buy (€50.00)
Any way to disable certain outputs. If you look here you'll see its outputting ozzmods badges, thread owner and some stylings are off.

Temp work around

amp_extra.less

Code:
/* Hide ozzmodz badge output */
.featuredBadges--message{
  display:none;
}

/* Hide Reaction Bar */
.message .reactionsBar {
    display: none;
}
 
Odd 2.3.3 bug

Code:
[*]DUPLICATE_ATTRIBUTE on line: 867 column: 44
The tag 'amp-img' contains the attribute 'height' repeated multiple times.
[*]DUPLICATE_ATTRIBUTE on line: 3062 column: 7
The tag 'amp-img' contains the attribute 'height' repeated multiple times.
[*]DUPLICATE_ATTRIBUTE on line: 4207 column: 46
The tag 'amp-img' contains the attribute 'height' repeated multiple times.
[*]DUPLICATE_ATTRIBUTE on line: 6509 column: 9
The tag 'amp-img' contains the attribute 'height' repeated multiple times.
[*]DUPLICATE_ATTRIBUTE on line: 8525 column: 77
The tag 'amp-img' contains the attribute 'height' repeated multiple times.
The amp-img was just an Emoji but its outputting twice in code, appears once.

Code:
 <amp-img width="22" height="22" layout="fixed" src="https://cdn.jsdelivr.net/joypixels/assets/8.0/png/unicode/64/1f600.png" class="smilie smilie--emoji i-amphtml-element i-amphtml-layout-fixed i-amphtml-layout-size-defined i-amphtml-built i-amphtml-layout" alt=":D" title="Big grin    :D" data-smilie="8" data-shortname=":D" i-amphtml-layout="fixed" style="width: 22px; height: 22px;"><img decoding="async" alt=":D" title="Big grin    :D" src="https://cdn.jsdelivr.net/joypixels/assets/8.0/png/unicode/64/1f600.png" data-smilie="8" data-shortname=":D" class="i-amphtml-fill-content i-amphtml-replaced-content"></amp-img></div>

Demo.
 
Odd 2.3.3 bug

Code:
[*]DUPLICATE_ATTRIBUTE on line: 867 column: 44
The tag 'amp-img' contains the attribute 'height' repeated multiple times.
[*]DUPLICATE_ATTRIBUTE on line: 3062 column: 7
The tag 'amp-img' contains the attribute 'height' repeated multiple times.
[*]DUPLICATE_ATTRIBUTE on line: 4207 column: 46
The tag 'amp-img' contains the attribute 'height' repeated multiple times.
[*]DUPLICATE_ATTRIBUTE on line: 6509 column: 9
The tag 'amp-img' contains the attribute 'height' repeated multiple times.
[*]DUPLICATE_ATTRIBUTE on line: 8525 column: 77
The tag 'amp-img' contains the attribute 'height' repeated multiple times.
The amp-img was just an Emoji but its outputting twice in code, appears once.

Code:
 <amp-img width="22" height="22" layout="fixed" src="https://cdn.jsdelivr.net/joypixels/assets/8.0/png/unicode/64/1f600.png" class="smilie smilie--emoji i-amphtml-element i-amphtml-layout-fixed i-amphtml-layout-size-defined i-amphtml-built i-amphtml-layout" alt=":D" title="Big grin    :D" data-smilie="8" data-shortname=":D" i-amphtml-layout="fixed" style="width: 22px; height: 22px;"><img decoding="async" alt=":D" title="Big grin    :D" src="https://cdn.jsdelivr.net/joypixels/assets/8.0/png/unicode/64/1f600.png" data-smilie="8" data-shortname=":D" class="i-amphtml-fill-content i-amphtml-replaced-content"></amp-img></div>

Demo.


I have the same issue.
 
Why is it with the addon disabled there still are seven class extentions still active?
Oh... Can you PM me which ones (and also which XF version) and I'll have to take a look what that might be..
I have the same issue.
Same here...
yep, it seems to have come in the 2.3 Patch level 1 where we fixed it being missing sometimes, but apparently it now adds it extra in some places instead 🙈
 
yep, it seems to have come in the 2.3 Patch level 1 where we fixed it being missing sometimes, but apparently it now adds it extra in some places instead 🙈

Is there any forecast for when this bug might be fixed?

Thx.
 
Last edited:
Oh... Can you PM me which ones (and also which XF version) and I'll have to take a look what that might be..


yep, it seems to have come in the 2.3 Patch level 1 where we fixed it being missing sometimes, but apparently it now adds it extra in some places instead 🙈


When will this bug be fixed? It has been reported almost 4 months ago...
 
Hello,

I’ve come across a potential issue that seems to affect category pages. Specifically, the data-amp-page-type attribute is not defined in the listener.php file for category templates. As a result, styles are not loading properly for these pages, causing inconsistencies in the AMP experience.

While data-amp-page-type works perfectly for other templates like forum, thread, media, and resource, category pages seem to be excluded from this functionality. This issue limits the visual consistency and usability of category pages in AMP mode.

Could you please investigate this and consider including support for data-amp-page-type for category pages.

Xenforo 2.3.4
AMPXF 2.3.0 Patch Level 2

Thanks and best regards
 
Sadly, the AMPXF bot is blocked when CF's Bot Fight Mode is enabled. I wish @mazzly had a solution for this.

Yeah i submitted a ticket around a week or two ago and hasn’t replied. Im probably just going to uninstall it and cancel the renewal.
 
Last edited:
Sadly, the AMPXF bot is blocked when CF's Bot Fight Mode is enabled. I wish @mazzly had a solution for this.
This seems to be a limitation with CF free tier: https://developers.cloudflare.com/bots/get-started/free/#limitations

I updated our FAQ page about this mention that :)

Yeah i submitted a ticket around a week or two ago and hasn’t replied. Im probably just going uninstall it and cancel the renewal.
Yep, sorry about that, been super busy lately 🙈
 
Hello,

I’ve come across a potential issue that seems to affect category pages. Specifically, the data-amp-page-type attribute is not defined in the listener.php file for category templates. As a result, styles are not loading properly for these pages, causing inconsistencies in the AMP experience.

While data-amp-page-type works perfectly for other templates like forum, thread, media, and resource, category pages seem to be excluded from this functionality. This issue limits the visual consistency and usability of category pages in AMP mode.

Could you please investigate this and consider including support for data-amp-page-type for category pages.

Xenforo 2.3.4
AMPXF 2.3.0 Patch Level 2

Thanks and best regards
@mazzly , I wanted to follow up on my previous message regarding the missing data-amp-page-type attribute for category pages in AMPXF. Since there hasn't been a response yet, I wanted to check if you've had a chance to review this issue.

This missing attribute in listener.php prevents styles from loading correctly on AMP category pages, causing inconsistencies. It would be great to know if this is something you're planning to address in a future update.

Please let me know if you need any further details or if there’s a workaround I could apply in the meantime.

Looking forward to your response.
 
Hi everyone,

It has now been over a month since I reported the issue regarding the missing data-amp-page-type attribute for category pages in AMPXF. Unfortunately, I have yet to receive any response from the developer.

This issue causes category pages to load incorrectly in AMP mode due to missing styles. Since this attribute is defined for other pages like forum, thread, media, and resource, I believe category pages should also have proper support.

I must say that it’s quite disappointing to wait this long without any acknowledgment. I understand that developers may be busy, but as a paying customer, I expected at least a response. If AMPXF is no longer being maintained, I think it would be fair to inform the users so we can explore alternative solutions.

Has anyone else faced this issue with category pages? If so, have you found any workarounds or fixes? Also, has anyone received any support from the developer recently?

Looking forward to your feedback.

Best,
 
Back
Top Bottom