0
Welcome Guest! Login
0 items Join Now

Joomla SMF redirect

    • Firefrog's Avatar
    • Firefrog
    • Rocketeer
    • Posts: 95
    • Thanks: 0

    Joomla SMF redirect

    Posted 18 years 3 months ago
    • Is there a method that blocks users from going direct to an unwrapped not bridged smf forum?

      This is my thinking - I want users to land at Joomla front page as much as possible and only get to the forum by clicking the forum button on the main site...They will then go to the forum that looks identical to the main site.

      Is this possible and is the idea sound or should I allow my users the freedom to do enter and exit the site however they want???

      Cheers
    • Andy Miller's Avatar
    • Andy Miller
    • Preeminent Rocketeer
    • Posts: 9919
    • Thanks: 96
    • Web Kahuna

    Re: Joomla SMF redirect

    Posted 18 years 3 months ago
    • i've found no good way of achieving this. if you find one, please let me know.
  • Re: Joomla SMF redirect

    Posted 18 years 3 months ago
    • www.simplemachines.org/community/index.p....msg541379#msg541379

      Code goes into SMF index.php file change yourItemidNum with your Itemid Number
      // Redirect users who try to access /forum directly
      if (strpos($_SERVER['QUERY_STRING'], 'dlattach') === false && strpos($_SERVER['QUERY_STRING'], 'verificationcode') === false)
      {
              if(!defined('_VALID_MOS')){ header("Location: /index.php?option=com_smf&Itemid=yourItemidNum&".$_SERVER['QUERY_STRING']); }
      }
    • VirtueShop
    • Firefrog's Avatar
    • Firefrog
    • Rocketeer
    • Posts: 95
    • Thanks: 0

    Re: Joomla SMF redirect

    Posted 18 years 3 months ago
    • I have used this code before with a bridged forum. Is the same result possible when standalone.

      Will the button I create within Joomla pointing to the standalone Smf be affected by this code?

      Cheers
  • Re: Joomla SMF redirect

    Posted 18 years 3 months ago
    • The code only works with wrapped version, what you are asking I don't think will be possible but I am not a coder.
    • VirtueShop
    • Andy Miller's Avatar
    • Andy Miller
    • Preeminent Rocketeer
    • Posts: 9919
    • Thanks: 96
    • Web Kahuna

    Re: Joomla SMF redirect

    Posted 18 years 3 months ago
    • The problem i have with this solution is that due to a joomlahacks bug, i sometimes have to go into the forum/ dir to do admin stuff.
  • Re: Joomla SMF redirect

    Posted 18 years 3 months ago
    • Andy Miller wrote:
      The problem i have with this solution is that due to a joomlahacks bug, i sometimes have to go into the forum/ dir to do admin stuff.

      Have you informed JoomlaHacks (Wolverine)
    • VirtueShop
    • Andy Miller's Avatar
    • Andy Miller
    • Preeminent Rocketeer
    • Posts: 9919
    • Thanks: 96
    • Web Kahuna

    Re: Joomla SMF redirect

    Posted 18 years 3 months ago
    • actually i have, and no fix forthcoming...
  • Re: Joomla SMF redirect

    Posted 18 years 3 months ago
    • I don't know which version of his bridge you use but there are couple of other bugs too "Insert Quote" and "Jump to a board" doesn't work either.
    • VirtueShop

Time to create page: 0.055 seconds