vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   ID Card Template (https://vborg.vbsupport.ru/showthread.php?t=45256)

assassingod 10-30-2002 10:00 PM

ID Card Template
 
I.D Card Template

(Sorry for the newbie hack:))

Hey, this is partly my first hack (ffsphere helped me)

I hope I get better at PHP so I can make more hacks. But yeah, on with the hack:

Thanks to: hellsatan

Description: This will remove the big chunk of code in your postbit (The Username, avatar, posts etc. whatever you have in the author column) and move it to its own template.

Screenshots:
Screenshot 1
Screenshot 2

:)

Update: Fixed ,$postbit_idcard to ,postbit_idcard - Thanks hellsatan. Attachment should now be correct

Xenon 10-31-2002 04:20 PM

indeed a very tiny hack, but specially users which have very long id-cards can use it, to reduce the chaos in the postbittemplate ;)

Chris M 10-31-2002 04:58 PM

@assassingod:

Nice first hack:)

Satan

assassingod 10-31-2002 05:21 PM

Ah, my mistake:) Thanks alot hellsatan:)

Chris M 10-31-2002 05:24 PM

No problems;):)

Satan

hypedave 10-31-2002 05:43 PM

I think I know what it does, but does anyone have a screenshot?
thanks in advance

assassingod 10-31-2002 05:49 PM

Under custom templates list:

assassingod 10-31-2002 05:53 PM

In postbit code:

Goldknight 10-31-2002 06:45 PM

simple but userful hack, good work assassin

I already have one since I use it with my Itemshop hack but maybe I ll change my hack a bit to have "option" to use ID card or not so that anyone can use yours to work with mine.

Larry@IOG 10-31-2002 08:17 PM

Can we get a SS?

Larry

CeleronXL 11-01-2002 12:46 AM

I believe it looks exactly the same as a board without the hack, but it makes it easier to edit te left column since it's in it's own template.

assassingod 11-01-2002 01:37 PM

Yes, its something like that.:)

Neo 11-01-2002 03:23 PM

So its just taking the $post info out of the postbit template and putting it in another....

assassingod 11-01-2002 06:09 PM

Yeah, its just to make editing it easier and having less code in your postbit.

VeoMorphine 11-02-2002 01:24 PM

its useful if you run an RPG board with like a HUGE postbit.

Put your health bars and level in the post bit then the stats in the ID card.

Almost like a second Profile but more RPG stats page like.

assassingod 11-04-2002 04:29 PM

Yeah - thats what I made it for, but mainly because I couldnt be bothered looking through my postbit code to find it:p


All times are GMT. The time now is 04:46 PM.

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.01972 seconds
  • Memory Usage 1,736KB
  • 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
  • (16)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