AMPXF - AMP for Xenforo 2

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

No permission to buy (€50.00)

Betclever

Well-known member
@mazzly

Does it change the look of the pages?
I mean, I use UIX pro as main style but I customized a lot of things and don't want to lose changes...

Thanks to confirm before purchase. :)
 

mazzly

Well-known member
@mazzly

Does it change the look of the pages?
I mean, I use UIX pro as main style but I customized a lot of things and don't want to lose changes...

Thanks to confirm before purchase. :)
The overall look should be quite similar, as the AMP pages will render using the same styles etc. But if you have made customization to e.g. templates then you will have to make the same changes to the AMP-related templates. One thing to consider also is if those custom changes you have made are visible on a mobile screen or only related to desktop?

You can sen a PM to me with your forum and tell what customizations and I'll have a closer look at what might be possible or not :) 👍
 

duderuud

Well-known member
@mazzly

Does it change the look of the pages?
I mean, I use UIX pro as main style but I customized a lot of things and don't want to lose changes...

Thanks to confirm before purchase. :)

Normal page:

AMP page:
 

Betclever

Well-known member
Normal page:

AMP page:

Navbar is gone?
 

duderuud

Well-known member
Got some errors:
  • ErrorException: Template error: [E_WARNING] Attempt to read property "Data" on null
  • src/addons/XFMG/Entity/MediaItem.php:995
  • Generated by: Unknown account
  • Nov 28, 2021 at 10:39 AM

Stack trace​

#0 src/addons/XFMG/Entity/MediaItem.php(995): XF\Template\Templater->handleTemplateError(2, '[E_WARNING] Att...', '/home/bla/dom...', 995)
#1 src/XF/Mvc/Entity/Entity.php(159): XFMG\Entity\MediaItem->getStructuredData()
#2 src/XF/Mvc/Entity/Entity.php(117): XF\Mvc\Entity\Entity->get('structured_data')
#3 /mnt/storage/internal_data/code_cache/templates/l2/s12/public/xfmg_media_view.php(43): XF\Mvc\Entity\Entity->offsetGet('structured_data')
#4 src/XF/Template/Templater.php(1651): XF\Template\Templater->{closure}(Object(MaZ\AMP\XF\Template\XF22\Templater), Array, NULL)
#5 src/addons/MaZ/AMP/XF/Template/XF22/Templater.php(52): XF\Template\Templater->renderTemplate('xfmg_media_view', Array, true, NULL)
#6 src/XF/Template/Template.php(24): MaZ\AMP\XF\Template\XF22\Templater->renderTemplate('public:xfmg_med...', Array)
#7 src/XF/Mvc/Renderer/Html.php(50): XF\Template\Template->render()
#8 src/XF/Mvc/Dispatcher.php(460): XF\Mvc\Renderer\Html->renderView('XFMG:Media\\View', 'public:xfmg_med...', Array)
#9 src/XF/Mvc/Dispatcher.php(442): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#10 src/XF/Mvc/Dispatcher.php(402): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#11 src/XF/Mvc/Dispatcher.php(60): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#12 src/XF/App.php(2345): XF\Mvc\Dispatcher->run()
#13 src/XF.php(512): XF\App->run()
#14 index.php(20): XF::runApp('XF\\Pub\\App')
#15 {main}

Request state​

array(4) {
["url"] => string(40) "/media/fb_img_1543746843996-jpg.1328252/"
["referrer"] => bool(false)
["_GET"] => array(1) {
["/media/fb_img_1543746843996-jpg_1328252/"] => string(0) ""
}
["_POST"] => array(0) {
}
}
[/code]

I also got
Code:
ErrorException: Template error: [E_WARNING] Attempt to read property "height" on null
Code:
ErrorException: Template error: [E_WARNING] Attempt to read property "width" on null

Also got this one but that may be generated by a custom add-on I use:
  • ErrorException: Template error: [E_USER_WARNING] Cannot call method getModelOptions on a non-object (NULL)
  • src/XF/Template/Templater.php:1176
  • Generated by: userX
  • Nov 26, 2021 at 10:29 PM

