View Full Version : Want to create ID card
jonbaker
12-01-2010, 08:24 PM
Hello everyone.. I run the largest VW & Audi enthusiasts group in the Denver Metro area. I was curious if there is a way to create a new php template page that can harvest certain database information and populate that information into an Identification card. I would like to have my club logo on it, their real name; first and last, screen name and rank, join date and a date that is 6-months after the current date for an expiration date.
I can create an image file that can contain the logo and some standard information, but was wondering if anyone can help me create the rest.
thank you
Baker
Metrodubs.com
jonbaker
12-09-2010, 05:53 PM
bump!! please
BirdOPrey5
12-11-2010, 12:38 PM
<a href="https://vborg.vbsupport.ru/showthread.php?t=228112" target="_blank">This article</a> explains how you can make your own "blank" vbulletin page, say membercard.php or something.
In the template it instructs you to make don't put the header, navbar, or footer... just put the HTML you need for the member card- should give you a good start on this.
jonbaker
12-11-2010, 12:45 PM
sweet. i'll check it out!!
is there a list of the VB variables and what they display? $username and such?
BirdOPrey5
12-11-2010, 12:53 PM
Look in the existing templates and see what is used for the information you want to display... Just remember anything with $post[...] will only work in posts, anything with $thread[...] will only work in threads... You will probably need to use $bbuserinfo[...] for stuff like username, rank, and join date... (also VB4 I think it's actually {vb:raw _variablename_} but you can get specific help with this stuff in the VB4 programming questions forum... Get your card setup first and worry about filling in the details later.
You'll also need a little custom php in your membercard.php file to calculate a date 6 months out- but not that hard in the scheme of things.
jonbaker
12-11-2010, 03:16 PM
will do!!!!! Thank you!!
noahvale
01-30-2015, 11:45 AM
will do!!!!! Thank you!!
Were you able to create the member card?
I would very much like to be able to make one for our club.
Thanks.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.