Alternative to Phpbb SEO Sitemap

Looking for an Extension? Have an Extension request? Post your request here for help. (Note: This forum is community supported; while there is an Extensions Development Team, said team does not dedicate itself to handling requests in this forum)
Get Involved
thecas
Registered User
Posts: 57
Joined: Sun Feb 04, 2018 4:25 pm

Alternative to Phpbb SEO Sitemap

Post by thecas »

Hi everybody.
After the latest phpbb 3.3 update this extension doesn't work anymore: viewtopic.php?f=456&t=2269621

Unfortunately at the last post of the support topic there's the abandon alert.
Can you suggest me a good alternative that make a simple xml sitemap page for google crawler?
Thank you so much.
KYPREO
Registered User
Posts: 392
Joined: Fri Feb 02, 2018 9:56 am

Re: Alternative to Phpbb SEO Sitemap

Post by KYPREO »

thecas wrote: Wed Jan 08, 2020 11:12 am Hi everybody.
After the latest phpbb 3.3 update this extension doesn't work anymore: viewtopic.php?f=456&t=2269621

Unfortunately at the last post of the support topic there's the abandon alert.
That's not the support topic. That was the original development topic. The extension was subsequently approved and submitted to the extension database: https://www.phpbb.com/customise/db/exte ... o_sitemap/

The support section is found in there.

Although it says it's for 3.1, it does work in 3.2. Without looking at it closely, i don't think it would take much to port to 3.3 as the extension has very little interaction with the forum itself. It has a simple ACP configuration page, but the actual work done by the extension its is mostly (well, all) backend database-driven.
phpBB user since 2002
www.AusRotary.com
thecas
Registered User
Posts: 57
Joined: Sun Feb 04, 2018 4:25 pm

Re: Alternative to Phpbb SEO Sitemap

Post by thecas »

I hope some developer will take this plugin ;)
User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 6826
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James

Re: Alternative to Phpbb SEO Sitemap

Post by HiFiKabin »

Easy fix

https://phpbb.hifikabin.me.uk/viewtopic.php?f=6&t=207



Offered "as is" no support given
Last edited by HiFiKabin on Thu Jan 16, 2020 11:54 am, edited 1 time in total.
thecas
Registered User
Posts: 57
Joined: Sun Feb 04, 2018 4:25 pm

Re: Alternative to Phpbb SEO Sitemap

Post by thecas »

Thank you.. it works! ;)
User avatar
motte
Registered User
Posts: 73
Joined: Wed Jan 30, 2013 10:15 pm
Name: Ralph

Re: Alternative to Phpbb SEO Sitemap

Post by motte »

Look like it works ... thank you!
Renault Scenic Forum 🚘 since 2003 ...

... lover of Modeltrains 🚂🚃🚃
ammar rauf
Registered User
Posts: 25
Joined: Thu May 24, 2018 7:11 pm

Re: Alternative to Phpbb SEO Sitemap

Post by ammar rauf »

HiFiKabin wrote: Wed Jan 08, 2020 5:38 pm Disable the extension.

Download and unzip the attached, and use it to replace the config directory OF THE EXTENSION

Enable the extension

Offered "as is" no support given


https://filebin.net/mj3wmf2q464uigoy/co ... t=et4nvu1u
Sir Link Not Working
KYPREO
Registered User
Posts: 392
Joined: Fri Feb 02, 2018 9:56 am

Re: Alternative to Phpbb SEO Sitemap

Post by KYPREO »

From the file HiFiKabin posted

New contents of routing.yml

Code: Select all

shredder_sitemap_controller:
    path: /sitemap.xml
    defaults: { _controller: shredder.sitemap.controller:display_sitemap }

shredder_sitemap_controller_file:
    path: /sitemap-{seqno}.xml
    defaults: { _controller: shredder.sitemap.controller:display_sitemap_seqno_file: seqno }
    requirements:
        seqno: \d+
New contents of services.yml:

Code: Select all

services:
    shredder.sitemap.appender:
        class: shredder\sitemap\appender
        arguments:
            - '@config'
            - '@user'
            - '%core.root_path%'
            - '%core.php_ext%'
    shredder.sitemap.core:
        class: shredder\sitemap\core
        arguments:
            - '@shredder.sitemap.appender'
            - '@auth'
            - '@config'
            - '@config_text'
            - '@dbal.conn'
            - '@service_container'
            - '@ext.manager'
            - '@user'
            - '%core.root_path%'
            - '%core.php_ext%'
    shredder.sitemap.controller:
        class: shredder\sitemap\controller\sitemap
        arguments:
            - '@shredder.sitemap.appender'
            - '@shredder.sitemap.core'
            - '@cache'
            - '@config'
            - '@user'
    shredder.sitemap.listener:
        class: shredder\sitemap\event\listener
        arguments:
            - '@auth'
            - '@config'
            - '@dbal.conn'
            - '@template'
            - '@user'
            - '%core.root_path%'
            - '%core.php_ext%'
        tags:
            - { name: event.listener }
These are the only changes.
phpBB user since 2002
www.AusRotary.com
ammar rauf
Registered User
Posts: 25
Joined: Thu May 24, 2018 7:11 pm

Re: Alternative to Phpbb SEO Sitemap

Post by ammar rauf »

Thanks, sir
User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 6826
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James

Re: Alternative to Phpbb SEO Sitemap

Post by HiFiKabin »

Thanks KYPREO

New download available from https://phpbb.hifikabin.me.uk/viewtopic.php?f=6&t=207
jartugas
Registered User
Posts: 30
Joined: Fri Aug 31, 2007 9:47 pm
Location: San Luis Potosi
Name: Juan Miguel Artigas Azas

Re: Alternative to Phpbb SEO Sitemap

Post by jartugas »

I tried the solution given, and although the error related to the extensions are gone, I still get this error:

phpBB encountered an error building the container due to an installed extension. For this reason, all extensions have been temporarily disabled. Please try purging your forum cache. All extensions will automatically be re-enabled once the container error is resolved. If this error continues, please visit phpBB.com for support.

Exception: Class "shredder\sitemap\event\listener" used for service "shredder.sitemap.listener" cannot be found.

This error only stops appearing if I manually desactive all extensions

Wold you have any idea of what can do? Thanks for any help
User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 6826
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James

Re: Alternative to Phpbb SEO Sitemap

Post by HiFiKabin »

Duplicate of viewtopic.php?p=15418556#p15418556

Please stick to the one topic per problem/issue

Locked

Return to “Extension Requests”