Change extension from /follower to custom path

Posts: 17
Joined: Wed Feb 10, 2021 11:08 pm
 Sun Jul 04, 2021 10:35 pm • via Web
Change extension from /follower to custom path

All phpbb extensions allow changing of path in the routing.yml file. But not cbb follower.

It gives a redirect error.

Please how can I change the /follower directory to a custom path like /member in the routing.yml?

Please help.
User avatar
Site Admin
Posts: 1862
Joined: Fri Jun 17, 2011 12:15 am
Location: España (Spain)
 Mon Jul 05, 2021 6:10 pm • via Web
Try with this change (apart from the change in routing.yml)

1. Open /ext/canidev/follower/event/listener.php
2. Find (Near line 142):
Code: Select all
strpos($this->user->page['page_name'], 'follower') === false

3. In that code, replace follower with your route.

Who is online

Users browsing this forum: No registered users and 1 guest