vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Name Badge Hack (https://vborg.vbsupport.ru/showthread.php?t=64820)

ChurchMedia 05-06-2004 11:59 PM

Name Badge Hack
 
1 Attachment(s)
This should be fairly simple. I'm working on modifying the member.php script to do it, but I'm afraid I'm making it more complicated than it needs to be. All I need is a script that will pull up a template where I can use HTML to create a namebadge for my members. Our members have local meetings and it would be great if they could print out pre-designed name badge to bring to the meetings. About a dozen of us are meeting next week at a trade show, so really fast help would be appreciated (and rewarded if need-be :)).

So, there would be a link to "Create Name-badge" in their User CP, which would go to namebadge.php. I just need to be able to create the template using their profile information. Using variables in the template I can make any kind of name badge. They print it out and bring it with them. I'll provide a little name badge holder when they get there.

I've attached a sample of what it would look like. It would be cool to include arcade awards as well. For sure I need all of the standard profile info, user fields, signature and avatar.

Any help is greatly appreciated. I'll be playing around with member.php in the meantime.

Thanks!

ChurchMedia 05-07-2004 12:03 AM

BTW, I'll create the template and template mods if someone else can create the script. I'll name the template namebadge.


:)

ChurchMedia 05-07-2004 02:37 AM

1 Attachment(s)
Okay, I've pulled it off. I made a copy of member.php and made some modifications (mainly to call different templates), added 2 templates and modified the USERCP_SHELL template.

Screen shots are attached. Is this worth a full hack release? Are there any license issues with altering a copy of one of the vB scripts?

Thanks!


All times are GMT. The time now is 10:06 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.00901 seconds
  • Memory Usage 1,710KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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