Hej,
we recently updated our forum to XenForo 2.2. In one of our self-written add-ons, we list the 25 newest threads from the database. The add-on code looks like this:
$maxThreads = 25;
$visitor = \XF::visitor();
$repository = $this->repository('XF:Thread');
$withPermission =...
My SEO manager wants me to get rid of some 301 redirects in our XenForo setup to satisfy the search engine robots.
For example, in the search result list there is a template called search_post_result included, which calls a route named threads/post in line 8. This call resolves to a URL like...
We need to add our custom generated sitemaps and the Renderer must be modified to deliver different sitemaps for different languages and to get rid of some more logic. I'm not sure if it's the best idea to hack into the Renderer but we would be really happy if the Renderer could be extended by a...
It is just some search engine optimaziation, we need to include some more "sub sitemaps" into the generated xml output and I thought modifying the Renderer would be the easiest way.
I tried to extend XF\Sitemap\Renderer with a class extension but it did not work as expected.
In App.php I find the code setting up the renderer into the container after line 1104. Is there a reason not to use $this->extendClass($class); like in the other closures? After modifying the closure...