Home arrow Forum JSMF 2.0 RC1 released
  Welcome, Guest. Please login or register.
Did you miss your activation email?
July 25, 2008, 07:21:57 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 RC1 released
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: 1 ... 5 6 [7] 8 Go Down Print
Author Topic: JSMF 2.0 RC1 released  (Read 21647 times)
pk
Joomla Newbie
*

Karma: +1/-0
Offline Offline

Posts: 10


View Profile
Re: JSMF 2.0 RC1 released
« Reply #90 on: October 23, 2006, 04:49:52 PM »

It is not a bug, but because there are so many things interacting here I do not redirect unless there is nothing else set for a redirect url.  If something is set that is where the bridge will redirect you to.  It says as much in the user guide and the help in configuration.  For the mod_smf_login this will be improved with the next build.  For the other modules it is up to them to set the correct data for the redirects.

Either I don't understand something or you. Please - let me understand/clear your understanding:
When I'm logging in from CB login module - after successful login I stay wherever I was. At the same time after successful login from SMF - the bridge redirects me to the main page.
My question: where can I change the SMF redirection to "do not redirect me anywhere, just stay where you are"?
The CB login module works as I want it to work (redirection URL is empty). Why do you write that "I do not redirect unless there is nothing else set for a redirect url.  If something is set that is where the bridge will redirect you to". So where is the bridge checking the redirection URL if it is not CB?
Logged
manicon
Joomla Newbie
*

Karma: +1/-0
Offline Offline

Posts: 21


View Profile
Re: JSMF 2.0 RC1 released
« Reply #91 on: October 24, 2006, 06:36:06 AM »

the newest version of the mod_smf_login will resolve this.  I should have it released this week. 
those are good news!
Logged
sabt
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 4


View Profile
Re: JSMF 2.0 RC1 released
« Reply #92 on: October 24, 2006, 02:25:49 PM »

Don't know why i got so much problems syncing users between joomla and smf but after changing all the collations of my database by hand there is again the error of an unknown column... But this time in joomla!

Joomla/Mambo[0] / SMF[0] inserted Failed :Unknown column \\\'activation\\\' in \\\'field list\\\' SQL=SELECT name, username, password, email, registerDate, block, activation FROM jos1011_users LEFT J
Logged
Lycofron
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 7


View Profile
Re: JSMF 2.0 RC1 released
« Reply #93 on: October 25, 2006, 05:56:26 AM »

There's a funny error in my forum I could not find any info about:

