Home arrow Forum Joomla-SMF 1.1RC1 Release
  Welcome, Guest. Please login or register.
Did you miss your activation email?
January 09, 2009, 04:19:24 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.1RC1 Release
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: 1 [2] 3 4 ... 6 Go Down Print
Author Topic: Joomla-SMF 1.1RC1 Release  (Read 19868 times)
-Wolverine
Moderator
Joomla Guru
*****

Karma: +376/-34
Offline Offline

Posts: 3393


Lead Developer


View Profile WWW
Re: Joomla-SMF 1.1RC1 Release
« Reply #15 on: February 15, 2006, 09:39:18 AM »

I have noticed this problem intermittently and can't explain it.  Anyone else notice being logged out of forums but still logged into Joomla?  I have done some debugging and I don't see a problem... yet. 

I was messing with the SMF admin settings and a few that might help are the following:

  • allow subdomain independent cookies should be on
  • Default login cookie length in minutes -> set at your discretion, this will help though
  • Enable local storage of cookies should be off  this directly affects joomla-smf sessions
  • Database driven session should be on
  • seconds before unused session timeout should be >= 2880

Check if those are set appropriately.  Oh, and also, the forum URL for SMF should not be the joomla location with option=com_smf etc.  It should be the normal URL.  For example, if your joomla link is:

http://my.site.com/index.php?option=com_smf&ItemId=31

Your SMF forum should NOT be the same!  My forum link is:

http://my.site.com/forum/

The bridge will make the translation, you should never put the joomla link as the SMF forum URL. 

I think that is about all I can come up with at this point to check.  I will continue to investigate.
Logged

Need help?  Check Here First!
Get the JSMF User Guide
SEARCH this forum.
kai920
Moderator
Joomla Expert
*****

Karma: +14/-2
Offline Offline

Posts: 275



View Profile
Re: Joomla-SMF 1.1RC1 Release
« Reply #16 on: February 17, 2006, 11:45:50 AM »

Wolverine,
I installed your RC1 release, but the forum ItemID changed to 86. How can I change it back to 71?  Have searched hi-n-lo for the solution...  Huh

Thanks
Logged

-Wolverine
Moderator
Joomla Guru
*****

Karma: +376/-34
Offline Offline

Posts: 3393


Lead Developer


View Profile WWW
Re: Joomla-SMF 1.1RC1 Release
« Reply #17 on: February 17, 2006, 12:13:15 PM »

that itemID is based on the database's component table's row id which is set incrementally upon component install.  There shouldn't be any reason to have it set to a specific number.  What are you trying to do?
Logged

Need help?  Check Here First!
Get the JSMF User Guide
SEARCH this forum.
kai920
Moderator
Joomla Expert
*****

Karma: +14/-2
Offline Offline

Posts: 275



View Profile
Re: Joomla-SMF 1.1RC1 Release
« Reply #18 on: February 17, 2006, 12:20:49 PM »

that itemID is based on the database's component table's row id which is set incrementally upon component install.  There shouldn't be any reason to have it set to a specific number.  What are you trying to do?

All links that were posted on other boards were http://www.kaitech.hk/index.php?option=com_smf&Itemid=71&topic=385.0

I thought those links wouldn't work unless was changed back to 71??

But I just tested the first link and it works, whereas I thought it wouldn't... I'm getting something confused here obviously!

Is it okay to leave the com_smf ItemID as the newly generated value?
Logged

-Wolverine
Moderator
Joomla Guru
*****

Karma: +376/-34
Offline Offline

Posts: 3393


Lead Developer


View Profile WWW
Re: Joomla-SMF 1.1RC1 Release
« Reply #19 on: February 17, 2006, 12:29:10 PM »

yes, because, unless I am wrong, we search all links and rewrite them with the current forum url.  If you find differently let me know.
Logged

Need help?  Check Here First!
Get the JSMF User Guide
SEARCH this forum.
kai920
Moderator
Joomla Expert
*****

Karma: +14/-2
Offline Offline

Posts: 275



View Profile
Re: Joomla-SMF 1.1RC1 Release
« Reply #20 on: February 17, 2006, 08:46:26 PM »

I'm just confused how my links to com_smf of itemID 71 can continue to work, even if I don't have a menu item pointing there?

Anyway, I just changed the name of my new menu item from "Forum" to "Forums", and for some reason the URL became "undefined&Itemid=86"...

So instead of having a Component link, I changed all my Link-URLs to 86. But what's happening to the old incoming links that point to itemid 71?  Are there any problems with running with two item IDs?
« Last Edit: February 17, 2006, 09:01:21 PM by kai920 » Logged

Kevin8020
QA / Testers
Joomla Master
*****

Karma: +33/-18
Offline Offline

Posts: 105



View Profile WWW
Re: Joomla-SMF 1.1RC1 Release
« Reply #21 on: February 18, 2006, 02:16:08 PM »

I noticed a couple of annoying things:

Joomla 1.0.5
SMF 1.1RC2
Bridge 1.1RC1

  • The ajax exit boxes still don't work. The "?action" and other "?URL" lines in xml_topic.js and xml_board.js should be changed to "&"
  • The $mosurl should have &s instead of &'s or else the site will have a ton of non-validating URL's
  • When logging into the site, Joomla's UserMenu rarely appears

EDIT: When fixing the $mosurl, it fixes the site, but breaks the forums. To correct this, the ampersands on lines 265 and 995 in functions.smf.php should be changed to '&'s
« Last Edit: February 18, 2006, 06:19:55 PM by Kevin8020 » Logged
W Shealy
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 3


