![]() |
Get it work some variables and conditionals in header or navbar
Hi all i'm looking to get it work this variables
Code:
{vb:raw username} Code:
<vb:if condition="$show['profilefield_edit']"> |
In order to use a variable in a template, first you need to make sure the variable is actually defined. My guess is, you don't mean "$post['field6']" but instead mean "$bbuserinfo['field6']" And username is actually bbuserinfo.username, same with musername.
|
Sorry username is ok but i really mean "<vb:if condition="$post['field6']">" i see this variables in postbit i want tho show something who fill this custom filed but in header don't work..
Thank you for your help |
And as I said, I believe you want to use the variable $bbuserinfo instead of $post. $post is not defined on many (any?) other pages except the showthread page.
|
ok but
Code:
<vb:if condition="$bbuserinfo['field6']> --------------- Added [DATE]1315313327[/DATE] at [TIME]1315313327[/TIME] --------------- ok thank you for your help I did it :) |
All times are GMT. The time now is 11:57 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:
|