Home arrow Forum Parameter question for SMF Bridge 2.0.2.1
  Welcome, Guest. Please login or register.
Did you miss your activation email?
September 06, 2008, 03:52:02 PM
Home New Posts Search Calendar


Login with username, password and session length
+  Joomla Forum
|-+  Joomla Hacks
| |-+  Joomla-SMF Forum Support
| | |-+  Joomla-SMF 2.0.x (Moderators: -Wolverine, kai920)
| | | |-+  Parameter question for SMF Bridge 2.0.2.1
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Parameter question for SMF Bridge 2.0.2.1  (Read 1170 times)
Cuba_Libre
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 7


View Profile
Parameter question for SMF Bridge 2.0.2.1
« on: April 04, 2008, 10:34:29 AM »

Dear Users,

in an unbridged Version of the SMF-Forum, when a guest click on a for him not readable post he get the standard page with the text defined on the "login.template.php":

"please login or register"....

The Url on the top of the browser looks like this:

http://www.mydomain.de/forum/index.php?topic=566.0

The same case on the bridged version the url looks in each post like this:

http://www.mydomain.de/index.php?option=com_smf&Itemid=26&

How can I get the parameters (topic-id) in the url of the bridged version?

Anyone can help me? Thank you so much for your efforts.
Logged
locutus
Joomla Expert
****

Karma: +21/-43
Offline Offline

Posts: 204


View Profile
Re: Parameter question for SMF Bridge 2.0.2.1
« Reply #1 on: April 07, 2008, 02:13:49 AM »

If you turn on SEF in Joomla, you get the topic-id in the URL. What do you want to do with that?
Logged

Cuba_Libre
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 7


View Profile
Re: Parameter question for SMF Bridge 2.0.2.1
« Reply #2 on: April 07, 2008, 01:17:32 PM »

Hi Locutus,

thank you very much for your response.

Hmm..to be honest I don't want to turn on the SEF Feature in Joomla...

Is there an other way to get the missing variable on the "error page"  Huh


Quote
What do you want to do with that?

I need the topic id in the url to start a small feature on the error page...

Best regards,

Cuba
Logged
Cuba_Libre
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 7


View Profile
Re: Parameter question for SMF Bridge 2.0.2.1
« Reply #3 on: April 11, 2008, 03:20:36 PM »

no one can help me?

I only need the missing topic-id on the kick_guest site template Wink
Logged
Cuba_Libre
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 7


View Profile
Re: Parameter question for SMF Bridge 2.0.2.1
« Reply #4 on: April 12, 2008, 12:58:45 PM »

Sorry for the tripple post - I think I've found the part in the smf.class.php in the component directory that cuts the topic id...

function integrateExit($param)
{
    global $context, $txt;
    global $jsmfConfig;
    $jsmf =& jsmfFrontend::singleton();
    if (isset($context['login_error'])) {
        if (strcasecmp($context['login_error'], $txt[40]) == 0 ||
            strpos($context['login_error'], 'action=activate;sa=resend;') !== false) {
            $jsmf->doLogin(false);
        }
    }

    if (defined('_VALID_MOS') && isset($context['sub_template']) &&
               (strcasecmp($context['sub_template'], "kick_guest") == 0 ||
                strcasecmp($context['sub_template'], "fatal_error") == 0)) {
        $_SESSION['MH_WARNING'] = ob_get_contents();
        ob_end_clean();
        header('Location: '.str_replace(array('&'), array('&'), $jsmf->fixLink()));
        exit();
    } else {
        return;
    }
}

 Huh Huh Please help me
Logged
Superdaantje
Joomla Guru
*****

Karma: +248/-23
Offline Offline

Posts: 358


Aka Livebox


View Profile WWW
Re: Parameter question for SMF Bridge 2.0.2.1
« Reply #5 on: April 19, 2008, 04:04:01 PM »

This is possible with Mambo and the SMF bridge Wink
Logged

JSMF Bridge Support and Downloads can be found on Joomlabridge.org
.
Download: JSMF 2.0.2.1 and User Guide and the JSMF extensions here
Pages: [1] Go Up Print 
« previous next »
Jump to:  



Login with username, password and session length

Powered by MySQL Powered by PHP Joomla Forum | Powered by SMF 1.1 RC1.
© 2001-2005, Lewis Media. All Rights Reserved.
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!

Joomla Hacks is a Joomla Components, Joomla Modules, Joomla Templates, & Joomla Mambots resource portal.
None of the text or images in this public website may be copied without the expressed written consent of the authors.
Copyright 2005 by JoomlaHacks.com. Powered by Joomla. All rights reserved.
Terms of Use