PDA

View Full Version : ID Card Template


assassingod
10-30-2002, 10:00 PM
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 (https://vborg.vbsupport.ru/attachment.php?s=&postid=317075)
Screenshot 2 (https://vborg.vbsupport.ru/attachment.php?s=&postid=317079)

:)

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