The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
How do I add a users custom profile fields into the screen that has the users message on it? ie/. right next to Join Date, Number of Posts?
ie. want a user to enter his car type during registration, then be able to show that next to their posts? Is this possible? Lastly, also have a custom profile filed that is the "number of years", and would like to add up all of the users number of years to have a "sum" of the number of years of experience to be include in my community statistics... Thanks in advance - InterFX |
#2
|
||||
|
||||
![]()
Edit the postbit(_legacy) template, adding the variable $post[fieldX], where "X" is the field number shown in the profile fields manager.
|
#3
|
|||
|
|||
![]() |
#4
|
|||
|
|||
![]()
Thanks, got the first half my question answered, thanks for the quick reply.
Any ideas on the second part of this question? |
#5
|
||||
|
||||
![]()
You'll need to create a plugin that queries the database to collect the sum. Alternatively, you could create a scheduled task that does this once every half hour and store it in the datastore - saving you one query every time it is used.
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|