The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Want to create ID card
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 |
#2
|
|||
|
|||
bump!! please
|
#3
|
||||
|
||||
<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. |
#4
|
|||
|
|||
sweet. i'll check it out!!
is there a list of the VB variables and what they display? $username and such? |
#5
|
||||
|
||||
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. |
#6
|
|||
|
|||
will do!!!!! Thank you!!
|
#7
|
|||
|
|||
Were you able to create the member card?
I would very much like to be able to make one for our club. Thanks. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|