Home arrow Forum Joomla-SMF 1.1RC2
  Welcome, Guest. Please login or register.
Did you miss your activation email?
September 05, 2008, 02:41:31 AM
Home New Posts Search Calendar


Login with username, password and session length
+  Joomla Forum
|-+  Joomla Hacks
| |-+  Joomla-SMF Forum Support
| | |-+  Joomla-SMF 1.1.x (Moderators: -Wolverine, kai920)
| | | |-+  Joomla-SMF 1.1RC2
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] 2 3 ... 5 Go Down Print
Author Topic: Joomla-SMF 1.1RC2  (Read 18230 times)
-Wolverine
Moderator
Joomla Guru
*****

Karma: +374/-34
Offline Offline

Posts: 3393


Lead Developer


View Profile WWW
Joomla-SMF 1.1RC2
« on: March 05, 2006, 03:24:19 PM »

Ok, here is Joomla-SMF 1.1RC2.  Unfortunately, due to time constraints, I didn't get as much testing in as I would have liked.  This version has been tested with Mambo 4.5.3h, Joomla 1.0.5, 1.0.7, 1.0.8 and SMF 1.1RC2.  I will address issues as they come in.  Things to expect in this release:

1.1-12. Added option to redirect to joomla always on logout
1.1-13. Added check to make sure we at least have a username on login otherwise error
1.1-14. task undefined error msg resolved
1.1-15. JACL plus causes user menu to disappear resolved
1.1-16. Gallery2 compatiblity
1.1-17. Redirect to joomla main on logout bug(patch1 version)
1.1-18. Session lifetime issues(patch2 and patch3)
1.1-19. Logins not being redirected correctly(thanks Steven)(patch 4)


Additionally, stay logged in forever should work for both SMF login and Joomla login. 

