The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Custom Profile Options
Where can i find this hack, that adds extra comments for a user under there join date ect, as seen in attached picture.
And you fill the answers to these questions in the Additional Information part in your profile. Could be for things like favourite colour = red , ect I see this site has it in edit profile, questions such as Favorite Hack and Real Name... Thanks. |
#2
|
|||
|
|||
In the User Profile Fields section of your ACP, click "Add New User Profile Field" and fill out that information. Then, click "User Profile Field Manager" and find the id number of that new field. It will be in the name column, I'll use field2 for this example.
Just make note of that number and go to Style Manager and edit your postbit_legacy template (assuming you are using vertical postbits) and then place this code where you want it to display HTML Code:
<if condition="$post['field2']"><div>Custom Field: $post[field2]</div></if> |
#3
|
|||
|
|||
Thanks so much, just got it done, took me a little while but wanted to make no mistakes, thanks again for that, im well happy, it lot it looks really good. :banana:
|
#4
|
|||
|
|||
Sure thing, glad it worked out
|
#5
|
||||
|
||||
Okay. I tried this.. but the template doesn't update for some reason.
Edit: nm. found out you need to edit 'postbit' and not the legacy one. |
#6
|
|||
|
|||
How can I make the fonts for the profile fields smaller? (without the User Title and the Custom User Title above the avatar picture getting smaller)
Code:
<div class="smallfont"> |
#7
|
|||
|
|||
Just wanted to post a LINK to a MOD that does this, however at the expense of additional queries. Per Farcaster, The MOD requires "a separate query for each profile field and for each post, thus the extra queries needed become exponential for the number of posts per page and the number of profile fields." :disappointed: Anyway, I found the MOD first and thought others might be interested to know such a MOD even exists.
|
#8
|
|||
|
|||
Thanks, I've been wanting to figure out how to do this! But I do have another question, how do I make the fieldname in bold, without effecting the rest of the text, or the user's custom title text?
|
#9
|
|||
|
|||
easiest way should be:
Code:
<if condition="$post['field2']"><div>Custom Field: <strong>$post[field2]</strong></div></if> |
#10
|
|||
|
|||
Hmmm........that puts the text that comes after the fieldname in bold, but the fieldname is not bold. It's backwards, in other words.
However, in seeing how that effected the fields in question, I was able to figure out where it should go in order to do what I wanted, so thanks! |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|