I did some search on converting from PHPnuke to PostNuke but haven't really found a solution. There were a few good posts on conversion utilities but all the links seem to outdated or broken.
Currently I have a site running PHPnuke 7.2 and PHPbb 2.0.7. Is there any easy conversion path between the two. The main things I want to move are the forum and user info. There isn't much info in downloads, links. and news so I could just recreate that.
Thanks
FUBAR
Login
Donate to Zikula
Installation, Configuration, & Upgrades
::
PHPnuke 7.2 to latest PostNuke
-
-
I believe that the installation should take care of that for you. I believe there is a stage in installation where you select which version you are upgrading from and it handles it. Read upgrade instructions and try it on a test site.
--
pnDev.com ~ featuring the PostNuke paid services forum -
I didn't know that one could "upgrade" from something like PHP-Nuke to PostNuke.
If such a thing was possible in that way, it would be awesome.
edited by: Thug21, Nov 03, 2006 - 06:26 AM -
Oooops sorry I misread your post. You are right there seems to be no automagic conversion script. I think there used to be. Here is a thread with some info for you.
http://community.pos…0PHPnuke%20Postnuke
--
pnDev.com ~ featuring the PostNuke paid services forum -
Thanks but while that is kind of what I am looking to do it does not look like an easy process. I saw some even earlier threads with conversion scrips from PHPnuke 7.? and PHPbb 2.0.6. Not entirely positive on the versions. The problem is the links to those scripts no longer work. Anyone still have those scripts or know where I can get them.
Thanks
FUBAR -
I know that this is an old thread, but I figured I'd post this for anyone searching.
For going from PHP-Nuke 7.2 to PN 0.7.6.X(with PNphpBB2):
When you transfer sites, you need to merge your old forum data into the new by deleting unused cells in your tables before inserting the data into the PN DB. You need to do the same thing with your user table. You need to duplicate it, then modify each one to match the table for pn_users and pn_phpbb2_users. They both require different data, but nuke_users has everything you need in it.
After that, your final necessity is changing the users' reg date from a text string to UNIX TimeStamp:
I created this script to do it:
Code
<?php
$autoconn = mysql_connect(localhost,db_user,db_pass) or die ("DBUser or DBPass was refused when attempting to connect to MySQL Host.");
$dbi=mysql_select_db(database,$autoconn) or die("Unable to make master connection to database: " . mysql_error());
$query = "SELECT user_id, user_regdate FROM users";
$result = mysql_query($query) or die('MySQL error: ' . mysql_error() . '<hr/>' . $query);
while ($row = mysql_fetch_assoc ($result)) {
$user_id = $row[user_id];
$user_regdate = $row[user_regdate];
$date = $user_regdate;
$unixDate = strtotime($date);
echo("UPDATE users SET user_regdate = ".$unixDate." WHERE user_id = ".$user_id.";<br>");
}
?>
You again have to do it for both instances of the users table(both core, and PNphpBB2).
That's how you do it. There is no script available to take care of this for you, and you'll find that the scripts that are out there are reflective of many of the community provided OSS offerings; half-assed and dropped years ago.
thanks,
json
--
If at first you don't succeed, then skydiving's not for you.
Users online
- Abadia,
- Guite,
- HalbrookTech,
- Petzi-Juist,
- Simon,
- Teb,
- Wendell,
- billthecat,
- kylegio,
- larsneo,
- mgarcia001,
- nestormateo,
- obywatel
