Called when instantiating a class. This event can be used to extend the class that will be instantiated dynamically. Note that not all classes that are to be instantiated will call this but many will.
Called before the notices are prepared for display..
Called whenever a template that has been compiled to a file is updated or deleted.
Called before the public dependency manager routes the request. You can use this to manipulate the routing approach.
Can someone keep a list of addons that
(1) conflict with the 1.2 upgrade
(2) break with the 1.2 upgrade
What's now the best way to change the indexpage? Just call setIndexRoute('myNewRoutePrefix')?
Or use the routefilter?
You can set any route as the index via the options now (or via XenForo_Link::setIndexRoute).
Have you tried using the Index Page Route in Options -> Basic Board Information?
$controllerName = $params['controllerName'];
$controllerAction = $params['controllerAction'];
if ($controllerName == 'XenForo_ControllerPublic_Index' and $controllerAction == 'Index')
{
$content .= $template->create('my_template', $params);
}
$controllerName = $params['controllerName'];
$controllerAction = $params['controllerAction'];
if ($controllerName == 'XenForo_ControllerPublic_Forum' and $controllerAction == 'Index')
{
$content .= $template->create('my_template', $params);
}
I tried to run this but it saidHow to use the CLI upgrade?
Just run library/XenForo/Install/run-upgrade.php and follow the prompts.
You don't have permission to access /community/library/XenForo/Install/run-upgrade.php on this server.
You must run it from the command line. That's why it's a CLI upgrader.I tried to run this but it said
Could you please instruct me in more details. I am on shared hosting, can I use command through ftp?
Could you please instruct me in more details. I am on shared hosting, can I use command through ftp?
Could you please instruct me in more details. I am on shared hosting, can I use command through ftp?
Thanks,
Finally, I have successfully installed 1.2 beta 1 on my live site. I delete all custom styles, languages and disable all addons.
After upgrading I imported those styles and languages again and those still work.
Now I have 1.2 working.
We use essential cookies to make this site work, and optional cookies to enhance your experience.