osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

download controller

This is a discussion on download controller within the osCMax v1.7 Discussion forums, part of the osCMax v1.7 Forums category; Is the download controller part of the latest MS-MAX version? If not, what does it do? How does oscomm ...


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

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 01-25-2004, 09:45 PM
New Member
 
Join Date: Jan 2004
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
afguns
Default download controller

Is the download controller part of the latest MS-MAX version? If not, what does it do?

How does oscomm know when a product is a downloadable product?
If a downloadable product is free, how can I have the user register and log in to download the product without having to go through the payment details part?

Thanks a lot guys!
Jan
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2  
Old 03-11-2004, 07:31 PM
Member
 
Join Date: Oct 2003
Location: The Antelope Valley in SoCal
Posts: 47
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
In-Overtime
Default

Quote:
Is the download controller part of the latest MS-MAX version?
Yes, it is.

Quote:
How does oscomm know when a product is a downloadable product?
By adding it thru the Control Panel, in Product Attributes.

1) First, FTP upload your Virtual Product to the catalog/downloads folder. 2) After adding your Virtual Product using the administrration control panel, click on product attributes and create an option, then at the bottom where it says "Filename" you insert the url to point to the file in the downloads folder.


A solution to allow free access to your customers would be to create a new page (SEE - Exercise 4 Boxes: Adding New Boxes, Links and Pages), list your links to the FREE Downloads, then add the following code to this new page (code taken from catalog/account.php):

require('includes/application_top.php');

if (!tep_session_is_registered('customer_id')) {
$navigation->set_snapshot();
tep_redirect(tep_href_link(FILENAME_LOGIN, '', 'SSL'));
}

Now when someone tries to access this page, they are automatically redirected to the login page. The, upon successful login, they will be redirected to the requested page.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 03-31-2004, 06:09 PM
New Member
 
Join Date: Jan 2004
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
afguns
Default Error with forcing logon of user when clicking on added link

Hello,

I have followed your advice and excercise 4 to add an extra box with links to test page 1, 2, 3 and 4. This works well untill I add the piece of code that you suggested to force a user to log in before accessing test page 1.

The code I added to test page 1 was:

require('includes/application_top.php');

if (!tep_session_is_registered('customer_id')) {
$navigation->set_snapshot();
tep_redirect(tep_href_link(FILENAME_LOGIN, '', 'SSL'));
}

This does force the user to log in, or register but when test page 1 is accessed, it only shows a blank screen. Without the login check the test page 1 works well with a "continue" button and everything!

What am I doing wrong?

Would really appreciate help with this!

Thanks
Jan
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 03-31-2004, 06:25 PM
New Member
 
Join Date: Jan 2004
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
afguns
Default Got it! Never mind!

Ok, I just had the
require('includes/application_top.php');
statement before and after my logon check and that should not be repeated twice.

It is now fixed and works like a charm!

Thanks for your advice!
Jan
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 03-31-2004, 07:45 PM
Member
 
Join Date: Oct 2003
Location: The Antelope Valley in SoCal
Posts: 47
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
In-Overtime
Default

Actually, msasek deserves the "atta boy" because he was the one that showed me the light concerning forced logins.

So, therefore, I just paid it forward. Glad this worked for you as it did for me . . . .

Robert
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread



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
Download Controller Not working HipHopServers osCMax v2 Features Discussion 9 08-09-2006 08:49 PM
Download Controller Issue - Please Help LynnL osCMax v2 Features Discussion 0 01-19-2006 01:50 AM
FYI - Download Controller tbone osCMax v2 Installation issues 0 07-26-2005 01:18 AM
download controller jloyzaga osCMax v1.7 Discussion 5 09-07-2003 04:18 PM
anyone tried installing the download controller? joey osCMax v1.7 Discussion 0 08-23-2003 04:36 AM


All times are GMT -8. The time now is 02:21 AM.


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