Hi, Thanks for this great addon. Would you please help me on this 2 questions? 1. Does this addon use memcached as the storage? I was checking my memcached status and found no signs of this addon using any part of cache. 2. Regarding AMP feature, How is it possible to specify a special part of a template for not being rendered in amp version? Regards,
I am trying to use something like this in "post" template but it is not working. any idea? Code: <xen:if is="{$templateName} != 'bdcache_amp_thread_view'"> some content for not-AMP pages </xen:if>
ehsan @xfrocks Would you please make an example of that. for usage inside a template and remove some content from amp pages (for amp verification) Thanks
xfrocks @ehsan In another add-on of mine which render social buttons, it checks for amp mode and switch to use amp-social-share tag, something like this: Code: <xen:if is="{$bdCache_isAmp}"> <amp-social-share type="facebook" data-url="{$url}" data-attribution="{$xenOptions.facebookAppId}"> </amp-social-share> </xen:if>
Since installing the addon I'm getting lots of file not found errors in my log for the amp logo. Looks like the path is not anchored. It definitely is on this forum so I wonder what's wrong with me installation. Code: 2016/12/06 15:13:29 [error] 21687#1: *339124 open() ".../forum/threads/no-signal-or-weak-signal-message.2311/styles/default/bdCache/amp_logo.png" failed (2: No such file or directory), client: xx.xx.xx.xx, server: hummy.tv, request: "GET /forum/threads/no-signal-or-weak-signal-message.2311/styles/default/bdCache/amp_logo.png HTTP/1.1", host: "hummy.tv" Anyone have any ideas? Thanks.
ehsan @af123 Hi Just upload a logo here: styles/default/bdCache/amp_logo.png Or you may change it to your current logo in "bdcache_amp_header" template.
After install i have to change anything in cloudflare? I have some option to test if everything is installed ok?
After install i have to change anything in cloudflare? M I have some option to test if everything is installed ok? Hi have the same problem. In that folder have a logo amp_logo.png, but the problem is path directory after i make a test show the path is wrong. After i submit this to the https://tools.pingdom.com https://www.mydomain.com/threads/thread.199625/?amp=199625 Give-me one error : The following requests are returning 404/410 responses. Either fix the broken links, or remove the references to the non-existent resources. After i check i see this path error: https://www.mydomain.com/threads/thread.199625/styles/default/bdCache/amp_logo.png How to fix this?
xfrocks @MFTeam The image path is built with imagePath style property. Do you have that setup properly in your style?
MFTeam @xfrocks Yes my style is default xenforo. Code: https://www.mydomain.com/threads/thread.199625/styles/default/bdCache/amp_logo.png The problem is that path, the correct path is Code: https://www.mydomain.com/styles/default/bdCache/amp_logo.png Example image already default xenforo. Code: https://www.mydomain.com/styles/default/xenforo/gradients/form-button-white-25px.png Maybe is the /styles/default/xenforo/ ?? That user have the same problem in the path. How to change this?
xfrocks @MFTeam The path is built in "bdcache_amp_header" template with: Code: @imagePath/bdCache/amp_logo.png We probably need to have a better way to build up the url.
rimesia @xfrocks AMP style goes crazy when there is an Guest message. It does not show guest message and their username. Furthermore , if you have a bbcode HTML replacement with <img src""> , AMP gives error because addon doesn't change them to <amp-img src="">.
In the chrome console show this: Code: <amp-img src="styles/default/bdCache/amp_logo.png" title="Domain" width="600" height="60" layout="fixed" class="i-amphtml-element i-amphtml-layout-fixed i-amphtml-layout-size-defined i-amphtml-layout amp-notsupported" style="width: 600px; height: 60px;"> <img title="Domain" class="i-amphtml-fill-content -amp-fill-content i-amphtml-replaced-content -amp-replaced-content -amp-ghost" src="styles/default/bdCache/amp_logo.png"></amp-img>
Can you test guest post in default style? It seems to work on our tests. Also, we have this custom bb code: And this post: It got converted into this in AMP version: Code: <amp-img src="http://attachments.xfrocks.com/2017/02/1542_10d802cf1686c93963084a0b03bca0b1.jpg" width="798" height="444" layout="responsive" ></amp-img> Hmm...
Hi @xfrocks i download because i see that the plugin is compatible from xf 1.2, im in xenforo 1.3.10, but when i try to install i receive the following error: Exist one specific version for xenforo 1.3.10 ? Code: Server Error XenForo 1.4.0+ is required. bdCache_Installer::installCustomized() in bdCache/Installer.php at line 30 Thanks a lot
xfrocks @dbembibre Looks like a bug from our build, I have released a new version (v1.2.3) which should allow you to continue on XenForo v1.3. Can you please try again? Sorry for the confusion.
ENF @xfrocks Looks like this version has lost the AdminCP link to get to the Addon settings. (no clickable link on the Addon title)
dbembibre @xfrocks Strange because still getting the 1.4+ required Installed without problems, i see the line 30 from Installer.php corrected. Thanks a lot
xfrocks updated [bd] Cache with a new update entry: Maintenance Update Read the rest of this update entry...
The plugin work fine. The only problem that i found is that when i click the link "Cache TTL" that correspond with URL Cache TTL: Predeterminado i receive the error The following error occurred: You do not have permission to view this page or perform this action. Excuse my broken English.
xfrocks @dbembibre That link will check for admin manage option permission. Does your account have that permission?
robeetech @xfrocks I'm having the same issue. Where is this option found? I am a Super Admin edit: Found the page, and have confirmed I have the manage option checked. I'm on 1.5.22
@xfrocks thank you for continuing to put effort into this addon. The AMP rendering is crucial, and we're starting to see an uptick in organic google acquisitions that I'm positive is a direct result. Has anyone successfully put adsense/dfp ads into their AMP pages? Is it possible?
xfrocks @kontrabass Thank you. And it is possible and quite simple actually. Basically you just need to put this component into your page https://www.ampproject.org/docs/reference/components/ads/amp-ad
Doesnt install.. Get this error Callback bdCache_Listener::load_class_4f477c58235ffb475271e2521731d700 is invalid (Invalid Method).
Hi @xfrocks same issue here like this : https://xenforo.com/community/threads/bd-cache-paid.66614/page-25#post-1127591 but sometime report show : its purged cached related? config nothing change, its default value.
@xfrocks - thanks for the excellent cache system, adding AMP is a huge bonus. However, I have many AMP pages that are getting this validation error: Code: Any ideas on what is causing the error in the css file?
Can I have an answer about that ? I did try with default style it still does happen. Also , my bdcache file is bigger then 10gb now. Is it normal ?
@xfrocks what is this "addon-bdCloudServerHelper.xml" addon which is at https://xfrocks.com/resources/bd-cache.8/history - the top most one - under 1.2.3b? Did I not read the instructions or something, or is that the wrong addon uploaded there (I see 1.2.3 is the actual bd cache addon)? Thanks!