News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Snitz 3.4.03 to SMF

Started by NoRad, August 20, 2004, 01:35:27 AM

Previous topic - Next topic

NoRad

I'm interested in converting Snitz 3.4.03 to the latest version of SMF. I have several custom add-ons, but if I can get at least the most important things (members, topics) then I should be ok. Here is a link I found of a script that converts Snitz 3.4.03 to PHPBB 2.0.6 that might be a good starting point on writing a converter for SMF since it references names of Snitz tables.

http://mraluca.go.ro/snitz2phpbb2.htm

Any help would be greatly appreciated. I'm an experienced ASP programmer trying to learn more about PHP. Thahnks!

NoRad

I just installed SMF 1.0 RC1 and I'm totally in love. This is the best forum I've ever worked with. I am wondering if I should hold off on setting everything up if I'm going to be importing stuff from another forum?

NoRad

BTW, my user passwords are encrypted using SHA256. Is there a way to integrate that feature with SMF so that we don't lose them?

Tony Reid

Here is a converter for phbb2 to SMF - you can use that after you have converted snitz to phbb :)

http://www.simplemachines.org/download.php?converters
Tony Reid

[Unknown]

SMF only runs on MySQL; I assume Snitz uses MS SQL, no?

Does the phpBB converter handle this as well?  Or does it not move to MySQL?

-[Unknown]

NoRad

I was thinking about trying that... I wonder if I could just compare the two scripts and eliminate PHPBB in the middle?

Tony Reid

I assumed that he could convert Snitz to phpbb and then convert phpbb to SMF using the SMF converter.
Tony Reid

NoRad

Quote from: Radianation on August 20, 2004, 06:40:41 AM
I was thinking about trying that... I wonder if I could just compare the two scripts and eliminate PHPBB in the middle?

Snitz wasn't bad in the sense that it worked with msSQL, mySQL, and even Access. I just converted eveyrthing from msSQL to mySQL using a 3rd party program. Forums are running fine. So at least that part is good to go.

[Unknown]

Quote from: Radianation on August 20, 2004, 06:42:13 AM
Quote from: Radianation on August 20, 2004, 06:40:41 AM
I was thinking about trying that... I wonder if I could just compare the two scripts and eliminate PHPBB in the middle?

Snitz wasn't bad in the sense that it worked with msSQL, mySQL, and even Access. I just converted eveyrthing from msSQL to mySQL using a 3rd party program. Forums are running fine. So at least that part is good to go.

I would suggest, then, trying out the phpBB route - at least for now.

I will investigate the possibility of us creating a Snitz converter (and it is on the list of ones we would like to make...) but, it won't be done overnight.

-[Unknown]

NoRad

FYI

http://www.louipimps.com/forum <- existing snitz forum
http://www.mindsexit.com <- temp SMF forum (staging site)
Once I get them converted I'll swap the staging site over.

I would be happy to help with the snitz conversion. I've been running it for several years and know it very well. My problem is PHP. I'm still learning... I'll see what I can come up with over the next few days.

NoRad

Ok, this worked. It took me about 15 minutes to convert from snitz 3.4.03 -> phpbb2 -> smf

I have one rather complex problem... My passwords are encrypted using SHA256. Is there a way to implement this as the default password encryption for SMF? Maybe there is a way to reset the passwords next time somebody logs in? A lot of people have out dated emails or the server email gets lost in spam. I would hate to lose users this way.

Thanks!

[Unknown]

It could, if you have mhash... do you know if PHP has mhash support compiled in? (you can ask your host..)

-[Unknown]

NoRad

I run my own server (actually, my own server colocation room). I can install or run anything required as long as it does not conflict with other applications. What is mhash? A com object or something?

Tony Reid

Sorry to but in - but I jsut gotta say it....... The snitz calendar rocks!
Tony Reid

NoRad

Quote from: Tony on August 20, 2004, 07:40:46 AM
Sorry to but in - but I jsut gotta say it....... The snitz calendar rocks!

That was an addon that I had to code into it. I tweaked it a bit to make it look nicer.

[Unknown]

No, actually, mhash is a module.  Are you running on a Windows or Linux server?

Under Windows, you have to edit php.ini and add the php_mhash.dll line... as well as make sure the extensions_dir is right.

On Linux, you have to configure it with --with-mhash.

This will make it possible, but then you will need to modify a piece of code in LogInOut.php.

-[Unknown]

NoRad

ok, I can handle all of this. Could you assist me with what code needs to be modified? Also, I've noticed that my forum now lists topics with 0 replies first. This was explained as an issue in the snitz -> phpbb document. Any ideas?

I tested it on my gaming forum before I did it on my main site.

http://www.thesilents.org/forum
http://www.thesilents.org/smf <-- you can see here what's happening, but it worked. =)


NoRad

Or so I thought...

In my php.ini t looks like this:
;extension=php_mhash.dll

I uncomment it and then when I load a php file it hangs.

so I tried to change it to this:
extension=extensions\php_mhash.dll

same thing. I think it's having trouble finding the extensions folder. My setup is like this:

c:\php\extensions\php_mhash.dll

NoRad


NoRad

Uh oh - bigger problem than I thought.

The posts are all out of order. For example, what used to be the initial post is now like reply #8, and one of the replies is now the initial post. It almost reads backwards otherwise. Any ideas? I bet this happened during the snitz -> phpbb2 conversion.

Advertisement: