AMPXF - AMP for Xenforo 2

AMPXF - AMP for Xenforo 2 2.3.0 Patch Level 3

No permission to buy (€50.00)
  • Support for XFMG
  • Support for XFRM
  • Share buttons fixed to show and work as intended
  • Fix a bug with RC5 stripping scripts that could break layout with some addons
  • Like
Reactions: Sunka and diretur
Since 1.3.2 now uses the thread_view template it must also strip out extra scripts added by other addons. This release solves that problem.
  • Like
Reactions: Sunka
@Sperber noticed admin spammed about errors due to a specific template using XF2.2-related functions.
This version includes a specific template for XF2.1
  • Fix compatibility with AddonFlare Paid Registrations
  • Hide the reply form when replies are allowed for guests
Okay, been working on this one all weekend, and now finally have the AMPXF addon running on XF2.1 and XF2.2 with the same package

For people currently on 1.3.1, this release doesn't do much other than enable compatibility with XF2.1
  • Like
Reactions: foiovitor and Sunka
This one includes a fix where the second load of a page would break the style so it looked like this (if within pageCache time):
1612454079231.webp

Instead of the intended:
1612454101559.webp

This problem only happened on a few forums, and seems to be related to stricter pageCache rules.
If you're already on XF 2.2 (or planning to upgrade soon): Don't like this update as it is irrelevant for you :)



Guys, I had a slight epiphany moment and think I might have figured out a way that we could support 2.1 alongside 2.2 without too much extra maintenance work (No promises yet though).

Before we start doing that I would want to know how many of you actaully would need a 2.1 version.

If you are still using XF 2.1 and don't plan to upgrade to 2.2. anytime soon (and ofc, you want this addon): Put a like on this update and we will see if it makes sense to put in the extra rework that would be needed to support the 2.1 version.
  • Add support for AddonsLab/Classifieds (XenAddons/Showcase variant)
  • Removed advanced option to remove inline styles
  • Shrunk styles a lot
  • Fix problem with some iframes
  • Limit amp-iframes to not be larger that viewport size
This fix was to fix a few problems where stylesheet size was just above allowed limitations for Showcase
The author stylesheet specified in tag 'style amp-custom' is too long - document contains 750XX bytes whereas the limit is 75000 bytes
This fix makes the link in "load previous comments" go to the post itself on the "real page", where it will work to load more comments with Ajax.
Thanks @rdn for reporting this :) 👍
Back
Top Bottom