1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Lack of Interest Route Changer Option To Set XenForo_ControllerPublic_Forum::actionIndex

Discussion in 'Closed Suggestions' started by tenants, Jun 20, 2013.

  1. tenants

    tenants Well-Known Member

    For existing sites that wish to upgrade to 1.2, if they have used http://xenforo.com/community/threads/library-set-your-own-route-controller-as-homepage.10156/ they may find this plugin has broke as part of the 1.2 upgrade (and almost no longer necessary anyway)

    Using this plugin, they would have their board set something similar to:

    index.php for the site homepage (custom route controller)
    /forum for the forum homepage
    /forums/introductions.1/ for forum controllers

    Now, using XenForo core route changer, they can set this up:

    index.php for the site homepage (custom route controller)
    /forums for the forum homepage
    /forums/introductions.1/ for forum controllers

    The issue is, there is no way of setting XenForo_ControllerPublic_Forum::actionIndex individually using the core Route Changer

    Even some of the most well known plugin designers (8wayrun.com/forum/ 8wayrun.com/forums/new-player-arena.92/ ) may have issues upgrading.

    Enhancement Suggestion:

    Allow an option to set XenForo_ControllerPublic_Forum::actionIndex to accommodate this (without having to make .htaccess changes / or still need an extra plugin related to routes)

    You might even wish to go further and give options to set routes for
    XenForo_ControllerPublic_Thread::actionIndex
    X_ControllerPublic_Y::actionIndex
    X_ControllerPublic_Y::Z
     
    ExpertPixels.com likes this.
  2. ExpertPixels.com

    ExpertPixels.com Well-Known Member

    Well spotted.. Thanks for pointing this out... I was actually fiddling around with the tutorial you posted in your OP.. It's now basically not needed at all as 1.2 can achieve the same thing.
     
  3. Mike

    Mike XenForo Developer Staff Member

    I forgot at the time that this was possible, but you can do an "incoming only" route filter to redirect forum/ to forums/ which should resolve the issues. (Obviously if you want to keep it at forum/, you'll need an add-on.)
     

Share This Page