The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Adding name to avatar box.
Could someone give me a hand. I would like to add the users real name under the post count in the users avatar box. Could someone tell me where I can do this?
|
#2
|
||||
|
||||
you would first need to make a custom profile field, then you would insert the proper code in postbit_legacy in the same format as your userinfo bit.
--------------- Added [DATE]1360633127[/DATE] at [TIME]1360633127[/TIME] --------------- once you make the custom profile field, make note of the id (example field7) Create a new plugin Product: vBulletin Hook Location: postbit_display_complete Title: Add Real Name to postbit userinfo Code: Code:
$template_hook['postbit_userinfo_right_after_posts'] .= '<dt>Real Name</dt> <dd>' .$post[field7]. '</dd>'; Then Save. Done. Be sure to change the '7' in field7 to your profile field id for 'Real Name' |
#3
|
||||
|
||||
Quote:
.Me |
Благодарность от: | ||
LifesGreatestGift |
#4
|
||||
|
||||
pretty much the same thing I said, its just wrapped up all nice and 'pretty'
|
#5
|
||||
|
||||
Quote:
.Me |
#6
|
||||
|
||||
well, if you cared to try, the next available field after the defaults is 7. i did it on my test board so that is why 7 was in my code. I just now downloaded his mod and reviewed the code. I was unaware of his mod. I write most anything I need.
|
Благодарность от: | ||
Lee Roberts |
#7
|
||||
|
||||
Thanks everyone for the tips. I installed the hack and it works great!! Thanks again!!!
|
Благодарность от: | ||
Lee Roberts |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|