This is a discussion on Does anyone know about contribution #1658 by Robert Brady? within the osCMax v1.7 General Mods Discussion forums, part of the osCMax v1.7 Forums category; Does anyone know about contribution #1658 by Robert Brady? I tried to install it in the other OsC – didn’t ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| Does anyone know about contribution #1658 by Robert Brady? I tried to install it in the other OsC – didn’t happen. So I came here and downloaded MAX! version – glad I did. However, I still can’t find the files I am supposed to change. The directions read “2) Modify "catalog/templates/content/login.tpl.php" as follows: FIND (around line 59)” Templates doesn’t have a content folder. It has a fallback folder that has a content folder in it and a login.tpl.php file. I thought great! He just missed a file – wrong! login.tpl.php doesn’t have a line 59 – actually in only has 49 lines total. Does anyone know what to do? Does anyone have a better contribution I can use? Does anyone know why this isn’t just part of the program in the first place? lOl I am new at programming and I REALLY need a subscription! Help! ~eDee |
|
#2
| ||||
| ||||
| I don't see the Membership / Subscription Only mod ported to OSCMAX here. And the one on OSC does mention the old MS2-MAX (now OSCMAX) but can't find the refence as you mention. PLEASE list the WHOLE modification part as I am sure it would have said to find "this bit of code". LOOK for the code in the file the main login.php or the "catalog/templates/fallback/content/login.tpl.php". This mod (from 2003) may be based on a lot older version than 2.0 RC3 possably 1.5 or 1.7 which is why the line number may have changed. |
|
#3
| |||
| |||
| Quote:
Is there anything new? Here is the whole modification part: Part (A) (if you have created seperate Member's Only pages within the catalog for content, see part B below also) 1) Create your PayPal "Recurring Subscription Button" code at the PayPal website. Make sure to input the "RETURN" url (http://www.YourWebsiteURL.com/catalo...te_account.php) & the "CANCEL" url to point to your home page. Copy the HTML code generated for the Email. You'll be inserting it in the next step.....(Keep the PayPal Window Open - You'll be back for more code in a minute - or just cut and paste all of the generated code into your text editor) 2) Modify "catalog/templates/content/login.tpl.php" as follows: FIND (around line 59) <td align="right"><?php echo '<a href="' . tep_href_link(FILENAME_CREATE_ACCOUNT, '', 'SSL') . '">' . tep_image_button('button_continue.gif', IMAGE_BUTTON_CONTINUE) . '</a>'; ?></td> REPLACE IT WITH THIS: <td align="right"><?php echo '<a href="INSERT THE PAYPAL GENERATED EMAIL CODE HERE">' . tep_image_button('button_continue.gif', IMAGE_BUTTON_CONTINUE) . '</a>'; ?></td> Now the visitor will be sent to PayPal from the Login page, pay for his Membership/Subscription and be automatically returned to your website to fill out the form (catalog/create_account.php). I thank you for any help you can give me. I don't do enough programming to create the a log in by myself. If I can't make this work, it means finding another shopping cart and starting again. ~eDee |
|
#4
| ||||
| ||||
| That code is found in: /catalog/includes/login_acc.php /catalog/includes/login_pwa.php /catalog/includes/login_pwa_optional.php |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Need Mod/add-on/Contribution | Twister | osCMax v2 Customization/Mods | 24 | 10-30-2007 03:36 PM |
| Help with Contribution? | bkpie | osCMax v2 Customization/Mods | 0 | 03-05-2007 02:07 PM |
| Contribution help | offnetrob | osCommerce 2.2 Modification Help | 1 | 03-02-2006 02:57 PM |
| any contribution? | superkor | osCMax v1.7 Discussion | 1 | 12-20-2003 12:04 PM |