Log in

View Full Version : creating variables in vB


TaMpE
04-30-2010, 05:17 PM
I am trying to create my first vB Powered-Page but I'm stuck at making a template into a variable.

For example: I have a new template to similar to threadbit but I designed it to the way I want, so it's not vB's original threadbit and can't use the $threadbit variable. I want to call it something like $mythreadbit and I want it to appear under one of my other new templates.

How to do I make mythreadbit template appear when $mythreadbit is called in other templates?

Speysider
04-30-2010, 05:42 PM
You would need to create a long array or something, called mythreadbit, then call it with the above var.

TaMpE
05-01-2010, 03:47 AM
Do you think I can make my own array just by following the tracks of how vB made its threadbit? If yes, can you hint me where and how is the threadbit made so I can trace the tracks.

Speysider
05-01-2010, 12:49 PM
Yes, you could do this.
But I'm not an expert in PHP, so I could not help you.