![]() |
Just a quickie
Hi all,
I have added a field 5 and 6 via VB control panel, that users have to add fill in when they register or via their control panel. Anyway. can someone tell me how I get this to show on all their posts on the forum (below where it says joined date / number of posts etc? I have been trying for ages but can't work out the code required and in what template.. I think its post_legacy? Cheers |
This has been covered quite a bit in some posts lately. Search around in here and you'll see it discussed a bit. I think one of the ways to use the variable is "$vbulletin->userinfo[field6]", but I think it can be shorten.
postbit is the template that shows userinfo above the post, postbit_legacy shows the userinfo to the left of the post. |
Use $post[field5].
|
Quote:
Quote:
IE- I want it like this Support: England (users answer) It was only showing England, not the support bit? --------------- Added [DATE]1202845160[/DATE] at [TIME]1202845160[/TIME] --------------- Think I have it working as this, although looks rather long lol <if condition="$post['field5']"><div>$vbphrase[Support_perm]Support: $post[field5]</div></if> |
You got it, sir. ;)
If this phrase (Support_perm) is the word support you don't need that word in there too. |
Can I delete (Support_perm) then or just support so it shows (perm)
|
I would just put this:
Quote:
|
What is thre phrase Support_perm? If it is the word Support, take the word out so you can keep it language editable. Like this:
<if condition="$post['field5']"><div>$vbphrase[Support_perm]: $post[field5]</div></if> --------------- Added [DATE]1202847323[/DATE] at [TIME]1202847323[/TIME] --------------- Quote:
|
Quote:
|
Ok, I'll ask one more time, what is this? Support_perm. That phrase, what does it say?
|
All times are GMT. The time now is 12:19 AM. |
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:
|