Home arrow Forum Can't Sync all Users
  Welcome, Guest. Please login or register.
Did you miss your activation email?
December 03, 2008, 03:34:56 AM
Home New Posts Search Calendar


Login with username, password and session length
+  Joomla Forum
|-+  Joomla Hacks
| |-+  Joomla-SMF Forum Support
| | |-+  Mambo-SMF 1.3.x
| | | |-+  Can't Sync all Users
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Can't Sync all Users  (Read 2019 times)
Mr H
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 1


View Profile
Can't Sync all Users
« on: January 25, 2006, 08:48:50 AM »

I am creating a new Mambo website based upon an existing site I have.
I have installed Mambo and SMF successfully.

I have also been able to migrate my existing phpbb forum to SMF successfully.

The problem I have now is with some of the usernames.
When I try and sync Mambo with the SMF users (within component Mambo-SMF 1.3.1.3) I get the error:

Syncing username KJ Failed! Please enter a valid Username:. No spaces, more than 2 characters and containing only the characters 0-9,a-z, or A-Z

I have a few instances where the username length is 2 charaters or less.
Is it possible to remove this check to sync the users and then to put it back once this process has been completed?

Thanks

Paul
Logged
-Wolverine
Developer
Joomla Guru
*****

Karma: +376/-34
Offline Offline

Posts: 3393


Lead Developer


View Profile WWW
Re: Can't Sync all Users
« Reply #1 on: January 25, 2006, 11:27:07 AM »

I am fairly certain this is a db constraint in Mambo that cannot be altered.
Logged

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

Karma: +0/-0
Offline Offline

Posts: 1


View Profile
Re: Can't Sync all Users
« Reply #2 on: January 25, 2006, 11:56:25 PM »

It’s not a DB constraint,

As a work around I added additional characters to the username in the smf_members tables ran the import then in both the smf_members and mos_users tables changed the values back to how they were (and got no db errors).

After lots of hunting around I found the code.

It in the component com_registration.html.php has a username verification function.

I changed the line else if (r.exec(form.username.value) || form.username.value.length < 3) to
else if (r.exec(form.username.value) || form.username.value.length < 0) and the sync worked fine.

Not worked out how to get over usernames with the – yet.

Paul
Logged
xeka
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 1


View Profile
Re: Can't Sync all Users
« Reply #3 on: April 20, 2006, 08:03:10 PM »

 Cry Cry not work for me, i use joomla 108 and SMF 1.1rc2
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