![]() |
vBTemplates - Custom templates anywhere
1 Attachment(s)
For a lot of people who are in need of a quick custom template and don't have that much time - such as for testing purposes - or if you are new to vbulletin and are unsure how to do much of anything, this would be a lifesaver for a few out there. This takes the guesswork on what to do and where to go. :)
It was a really easy hack (took me very little time to write it) - and very easy to install. Step 1: Install the product. Admincp => Plugins & Products => Manage Products => Add/Import Product [ product-davidw_vbtemplates.xml ] Step 2: Add your custom template Admincp => Styles & Templates => Style Manager => Edit Templates => Open up vbtpldw Templates => Open up whichever template you want to use => Put in your template code Step 3: Find wherever you want to place your new custom template (header, navbar, footer) and place $vbtpldw_## with the ## being the number of the template you just saved. You might have to add the template name to vbadvanced per vbadvanced's global options. That's it! I've provided up to 10 custom templates. Need more? Let me know. |
i dont get it :S.. for what is this? .. do you have some screenshots?
|
No screenshots are really needed.
Say for example you want to add a box of images - and - you want to have specific text for a specific style in your footer. You can add your box of images in $vbtpldw_01 and your specific text in $vbtpldw_02 and only include those two variables where you need them in your footer. Code:
$ad_location[ad_footer_start] Code:
$ad_location[ad_footer_start] I am not using 01 on my site currently as I have other footer information in there and have that "not in play" at the moment. Hope that helps :) |
Good David :) Installed
|
is it like that :- https://vborg.vbsupport.ru/showthread.php?t=199869 ?
|
No, totally different. This is for inserting custom templates into different locations of your site (forumhome template, navbar template, header, footer, etc.) That way those locations are much cleaner and you can put them in more than one place. You can put an image in one template and and put that variable scattered wherever you want.
|
Good work, thank you
installed |
I have a problem. I'm trying to move some navbars in some old themes to a custom template, but that custom template does not seem to "know" anything about vBulletin-API contents. It thus shows what a guest would see rather than what a member would see. Is there any simple way to fix that?
|
Can you give me an example of where this is happening (is this going on a non-vb page) and what kind of code you are trying to use? PM me if you need to.
|
It's code like this:
HTML Code:
Everybody should be able to see this text. |
All times are GMT. The time now is 10:09 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|