Home arrow Forum User Synchronisation
  Welcome, Guest. Please login or register.
Did you miss your activation email?
December 02, 2008, 04:11:33 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)
| | | |-+  User Synchronisation
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: User Synchronisation  (Read 1847 times)
areba
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 1


View Profile
User Synchronisation
« on: March 07, 2007, 01:29:03 AM »

I have been struggling from migrating from simpleboard to SMF, ive finally installed averything (afraha dot com) ad im only having two problems and ill be ready to go.
1) User list displays email, i want to disable that, ive done that from the bridge but i still see it, so i locked it out alltogether but i need to display everyting except email.
2) editing the rofile, say i want to change the name i have used as my user name; opens cb form with the following errors on top of the form:
 

Warning: htmlspecialchars() expects parameter 1 to be string, array given in /home/sunshine/public_html/administrator/components/com_comprofiler/comprofiler.class.php on line 2159

Warning: htmlspecialchars() expects parameter 1 to be string, array given in /home/sunshine/public_html/administrator/components/com_comprofiler/comprofiler.class.php on line 2156

then when i make a change, i get this pop up, with this error:
JSMF CB Plugin error::Failed to synchronize user updates to SMF:: Username (sunshine) does not exist in SMF or not able to retrieve userid ~~~ FROM::/home/sunshine/public_html/administrator/components/com_smf/admin.smf.class.php || updatemember || 1000