For some strange reason, duplicate user accounts are created on SMF. (By "duplicate" I mean, they match the same Joomla user, and, as I've seen on the DB, they have same username but somehow password happens to be stored on db unencrypted.

I contacted a user whose account was duplicated, he told me he didn't change anything on his profile.

Something that I suspects is important is that duplicated usernames are in greek characters (my site uses utf-8 everywhere).

Any ideas  Huh
Logged

* Joomla 1.0.11
* CB 1.0.1
* SMF 1.1 RC 3
* J-SMF 2.0 RC 1
Warwick
Joomla Newbie
*

Karma: +1/-0
Offline Offline

Posts: 26



View Profile WWW
Re: JSMF 2.0 RC1 released ijoomla magazine compatability
« Reply #94 on: October 25, 2006, 08:29:18 AM »

Hi,

If I get ijoomla magazine will the mos_smf_discussbot work with its articles?

The mos_smf_discussbot is a great feature, by the way.
Logged

Joomla 1.0.11 CB 1.0.1 SMF1.1RC3 J-SMF 2.0 RC3 (patched)
Tijntje
Joomla Newbie
*

Karma: +0/-2
Offline Offline

Posts: 36



View Profile WWW
Re: JSMF 2.0 RC1 released
« Reply #95 on: October 25, 2006, 02:52:05 PM »

First of all thanks for all the great work on the component.

I have a problem with quoting (is that how you spell it?)
When I quote the normal way the reply window is outside joomla. If I qoute when the quick reply is open, everything works great.
the site is http:www.codstats.nl
Can provide you with an login if needed.
This was in the first beta and I upgraded to RC1 but that didn't make any difference.
« Last Edit: October 26, 2006, 10:38:02 AM by Tijntje » Logged
sepp
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 11



View Profile
Re: JSMF 2.0 RC1 released
« Reply #96 on: October 25, 2006, 03:09:45 PM »

The SMF css must be included before the Joomla or vice versa and it was the other way with the old version.  The real problem is that you have the same definition in both files, and you need to merge them in order to get the same appearance. 

I've also a CSS problem ...please can anybody explain me what wolverine meant above? I don't understand what to do  Roll Eyes

thanx a lot
Logged
Brat
Developer
Joomla Pro
*****

Karma: +11/-0
Offline Offline

Posts: 52


View Profile
Re: JSMF 2.0 RC1 released
« Reply #97 on: October 25, 2006, 07:47:55 PM »

I've also a CSS problem ...please can anybody explain me what wolverine meant above? I don't understand what to do  Roll Eyes

thanx a lot

Sure thing! What Wolverine meant in detail is that you need to open the CSS file associated with your desired SMF theme, and then copy and paste the entire contents of that file into your Joomla template's template_css.css file.

I'd strongly recommend that you append SMF's CSS at the end of the Joomla template CSS file. Often times (in fact, every time  Wink)SMF's CSS file contains CSS codes controlling links, paragraphs, etc. - yep, just like Joomla. That means you're gonna have duplicate CSS codes, and you'll need to edit the "merged" template_css.css (Joomla CSS) file accordingly. There is a bit of "trial and error" to the whole thing to get the look you want, but it's not heinous.

I'm dealing with all this now for my current projects, so don't hesitate to ask more questions as needed.

Regards,
Brat.  Cool
« Last Edit: October 25, 2006, 08:01:03 PM by Brat » Logged
Little Jedi
Joomla Newbie
*

Karma: +1/-0
Offline Offline

Posts: 26


View Profile WWW
Re: JSMF 2.0 RC1 released
« Reply #98 on: October 26, 2006, 12:35:22 AM »

When a new user creates a account on my site, their forum names are their real names and not their usernames. I tried changing the option in the bridge to sync by usernames but it does not work. Any idea's?

http://www.wii-volution.com

Seems this message went unnoticed. And i'm having the same problem.
Logged

Joomla : 1.0.11
CB : 1.0.2
JSMF : 2.0 Final
SMF : 1.1.1
Brat
Developer
Joomla Pro
*****

Karma: +11/-0
Offline Offline

Posts: 52


View Profile
Re: JSMF 2.0 RC1 released
« Reply #99 on: October 26, 2006, 07:43:26 PM »

Seems this message went unnoticed. And i'm having the same problem.

Okay, I'm not sure how to edit this either. However, I think this may point you in the right direction - anyone feel free to jump in if I'm wrong.

I believe the file you need to look at for this version of JSMF is:
administrator\components\com_smf\admin.smf.class.php

This file seems to contain all the routines for the bridge related to user creation and synchronization.

Of particular interest are:

function syncUsers (starting on or about line 404)
function createSMFUser (starting on or about line 548)

I don't have time to tear through the code previously used for this fix in the last version, but this is where I'd start. Hope this helps!

Regards,
Brat.
Logged
-Wolverine
Moderator
Joomla Guru
*****

Karma: +373/-34
Offline Offline

Posts: 3393


Lead Developer


View Profile WWW
Re: JSMF 2.0 RC1 released
« Reply #100 on: October 26, 2006, 07:48:38 PM »

that is a bug and will be fixed in JSMF 2.0RC2.
Logged

Need help?  Check Here First!
Get the JSMF User Guide
SEARCH this forum.
pk
Joomla Newbie
*

Karma: +1/-0
Offline Offline

Posts: 10


View Profile
Re: JSMF 2.0 RC1 released
« Reply #101 on: October 27, 2006, 03:42:12 PM »

that is a bug and will be fixed in JSMF 2.0RC2.

What about the part of code that was commented in beta3 and in RC1 is uncommented:

Code:
if (mosGetParam($_GET, 'passwrd', '') || mosGetParam($_GET, 'hash_passwrd', '') || mosGetParam($_REQUEST, 'passwrd', '') || mosGetParam($_REQUEST, 'hash_passwrd', '')) {
    $setLocation = '';
}

What for is it? It causes that after logging in instead of redirection to the same page on which the user was during logging in - he is redirected to main page because the $setLocation variable is always cleared!

Isn't it a bug?
« Last Edit: October 27, 2006, 04:43:11 PM by pk » Logged
-Wolverine
Moderator
Joomla Guru
*****

Karma: +373/-34
Offline Offline

Posts: 3393


Lead Developer


View Profile WWW
Re: JSMF 2.0 RC1 released
« Reply #102 on: October 27, 2006, 05:29:35 PM »

No, it is not a bug, it does not clear any valid url.  If you redirected to a url with your password in it it would not be the page you logged in from.  In addition, that url with your password would get stored to your history which is obviously a security problem. 

That piece of code does not *always* clear setLocation.

The redirect works like this.  First it checks if your login module has a static location set for login or logout.  Next it checks if a variable named return was passed by the form.  This is the normal joomla method for returning a member to the location they logged in from.  Finally, if neither of those two are set then we fall back to the bridge defaults of login and logout redirects. 

I will take another look.  Which login form are you having a problem with?
Logged

Need help?  Check Here First!
Get the JSMF User Guide
SEARCH this forum.
pk
Joomla Newbie
*

Karma: +1/-0
Offline Offline

Posts: 10


View Profile
Re: JSMF 2.0 RC1 released
« Reply #103 on: October 27, 2006, 06:31:45 PM »

I'm using CB login module, but the problem is with logging in from SMF.
Just a little description of test scenario that I can do on my page:
1. I'm inside the forum, then I'm logging in from SMF -> and I'm redirected to main page, variable $setLocation is ''
2. I'm inside the forum, then I'm logging in from CB -> I stay where I was, variable $setLocation is set to the right page/thread
3. I commented the code I wrote you previously & I'm inside the forum, then I'm logging in from SMF -> I'm still in the forum, variable $setLocation is set to the right page/thread

It seems that the code spoils my redirection.
Logged
Tijntje
Joomla Newbie
*

Karma: +0/-2
Offline Offline

Posts: 36



View Profile WWW
Re: JSMF 2.0 RC1 released
« Reply #104 on: October 28, 2006, 04:22:17 AM »

Do you have any idea what this problem could be?
First of all thanks for all the great work on the component.

I have a problem with quoting (is that how you spell it?)
When I quote the normal way the reply window is outside joomla. If I qoute when the quick reply is open, everything works great.
the site is http:www.codstats.nl
Can provide you with an login if needed.
This was in the first beta and I upgraded to RC1 but that didn't make any difference.
Logged
Pages: 1 ... 5 6 [7] 8 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