AMPXF - AMP for Xenforo 2

AMPXF - AMP for Xenforo 2 2.3.0 Patch Level 3

No permission to buy (€50.00)
  • Add some missing colors for notices
  • Allow dismissing notices with amp-bind
  • compatibility styles for:
    • AVForums/PrefixEssentials
    • Andy/QuickSearch
  • Add some missing utility classes
  • Keep class-attr when converting <img> to <amp-img> if dimensions are known.
  • Fixed styling for article forum view with "preview"-style, thanks for noticing this @briansol 👍
  • Small improvement to MathML handler
  • Compatibility with addon TB/BenzerKonular (Turkish addon for "Similar threads")
  • Small improvement for compatibility with Andy/similarThreads
  • Insert <meta>-tags for sharing and similar like the PAGE_CONTAINER does it.
  • Fix <amp-imgur> to work in some cases where id is passed differently to template
  • Fix a potential bug with share_page_macros if forum owner has added own modifications to it
  • Compatibility with User Activity by Xon (hiding it, stats will anyway be "invalid" due to AMP caches)
  • Compatibility with AddonFlare ForumStats (hiding it until @AddonFlare provides a debug package)
  • Hide the non-functioning filterbar. Thanks @Anatoliy
  • Node icons to show the "comments" if the defined ones don't exist in Fontawesome Free
    • If exists will use similar icon.
Note: Don't install this version unless you are willing to have a forumlist / tagview AMP page that might look funky due to some other addon/widget incompatibility. (This is the initial version)
  • Added AMP variant for "tag view" (e.g. www.yourforum.com/tags/pizza-recipes)
    • Requested by a customer that ranks good for tag pages related to certain topics 👍
  • Added AMP variant for "main forum list" and "node list" pages
  • Disable pageCache for AMP pages, as it can otherwise "show" forums nodes that are hidden for members if a logged in user has visited the ?amp=1-page
  • Style property for setting Sidebar colors if they differ
    • Seems some forums running ThemeHouse/UIX need this
  • ThemeHouse font fix further fixed, apparently they do:
    • Set 62.5% font size on html-tag (This we already had fix for)
    • Set body-tag font-size to 1.5rem. (This we didn't have, making some forums font sizes be too small in some parts of messages...)
  • Ensure that "share icons" on bottom always show
    • Some themes seem to override these to weird values so they don't show correctly
  • Fix typo in comment in template :D
  • Fix block-container-ad to be 100% width by default so that special amp-ad/embed components can correctly fill up the needed space
  • Utilize <amp-social-share> for the share button on posts/threads (only visible on the actual mobile device)
  • Fix "share icon" for posts
  • Compatibility with AL/OriginalPosterHighlight
  • Compatibility with EWR/Medio
    • Also cleans away some broken markup border="0" which is not okay with HTML5 markups
  • Redirect ?amp=1 on forums/subforums to the canonical page since those are not AMP:ed (yet)
  • Fix favicon background issue for XenBase theme
  • Cleaned up the option descriptions a bit.
  • Added link to FAQ about JSON-LD
  • Added option to disable AMP for threads started by specific users
    • This will allow compatibility with e.g. "commen threads" created by @Mangini's XFtoWP addon
Note: This release will likely require a "merge template" after install. Especially if you have added custom modifications to amp_style_custom.less
  • Rename amp_style_custom.less to amp_extra.less to be more aligned with extra.less-naming
    • You should copy over your custom changes from amp_style_custom.less to the new amp_extra.less
  • "Block-level" ad positions to also have the class block-container-ad on them so they can be styled
    • Default styling (in amp_extra.less) also that sets:
      • transparent background
      • no border
      • center the ad (in case it is not full-width/responsive)
Back
Top Bottom