vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Want to create ID card (https://vborg.vbsupport.ru/showthread.php?t=254530)

jonbaker 12-01-2010 08:24 PM

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

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

Quote:

Originally Posted by jonbaker (Post 2132420)
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.


All times are GMT. The time now is 09:01 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01052 seconds
  • Memory Usage 1,719KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete