1
carnuke
XCGal and paypal links
  • 2006/8/25 18:23

  • carnuke

  • Home away from home

  • Posts: 1955

  • Since: 2003/11/5


I'm trying to use one of the custom fields to display a paypal 'buy now' button in xcgal (im displaying fine art images and want to make them buyable)

1- The fields are not long enough to take the paypal code. Does any one know how to modify or hack this to make it work?

TIA.
hhttp://houseofstrauss.co.uk Resource for alternative health and holistic lifestyle
search xoops

2
Lance_
Re: XCGal and paypal links
  • 2006/8/25 18:35

  • Lance_

  • Home away from home

  • Posts: 983

  • Since: 2004/1/12


I believe if you make the field 'text' in the DB it should allow enough space.
GDL-Web.com :: Website development.
Xoopslance.com::Freelancing and Projects
thelionsden-arena.net:: Clan/League/Ladder Hosting

3
zoullou
Re: XCGal and paypal links
  • 2006/8/25 21:11

  • zoullou

  • Quite a regular

  • Posts: 250

  • Since: 2004/3/2 0


Hi Carnuke,

I'm currently developping a gallery module and i'd like to have more inforrmation about what you want.
Could you give me an exemple of what you want to have ? What is the syntax of the paypal code ?

Thanks

4
Lance_
Re: XCGal and paypal links
  • 2006/8/25 21:27

  • Lance_

  • Home away from home

  • Posts: 983

  • Since: 2004/1/12


Here's an example of the code in a Paypal Buy Now button.

<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<
input type="hidden" name="cmd" value="_s-xclick">
<
input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but23.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
<
img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
<
input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----MHGJKFsdkjfoLSDKFJOlkdjflkjoDFUoejfofefIIHQDCCBzwCAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9h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pYFeAbafJPid3rKO/81KEYhNn8fa+MJFfK/glTwfwweWMTvnlaMgdQPKhoLSIcLEbaiVntzLTJzWQPIiKwBlCgRtyBeQ1qhcIfRCiDZ0qB6drFw6IqGp116W9ySQO8G6Bt83Oq28PxADi8h-----END PKCS7-----
"
>
form>
GDL-Web.com :: Website development.
Xoopslance.com::Freelancing and Projects
thelionsden-arena.net:: Clan/League/Ladder Hosting

5
carnuke
Re: XCGal and paypal links
  • 2006/8/26 10:50

  • carnuke

  • Home away from home

  • Posts: 1955

  • Since: 2003/11/5


Whenever I use a module like xcgal or myalbum-p I spend most of my customisation time stripping stuff out of the templates. Most of these 'gallery modules' are pig-ugly. I mean the image displayed is so heavily distracted with 'features' like rating buttons, sort orders, links to this and that ... it goes on. I think from an artistic viewpoint we must make a module that allows these features to be optional, not hard coded in the templates.

If you go to any art site you will see very minimalist functions. This is the modern contemporary style that galleries and artists want these days. Currently there is not a single XOOPS module that can do this without extensive hacking.

I also suggest an optional feature to 'BUY' the image, or visual asset. Rather than make a whole os-commerce thing, It's easier to use paypal. Maybe a plugin or at least a field where admins can post a cart button like Lance has shown above. I use xcgal for this, because we can hide all the details behind a javascript layer that opens only when required. This is a great way to present art content. A clean clear minimalist page that opens a details layer when you want them

This is what Im trying to achieve with xcgal.
hhttp://houseofstrauss.co.uk Resource for alternative health and holistic lifestyle
search xoops

6
davidl2
Re: XCGal and paypal links
  • 2006/8/26 10:57

  • davidl2

  • XOOPS is my life!

  • Posts: 4843

  • Since: 2003/5/26


carnuke - the module from zoullou could be useful for this as it uses a lightbox script, which is tricky to grab and save images from as well

7
carnuke
Re: XCGal and paypal links
  • 2006/8/26 11:19

  • carnuke

  • Home away from home

  • Posts: 1955

  • Since: 2003/11/5


Yes, David, I just looked at Zoulou's site and saw the demo. The light box ida is very classy and brings good focus to the images. Thanks for the suggestion.
hhttp://houseofstrauss.co.uk Resource for alternative health and holistic lifestyle
search xoops

8
davidl2
Re: XCGal and paypal links
  • 2006/8/26 11:24

  • davidl2

  • XOOPS is my life!

  • Posts: 4843

  • Since: 2003/5/26


I believe there is also another Gallery module under development with payment options as well

(I'm sure that BOTH of them will be excellent )

9
zoullou
Re: XCGal and paypal links
  • 2006/8/26 11:36

  • zoullou

  • Quite a regular

  • Posts: 250

  • Since: 2004/3/2 0


Hi all,

What do you think if i add an extra field on the DB (type : text). I can add a preference to display or not this field on photo submit page and a smarty varible will automaticly created. You just have to put this varible where you want on the template.

Cheers

10
carnuke
Re: XCGal and paypal links
  • 2006/8/27 12:46

  • carnuke

  • Home away from home

  • Posts: 1955

  • Since: 2003/11/5


That would be an excellent idea. It would allow admins to display Cart button against every image and place it where they want in the template. They could also put liks to other pages, or extra info. Good call zoulou

I have seen demos on your website, but cant DL the module yet. Will have options to remove/add

votes
photo information
hits
comments
etc.

- Will the light box have other transition effects?
- Will there be import scripts for xcgal, myalbum-p?

Thanks Richard
hhttp://houseofstrauss.co.uk Resource for alternative health and holistic lifestyle
search xoops

Login

Who's Online

304 user(s) are online (255 user(s) are browsing Support Forums)


Members: 0


Guests: 304


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits