UseBB Community

UseBB support, discussion and development

SMF to UseBB Convertor

Post Reply

Page: 1

Author Post
Developer
Registered: Apr 2004
Posts: 2248
This is a convertor for SMF 1.0 forums I created for a project I participate in. It has been tested on a forum with 51109 posts in 7008 topics posted by 2013 members. The convertor converted members, categories, forums, topics and posts in less than 30 seconds.

However, there is a problem with the user accounts in the sense that SMF uses a different way of encrypting passwords. To be able to login at the converted forum you will first need to request a new password.

This might be fixed in some way in a later revision of the convertor however.

Download 1.0 here.

Edit: 1.0 is released.
« Last edit by Dietrich on Sat Jul 02, 2005 8:05 pm. »
Member
Registered: Apr 2004
Posts: 33
Location: Rainy Belgium
Just mail everybody a new random password?
Member
Registered: Jul 2005
Posts: 10
My friend had to deal with something similar when he upgraded a chat system he had made. The old system's user passwords were stored as md5, but in the new system he had it use sha1.

In the end, he had it copy the md5 passwords instead, then he added a another field that showed weather or not their password was updated yet. (enum('y','n') default: n; I think...)

So, now the user goes to login, the system sees that their password was stored in the old format, and asks them to change it. Then when it changes it, it calls the md5() function to check the "current password" feild. Once the md5 pass checks out, it changes them to the new password and updates the flag feild so they don't have to go through that all again.
_______________
--
Dersursine
Developer
Registered: Apr 2004
Posts: 2248
SMF does something similar, for boards which use just the md5 hash of the password and some other way for IPB and vBulletin. The question is, does the license of SMF allow us to copy the method over to UseBB?
Member
Registered: Jul 2005
Posts: 187
Location: Stockholm
I think it's cool with a convertor for SMF but you should get convertors for phpBB and other softwares to make UseBB even bigger!
Developer
Registered: Apr 2004
Posts: 2248
We should need a unified system for convertors like phpBB has. The SMF convertor actually eats too many memory and could be built better with a new system.

Anybody who volunteers -> contact me or post here. ;)
Member
Registered: Apr 2005
Posts: 22
Has anyone got this to work?

I'm sure it does work, but i just tried it on my localserver setup on winxp. Couldn't seem to make it do anything.

Is the path perhaps for a full path?
Developer
Registered: Apr 2004
Posts: 2248
It doesn't have to. But it uses a LOT of memory so'll probably have to up the memory limit or disable it.

We definately need a new convertor.
Member
Registered: Apr 2005
Posts: 22
Is there a way I could do this? Up the memory limit?

I'm not very knowledgable :oops:
Developer
Registered: Apr 2004
Posts: 2248
My own system has memory limit disabled by compiling PHP with --disable-memory-limit, it runs but very CPU and RAM consuming.

You can try
ini_set('memory_limit', '-1');
Member
Registered: Apr 2005
Posts: 22
Thanks I'll try that. :)
Member
Registered: Apr 2005
Posts: 22
I got it working sort of now though it was nothing to do with memory. The smf database is very small.

I get these errors -

Warning: mysql_select_db(): Access denied for user 'ODBC'@'localhost' (using password: NO) in c:\program files\easyphp1-7\www\smf1\smf.php on line


Warning: mysql_select_db(): A link to the server could not be established in c:\program files\easyphp1-7\www\smf1\smf.php on line


These both appear on the same line number but on various lines.

Any ideas? This sort of thing is beyond my intelligence :oops: I have no idea what "user 'ODBC'@'localhost" is, it's not the database username.
Developer
Registered: Apr 2004
Posts: 2248
Must be something else on the server, I don't know what it could be. No ODBC is used anywhere with UseBB.
Member
Registered: Apr 2005
Posts: 22
I guess so, in any case I tried it on my hosting account and in that case it worked fine. :)
Member
Registered: Dec 2006
Posts: 1
Any news on this converter. I am running 1.1 RC3 and I am interested in converting to UseBB. Has anyone used it with this version of SMF and if so, what errors if any were encountered. Thanks.
Developer
Registered: Apr 2004
Posts: 2248
I highly doubt this would still work nowadays, it consumes a lot of memory so I wouldn't recommend it after all.

Someone would need to write a new one, eventually using the phpBB Convertor as a starting point.

Post Reply

Page: 1

UseBB Community is powered by UseBB 1 Forum Software