The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Postbit Questions
I made some custom profile fields and have them displayed in the postbit but was wondering if there is a way to make the title of the postbit title fields bold and also how I can make the multiple line fields go below each other instead of side by side. see below
How it is now Example Title: word1 word2 word3 word 4 How I want it Example Title: Word1 Word2 Word3 |
#2
|
||||
|
||||
I'm sure there is, but without seeing the code you wrote, and what template or hook you used, along with a link to see the results, we can't really suggest anything.
|
#3
|
|||
|
|||
I created a new profile field, then created a plugin with the below code on the postbit_display_complete hook
Code:
if ($post['field10']) { $template_hook['postbit_userinfo_right_after_posts'] .= '<dt>Fav Artists</dt><br /><dd>' .$post[field10]. '</dd>'; } |
#4
|
||||
|
||||
Then if you want "Fav Artists" to be bold, but <b> tags around it:
PHP Code:
|
#5
|
|||
|
|||
Thanks that worked for the customs title. What about the default title put there by vbulletin such as join date, posts, etc?
Also any idea on the multi line issue? |
#6
|
||||
|
||||
You'll have to edit the template to add bold to those. Or, instead of that, just write some custom CSS to do it.
As for multiline items, I'd need to see the actual page source to make a suggestion. You'd either use CSS or you'll have to create another plugin to change it. Or just do a str_replace on it. It depends on the page source though. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|