News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Re: Bridge Mambo,Joomla SMF 1.1 RC2 (aka 3.20)

Started by jbeddoes, February 10, 2006, 03:10:45 PM

Previous topic - Next topic

jbeddoes

The hxxp:mamboforge.net/frs/?group_id=543 [nonactive] link is not working.  I've been trying for the last 3 days to get onto the hxxp:mamboforge.net [nonactive] site and the entire thing is down.
Is there another site I can download this bridge from?
OR...is it possible other people are still able to get onto the hxxp:mamboforge.net/ [nonactive] site?  I'm wondering if my ISP isn't allowing me onto that domain for some reason, though I've tried from my house, my girlfriends house and work all with the same result.
Nothing!

Aravot

Quote from: jbeddoes on February 10, 2006, 03:10:45 PM
The http://mamboforge.net/frs/?group_id=543 link is not working.  I've been trying for the last 3 days to get onto the mamboforge.net site and the entire thing is down.
Is there another site I can download this bridge from?

See page one, first post, the bridge file is attached.

alistair

There seems to be something funny going on with this code from mod_smf_login.php:

$txt['welcome_guest'] = str_replace($boardurl.'/index.php?', $scripturl , $txt['welcome_guest']);

$txt['welcome_guest'] = str_replace($scripturl.'?',$scripturl,$txt['welcome_guest']);
$txt['welcome_guest'] = str_replace('&?','&', $txt['welcome_guest']);


if ($bridge_reg==true)
{
   $txt['welcome_guest'] = str_replace($scripturl.'action=register', sefReltoAbs(basename($_SERVER['PHP_SELF']) . '?option=com_smf_registration&task=register'), $txt['welcome_guest']);
$txt['welcome_guest'] = str_replace($scripturl.'action=activate', sefReltoAbs(basename($_SERVER['PHP_SELF']) . '?option=com_smf_registration&task=lostCode'), $txt['welcome_guest']);


} else {
$txt['welcome_guest'] = str_replace($scripturl.'action=register', sefReltoAbs($scripturl.'action=register'),$txt['welcome_guest']);
$txt['welcome_guest'] = str_replace($scripturl.'action=activate', sefReltoAbs($scripturl.'action=activate'),$txt['welcome_guest']);

}
$txt[34] = str_replace('&?','&', $txt[34]);


I am using the bridge registration and the 'register' hyperlink in the component should point to the bridge registration page. When the mod_smf_login component is displayed on my frontpage (such as hxxp:mydomain.com/joomla/index.php?option=com_frontpage&Itemid=1 [nonactive]) this works fine. However when the component is displayed on a page generated by the forum menu item (such as hxxp:mydomain.com/joomla/index.php?option=com_smf&Itemid=29 [nonactive]) then the smf login component 'register' hyperlink points to the smf registration page. The register button in the smf forum does the right thing and links to the bridge component.

I think the problem is with the line:
$txt['welcome_guest'] = str_replace($scripturl.'action=register', sefReltoAbs($scripturl.'action=register'),$txt['welcome_guest']);

up until this point the value of $txt['welcome_guest'] is the same (well I had to insert a line $txt['welcom_guest] = str_replace('&?','&', $txt['welcome_guest]); above the if statement to make this absolutly true.

In the end I commented out the whole lot and put the line
$txt['welcome_guest'] = 'Welcome, <b>Guest</b>. Please <a href="index.php?option=com_smf&amp;Itemid=29&amp;action=login">login</a> or <a href="index.php?option=com_smf_registration&amp;task=register">register</a>.'; in as a hack. Now it works but there must be a more elegant way to fix this.

Kindred

Quote from: jbeddoes on February 10, 2006, 03:10:45 PM
The http://mamboforge.net/frs/?group_id=543 link is not working.  I've been trying for the last 3 days to get onto the mamboforge.net site and the entire thing is down.
Is there another site I can download this bridge from?
OR...is it possible other people are still able to get onto the http://mamboforge.net/ site?  I'm wondering if my ISP isn't allowing me onto that domain for some reason, though I've tried from my house, my girlfriends house and work all with the same result.
Nothing!

no, it looks like mambo forge is down (and has been for a week or so)

I have attached the OLD bridge (3.19a) to the combined readme post
but you should note that those versions are ONLY for SMF 1.0.x and SMF 1.1 beta 3, beta 4 and RC1. They will not work with RC2.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

brandondrury


QuoteSee page one, first post, the bridge file is attached.
I don't see the attachment either.  Am I an idiot?

http://www.simplemachines.org/community/index.php?topic=63182.msg437091#msg437091

Brandon

Kindred

the attachment is at the bottom of that first message.

You must be logged in to see attachments.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Advertisement: