The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Show Location on conversation_userinfo
On vBulletin 5 it wont show the users location on the post info and i need that.
I want to show the location by editing the conversation_userinfo and add the location under the posts counter: Code:
<li class="b-userinfo__additional-info"><label>{vb:phrase posts}:</label> <span>{vb:raw userInfo['posts']}</span></li> Code:
<li class="b-userinfo__additional-info"><label>{vb:phrase location}:</label> <span>{vb:raw userInfo.customFields.default.field2_title.val}</span></li> *I was told from vbulletin.com that i dont need a hook and all i need is the correct code and that i should post here. |
#2
|
|||
|
|||
No one can help me on this?
Is this the first time someone asks for something like this? |
#3
|
||||
|
||||
Please see this thread - http://www.vbulletin.com/forum/forum...profile-fields
|
#4
|
|||
|
|||
Thank you got it.
--------------- Added [DATE]1399447515[/DATE] at [TIME]1399447515[/TIME] --------------- just one last thing on this how can i write a condition about it, something like: Code:
<vb:if condition="!empty {vb:raw conversation.userinfo.userfield.field2}"> |
#5
|
||||
|
||||
Depends on the template. But something *like*:
<vb:if condition="!$userfield['field2']"> You may need to play with it to find the right variable (could be $userInfo['field2']?). |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|