Thanks, on 1.3.5 Beta 1 now but unfortunately it's still not finding any value for@HJW Above release should fix the missing$isAMP
variable
$isAMP
when called in post_macrosOh yes a tiny problem there.. Beta 2 is available with fixThanks, on 1.3.5 Beta 1 now but unfortunately it's still not finding any value for$isAMP
when called in post_macros
arg-isAMP=""
to the macro so that $isAMP
becomes available inside the macro:<xf:macro name="post"
arg-post="!"
arg-thread="!"
arg-isAMP=""
arg-highlightedPosts="{{ [] }}">
<xf:if is="$__globals.isAMP"></xf:if>
TheAlternative 2 worked!
Now just waiting to see what traffic it gets
Offtopic but google amp auto ads, it's got the two sets of code needed and set up right. But no ads are showing, is this expected if amp has only been live for 24 ish hours? Google has no amp pages listed in the search console, but I can see that some users are being sent to amp
<amp-auto-ads>
seems to work spotty at best (at least with google). For some it works sometimes, but can place the ads in weird positions.After opening of <body>-tag [AMP]
and following code:<amp-sticky-ad layout="nodisplay">
<amp-ad width=320 height=100
type="doubleclick"
data-slot="....">
</amp-ad>
</amp-sticky-ad>
There is a template modification that adds the amp html tag, you should be able to disable it I thinkHow I can activate the addon but not put the meta tag (amphtml) live until I troubleshoot the code and design of the generated AMP pages?
Kinda doesn't make sense....
AMPXF - AMP for Xenforo 2 [Paid]
OK, I will not go for a week. Let it be a day. ) edge cache TTL or browser cache TTL?xenforo.com
For non-profit forums we have a 40€ license that has no traffic limitations.
I've been thinking about adding this at some point, as I saw some of the early customers did something similar..@mazzly , I applied this tutorial to display a text logo instead of img.
How can I do the same for amp pages? They show img logo.Text Logo
If you like to keep things simple (and have zero graphic editing ability, like me) then a text logo is for you. No more messing around with graphics programs and coming up with something which looks like it was created by an 8 year old. It's...xenforo.com
Thank you!BEST ADDONS
Yes! )I guess now would be a good time to add that as an option
We use essential cookies to make this site work, and optional cookies to enhance your experience.