Home arrow Forum
SMF 1.1
  Welcome, Guest. Please login or register.
November 20, 2008, 07:31:29 PM
Home New Posts Search Calendar


Login with username, password and session length
Forum  |  MamboHacks.com  |  Mambo-SMF Integration 1.2.0 Support  |  Topic: SMF 1.1 « previous next »
Pages: [1] Go Down Print
Author Topic: SMF 1.1  (Read 4215 times)
Goosemoose
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 10


View Profile
SMF 1.1
« on: March 30, 2005, 06:31:11 PM »

Just to let you know I'm going through and updating the smf mod a bit for SMF 1.1. One thing I noticed though is that you use replace a lot. Just from experience writing mods, it is much better to use add where you can to keep with upgrades. Several of your replaces fail, where if they had simply been adds then it would still work with the new version of smf.
Logged
cowboy
Administrator
Hero Member
*****

Karma: +30/-0
Offline Offline

Posts: 663



View Profile WWW
Re: SMF 1.1
« Reply #1 on: March 30, 2005, 06:44:03 PM »

That would be great. I am actually planning to look at SMF mod how-to's to improve this mod. This mod is my first and only mod for SMF. Let me know, if you changed it so I don't have to do it. And just put your name and changes on the info.
Logged
Goosemoose
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 10


View Profile
Re: SMF 1.1
« Reply #2 on: March 30, 2005, 06:50:04 PM »

No biggie. I have it both the smf mod and the bridge now installed error free. The problem I'm having right now is that login module on the main page is not logging me into this forum as it did before. I have 3 forums and before one login would get me into all 3, but right now it's only getting me into your 1.1a bridge and ortiso bridge. I'm still trying to find the problem though , I have a few ideas.
Logged
Goosemoose
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 10


View Profile
Re: SMF 1.1
« Reply #3 on: March 31, 2005, 12:28:35 AM »

Almost there. What is going on here around line 171 of MOS_SMF.php

Code:
// Figure out the password, and load the settings.
$user_settings = mysql_fetch_assoc($request);
if ($passwd == "" || !isset($passwd)){$passwd = md5($_REQUEST['passwrd']);} // this is for Mambo, later
$md5_passwrd = md5_hmac($_REQUEST['passwrd'], strtolower($user_settings['memberName']));

I get this error when trying to log in:
Code:
Fatal error: Call to undefined function: md5_hmac() in /home/httpd/vhosts/goosemoose.com/httpdocs/cfc/Sources/MOS_SMF.php on line 171

Logged
cowboy
Administrator
Hero Member
*****

Karma: +30/-0
Offline Offline

Posts: 663



View Profile WWW
Re: SMF 1.1
« Reply #4 on: March 31, 2005, 03:37:51 AM »

We get the mambo password, and determine the SMF password based on the member name. Then login to SMF.
Logged
Goosemoose
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 10


View Profile
Re: SMF 1.1
« Reply #5 on: March 31, 2005, 12:24:51 PM »

Ya I found the problem. The new version uses sha encryption
Logged
cowboy
Administrator
Hero Member
*****

Karma: +30/-0
Offline Offline

Posts: 663



View Profile WWW
Re: SMF 1.1
« Reply #6 on: March 31, 2005, 04:57:12 PM »

We'll work on that when SMF make an official release.
Logged
Pages: [1] Go Up Print 
Forum  |  MamboHacks.com  |  Mambo-SMF Integration 1.2.0 Support  |  Topic: SMF 1.1 « previous next »
Jump to:  



Login with username, password and session length

Powered by MySQL Powered by PHP Forum | Powered by SMF 1.0.5 & Mambo-SMF.
© 2001-2005, Lewis Media. All Rights Reserved.
Valid XHTML 1.0! Valid CSS!
None of the text or images in this public website may be copied without the expressed written consent of the authors.
Copyright 2005 by MamboHacks.com. Powered by Mambo. All rights reserved.
TERMS OF USE