osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

Does anyone know about contribution #1658 by Robert Brady?

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 ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v1.7 Forums > osCMax v1.7 General Mods Discussion

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Reply

 

LinkBack Thread Tools
  #1  
Old 05-01-2007, 06:16 PM
Member
 
Join Date: Apr 2007
Posts: 65
Thanks: 18
Thanked 1 Time in 1 Post
Rep Power: 2
justedee is on a distinguished road
Default Does anyone know about contribution #1658 by Robert Brady?

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 05-01-2007, 09:47 PM
jpf's Avatar
jpf jpf is offline
Moderator

 
Join Date: Sep 2003
Posts: 1,521
Thanks: 1
Thanked 81 Times in 68 Posts
Rep Power: 10
jpf is just really nicejpf is just really nicejpf is just really nicejpf is just really nicejpf is just really nice
Default Re: Does anyone know about contribution #1658 by Robert Brady?

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 05-01-2007, 11:07 PM
Member
 
Join Date: Apr 2007
Posts: 65
Thanks: 18
Thanked 1 Time in 1 Post
Rep Power: 2
justedee is on a distinguished road
Default Re: Does anyone know about contribution #1658 by Robert Brady?

Quote:
Originally Posted by jpf View Post
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.
osCommerce: Membership / Subscription Only

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 05-03-2007, 10:02 AM
jpf's Avatar
jpf jpf is offline
Moderator

 
Join Date: Sep 2003
Posts: 1,521
Thanks: 1
Thanked 81 Times in 68 Posts
Rep Power: 10
jpf is just really nicejpf is just really nicejpf is just really nicejpf is just really nicejpf is just really nice
Default Re: Does anyone know about contribution #1658 by Robert Brady?

That code is found in:
/catalog/includes/login_acc.php
/catalog/includes/login_pwa.php
/catalog/includes/login_pwa_optional.php
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

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


All times are GMT -8. The time now is 01:36 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
Copyright 2008 osCMax