Woah, it's been a while since I last logged in here
I just upgraded J 1.0.11 to 1.0.14(together with CB1.1 and JSMF 2.0 RC3) 10 mins ago and found out JSMF isn't working as it should. First thought that came to mind is how the new JSMF isn't made to hash the password together with a salt. The fix is actually very simple (without the need to reinstall with this JSMF 2.0.2.1). Wanted to post it here, but found there's already a good thread on it.
I'm assuming you already have the official JSMF 2.0 installed.
Just open Joomla's index.php (AFTER patching) and search for the part where Joomla controls login. You should see a bunch of text that JSMF's patching added:
Just add "$mainframe->login();" above that chunk. What this does is to go through logging in process twice; 1st through J's framework (which is capable of handling the new password hashing), and then let jsmf's login class takeover (which includes another round of Joomla login, only this time it's redundant since it doesn't handle the new hashing, and $mainframe has already done the logging in for it.
Not the most elegant, of course, but it works. The problem comes when you have other 3rd party crap to bridge (Iono licensing in my case). This is because if you try to re-create a Joomla login on your 3rd party software, you pretty much lose all your globals. If that's the case, ignore what I've typed above. You still can use the original JSMF (if you have already done so). Download JSMF 2.0.2.1 (attached to the first post on this thread), but there's no need to reinstall. Simply find the file smf.class.php and replace it in components/com_smf/smf.class.php. All the work/changes are mostly done on that file. What kevin did is to change the original crap in "$mos = ($data->password == md5(($password));" blah blah to work with J's new hashing method. Good job
Logged
----- Owner of http://mike.simbunch.com Creator of ParaInvite, AJAX Sandbox, AJAX SMF Polls, Profile URL etc..
JSMF 2.0.2.1 Joom 1.0.13 (fresh install) SMF 1.1.4 (have mambers from old database)
I did only patch index.php and subs.php I didn't synchronize users
Work perfectly Thank you very much
I got a problem when my posting on the webboard were writen up to more than 9 reply, then I got error and webboard don't show on the joomla page. this problem only on my IE6 but on Firefox work fine
« Last Edit: February 24, 2008, 07:05:53 AM by thegto »
I installed joomla 1.0.15, SMF 1.4 and JSMF 2.0.2.1. Patching works all right it seems, but when I try the link in maín menu (frontend) I get the following message:
Fatal error: Unknown(): The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition jsmffrontend of the object you are trying to operate on was loaded _before_ the session was started in /hsphere/local/home/bircon/sikkerkosmetik.dk/index.php on line 68
I had issues with the 2.0.2 JSMF component. I just upgraded this morning to 2.0.2.1 (Just copy the 'smf.class.php' file over the same file in the '/components/com_smf' folder). You might want to go ahead and uninstall 2.0.2.1 and install and configure 2.0.2 and then copy that file over. Just something to try...
@All,
This component works great. I only have two requests for this though...
Can we have the option to set a fixed width for the wrapped forum inside Joomla!??? Maybe set a box next to the: 'Wrapped Integration Mode' to allow a pixel or % so the screen doesn't go past the width of the screen size.
OR
Can we have the option to modify the links under the Joomla-SMF Login to open the links in another window?
Well thank you for the effort, but it did not help.
I think it maybe is a problem that is caused by some interference with my Virtuemart installation, but I cannot figure out how to solve it.
The error is:
Fatal error: Unknown(): The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition jsmffrontend of the object you are trying to operate on was loaded _before_ the session was started in /hsphere/local/home/bircon/sikkerkosmetik.dk/index.php on line 68
Which setup in Joomla/PHP should I change or what should I add to line 68 in index.php ?
Works fine for new installation of both Joomla and SMF. Unfortunately, all previously registered user accounts are need to be reactivated because of newly implemented password generation and storage procedure, as I can see. Former passwords are not valid anymore for entering Joomla-SMF account. Though you can login to SMF itself via http://www.yoursite.ru/forum with old password. Therefore, each user has to pass through password restoration procedure using Joomla login module (username + E-mail). Having got new password user have to login via Joomla login module to enter Joomla-SMF account. All users can then change newly generated password for the previously set one.
So now I have read two completely different answers to the same problem ...
Could someone please summarize or confirm?
If you are using J1.0.15, CB 1.1, SMF 1.1.4 and JSMF 2.0.2.1, then the password/login problem is resolved? Or not? From the majority of posts, I am thinking YES ... but can someone please confirm?
Should I do a CB synch of users?
Order of upgrade: - unpatch JSMF 2.0.2 - upgrade to J1.0.15 - patch JSMF 2.0.2 - add patch to upgrade JSMF to 2.0.2.1?
Thanks!
Allan
« Last Edit: March 03, 2008, 12:30:44 AM by Allan »
So now I have read two completely different answers to the same problem ...
Could someone please summarize or confirm?
If you are using J1.0.15, CB 1.1, SMF 1.1.4 and JSMF 2.0.2.1, then the password/login problem is resolved? Or not? From the majority of posts, I am thinking YES ... but can someone please confirm?
YES, I confirm that J1.0.15, SMF 1.1.4 and JSMF 2.0.2.1 are working together. Note: I am not using CB.
Quote
Should I do a CB synch of users?
Order of upgrade: - unpatch JSMF 2.0.2 - upgrade to J1.0.15 - patch JSMF 2.0.2 - add patch to upgrade JSMF to 2.0.2.1?
My advised order of upgrade: * Put SMF and Joomla offline * Backup your database * Backup your files Joomla and SMF * Write down your JSMF settings (or make a screenshot) * Unpatch JSMF 2.0.2 * Uninstall JSMF * Upgrade to J! 1.0.15 * Install JSMF 2.0.2.1 * Patch JSMF * Set your JSMF settings like they used to * Put SMF and Joomla online * And off you go!
BTW: did I mention in the first steps to backup?
« Last Edit: March 03, 2008, 06:19:33 AM by locutus »
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