The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Custom Profile Field in Postbit
I know there are at on of questions about how to do this and I know the basics. Here's where I'm at. I have a custom profile field that is included in my postbit. However,
1. I can't find it in my templates to edit it. I've searched with no luck. I know it should be in the postbit template but it's not. Any ideas where it may have hidden itself? The custom field in question is "SLS Handle: _____" as you can see in my screen grab. 2. I want to edit it so that where it shows the custom field "SLS Handle: ______" that the field "_______" is linked. The link itself would have to include the field data. Hopefully, that all made enough sense for someone to help me out. |
#2
|
||||
|
||||
Perhaps you have a plugin that is adding it? The only way to add custom profile fields to the postbit is by template edit or plugin.
|
#3
|
|||
|
|||
Quote:
Here is the code for how it stands: Code:
if ($post['field8']) { $template_hook['postbit_userinfo_right_after_posts'] .= '<dt> SLS Handle</dt> <dd>' .$post[field8]. '</dd>'; } but I'm not sure what exactly it should be. |
#4
|
||||
|
||||
Then how about something like:
HTML Code:
$template_hook['postbit_userinfo_right_after_posts'] .= '<dt> SLS Handle</dt> <dd><a href="http://www.url.com/' .$post[field8]. '">http://www.url.com/' .$post[field8]. '</a></dd>'; |
#5
|
|||
|
|||
Thank You! That did the trick!
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|