is there a quick fix? I know i could go to the code and line by line try commenting, but i kinda need a quick solution, (ill browse through the code once i have my forum members able to update their profiles correctly.
Logged
-Wolverine
Moderator
Joomla Guru
*****

Karma: +376/-34
Offline Offline

Posts: 3393


Lead Developer


View Profile WWW
Re: User Synchronisation
« Reply #1 on: March 07, 2007, 07:32:47 PM »

versions?
Logged

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

Karma: +0/-0
Offline Offline

Posts: 12


View Profile
Re: User Synchronisation
« Reply #2 on: March 10, 2007, 05:04:43 PM »

I have the same issue

Joomla -  1.0.12 Stable [ Sunfire ]
JSMF - JoomlaHacks.com  2.0.2  Dec 2006
CB -  1.0.2      2006-11-23
Logged
-Wolverine
Moderator
Joomla Guru
*****

Karma: +376/-34
Offline Offline

Posts: 3393


Lead Developer


View Profile WWW
Re: User Synchronisation
« Reply #3 on: March 12, 2007, 11:36:46 PM »

sycnhronizing a username change does not work from CB to SMF.  The username is the only way to keep the user in SMF aligned to the user in CB/Joomla.  Unfortunately CB assumes that all integration will have the samse user id, which is simply not the case for SMF.  This is why if you change your username there is no way to sync it to SMF.  And that is why I report this error to the user to disallow username changing.  I have added some features in JSMF 2.0.3 to improve this scenario which should allow usernames to be synchronized.
Logged

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

Karma: +0/-2
Offline Offline

Posts: 16


Xtm-Lounge


View Profile WWW
Re: User Synchronisation
« Reply #4 on: December 27, 2007, 09:13:37 PM »

What about passwords? If a user uses the Forgot Password link or changes their password in CB manually it does not sync it to SMF either. When they go to login VIA CB it says invalid username or password, then refreshes the page and they are logged in! But when they go to the forums they are not its just simply not syncing the password changes either. Anyway to fix this?
Logged

Rob
Joomla Newbie
*

Karma: +1/-0
Offline Offline

Posts: 10


View Profile
Re: User Synchronisation
« Reply #5 on: December 27, 2007, 09:57:24 PM »

i have this problem also with the passwords for my main account. i cant login to the forum but am the main site.
Logged
Smokey4life
Joomla Newbie
*

Karma: +0/-2
Offline Offline

Posts: 16


Xtm-Lounge


View Profile WWW
Re: User Synchronisation
« Reply #6 on: December 27, 2007, 10:19:29 PM »

Ok wait, i retract my previous statement. For some reason the forgot password link is now working, if a user selects "forgot password" and has a new one generated and e-mailed to them it works fine when they log in, in both CB and SMF however no one wants a password of "yf8a60f1" so of course they are going to try to change it. When they try to change it VIA their CB profile, next time they log in THEN they get the error message invalid user or password and they are logged into the site just not SMF. So im guessing it has something to do with the CB plugin that comes with the JSMF bridge??
Logged

Rob
Joomla Newbie
*

Karma: +1/-0
Offline Offline

Posts: 10


View Profile
Re: User Synchronisation
« Reply #7 on: December 27, 2007, 10:26:10 PM »

i have just tested this and my test account is unable to login to SMF after the password change. Can login to the site fine, just cant login to the forum.
Logged
Rob
Joomla Newbie
*

Karma: +1/-0
Offline Offline

Posts: 10


View Profile
Re: User Synchronisation
« Reply #8 on: December 27, 2007, 11:43:19 PM »

found a fix!
main topic:
http://www.joomlahacks.com/component/option,com_smf/Itemid,94/topic,4174.0
JSMF 2.0.2.1 update.
http://www.joomlahacks.com/component/option,com_smf/Itemid,94/action,dlattach/topic,4174.0/attach,1139

to update from 2.0.2, simply upload the new smf.class.php(from the zip) file into components/com_smf and then try it again. Worked for me so hope it does for you mate.
Took me ages to find that!
Logged
Smokey4life
Joomla Newbie
*

Karma: +0/-2
Offline Offline

Posts: 16


Xtm-Lounge


View Profile WWW
Re: User Synchronisation
« Reply #9 on: December 27, 2007, 11:49:18 PM »

Ok, but im using a fresh install of Version Information:
Your Joomla version is: 1.0.13
Your SMF version is: 1.1.4
Your Joomla-SMF version: 2.0.2

i never upgraded and im still having this problem so i doubt its due to upgrading...
Logged

Rob
Joomla Newbie
*

Karma: +1/-0
Offline Offline

Posts: 10


View Profile
Re: User Synchronisation
« Reply #10 on: December 27, 2007, 11:52:13 PM »

i was using a fresh install 2.
i had:
Joomla-SMF version: 2.0.2
download that file, and copy that file across to the folder and it should work.
All it is, is a bug fix to Joomla-SMF version: 2.0.2, hense its called Joomla-SMF version: 2.0.2.1 but the zip contains a full installation of the plug-in. All you need is that smf.class.php and things should be ok.
Logged
Smokey4life
Joomla Newbie
*

Karma: +0/-2
Offline Offline

Posts: 16


Xtm-Lounge


View Profile WWW
Re: User Synchronisation
« Reply #11 on: December 27, 2007, 11:54:26 PM »

Ooooh! Wow i feel st$p$d now Wink i didnt pay attention to that Wink ill try that right now glad you fixed your problem hope it works for me too  Wink
Logged

Rob
Joomla Newbie
*

Karma: +1/-0
Offline Offline

Posts: 10


View Profile
Re: User Synchronisation
« Reply #12 on: December 27, 2007, 11:56:44 PM »

let me know!
hope it does work for ya.
Logged
Smokey4life
Joomla Newbie
*

Karma: +0/-2
Offline Offline

Posts: 16


Xtm-Lounge


View Profile WWW
Re: User Synchronisation
« Reply #13 on: December 28, 2007, 12:21:09 AM »

Yup! FINALLY!!!  Grin that did it, forgot pass works, user manually changing pass works, all logins work fine i cant find any problems so far everything seems to be syncing just fine. Thanks for that Rob, i actually looked at that post multiple times but i neer seen it mention anything about fixing the password changes so i never paid much attention to it. Im going to test the changing usernames next, not sure if it fixes that or just passwords.
Logged

Rob
Joomla Newbie
*

Karma: +1/-0
Offline Offline

Posts: 10


View Profile
Re: User Synchronisation
« Reply #14 on: December 28, 2007, 12:29:29 AM »

glad it sorted that for ya and no problems Smiley i must of looked at it a few times b4 i clicked on lol
This things caused me so much stress its unreal lol.
Logged
Pages: [1] 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