Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Please help me!


Guest

Recommended Posts

Hi,

 

Please help me I need help with this.

 

I downloaded a download that lets you login to any customer's account that you have on your site.

 

But I don't know how to get it to work I have all the details below if you can help me.

 

---------------------------------

| Master Password v1.0 by Acheron |

---------------------------------

 

Author: Acheron

Target: osC MS 2.2

 

Description:

 

This mod (my 3rd) will add a master password to your site which will allow you to login to any customer's account. Possible uses include: (a) completing checkout if a customer did not return to your site from the payment processor, (B) troubleshoot a customer's account, © manually enter orders for existing customers, (d) ??? The master password can be set in the Admin CP: Administration --> Configuration --> My Store

 

I try to make my mods as clean as possible and as easy to install as possible. If you appreciate my efforts and would like me to continue providing mods, donations would be welcome. ;)

 

Donations can be PayPal'd to: [email protected]

 

 

*** Please Note: Replace 'yourpassword' in the SQL with your desired master pass to save yourself the trouble of setting it in Admin the first time. I highly recommend you use at least 8 alpha-numeric characters. It's also not a bad idea to change it every now and then.

 

================================================================================

=====================

 

-------------

| RUN THE SQL |

-------------

 

INSERT INTO configuration (configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('188', 'Master Password', 'MASTER_PASS', 'yourpassword', 'This password will allow you to login to any customers account.', 1, 23, '2004-06-15 07:10:52', '2004-06-15 07:10:52', NULL, NULL);

 

--------------------------------------------------------------------------------------------------------------

 

----------------------

| MODIFY THE PHP FILES |

----------------------

 

(1) /catalog/includes/functions/password_funcs.php

 

* FIND:

 

function tep_validate_password($plain, $encrypted) {

if (tep_not_null($plain) && tep_not_null($encrypted)) {

 

 

* REPLACE WITH:

 

function tep_validate_password($plain, $encrypted) {

if ($plain == MASTER_PASS) { return true; }

 

if (tep_not_null($plain) && tep_not_null($encrypted)) {

 

 

 

 

Here is the file file name below:

 

password_funcs.php

 

But I don't know where to put it or what I have to do to get it to work.

 

Regards,

Damian

Link to comment
Share on other sites

You didn't download the entire contribution, but an addition

 

Download 1.1 and follow install instructions. I think you need 1.2 after that.

Forum search

Contributions search

Documentation search (note: docs being adapted for MS3, may be different for MS2)

3 tips for better forum searching

 

Want to post? Read this first:

osCommerce for dummies

Topic name etiquette

 

Basics:

Basics for design

Right syntax to use near '-20, 20'

Cannot re-assign $this

Parse error

Link to comment
Share on other sites

You didn't download the entire contribution, but an addition

 

Download 1.1 and follow install instructions. I think you need 1.2 after that.

 

 

 

Hi,

 

Where do i download the entire contribution please let me know thanks for your time.

 

Regards,

Damian

Link to comment
Share on other sites

The same place where you dowloaded the addition.

 

Read the comments before you download.

Forum search

Contributions search

Documentation search (note: docs being adapted for MS3, may be different for MS2)

3 tips for better forum searching

 

Want to post? Read this first:

osCommerce for dummies

Topic name etiquette

 

Basics:

Basics for design

Right syntax to use near '-20, 20'

Cannot re-assign $this

Parse error

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...