Home arrow Forum JSMF 2.0.2.1
  Welcome, Guest. Please login or register.
Did you miss your activation email?
October 13, 2008, 02:28:54 AM
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)
| | | |-+  JSMF 2.0.2.1
0 Members and 2 Guests are viewing this topic. « previous next »
Pages: 1 ... 5 6 [7] 8 9 ... 14 Go Down Print
Author Topic: JSMF 2.0.2.1  (Read 45422 times)
Plazmid
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 1


View Profile
Re: JSMF 2.0.2.1
« Reply #90 on: February 19, 2008, 06:18:47 AM »

thanks!  Cool
Logged
thegto
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 6


View Profile
Re: JSMF 2.0.2.1
« Reply #91 on: February 19, 2008, 04:15:30 PM »

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
 Grin
Logged
p9939068
Joomla Expert
****

Karma: +18/-5
Offline Offline

Posts: 173


View Profile WWW
Re: JSMF 2.0.2.1
« Reply #92 on: February 20, 2008, 07:09:45 PM »

Woah, it's been a while since I last logged in here Tongue

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:
Quote
   //JOOMLAHACKS.COM
   $_SESSION['USER_AGENT'] = $_SERVER['HTTP_USER_AGENT'];
   $_SESSION['_FROM_MOS'] = TRUE;
   $_SESSION['_RETURN'] = $return;
   $jsmf->doLogin(true);
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 Wink
Logged

-----
Owner of http://mike.simbunch.com
Creator of ParaInvite, AJAX Sandbox, AJAX SMF Polls, Profile URL etc..
thegto
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 6


View Profile
Re: JSMF 2.0.2.1
« Reply #93 on: February 24, 2008, 06:44:01 AM »

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
 Grin

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  Huh
« Last Edit: February 24, 2008, 07:05:53 AM by thegto » Logged
Lars Juhl
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 6


View Profile
Re: JSMF 2.0.2.1
« Reply #94 on: February 27, 2008, 04:50:15 AM »

Hi

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

What can be wrong ?

Best regards/Lars Juhl
Logged
Johnathan Morlock
Joomla Newbie
*

Karma: +0/-1
Offline Offline

Posts: 6


View Profile
Re: JSMF 2.0.2.1
« Reply #95 on: February 28, 2008, 10:45:31 AM »

@Lars,

I have the exact same setup as you do.

SMF 1.1.4
JSMF 2.0.2.1
Joomla 1.0.15

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?

Awesome plugin!

Thank you and God bless,
Johnathan
Logged
Lars Juhl
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 6


View Profile
Re: JSMF 2.0.2.1
« Reply #96 on: February 29, 2008, 01:16:25 AM »

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 ?

Best regards/Lars Juhl
Logged
Oleg
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 5


View Profile
Re: JSMF 2.0.2.1
« Reply #97 on: March 01, 2008, 12:09:51 PM »

Joomla 1.0.15
JSMF 2.0.2.1
SMF 1.1.4

  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.   
Logged
fortistr
Joomla Newbie
*

Karma: +0/-1
Offline Offline

Posts: 15


View Profile
Re: JSMF 2.0.2.1
« Reply #98 on: March 02, 2008, 05:59:12 PM »

i m using

joomla 1.0.14
smf 1.1.4 and jsmf2.0.2.1

But some of my links on forum not working.when click personal mesaj or when clik a topic its not working...
But some of them working....."
Logged
Allan
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 10


View Profile
Re: JSMF 2.0.2.1
« Reply #99 on: March 03, 2008, 12:28:27 AM »

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 » Logged
locutus
Joomla Expert
****

Karma: +25/-46
Offline Offline

Posts: 232


View Profile
Re: JSMF 2.0.2.1
« Reply #100 on: March 03, 2008, 06:16:29 AM »

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?  Grin

« Last Edit: March 03, 2008, 06:19:33 AM by locutus » Logged

Allan
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 10


View Profile
Re: JSMF 2.0.2.1
« Reply #101 on: March 03, 2008, 09:32:11 AM »

Thanks for the input (and summary) locutus!!

Now can anyone confirm this using CB 1.1?

Allan
Logged
fortistr
Joomla Newbie
*

Karma: +0/-1
Offline Offline

Posts: 15


View Profile
Re: JSMF 2.0.2.1
« Reply #102 on: March 03, 2008, 10:01:35 AM »

anyone using
joomla 1.0.14
smf 1.1.4
and bridge 2.0.2.1

İf you not using wraped mode its woirng nice but;

Wrapped mode i have some problems.
some of smf topics cant be opend -blank page comes

Code:
8: Undefined offset: 0
Dosya: /home/tazim/public_html/components/com_smf/smf.class.php
Satır: 455

Code:
8: Undefined offset: 0
Dosya: /home/tazim/public_html/components/com_smf/smf.class.php
Satır: 449

Code:
2: session_destroy() [<a href='function.session-destroy'>function.session-destroy</a>]: Trying to destroy uninitialized session
Dosya: /home/tazim/public_html/forum/Sources/Subs-Auth.php
Satır: 174
Logged
locutus
Joomla Expert
****

Karma: +25/-46
Offline Offline

Posts: 232


View Profile
Re: JSMF 2.0.2.1
« Reply #103 on: March 04, 2008, 10:29:58 AM »

Did you patch the SMF files in the installation tab of JSMF?

Please, DON'T double post! Angry
Logged

fortistr
Joomla Newbie
*

Karma: +0/-1
Offline Offline

Posts: 15


View Profile
Re: JSMF 2.0.2.1
« Reply #104 on: March 05, 2008, 08:39:14 AM »

Did you patch the SMF files in the installation tab of JSMF?

Please, DON'T double post! Angry

Yes i patch smf files in installation tab of JSMF.
Logged
Pages: 1 ... 5 6 [7] 8 9 ... 14 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
Joomla Hacks



Joomla Hacks
German Lang French Lang Italian Lang Spanish Lang Japanese Lang Chinese Lang
Joomla Comment
Search Contact About Advertise Blogs Topsites Submit News Register Login