xoops forums

emilsoft

Just popping in
Posted on: 2004/10/4 21:55
emilsoft
emilsoft (Show more)
Just popping in
Posts: 34
Since: 2004/7/23
#1

Convert PHP-Nuke User DB to XOOPS...

Hi There, I currently have another [old] site running PHP-Nuke 5.0 and I'm planning to hopefully upgrade to XOOPS. Are there any scripts that'll help me convert the User Database over to XOOPS?

Thanks.

intel352

Module Developer
Posted on: 2004/10/4 22:13
intel352
intel352 (Show more)
Module Developer
Posts: 824
Since: 2003/11/23
#2

Re: Convert PHP-Nuke User DB to XOOPS...

yes, i posted a script somewhere, lol... can't search for it though, since search is currently disabled. i'll post it again later when i find it.

emilsoft

Just popping in
Posted on: 2004/10/4 22:27
emilsoft
emilsoft (Show more)
Just popping in
Posts: 34
Since: 2004/7/23
#3

Re: Convert PHP-Nuke User DB to XOOPS...

Thanks... That'd be great!

emilsoft

Just popping in
Posted on: 2004/10/6 0:19
emilsoft
emilsoft (Show more)
Just popping in
Posts: 34
Since: 2004/7/23
#4

Re: Convert PHP-Nuke User DB to XOOPS...

Any success?

sbkiller

Just can't stay away
Posted on: 2004/10/6 0:31
sbkiller
sbkiller (Show more)
Just can't stay away
Posts: 461
Since: 2004/6/9 2
#5

Re: Convert PHP-Nuke User DB to XOOPS...

Here I found it:

wrote by Parody

There's a user convert script out there. I wrote my own news/polls/links/encylopedia script. You can get it here:

http://www.perjuries.com/articles/convert.zip

A word of warning however, the scripts most likely will not work without significant modifications. For example, the news script is configured to convert news and put them in my own categories that I've created. If you don't change the categories, it probably will not work -- a lot of stuff like that needs to be changed.

emilsoft

Just popping in
Posted on: 2004/10/6 1:02
emilsoft
emilsoft (Show more)
Just popping in
Posts: 34
Since: 2004/7/23
#6

Re: Convert PHP-Nuke User DB to XOOPS...

Quote:

sbkiller wrote:
Here I found it:

wrote by Parody

There's a user convert script out there. I wrote my own news/polls/links/encylopedia script. You can get it here:

http://www.perjuries.com/articles/convert.zip

A word of warning however, the scripts most likely will not work without significant modifications. For example, the news script is configured to convert news and put them in my own categories that I've created. If you don't change the categories, it probably will not work -- a lot of stuff like that needs to be changed.


Thanks for the link. All I need is to convert the User DB, but I'm not quite sure how to use the 'password.php' script?

Thanks.

intel352

Module Developer
Posted on: 2004/10/6 2:19
intel352
intel352 (Show more)
Module Developer
Posts: 824
Since: 2003/11/23
#7

Re: Convert PHP-Nuke User DB to XOOPS...

sorry, i forgot to search when i got home

you can try my script if you'd like, here's the post:

Quote:
Here is a script that i wrote, based on the PostNuke to XOOPS conversion template. It's made to convert users, forums, news, downloads, weblinks, private messages, and groups.

NOTE: This script converts NSN Groups (from NukeScripts), I never used the PHP-Nuke built-in Group system that was introduced around 7.x. If you want to convert a non-NSN Groups table, you'll have to alter the script yourself.

This script was written with PHP-Nuke 6.8 + NSN-Groups as the site being converted to Xoops, so it is not guaranteed to work for your setup.


PHP-NUKE_TO_XOOPS CONVERTER

EDIT: BE SURE TO TEST THIS SCRIPT FIRST. I think there might be a glitch, trying to check and make sure (regarding the admin user access).

ALSO, this script removes any currently existing data except for what *should* stay (i.e.- admin user stays, XOOPS groups stay, everything else is removed)

emilsoft

Just popping in
Posted on: 2004/10/6 3:20
emilsoft
emilsoft (Show more)
Just popping in
Posts: 34
Since: 2004/7/23
#8

Re: Convert PHP-Nuke User DB to XOOPS...

Thank you, I'll try it out tomorrow.

Speed

Quite a regular
Posted on: 2004/10/7 19:35
Speed
Speed (Show more)
Quite a regular
Posts: 310
Since: 2004/5/18
#9

Re: Convert PHP-Nuke User DB to XOOPS...

I used bd_csmc's script for one of my sites. It converted people over no problem. They had to rechoose avatars and the groups permissions did not transfer from phpBB to NewBB but that wasn't a big deal. My biggest concern was getting the user database and if possible the forum messages -- both worked perfectly.

intel352

Module Developer
Posted on: 2004/10/7 21:17
intel352
intel352 (Show more)
Module Developer
Posts: 824
Since: 2003/11/23
#10

Re: Convert PHP-Nuke User DB to XOOPS...

sometime down the road, i'll look at porting phpbb groups as well.

i didn't need to worry about phpbb groups, in my situation (for which the script was developed), because i used NSN Groups, an addon for PHP-Nuke & NSN-Nuke (OpenSiteManager now)

and i didn't port avatar information, since that would be largely difficult (to do it properly, i'd either have to make the script transfer the images to the new location where XOOPS stores avatars, which would enter into alot of user error, lol, or a more feasible alternative, i could give detailed instructions on where to put the images and then transfer those over)

but that was deeper than i felt like venturing, i was happy enough with saving the posts


i'm glad it worked for you though, it's always good to hear.