coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: Mischief734 on October 26, 2003, 04:43:13 PM

Title: Paypal integration to Coppermine
Post by: Mischief734 on October 26, 2003, 04:43:13 PM
I wanted to have a paypal link with in coppermine so that users would have to pay to see certain galleries. The example that I have seen was on the website IMPORTMODELS.COM. Here is the link:

http://www.importmodelz.com/displayimage.php?album=random&cat=1&pos=-2290

How would I go about doing the same type of thing?

Is this ok with the Coppermine developers (I mean using coppermine
for more of a commercial purpose)?
Title: Paypal integration to Coppermine
Post by: Tarique Sani on October 26, 2003, 04:58:08 PM
Yes it is OK with us if someone uses coppermine for commercial purposes - However we would be glad to accept the code which allows such an integration if it is at par with the  rest of the CPG code. Like for example it should not allow

http://www.importmodelz.com/albums/Bee/

Yeah it still does not allow you to see the picture BUT if you know the trick used you can get it - whats the point of a paid site like this ;)
Title: How do I prevent showing the index tree?
Post by: Mischief734 on October 26, 2003, 05:02:27 PM
In your example, I see the flaw. How does one prevent that from happening? add an index page (index.html)?
Title: Paypal integration to Coppermine
Post by: Tarique Sani on October 26, 2003, 05:13:38 PM
Well index.html will just prevent the user from seeing a listing - if the cracker does just one step more - which I am not telling here - and does
http://www.importmodelz.com/albums/Bee/1.jpg he would see the picture.

I guess adding a index.html makes it a wee bit more obscure...

The real solution is much more complex than what I care to explain right now...

Also I can report the site for violating Paypal guidelines of not allowing p0rn sites to use Paypall

But with so much p0rn floating around who carez ;)
Title: Thank you for the input.
Post by: Mischief734 on October 26, 2003, 05:38:59 PM
Thank you for your input on the subject. I appreciate it.
Title: Importmodelz?
Post by: epsilon on October 27, 2003, 12:45:24 AM
When i try to access to this site i see all pics and thumbnails with x (i dont have permission to see) i think that they must depurate the code with the integration, but the idea is fantastic, coppermine could have a patch to add support to it. Please tell me if it will be posible.
Title: Paypal integration to Coppermine
Post by: Joachim Müller on October 27, 2003, 07:47:13 AM
[off topic]
if you're on lunix/apache and your webhost let's you do that, there's no need to put a blank index.html file in each and every album folder to deny people viewing the index. Just create a file called .htaccess in the albums dir with this content: Options -Indexes. See http://httpd.apache.org/docs-2.0/en/mod/core.html#options for details.
There's a similar option for windows/IIS, but none for windows/apache afaik.
[/off topic]
Title: Paypal integration to Coppermine
Post by: DJMaze on October 27, 2003, 02:07:34 PM
http://www.zend.com/zend/tut/tutorial-paypal.php
Title: Ok but...
Post by: epsilon on November 02, 2003, 12:30:31 PM
Ok the tutorial is very good but... What happend with the people that dont know php and need to use coppermine with pay pal? It Will be include support in the future versiones? Thanks
Title: Paypal integration to Coppermine
Post by: Tarique Sani on November 02, 2003, 02:20:49 PM
Some time in future I envisage several e-com related modules and payment gateway integration to be included.

But thats the future - I wish someone would beat me to it
Title: COOOOOOOOL
Post by: epsilon on November 06, 2003, 02:06:05 PM
:lol: I like read it jejeje thank you tarique...