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)?
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 ;)
In your example, I see the flaw. How does one prevent that from happening? add an index page (index.html)?
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 ;)
Thank you for your input on the subject. I appreciate it.
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.
[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]
http://www.zend.com/zend/tut/tutorial-paypal.php
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
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
:lol: I like read it jejeje thank you tarique...