![]() |
can anyone help solve this problem
i want to include the following within a template PHP Code:
|
I can't convert my custom pages until i know how to access and loop with templates again. It is nice to know how to access one single var or single var in an array but how to loop? I did try my luck with ... (but without any success, yet ...)
Template i need to loop for output PHP Code:
And the template that should display the whole looped conteend PHP Code:
$data is an array like PHP Code:
My "NAMES" template looks like this ... Code:
<div>{vb:raw names_loop}</div> My "names_loop" template looks like this ... Code:
<div style="magin: 10px; padding: 10px;"> Can anyone help, please? :confused: Thanks. |
I'm trying to use a variable in SHOWTHREAD, but it's not showing for some reason.
Hook Location: showthread_start variable: $msgbox template variable: {vb:raw msgbox} What can be wrong? |
Quote:
Try this example: 1. Add a new custom template with the following contents: Product: vBulletin (or if you are creating a mod, choose your product id) Style: Style of your choice Title: mytemplate HTML Code:
Product: vBulletin (or if you are creating a mod, choose your product id) Hook Location: showthread_complete Execution Order: Leave as default Plugin PHP Code: PHP Code:
|
Thanks, it's working now
|
Does anyone know how to get forumIDs and bbuserinfo from this new system?
I'm trying to use it as follows, but it doesn't work... Code:
header.php?fid={vb:var forum.forumid}&pid={vb:var bbuserinfo.field9} I'm trying to use this in the HEADER template. It seems that you can no longer call forum and user information in the header template. So it seems forcing specific headers to specific forums is IMPOSSIBLE in VB4. |
i have a template i wish to add to the navbar template
i called it template2 i want to place my custom template above Code:
<div id="breadcrumb" class="breadcrumb"> Code:
{vb:raw navbar2} Code:
|
How would we use $vbulletin->options in this?
I am trying to use {vb:options media_thumb_dir} but its not working... |
So basically the variables were changed for no reason just so that non-coders could understand it? Those new variables look a lot more confusing to me.
|
Not sure why it was changed, but Jaxel:
{vb:raw vboptions.media_thumb_dir} |
All times are GMT. The time now is 03:21 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:
|