vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Nuke to vBulletin (Transfer Users) (https://vborg.vbsupport.ru/showthread.php?t=42561)

wamadhat 02-11-2004 08:35 AM

Ok

I was runing phpnuke 6.9 and now I have VB 2.3.2 I used this hack to transfer my old users from phpnuke to VB 2.3.2 and I succeefully transfer them.
Now any old user want to log in will cause problem with database as I wrote abouve, but any new user can log normaly!
I hop I could explane tha problem correctly.

Best regards,

ManagerJosh 02-11-2004 08:37 AM

Quote:

Originally Posted by wamadhat
Ok

I was runing phpnuke 6.9 and now I have VB 2.3.2 I used this hack to transfer my old users from phpnuke to VB 2.3.2 and I succeefully transfer them.
Now any old user want to log in will cause problem with database as I wrote abouve, but any new user can log normaly!
I hop I could explane tha problem correctly.


Best regards,

The problem lies as your need to ensure your userids are syncronized with the users of phpnuke.

So that means user1 needs to have userid 1, user2 have userid 2, and so forth

So if both databases weren't syncronized, it appears you get that problem.

JupMan 04-16-2004 07:14 PM

From reading this, I am getting the idea there is no way to convert a PHP message base to vB.

Or am I missing something?

ManagerJosh 04-16-2004 07:43 PM

Quote:

Originally Posted by JupMan
From reading this, I am getting the idea there is no way to convert a PHP message base to vB.

Or am I missing something?

If you are trying to import the PHP-Nuke's phpBB to, vB its quite possible

Anything is possible. It just is the matter of tinkering around with what you have and getting it to work :)

DjJoschimo 12-10-2004 10:49 PM

This Script is only for VB 2
I need this for Nuke 7.0 to vb3.0.3! Can everybody help me?

greetz
DJoschimo

ManagerJosh 12-11-2004 01:47 AM

Quote:

Originally Posted by DjJoschimo
This Script is only for VB 2
I need this for Nuke 7.0 to vb3.0.3! Can everybody help me?


greetz
DJoschimo

Hmmmm..i haven't looked into whether creating something of the sort...however a big problem is the passwords...they wouldn't be transfered properly.

DjJoschimo 12-11-2004 11:21 AM

I have modify the script:
Quote:

// Import Protocols //
echo("<center><font face=verdana size=4>PHP-Nuke to vBulletin 2.2.6</font></center><p><font size=2 face=verdana>");
while($row2 = mysql_fetch_array($nukequery)) {
$uid = $row2["user_id"];
$user[username] = $row2["username"];
$user[user_password] = $row2["user_password"];
$user[user_email] = $row2["user_email"];
$user[user_website] = $row2["user_website"];
$user[icq] = $row2["user_icq"];
$user[yim] = $row2["user_yim"];
$user[aim] = $row2["user_aim"];
$user[sig] = $row2["user_sig"];

if(is_array($row2)) {
} else {
echo("No Data");
}
$query3 = mysql_query("SELECT * from user WHERE username='$user[username]'");
$row3 = mysql_fetch_array($query3);
if(is_array($row3)) {
echo("User <i>$uid</i> ($user[username])...<font color=blue>already exists</font>!<br>");
} else {

$finsertquery = mysql_query("INSERT INTO `user` ( `userid` , `usergroupid` , `username` , `password` , `email` , `styleid` , `parentemail` , `homepage` , `icq` , `aim` , `yahoo` , `signature` , `adminemail` , `showemail` , `invisible` , `usertitle` , `customtitle` , `joindate` , `cookieuser` , `daysprune` , `lastvisit` , `lastactivity` , `lastpost` , `posts` , `timezoneoffset` , `emailnotification` , `buddylist` , `ignorelist` , `pmfolders` , `receivepm` , `emailonpm` , `pmpopup` , `avatarid` , `options` , `birthday` , `maxposts` , `startofweek` , `ipaddress` , `referrerid` , `nosessionhash` , `inforum` )
VALUES (
'', '2', '$user[username]', '$user[password]', '$user[email]', '1', '', '$user[homepage]', '$user[icq]', '$user[aim]', '$user[yim]', '$user[signature]', '1', '1', '0', '', '0', '1030437308', '1', '-1', '0', '', '0', '0', '', '0', '', '', '', '0', '0', '0', '0', '15', '0000-00-00', '-1', '1', '', '0', '0', '0'
)");
// Import Protocols //
The Script tell me all ok. User xxx Ok, or already in databank
But the script write nothing in the VB User Bank!

Can everybody help me?

ManagerJosh 12-11-2004 04:06 PM

Probably because the fields are wrong. Plus the passwords wouldn't work either. Everyone would have to reset them.

Gio~Logist 12-30-2004 05:05 PM

if it works with a fresh install then it doesnt allow u to transfer members from one forum to another and still keep members on that forum does it?

ManagerJosh 12-31-2004 08:19 AM

Quote:

Originally Posted by gio~logist
if it works with a fresh install then it doesnt allow u to transfer members from one forum to another and still keep members on that forum does it?

Huh? I'm confused.


All times are GMT. The time now is 08:46 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01223 seconds
  • Memory Usage 1,740KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete