![]() |
Adding Custom Profile Fields into Thread?
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 |
Edit the postbit(_legacy) template, adding the variable $post[fieldX], where "X" is the field number shown in the profile fields manager.
|
|
Thanks, got the first half my question answered, thanks for the quick reply.
Quote:
|
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.
|
All times are GMT. The time now is 06:39 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|