Simple Machines Community Forum

Archived Boards and Threads... => Archived Boards => Joomla Bridge Support => Topic started by: rotor on November 22, 2005, 08:21:47 PM

Title: Joomla
Post by: rotor on November 22, 2005, 08:21:47 PM
Hi,

Firstly my apologies - I realise this has been asked and people have answered before but I just cannot seem to locate just where and what the answer is.

Is there a way to stop the redirects back to smf after logging in and out of Joomla ???

Joomla   - 104
smf SMF - 1.1 RC1
bridge - MOS_SMF_BRIDGEv3[1].19a_SMF1.1b3.zip
Title: Re: Joomla
Post by: Orstio on November 22, 2005, 08:33:48 PM
Joomla admin panel> Modules Menu>Site Modules

Find mod_smf_login in the list.  Click on it.

Set the params for redirecting to what you want.

Make sure to click Save at the top of the page.
Title: Re: Joomla
Post by: rotor on November 22, 2005, 08:55:13 PM
Orstio,

Since inception I have been doing it that way .... but it does not matter what I pick it still goes to smf page whether I am wrapped/unwrapped. The only fixes I can find are you earlier versions ... there is 1 mention of problems with Joomla but nothing more I can find

this happens on my 2 sites - one is a fresh install yesterday

thanks for your help

rotor
Title: Re: Joomla
Post by: Orstio on November 22, 2005, 09:02:40 PM
Do you have a URL?
Title: Re: Joomla
Post by: rotor on November 22, 2005, 09:20:50 PM
Site 1

Rotorcraft Australia (http://www.rotorcraft.com.au/)

Site 2

Ultra Flight (http://www.ultraflight.com.au/)

Login for you on both sites:

Username test
PW          test

PS I have tested with IE and Opera - not in Firefox/Mozilla
Title: Re: Joomla
Post by: Orstio on November 22, 2005, 11:46:47 PM
Yes, it is what I thought. 

The first one is unwrapped, which is a known issue.  The option for "Back to the page from which the user logged in" will not work for the unwrapped forum.

The second one, though wrapped, does not display the login module, so it runs into the same issue.  That can be solved, however, by adding this code to your Joomla template:

$_SESSION['return'] = 'http://' . $_SERVER['HTTP_HOST'] . $_SERVER['PHP_SELF'] . '?' . $_SERVER['QUERY_STRING'];
Title: Re: Joomla
Post by: rotor on November 23, 2005, 12:29:41 AM
Orstio,

thank you for the fix and the info. It worked on the wrapped forum and I'll be changing the unwrapped forum to suit.

Once again - thanks for your time

Rotor