The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I'm trying to add a custom profile field to the template "memberaction_dropdown"
Code:
<vb:if condition condition="$post['field5']"> <li class="left"> <img src="{vb:stylevar imgdir_siteicons}/profile.png" alt="" /> Real Name: $post[field5] </li> </vb:if> I read something about registering variables, but did not quite understand it. Could that be why my custom profile field is not appearing (memberaction_dropdown not having "post" registered?) Any help is always greatly appreciated. Thank you. Edit: Also tried {vb:raw post.field5} with no luck either. |
#2
|
|||
|
|||
![]()
Anyone care to try and tackle this one?
|
#3
|
|||
|
|||
![]()
Caaaan you feeeeel the loooove toniiiiight?
|
#4
|
||||
|
||||
![]()
If you look at the template memberaction_dropdown, you'll see the variable being used is memberinfo, not post.
|
#5
|
|||
|
|||
![]()
Thank you for your assistance. Variables are something that are going to take some studying as I did not know post and memberinfo are interchangable for custom fields depending on where you are.
|
#6
|
||||
|
||||
![]()
When you perform a query, you usually then assign the results to a variable. The variable name you choose is often associated with where you are going to use it or what it does. So, you need to look at the page to see what the name of the variable is that they are using.
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|