Auto generate printable membership card

16 years 1 month ago #59351 by alig8r
Hi there. I have a need to automatically generate a printable membership card for all registered members which they can print and take into stores for discounts. The information I need to pull is name, province and ID# from CB. It would be nice if this could be stored on a tab in CB. Does anyone know if this is possible?. I know limited PHP and have MySQL. Thanking you in advance for any help on this.

Please Log in to join the conversation.

16 years 1 month ago #59400 by NateM
Replied by NateM on topic Re:Auto generate printable membership card
It is not, too my knowledge, currently possible. I too, however, am very interested in seeing something like this happen.

Please Log in to join the conversation.

16 years 1 month ago #59554 by alig8r
Replied by alig8r on topic Re:Auto generate printable membership card
In the meantime just wondering if anyone can help me with a simple PHP script that would
pull just any registered users name onto a membership card I've created. I'm really a newbie with PHP code would it be something like?

<?php
global $user;
$me = user_load(array('uid' => $user->uid));
echo $me->profile_firstname .' '. $me->profile_lastname .'!';
?>

Please Log in to join the conversation.

16 years 2 weeks ago #60925 by NateM
Replied by NateM on topic Re:Auto generate printable membership card
I've just found something that looks quite promising. I think this could definitely be developed into what we're looking for:

www.myminiprofile.com/index.php?option=com_docman&task=cat_view&gid=36&Itemid=57

Let the developer know you want the feature, and then we should also support them.

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.215 seconds

Facebook Twitter LinkedIn