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.
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.
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?
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??
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.
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!
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.
Yup! FINALLY!!! 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.
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