vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Encryption (https://vborg.vbsupport.ru/showthread.php?t=23765)

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

Quote:

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,mod ifyoptions_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/showt...ght=encryption


All times are GMT. The time now is 07:01 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.00971 seconds
  • Memory Usage 1,717KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete