Simple Machines Community Forum

Archived Boards and Threads... => Archived Boards => Mambo Bridge Support => Topic started by: vejnovic on February 19, 2005, 04:41:23 PM

Title: Logout wrong redirection
Post by: vejnovic on February 19, 2005, 04:41:23 PM
I have install Mambo 4.5.2 and SMF 1.0.2.
All works OK. ;D

And my problem:
- when users logout, they are always redirect to forum page. ::)

What's wrong?!

Bye, Dusan.
Title: Re: Logout wrong redirection
Post by: Orstio on February 19, 2005, 04:55:17 PM
Which version of the bridge are you using?
Title: Re: Logout wrong redirection
Post by: vejnovic on February 19, 2005, 05:15:14 PM
Bridge: 3.0
Title: Re: Logout wrong redirection
Post by: Orstio on February 19, 2005, 05:56:55 PM
Do you have the logout URL set in the login module params?
Title: Re: Logout wrong redirection
Post by: Kindred on February 19, 2005, 06:16:35 PM
Orsito... If you set the logout redirect to "mambo front page" it acutally bounces you to the SMF pag inside Mambo.
Title: Re: Logout wrong redirection
Post by: veturi on February 19, 2005, 09:31:56 PM
@Orstio: Thanks for your great work :) ... I've the same little problem, that user will always see the SMF page when they 're logged out. I tried every posibility, but no one worked. Perhaps you want to try here: http://www.ram-texys.mine.nu
I hope, it's only a little problem ;-)
Title: Re: Logout wrong redirection
Post by: vejnovic on February 20, 2005, 05:18:07 AM
Quote from: Orstio on February 19, 2005, 05:56:55 PM
Do you have the logout URL set in the login module params?

No. I only change files for integration SMF in mambo.
Title: Re: Logout wrong redirection
Post by: Orstio on February 20, 2005, 11:46:03 AM
This is a bug that will need to be fixed.
Title: Re: Logout wrong redirection
Post by: vejnovic on February 20, 2005, 12:19:54 PM
May you suggest, where and how can i redirect on logout.
I try many thing, but no one work...
Title: Re: Logout wrong redirection
Post by: Orstio on February 20, 2005, 12:25:01 PM
To redirect to the Mambo frontpage, edit MOS_SMF.php.

Put this:

  $_SESSION['logout_url'] = $GLOBALS['mosConfig_live_site'];


directly before:

// Off to the merry board index we go!
Title: Re: Logout wrong redirection
Post by: vejnovic on February 20, 2005, 12:31:31 PM
Thanks!!!
It works.