The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Custom Fields Appearance (too long to explain in a title)
Hi. I haven't been here for a while, and I'm beginning new work on my forums. We have a custom field ($post[field5]) and it's applied threw the Admin CP. As you can see, it's at the bottom of the postbit (it says Stardust Executive, in bold). Now, I want to move that to one field below the avatar, and have it appear only if the person has a custom title (I was able to do that with the Online Status, it's gone unless the user is online). Now, I've been having alot of trouble. From looking at the other templates, I made a new one called 'postbit_status'. I tried including varibles $post[status], $postbit_status, and just $status. I also edited the showthread.php to get the information from that template in the varible $postbit_status, and nothing. I'm hoping there's some easy, magical way to do this in PHP Include. Please help me out.
-Eric |
#2
|
||||
|
||||
This would require hacking (I'm guessing anyway, since I am pretty tired) try over at vbulletin.org
|
#3
|
|||
|
|||
Not that I don't trust you, but I'd like a second opinion. I'm tired as well, and don't have the will to copy and paste .
|
#4
|
||||
|
||||
Well, for it to be completly hidden from the post with no custom title you'd need to add a <br> into where $post[field5] is defined, which I am sure exists in the files. If you don't have the spacing, you'll end up with two things on the same line and if you just add it in front of the variable in the postbit you'll have a space for people with nothing in the field.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|