01-15-2001, 07:28 PM
Hmm,
I know it's a long topic sorry but didn't know how to shorten it.. Just wanted some good help with this hack and the vbb 1.1.5 version.
I followed everything to the letter but although it's all turned on and worked before the pm hack. I know can't use the {IMG} tag in my signatures ** REPLACE { with [ **. I have one different line which is't the same. It's located in the member.php file.
//PM Hack
//Original: $DB_site->query("INSERT INTO user (userid,username,password,email,parentemail,coppau ser,homepage,icq,aim,yahoo,bio graphy,signature,adminemail,showemail,invisible,us ertitle,joindate,canpost,cooki euser,daysprune,lastvisit,lastactivity,usergroupid ,timezoneoffset,emailnotificat ion) VALUES (NULL,'".addslashes($username)."','".addslashes($password)."','".addslashes($ema il)."','".addslashes($parentemail)."',$coppauser,'".addslashes($homepage)."','". addslashes($icq)."','".addslashes($aim)."','".addslashes($yahoo)."','".addslashe s($biography)."','".addslashes($signature)."',".addslashes($adminemail).",".adds lashes($showemail).",".addslashes($invisible).",'".addslashes($usertitle)."',".t ime().",1,".addslashes($cookieuser).",".addslashes($prunedays).",".time().",".ti me().",".addslashes($newusergroupid).",".addslashes($timezoneoffset).",".addslas hes($emailnotification).")");
//New:
$DB_site->query("INSERT INTO user (userid,username,password,email,parentemail,coppau ser,homepage,icq,aim,yahoo,bio graphy,signature,adminemail,showemail,invisible,us ertitle,joindate,canpost,cooki euser,daysprune,lastvisit,lastactivity,usergroupid ,timezoneoffset,emailnotificat ion,receivepm,emailonpm) VALUES (NULL,'".addslashes($username)."','".addslashes($password)."','".addslashes($ema il)."','".addslashes($parentemail)."',$coppauser,'".addslashes($homepage)."','". addslashes($icq)."','".addslashes($aim)."','".addslashes($yahoo)."','".addslashe s($biography)."','".addslashes($signature)."',$adminemail,$showemail,$invisible, '".addslashes($usertitle)."',".time().",1,$cookieuser,$prunedays,".time().",".ti me().",$newusergroupid,$timezoneoffset,$emailnotificatio n,$receivepm,$emailonpm) ");
//END PM Hack
The original line in this case is my original line and is a bit different from the one in vbb 1.1.4. Did i change the wrong line or do i need to do anything with it ? Like with the .addslashes part ? i tried adding the .addslashes part but then i get an error.
Anybody can help me with this little problem ? PM's work great BTW so that's installed correctly also i think it's something with the query or anything not translating properly but i don't know for sure that's why i asked here.
Thanx in advance for helping me out,
Dark007
I know it's a long topic sorry but didn't know how to shorten it.. Just wanted some good help with this hack and the vbb 1.1.5 version.
I followed everything to the letter but although it's all turned on and worked before the pm hack. I know can't use the {IMG} tag in my signatures ** REPLACE { with [ **. I have one different line which is't the same. It's located in the member.php file.
//PM Hack
//Original: $DB_site->query("INSERT INTO user (userid,username,password,email,parentemail,coppau ser,homepage,icq,aim,yahoo,bio graphy,signature,adminemail,showemail,invisible,us ertitle,joindate,canpost,cooki euser,daysprune,lastvisit,lastactivity,usergroupid ,timezoneoffset,emailnotificat ion) VALUES (NULL,'".addslashes($username)."','".addslashes($password)."','".addslashes($ema il)."','".addslashes($parentemail)."',$coppauser,'".addslashes($homepage)."','". addslashes($icq)."','".addslashes($aim)."','".addslashes($yahoo)."','".addslashe s($biography)."','".addslashes($signature)."',".addslashes($adminemail).",".adds lashes($showemail).",".addslashes($invisible).",'".addslashes($usertitle)."',".t ime().",1,".addslashes($cookieuser).",".addslashes($prunedays).",".time().",".ti me().",".addslashes($newusergroupid).",".addslashes($timezoneoffset).",".addslas hes($emailnotification).")");
//New:
$DB_site->query("INSERT INTO user (userid,username,password,email,parentemail,coppau ser,homepage,icq,aim,yahoo,bio graphy,signature,adminemail,showemail,invisible,us ertitle,joindate,canpost,cooki euser,daysprune,lastvisit,lastactivity,usergroupid ,timezoneoffset,emailnotificat ion,receivepm,emailonpm) VALUES (NULL,'".addslashes($username)."','".addslashes($password)."','".addslashes($ema il)."','".addslashes($parentemail)."',$coppauser,'".addslashes($homepage)."','". addslashes($icq)."','".addslashes($aim)."','".addslashes($yahoo)."','".addslashe s($biography)."','".addslashes($signature)."',$adminemail,$showemail,$invisible, '".addslashes($usertitle)."',".time().",1,$cookieuser,$prunedays,".time().",".ti me().",$newusergroupid,$timezoneoffset,$emailnotificatio n,$receivepm,$emailonpm) ");
//END PM Hack
The original line in this case is my original line and is a bit different from the one in vbb 1.1.4. Did i change the wrong line or do i need to do anything with it ? Like with the .addslashes part ? i tried adding the .addslashes part but then i get an error.
Anybody can help me with this little problem ? PM's work great BTW so that's installed correctly also i think it's something with the query or anything not translating properly but i don't know for sure that's why i asked here.
Thanx in advance for helping me out,
Dark007