View Profile
Re: Joomla-SMF 1.1RC1 Release
« Reply #22 on: February 18, 2006, 11:52:04 PM »

Any thoughts on my problem on login when the forum menu is registered/special and using the CB plugin? see last weeks post for more details or wasn't I clear?
W
Logged
joomlanewbie
Joomla Master
***

Karma: +20/-5
Offline Offline

Posts: 145


View Profile
Re: Joomla-SMF 1.1RC1 Release
« Reply #23 on: February 19, 2006, 04:19:30 PM »

I've noticed some weird intermittent behaviours

One. the member online count may differ from the members reported online.
However, a look at the JOS_sessions file will show blanks where the member id would be.. the SMF sessions table however is properly populated (not that SMS sessions does not store obvious user names)

Personally, having users log in to SMF seperately from Joomla is not a deal breaker for me, but having unpredictable behaviours is.

If when they log in they can navigate joomla and, when they wish to post a message or do something 'forum specific
 they
'reauthenticate themselves in that context' (see, everything sounds better with some big words Cheesy), and then are logged into the forums with a long/indefinate login period
Logged
Kevin8020
QA / Testers
Joomla Master
*****

Karma: +33/-18
Offline Offline

Posts: 105



View Profile WWW
Re: Joomla-SMF 1.1RC1 Release
« Reply #24 on: February 20, 2006, 04:00:50 PM »

Here is the fix for ampersand validation across the whole site:

1. Open functions.smf.php in the administrator/components/com_smf directory of your joomla site
2. Adjust the following lines
  • Line 265:
Code:
$tmpurl = str_replace("&?","&",$tmpurl);
  • Line 995:
Code:
$setLocation = str_replace("&?", "&", $setLocation);
  • Line 76:
Code:
$url = $mosConfig_live_site ."/index.php?option=com_smf&Itemid=" .$Itemid."&";
    3. Enter your SMF-Joomla settings, and press save, recreating your forum URL.

    -Kevin8020
    « Last Edit: February 20, 2006, 04:03:33 PM by Kevin8020 » Logged
    big al
    Joomla Newbie
    *

    Karma: +0/-0
    Offline Offline

    Posts: 1


    View Profile
    Re: Joomla-SMF 1.1RC1 Release
    « Reply #25 on: February 21, 2006, 11:18:30 AM »

    apps / version using
    Joomla 1.0.7
    SMF 1.1RC2
    Bridge 1.1RC1
    CB 1.0 RC2

    Syncing users still not working between cb/joomla/cmf
    cannot register any longer  Getting this error:

    "mosuser::store failed
    Duplicate entry \'0\' for key 1 SQL=INSERT INTO dev_users ( `id`,`name`,`username`,`email`,`password`,`gid`,`registerDate` ) VALUES ( \'0\',\'user 3\',\'user3\',\'user3@aditbiz.com\',\'1660fe5c81c4ce64a2611494c439e1ba\',\'18\',\'2006-02-21T11:08:54\' )"

    Any ideas?

    Logged
    Stig Roar Lier Habbestad
    Joomla Newbie
    *

    Karma: +0/-0
    Offline Offline

    Posts: 22


    View Profile
    Re: Joomla-SMF 1.1RC1 Release
    « Reply #26 on: February 21, 2006, 05:48:14 PM »

    when are the user being synchronized? A new user registered with CB/Joomla. I confirmed the user but a SMF account wasn't created (it may be that the user registered just before I installed the bridge. This I cannot tell for sure...

    But anyway, when I delete a user from CB it won't delete from SMF.
    Logged
    Stig Roar Lier Habbestad
    Joomla Newbie
    *

    Karma: +0/-0
    Offline Offline

    Posts: 22


    View Profile
    Re: Joomla-SMF 1.1RC1 Release
    « Reply #27 on: February 21, 2006, 06:50:43 PM »

    login trouble...

    sometimes when I log in, i get directly redirected to the forum.

    if i have stayed logged in for a while, i may be thrown out of the forum. if i  am still logged in to CB/Joomla, i cannot log back in to SMF. SMF tells me that I need to write a username.
    Logged
    -Wolverine
    Moderator
    Joomla Guru
    *****

    Karma: +376/-34
    Offline Offline

    Posts: 3393


    Lead Developer


    View Profile WWW
    Re: Joomla-SMF 1.1RC1 Release
    « Reply #28 on: February 21, 2006, 07:18:06 PM »

    .
    « Last Edit: February 21, 2006, 10:46:01 PM by -Wolverine » Logged

    Need help?  Check Here First!
    Get the JSMF User Guide
    SEARCH this forum.
    kai920
    Moderator
    Joomla Expert
    *****

    Karma: +14/-2
    Offline Offline

    Posts: 275



    View Profile
    Re: Joomla-SMF 1.1RC1 Release
    « Reply #29 on: February 21, 2006, 08:57:04 PM »

    I'm just confused how my links to com_smf of itemID 71 can continue to work, even if I don't have a menu item pointing there?

    Anyway, I just changed the name of my new menu item from "Forum" to "Forums", and for some reason the URL became "undefined&Itemid=86"...

    So instead of having a Component link, I changed all my Link-URLs to 86. But what's happening to the old incoming links that point to itemid 71?  Are there any problems with running with two item IDs?


    Can anyone comment on the above?  Thanks!
    Logged

    Pages: 1 [2] 3 4 ... 6 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
    Search Contact About Advertise Blogs Topsites Submit News Register Login