AMPXF - AMP for Xenforo 2

AMPXF - AMP for Xenforo 2 2.3.0 Patch Level 3

No permission to buy (€50.00)
  • Moved <amp-analytics> code into own template amp_analytics for better separation and easier management of custom code there (less template conflicts)
  • AMPBot won't complain about logo width/height not being set when using a text logo
  • Extend XFRM & XFMG correctly with the XFCP_-system so it works with other addons that also extend their functionality.
Fixes the ErrorException: [E_NOTICE] Undefined index: isAMP error
  • Option for showing Text logo instead of Image logo
  • Style properties for Text logo
  • Fixed class extension to be done correctly
    • This should fix the Call to undefined method MaZ\AMP\XF\Template\Templater22::foo() errors some have experienced
  • Fix to always expose the $isAMP variable to templates and macros
AddonFlare apparently sets a really high "Execution order" on their addons (999999999) which seems to have problems with the Templater not finding functions in their addons when ours is installed.
Fix so that the AMP options ganalytics id overrides the "default" XF set option. (Previously only set if XF one was empty and AMP one set)
  • Like
Reactions: Sunka
  • Fix embed for JSFiddle
  • Refactored code a bit
  • Fix "members online" pixel for RMS/Showcase when viewing "reviews"
  • Fix compatibility with forums that don't have useFriendlyUrls enabled
  • Fix page criterias for "show only on AMP" / "don't show on AMP" so they work in Siropus Ad Manager
  • Fix icons not showing if the "light" typography is used
  • Fix codepen embed to work on AMP pages
  • Like
  • Love
Reactions: Sperber and Sunka
  • New styles added in 1.3.3 failed due to XF2.1 not supporting the _prepend that XF2.2 does
  • Andy/SimilarThreads renders doubly on AMP, this one fixes so the "wide" version is hidden
  • Like
Reactions: Sunka
Note to anyone upgrading from 1.3.1: Since version 1.3.2 the addon now uses the common thread_view-template. If some other addon inserts bad markup into that view, the AMP pages will be invalid until those are fixed.
  • Fixed the addon to strip out badly inserted scripts (single-quotes...)
  • Like
Reactions: Sunka
Back
Top Bottom