PDA

View Full Version : ok ppl, need major help on major hack


wakawaka
02-01-2002, 05:45 PM
ok, i am embarking on making the php-nuke and vbulletin integration hack a fully working hack. I already got it perfected to the point where if you click register on php-nuke it will take you to the vbulletin register page. and once you register there it will add the users to both the php-nuke user table and the vbulletin user table.

and i also got it so once you change your info on vbulletin it automatically changes it for php-nuke too.

but i am stuck on trying to get it to change my vbulletin user table once the user udates their profile on the php-nuke user db.

i need to find out how to copy the info from a certain row on one table to and to udate a row on another table with the info from the first table. In other words i need to copy the udated php-nuke user info for a certain user to their corresponding info in the vbulletin table.

thanks ahead of time

wakawaka
02-01-2002, 05:46 PM
ps sorry for the hardness to read, it is just hard to phrase exactly what i mean, if you need further explaination just say so and ill be happ y to try, cus i really need this hack completed.

wakawaka
02-01-2002, 11:36 PM
here is a command to copy the whole table from one to another

$query=mysql_query("INSERT INTO nuke_users (uid,uname,email,url,user_sig,pass,user_icq) select userid,username,email,homepage,signature,password, icq from user");

if anyone knows how to tweak it so it only UPDATES one row of a certain table with another row of a different table

would changing the end to from user "WHERE uid = $uid"); " ?

Pete
02-01-2002, 11:55 PM
Are you aware of vBPortal (http://www.phpportals.com/)?

wakawaka
02-02-2002, 12:31 AM
yes but i dont like vbportal lol