Stack trace

#0 [internal function]: XF\Template\Templater->handleTemplateError(512, '[E_USER_WARNING...', '/home/bla/dom...', 1176)
#1 src/XF/Template/Templater.php(1176): trigger_error('Cannot call met...', 512)
#2 /mnt/storage/internal_data/code_cache/templates/l2/s12/public/xa_sc_item_edit_macros.php(251): XF\Template\Templater->method(NULL, 'getModelOptions', Array)
#3 src/XF/Template/Templater.php(824): XF\Template\Templater->{closure}(Object(MaZ\AMP\XF\Template\XF22\Templater), Array, NULL)
#4 src/addons/MaZ/AMP/XF/Template/Templater.php(139): XF\Template\Templater->callMacro('xa_sc_item_edit...', 'item_category_s...', Array, Array, Object(XF\Template\MacroState))
#5 /mnt/storage/internal_data/code_cache/templates/l2/s12/public/xa_sc_item_edit.php(361): MaZ\AMP\XF\Template\Templater->callMacro('xa_sc_item_edit...', 'item_category_s...', Array, Array)
#6 src/XF/Template/Templater.php(1651): XF\Template\Templater->{closure}(Object(MaZ\AMP\XF\Template\XF22\Templater), Array, NULL)
#7 src/addons/MaZ/AMP/XF/Template/XF22/Templater.php(52): XF\Template\Templater->renderTemplate('xa_sc_item_edit', Array, true, NULL)
#8 src/XF/Template/Template.php(24): MaZ\AMP\XF\Template\XF22\Templater->renderTemplate('public:xa_sc_it...', Array)
#9 src/XF/Mvc/Renderer/Html.php(50): XF\Template\Template->render()
#10 src/XF/Mvc/Dispatcher.php(460): XF\Mvc\Renderer\Html->renderView('XF:Item\\Edit', 'public:xa_sc_it...', Array)
#11 src/XF/Mvc/Dispatcher.php(442): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#12 src/XF/Mvc/Dispatcher.php(402): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#13 src/XF/Mvc/Dispatcher.php(60): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#14 src/XF/App.php(2345): XF\Mvc\Dispatcher->run()
#15 src/XF.php(512): XF\App->run()
#16 index.php(20): XF::runApp('XF\\Pub\\App')
#17 {main}

Request state​

array(4) {
["url"] => string(70) "/marktetplace/matchless-g80s-scrambler-compleet-gerestaureerd.1071/edit"
["referrer"] => string(92) "https://www.domain.com/marktetplace/matchless-g80s-scrambler-compleet-gerestaureerd.1071/"
["_GET"] => array(1) {
["/marketplace/matchless-g80s-scrambler-compleet-gerestaureerd_1071/edit"] => string(0) ""
}
["_POST"] => array(0) {
}
}
 
Last edited:

mazzly

Well-known member
Got some errors:




I also got
Code:
ErrorException: Template error: [E_WARNING] Attempt to read property "height" on null
Code:
ErrorException: Template error: [E_WARNING] Attempt to read property "width" on null

Also got this one but that may be generated by a custom add-on I use:


Hmm, I don't think any of those errors are due to the AMPXF addon. Mostly because they happen on non-AMP urls, but also because the stacktraces happen in the lines where AMPXF calls the original "parent function" :)
 

MarenLBC

Active member
so looks like https://ampxf.com/ expired.
Yes I saw that. I got a response to my support ticket and when I went to the site I got the parked page.

Sad A Christmas Story GIF by filmeditor
Sad Pauly D GIF by A Double Shot At Love With DJ Pauly D and Vinny
 

JamesBrown

Well-known member
I won’t be renewing anyway. Apart from it being a good broken link checker, It did very little if anything to increase traffic for me. Certainly not worth the large forum rate I paid.
 

Mr. Jinx

Well-known member
But does any know if disabled, will it down the rank search from google?
I disabled it a few month ago and didn't see a drop in ranking.
Google just stops indexing AMP pages but it didn't affect the search results or total pageviews in a negative way.:


1638787706920.png


1638787887481.png
 
Last edited:
Top