Contributions

Features (Category Index)
Search: 

Subscription Downloads Mod

Title : Subscription Downloads Mod 1.0
Author : Mark Bowen




What the contribution does :

This contribution is very very simple and is my first contribution so please go steady on me if it is not exactly what you are after!

This will simply patch the main 'product_info.php' file so that registered users will be able to see the whole of a products description whereas non registered or non logged in users will see a shorter description.

This could be very useful for if you want to create a site with downloads and you want people to pay a monthly / yearly fee or whatever you wish and then if they are a registered user and log in then they will be able to see the whole product description and all the download links.

At the moment all you need to do is when you enter your products into the database is provide the information in the following format :

------------------------------------------------------------------------------
This is the text that will show for non - registered users.

^

This text will also show for registered users!!

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

The '^' character is used as a placeholder whereby any text placed beneath it will only be shown to registered users and any non - registered users will just see the text above the character. You could use any text string here that you like instead of the '^' symbol but you must make sure that in the code you will install that you remember to change the $break_character variable to reflect this.

Hope it is of some help to people somewhere as this is something that I needed for a site but couldn't really find anything out there that would do what I needed as easily or cheaply!!!

Regards,

Mark Bowen

Expand All / Collapse All

Subscription Downloads Mod v2.0 the_oracle 10 Nov 2005

Basically the same as V1.1, but have altered the code slightly to allow admins to set the break character in Configuration > Product Listing and to make it work even if there isn’t a break character in the description (I had a problem where if the character wasn’t in there none of the description displayed)

Also included, changed product_info.php from a clean install of OSC2.2MS2

Instructions included in Acrobat format (PDF), Rich Text Format (RTF) and Text format (TXT)

Full credit to Mark for a cool contrib

Fixed Text Instructions the_oracle 9 Nov 2005
Subscriptions Download Mod V1.1 Mark Bowen 14 Jan 2005
Subscription Downloads Mod - Thanks to!! Mark Bowen 1 Dec 2004
Subscription Downloads Mod Mark Bowen 1 Dec 2004

Note: Contributions are used at own risk.