PDA

View Full Version : Encryption


handheld234
07-27-2001, 01:51 AM
OK, I just installed a new copy of 2.0.1 and want to add encryption to start with. After reading this thread and the zip file, i have a question--

Is there some reason why the file didn't include a member.php, sessions.php, register.php and a new template called "email_lostpwsecure" already modified??

That way I could just ftp those into what is already there and be done with it.

I am not the greatest at modifying files, but would like this hack. Would hate to mess things up and not be able to go back again-[especially after running password_encryption_install.php.]-

Mike Sullivan
07-27-2001, 02:12 AM
Is there some reason why the file didn't include a member.php, sessions.php, register.php and a new template called "email_lostpwsecure" already modified??Yes, it is against the license agreement to post complete files. The can post the template, but not the entire files. This is standard hack procedure with other programs as well.

handheld234
07-27-2001, 03:19 AM
Found this very confusing in the installation text-

Find
if ($action=="editoptions") {
$templatesused = "modifyoptions_maxposts,modifyoptions_styleset,modi fyoptions_stylecell,usercpnav ,modifyoptions";
include("./global.php");
// do modify profile form

if ($bbuserinfo[userid]==0 or $permissions['canmodifyprofile']==0) {
show_nopermission();
}

now after that block add

// secure passwords
if ($bbuserinfo[encryptedpass]) {
$securepasswordchecked="checked";
$securepasswordnotchecked="";
} else {
$securepasswordchecked="";
$securepasswordnotchecked="checked";
}
// end secure passwords

find
if ($bbuserinfo[userid]==0 or $permissions['canmodifyprofile']==0) {
show_nopermission();
}

$adminemail=iif($allowmail=="yes",1,0);

change to
if ($bbuserinfo[userid]==0 or $permissions['canmodifyprofile']==0) {
show_nopermission();
}
// secure passwords
$cryptpassword=iif($securepassword=="yes",1,0);
// end secure passwords
$adminemail=iif($allowmail=="yes",1,0);
+++++++++++++++++++++++++++++++++++++++++++++=

If i read this correctly-- after this line---

if ($bbuserinfo[userid]==0 or $permissions['canmodifyprofile']==0) {
show_nopermission();
}

I add a block of text.

Then it say to take that same line and the next one after it [before this modification]-

$adminemail=iif($allowmail=="yes",1,0);- and change them to something else.

How can i do this when I added that other text inside of them already???

handheld234
07-27-2001, 03:59 AM
Meant for this to show up at the end of the database password encryption hack-

http://www.vbulletin.com/forum/showthread.php?s=&threadid=18868&highlight=encryption