AMPXF - AMP for Xenforo 2

AMPXF - AMP for Xenforo 2 [Paid] 1.4.8 Patch Level 4

No permission to buy (€50.00)

V3NTUS

Well-known member
How large?

This is our website growing every month.

View attachment 271654

Website growth means nothing in this context, unless you can prove it's directly related to having AMP pages, as websites can grow for a lot of factors, mainly for the content they have which is still the main and most important SEO factor. Furthermore, already blazing-fast and optimized websites will most likely not need this add-on. This is probably why @JamesBrown (and probably many others) didn't notice any changes, and I'm with him, too. The developer of this add-on made it clear that he cannot guarantee a website growth (even though some websites can get a benefit from using this).
 

Mendalla

Well-known member
Website growth means nothing in this context, unless you can prove it's directly related to having AMP pages, as websites can grow for a lot of factors, mainly for the content they have which is still the main and most important SEO factor.
Yep. You need more than simple growth figures. For instance, stats showing year over year growth for the same period changing after implementing the add-on would be something that would be more convincing. So compare growth for Q1 of the year before implementing to Q1 of the year after. If there is a significant change, then maybe the add-on did something. If the trends are similar, then maybe other factors are at play. Controlling, of course, for any other changes that were made (so, say, you added a new article forum/blog at the same time as you implemented AMP) that might have affected growth. Simple, raw statistics are great when it's a simple situation, but something like website activity can be quite complex, esp. when making changes.
 

Ivancas

Active member
there is one cloudflare setting that you can turn on. real amp url.

What's the difference between CloudFlare AMP and AMPXF?
 

Chromaniac

Well-known member
Cloudflare does not generate amp pages for you. This add-on does. Cloudflare offers a feature that lets amp pages load on your own domain rather than on Google's. It is not essential but useful if you like your visitors to see your link in the browser instead of Google's cache domain.
 

Ivancas

Active member
Cloudflare does not generate amp pages for you. This add-on does. Cloudflare offers a feature that lets amp pages load on your own domain rather than on Google's. It is not essential but useful if you like your visitors to see your link in the browser instead of Google's cache domain.
Do you believe CloudFlare AMP will help to increase SEO?
 

Chromaniac

Well-known member
I am not in a position to say anything in this aspect. Cloudflare would not hurt. Different forums have responded differently wrt rankings and traffic with this add-on. You can only see if it works for you once you have it installed for a few months at least.
 

kaydo

Member
Somehow the bot can't find my installation and I can't figure out the problem. I already allowed the bot in cloudflare and checked my robots file.
Also I checked the Setup.php to find the callback url and it seems not to work.

1661362217182.png
 

Ivancas

Active member
Somehow the bot can't find my installation and I can't figure out the problem. I already allowed the bot in cloudflare and checked my robots file.
Also I checked the Setup.php to find the callback url and it seems not to work.

View attachment 272476
Do you have news? Mine is on the same state and my ticket is unanswered since 4 days ago!
 

kaydo

Member
Do you have news? Mine is on the same state and my ticket is unanswered since 4 days ago!
My ticket got answered but he just provides me IP adresses from his bot and that's it. Second ticket is still not answered and problem is still there.
 

mazzly

Well-known member
What's the difference between CloudFlare AMP and AMPXF?
They are not really different, but work together, the AMP Real URL make AMP pages look better :)

My ticket got answered but he just provides me IP adresses from his bot and that's it. Second ticket is still not answered and problem is still there.
Sorry about this, as I said I was out on travels :)
Now the issues are fixed and the bot is up and running as it should again :) 👍
 

mazzly

Well-known member
Is this known bug?
Custom CSS codes from amp_extra.less isn't applied on the front end.
Not that we know of... Please open a support ticket for this and we can investigate :) Things added to amp_extra.less should be added, as long as it is used by elements of the page. (There is the css cleaner that removes unused css..)
 

kaydo

Member
I got some errors, how can I solve this?

Code:
TypeError: array_merge(): Argument #1 must be of type array, bool given src/XF/Http/Reader.php:118
Generated by: Unknown account Sep 15, 2022 at 2:13 PM
Stack trace
#0 src/XF/Http/Reader.php(118): array_merge(false, Array)
#1 src/XF/Http/Reader.php(81): XF\Http\Reader->requestUntrusted('get', 'https://game-dn...', Array, 'in...', Array, NULL)
#2 src/addons/MaZ/AMP/Cron/ImageSize.php(53): XF\Http\Reader->getUntrusted('https://game-dn...', Array, 'in...', Array, NULL)
#3 src/addons/MaZ/AMP/Cron/ImageSize.php(17): MaZ\AMP\Cron\ImageSize::fetchImageSizeFromUrl('https://game-dn...')
#4 src/XF/Job/Cron.php(37): MaZ\AMP\Cron\ImageSize::checkImageSizes(Object(XF\Entity\CronEntry))
#5 src/XF/Job/Manager.php(260): XF\Job\Cron->run(8)
#6 src/XF/Job/Manager.php(202): XF\Job\Manager->runJobInternal(Array, 8)
#7 src/XF/Job/Manager.php(86): XF\Job\Manager->runJobEntry(Array, 8)
#8 job.php(43): XF\Job\Manager->runQueue(false, 8)
#9 {main}
Request state
array(4) {
  ["url"] => string(8) "/job.php"
  ["referrer"] => string(41) "https://url/forum/forum.id/"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
 

mazzly

Well-known member
I got some errors, how can I solve this?

Code:
TypeError: array_merge(): Argument #1 must be of type array, bool given src/XF/Http/Reader.php:118
Generated by: Unknown account Sep 15, 2022 at 2:13 PM
Stack trace
#0 src/XF/Http/Reader.php(118): array_merge(false, Array)
#1 src/XF/Http/Reader.php(81): XF\Http\Reader->requestUntrusted('get', 'https://game-dn...', Array, 'in...', Array, NULL)
#2 src/addons/MaZ/AMP/Cron/ImageSize.php(53): XF\Http\Reader->getUntrusted('https://game-dn...', Array, 'in...', Array, NULL)
#3 src/addons/MaZ/AMP/Cron/ImageSize.php(17): MaZ\AMP\Cron\ImageSize::fetchImageSizeFromUrl('https://game-dn...')
#4 src/XF/Job/Cron.php(37): MaZ\AMP\Cron\ImageSize::checkImageSizes(Object(XF\Entity\CronEntry))
#5 src/XF/Job/Manager.php(260): XF\Job\Cron->run(8)
#6 src/XF/Job/Manager.php(202): XF\Job\Manager->runJobInternal(Array, 8)
#7 src/XF/Job/Manager.php(86): XF\Job\Manager->runJobEntry(Array, 8)
#8 job.php(43): XF\Job\Manager->runQueue(false, 8)
#9 {main}
Request state
array(4) {
  ["url"] => string(8) "/job.php"
  ["referrer"] => string(41) "https://url/forum/forum.id/"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
Interesting, will need to look into that one, could you open a support request on ampxf.com and supply the full error message? :)

is latest version compatible with PHP 7.4 ?
Yes, we are running 7.4 on our own site as well :) 👍
 
Interesting, will need to look into that one, could you open a support request on ampxf.com and supply the full error message? :)


Yes, we are running 7.4 on our own site as well :) 👍
thank you for your response, but still have few questions

does this need a special configuration re-writing rules in order to work with Lighttpd, Nginx, etc..
 
Top