Hi,

Anyone integrated gcards with drupal. Any gcards module avialable? gcards has many cool features.

gCards is a free PHP-based eCard system that is easy to setup and use.

http://www.gregphoto.net/gcards/index.php

Features:
JPEG and GIF image support
User-defined categories
WYSIWYG editor for composing eCards (IE 5.5+)
Add smilies to eCards
Multiple recipients
Background music
Multiple lanuage support via language files (only English provided). Ability to switch languages on the fly.
Cards stored in mySQL database - database access via ADODB library
E-mails URL to recipients to pickup eCard - no messy HTML mail
Sender can be notified when recipient picks up eCard (optional)
Automatic deletion of old eCards (configurable and optional)

Demo:http://www.gregphoto.net/ecards1/

I am intrested in seeing drupal+gcards.

Regards,
Sunny
www.gleez.com

Comments

Dublin Drupaller’s picture

The postcard.module does most of what gcards does...it might be an idea to pick up and improve that rather than starting from scratch.

Dub

Currently in Switzerland working as an Application Developer with UBS Investment Bank...using Drupal 7 and lots of swiss chocolate

sangamreddi’s picture

Hi,

I tried the postcard module, but it's not working on Drupal 4.6.3

I have updated the functions to work with 4.6. still i am ending with this error.

user error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY n.changed DESC' at line 1
query: SELECT i.image_path, i.thumb_path FROM image i INNER JOIN node n ON n.nid = i.nid INNER JOIN term_node tn ON tn.nid = i.nid WHERE i.personal = 0 AND n.status = 1 AND tn.tid = 45 AND ORDER BY n.changed DESC in H:\webserver\xampp\htdocs\sunny\includes\database.mysql.inc on line 66.

user error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(n.nid), i.image_path, i.thumb_path, i.width, i.height, n.title,
query: SELECT i.DISTINCT(n.nid), i.image_path, i.thumb_path, i.width, i.height, n.title, n.body FROM image i INNER JOIN node n ON n.nid = i.nid INNER JOIN term_node tn ON tn.nid = n.nidWHERE tn.tid = 42 AND n.status = 1 ORDER BY n.changed in H:\webserver\xampp\htdocs\sunny\includes\database.mysql.inc on line 66.

Thanks in advance

Sunny
www.gleez.com

jsloan’s picture

The error you see is because the function name changed in the move from 4.5 to 4.6.
see: http://drupal.org/node/31573

But even when this is fixed the module will not work because it is tied to the 4.5 image.module which uses a table named 'image' ... the 4.6 image module was rewritten to use the 'files' table.

The Postcard module will have to be rewritten to work with the 4.6 image module.

sangamreddi’s picture

Hi jsloan,

Thank you for the response.

I hope someone will update the postcard module.

Sunny
www.gleez.com

jsloan’s picture

I sent a message to Axel to see if he has plans on upgrading - if not I think that I may take up the challenge. I would like to use it within our intranet for an employee appreciation reature.

- jim

sangamreddi’s picture

Hi,

Thank You very much. If you have upgraded it, post a comment on this thread.

Sunny
www.gleez.com

jsloan’s picture

I've posted a message with a file attachment for a 4.6 updated postcard module.

I was a quick and dirty rewrite of the postcard_page() function. Please review and test.

Thanks!
jim

sangamreddi’s picture

Thanks Jim.

I'll test it and post the outcome.

Sunny
www.gleez.com

jenpasch’s picture

Any word on working with the Postcard module and Dru4.6?

cheers
jen
www.ting-ting.com

sangamreddi’s picture

The above attatched module is working fine. Only theming is left. above all everything is good.

Sunny
www.gleez.com

ijulie’s picture

thanks so much for doing the update! before I try to write a site around this module, I was wondering whether it looks like there's any way to send Quicktime and Flash files, in addition to images, with postcard. is there an easy fix for this, or is the module very tied to image module?

jsloan’s picture

I think that the correct way to do this would be to have a generic Postcard that can use any node type for the content. I want to upgrade Postcard to 4.7 and this is the direction I will go. There is no promise for a backport to 4.6....

jwilde’s picture

Greetings Jim,

Are you still planning to upgrade postcards to 4.7?

Thanks,

Jim

budda’s picture

Nice idea, i'm looking to work on a similar system now too. Maybe we can work together?

--
Ixis (UK) providing Drupal consultancy and Drupal theme design.

jsloan’s picture

This is only an upgrade to 4.7 (No new features added)

see: http://drupal.org/node/30404#comment-101291

atombee’s picture

i've had to pay someone to configure Postcard for me and I still can't figure out where to administer it so that visitors can see it on my site. that's why i came to this forum (for pointers) and saw your gcards ... very good ... wish i'd seen it before i started screwing around with Postcard.