Things that will not be in this release
AJAX fixes(Kevin, need to talk to you about this
CB profile fix(there are additional things to consider for this fix)


Known issues
SMF registration does not sync to Joomla until Joomla login(this is pretty much impossible to resolve at this point due to the clean functionality of SMF)



Things that I will begin to work on for JSMF 1.2 if this release is solid:
# Change or delete users and usernames integration
# Synchronizing changes in users between all 3 systems(Joomla/SMF/CB) if possible
# CB profile links instead of SMF links when CB is in use
# CB avatar instead of SMF avatar when CB is in use
# CB plugin should wrap SMF profile in CB profile possibly as another tab or vice versa if possible
# CB private messaging instead of SMF when CB is in use
# Set member link in SMF to CB member list when CB in use
# AJAX fixes
« Last Edit: March 23, 2006, 11:03:43 PM by -Wolverine » Logged

Need help?  Check Here First!
Get the JSMF User Guide
SEARCH this forum.
Kevin8020
QA / Testers
Joomla Master
*****

Karma: +33/-18
Offline Offline

Posts: 105



View Profile WWW
Re: Joomla-SMF 1.1RC2
« Reply #1 on: March 05, 2006, 06:16:37 PM »

I'm here!

And getting ready to test this... PM me if you need...

Notes for the ampersand validation hack:

  • Line 274:
Code:
$tmpurl = str_replace("&?","&",$tmpurl);
  • Codeblock 283-304:
Code:
$search = array(
"&",
";",
"&desc",
"&all",
"post&calendar",
"search&advanced",
"&quote&u=",
"&poll",
"0&viewResults",
"unread&"
);
$replace = array(
"&",
"&",
";desc",
";all",
"post;calendar",
"search;advanced",
";quote/u,",
";poll",
"0;viewResults",
"unread;"
);
  • Line 1020 (after previous adjustment):
Code:
$setLocation = str_replace("&?", "&", $setLocation);

    AJAX appears to work already... :|

    -Kevin
    « Last Edit: March 05, 2006, 06:34:34 PM by Kevin8020 » Logged
    p9939068
    Joomla Expert
    ****

    Karma: +18/-5
    Offline Offline

    Posts: 173


    View Profile WWW
    Re: Joomla-SMF 1.1RC2
    « Reply #2 on: March 05, 2006, 07:27:54 PM »

    Additionally, stay logged in forever should work for both SMF login and Joomla login.
    Alright!

    1.2 sounds like it's going to be a new hallmark in the joomla community Cheesy
    Logged

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

    Karma: +1/-0
    Offline Offline

    Posts: 27



    View Profile
    Re: Joomla-SMF 1.1RC2
    « Reply #3 on: March 05, 2006, 08:17:20 PM »

    This fix is still not working as intended.   Embarrassed

    I'm testing with:

    - Joomla 1.0.8
    - SMF 1.1 RC2
    - Joomla-SMF 1.1RC2
    - Forum is wrapped
    - Registration module to use is checked for Joomla/Mambo
    - Firefox 1.5.0.1
    - My ISP's Linux server

    I carefully uninstalled Joomla-SMF 1.1 RC1.  Cleared all caches (several times at several points to make sure they were not having any negative impact).

    Loading and installing Joomla-SMF 1.1 RC2 went smoothly.  So did (and does) most of the configuration options.  Previous problems with patching and unpatching files have gone away. 

    But there are problems with choosing the option "Always redirect to joomla main on logout:"  If you choose "Yes" then "Save", revisiting the "Configuration" tab shows the option has been reset to "No".  I have reset and saved this setting numerous times.  It always returns to "No".

    Furthermore, ignoring things and moving on to use my site shows that logging out will reset the site back to its home page.  For awhile.  But after awhile (several logins and logouts) it fails. 

    Now the site always resets to  the first page of the wrapped forum.  Coming to the site fresh (by typing "http://www.mysite.net/sitename" in the address bar) takes your browser directly to the first page of the wrapped forum.

    Naturally, this is confusing to my users.  They are presented with two login screens on the first page they see, one for the site and one for SMF. They usually make the wrong choice.
     
    Do you have any suggestions as to what to do to make this thing work as we want it to?
    Logged
    -Wolverine
    Moderator
    Joomla Guru
    *****

    Karma: +374/-34
    Offline Offline

    Posts: 3393


    Lead Developer


    View Profile WWW
    Re: Joomla-SMF 1.1RC2
    « Reply #4 on: March 05, 2006, 08:41:14 PM »

    But there are problems with choosing the option "Always redirect to joomla main on logout:"  If you choose "Yes" then "Save", revisiting the "Configuration" tab shows the option has been reset to "No".  I have reset and saved this setting numerous times.  It always returns to "No".
    Yep, I just saw this, it is a problem with the way the radio selections are display for that variable.  This would also cause it to always be yes.  I have attached a patch to the first post.  Please unzip this patch into the directory administrator/components/com_smf/.  Alternatively you can download the entire package again which I have also updated.
    Furthermore, ignoring things and moving on to use my site shows that logging out will reset the site back to its home page.  For awhile.  But after awhile (several logins and logouts) it fails. 

    Now the site always resets to  the first page of the wrapped forum.  Coming to the site fresh (by typing "http://www.mysite.net/sitename" in the address bar) takes your browser directly to the first page of the wrapped forum.

    Naturally, this is confusing to my users.  They are presented with two login screens on the first page they see, one for the site and one for SMF. They usually make the wrong choice.
     
    Do you have any suggestions as to what to do to make this thing work as we want it to?

    Some of that doesn't sound right.  Try the new version and tell me if it has been resolved.
    Logged

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

    Karma: +0/-0
    Offline Offline

    Posts: 3


    View Profile
    Re: Joomla-SMF 1.1RC2
    « Reply #5 on: March 05, 2006, 10:57:39 PM »

    - Joomla 1.0.8
    - SMF 1.1 RC2
    - Joomla-SMF 1.1RC2
    - Forum is wrapped
    - Registration module to use is checked for Joomla/Mambo
    - IE 6 SP2
    - ISP's Linux server

    I tried the new version and so far all seems to be fine except I have to go to SMF to log in. If I login from Joomla/front of site I get: "You are not authorized to view this resource.You need to login."
    Logged
    -Wolverine
    Moderator
    Joomla Guru
    *****

    Karma: +374/-34
    Offline Offline

    Posts: 3393


    Lead Developer


    View Profile WWW
    Re: Joomla-SMF 1.1RC2
    « Reply #6 on: March 05, 2006, 10:59:47 PM »

    did you synchronize the users?
    Logged

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

    Karma: +0/-0
    Offline Offline

    Posts: 3


    View Profile
    Re: Joomla-SMF 1.1RC2
    « Reply #7 on: March 05, 2006, 11:10:31 PM »

    did you synchronize the users?
    Yes, all that appears now is [Done]verify

    I also tried using the wrong password on the frontend and I did get a wrong password warning so it does recognize me at that point.

    I also noticed that when I sync user it creates 12 blank(empty) users in SMF. If I delete the ghost users in SMF and re-sync creates them again. The amount of users in Joomla admin show 117 in the list but at bottom of page it says results 101 -132 of 132. I don't have cache on in Joomla and my cache folder is empty cept for the html file. I used the SMF/Joomla bridge from the SMF site in the past but removed the code that was inserted in the template. Hope this helps some.
    « Last Edit: March 06, 2006, 12:24:34 AM by Russell » Logged
    -Wolverine
    Moderator
    Joomla Guru
    *****

    Karma: +374/-34
    Offline Offline

    Posts: 3393


    Lead Developer


    View Profile WWW
    Re: Joomla-SMF 1.1RC2
    « Reply #8 on: March 05, 2006, 11:16:56 PM »

    Yes, all that appears now is [Done]verify
    ok, I'll take a look tomorrow.
    Logged

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

    Karma: +0/-0
    Offline Offline

    Posts: 3


    View Profile
    Re: Joomla-SMF 1.1RC2
    « Reply #9 on: March 05, 2006, 11:19:15 PM »

    Ya, get some rest and thanks for all your work on this.
    Logged
    Tim_Olaguna
    Joomla Newbie
    *

    Karma: +1/-0
    Offline Offline

    Posts: 27



    View Profile
    Re: Joomla-SMF 1.1RC2
    « Reply #10 on: March 06, 2006, 01:38:19 AM »

    Yep, I just saw this, it is a problem with the way the radio selections are display for that variable.  This would also cause it to always be yes.  I have attached a patch to the first post.  Please unzip this patch into the directory administrator/components/com_smf/.  Alternatively you can download the entire package again which I have also updated.Some of that doesn't sound right.  Try the new version and tell me if it has been resolved.

    Yes, thank you.  This seems to work fine now.  I am impressed that you fixed this so quickly.   Grin
    Logged
    Tim_Olaguna
    Joomla Newbie
    *

    Karma: +1/-0
    Offline Offline

    Posts: 27



    View Profile
    Re: Joomla-SMF 1.1RC2
    « Reply #11 on: March 06, 2006, 01:57:57 AM »

    Quote from: Tim_Olaguna on March 05, 2006, 08:17:20 PM
    Furthermore, ignoring things and moving on to use my site shows that logging out will reset the site back to its home page.  For awhile.  But after awhile (several logins and logouts) it fails.

    Now the site always resets to  the first page of the wrapped forum.  Coming to the site fresh (by typing "http://www.mysite.net/sitename" in the address bar) takes your browser directly to the first page of the wrapped forum.

    Naturally, this is confusing to my users.  They are presented with two login screens on the first page they see, one for the site and one for SMF. They usually make the wrong choice.
     
    Do you have any suggestions as to what to do to make this thing work as we want it to?

    -Wolverine said: "Some of that doesn't sound right.  Try the new version and tell me if it has been resolved."

    It appears to depend on what I have as a menu item link as the first menu selection in the left-hand column of the site's first page.  If the first menu item in that location is the link labeled "Home", whenever I log out from anywhere in the site (or forum) the site automatically returns to the site's home page. 
     
    If the first menu item in the left column on the first page says anything else (like "Hal's Page"), logging out from anywhere on the site returns you to what is selected by clicking that first item.  Like a wrapped version of Hal's Page. 
     
    So right now I need to insure that first menu selection says "Home" in order to make it work the way I want it to.

    Perhaps I should mention my Joomla site is based on a modified version of the madeyourweb template?  You can view it here if you like: http://www.oflanagans.net/NorthCalViews .
    Logged
    -Wolverine
    Moderator
    Joomla Guru
    *****

    Karma: +374/-34
    Offline Offline

    Posts: 3393


    Lead Developer


    View Profile WWW
    Re: Joomla-SMF 1.1RC2
    « Reply #12 on: March 06, 2006, 07:23:03 AM »

    It appears to depend on what I have as a menu item link as the first menu selection in the left-hand column of the site's first page.  If the first menu item in that location is the link labeled "Home", whenever I log out from anywhere in the site (or forum) the site automatically returns to the site's home page. 
     
    If the first menu item in the left column on the first page says anything else (like "Hal's Page"), logging out from anywhere on the site returns you to what is selected by clicking that first item.  Like a wrapped version of Hal's Page. 
     
    So right now I need to insure that first menu selection says "Home" in order to make it work the way I want it to.
    I never even thought anyone wouldn't have Home as the first item.  I wonder if some of the logic of joomla causes the odd behavior based on what is in first place?  I would leave home in the first place for now until we have a clearer picture of the ramifications of changing that.  Glad it is working now for you!
    Logged

    Need help?  Check Here First!
    Get the JSMF User Guide
    SEARCH this forum.
    kirck
    QA / Testers
    Joomla Pro
    *****

    Karma: +7/-3
    Offline Offline

    Posts: 91


    View Profile WWW
    Re: Joomla-SMF 1.1RC2
    « Reply #13 on: March 06, 2006, 12:00:07 PM »

    I can login fine, but now i have a problem with time session on SMF.
    When i connect after awhile the session of smf has expired, i see as connect but only on home, not on smf.

    J 1.0.7
    SMF RC2
    SMF Login 1.4
    J-S RC2

    Another issue:
    When i deleted an user of joomla this sync with cb but no sync with smf.
    Logged
    bene
    Joomla Newbie
    *

    Karma: +0/-0
    Offline Offline

    Posts: 16


    View Profile
    Re: Joomla-SMF 1.1RC2
    « Reply #14 on: March 06, 2006, 04:36:11 PM »

    Hi, I installed that - now I've problems with any Login-Form.
    When pressing the loginbutton, a blank site with following error occurs.
    I did unpatch the old Version and uninstall it, installed the new by manual. everything worked fine without errors...

    Quote
    Fatal error: Cannot use object of type joomlaVersion as array in /srv/www/htdocs/webXY/html/mysmfforum/administrator/components/com_smf/functions.smf.php on line 1105

    Quote
    1104        //Mambo compatability
    1105        if(strpos($_VERSION['PRODUCT'], 'Joomla' ) === FALSE) {
    1106            $_POST['remember'] = $str_remember;
    1107            $mainframe->login($username, $str_pass);
    1108        }
    1109        else {
    1110            $mainframe->login($username, $str_pass, $str_remember);
    1111        }



    « Last Edit: March 06, 2006, 04:55:22 PM by bene » Logged
    Pages: [1] 2 3 ... 5 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