PDA

View Full Version : Custom Fields Appearance (too long to explain in a title)


imported_Someguy
05-16-2003, 09:21 PM
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

assassingod
05-16-2003, 09:27 PM
This would require hacking (I'm guessing anyway, since I am pretty tired) try over at vbulletin.org

imported_Someguy
05-16-2003, 09:44 PM
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 :p.

Tony G
05-16-2003, 11:01 PM
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.