The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Height and weight custom user field
Im trying to figure out how i would go about adding a custom user field "height and weight" where members can choose their stats, in the postbit it would read; Stats: 5'5", 135 lbs any help or guidance would be great.
|
#2
|
|||
|
|||
It's pretty easy, if I understand what you're asking for. Just go to User Profile Fields in the admincp and create your fields. If you want the user to choose them you'd want Single-Selection Menu.
Then in the postbit (or postbit_legacy) template you just insert something like Code:
Height: {vb:raw post.fieldX}<br/> Weight: {vb:raw post.fieldY} This can also be done with a plugin to avoid editing the templates if you'd prefer that, you just need to add to one of the template hooks that are in the postbit. If you wanted the user to enter their data as text then check or format it, you'd need a plugin of course. |
Благодарность от: | ||
SPEEDKILLZ |
#3
|
||||
|
||||
I will be visiting your site tonight to finish what I began before, and I can take care of this too while I'm at it if you want.
|
Благодарность от: | ||
SPEEDKILLZ |
#4
|
|||
|
|||
Quote:
--------------- Added [DATE]1433889702[/DATE] at [TIME]1433889702[/TIME] --------------- Sounds great sir. |
#5
|
|||
|
|||
Quote:
But I know MarkFL will get you fixed up. |
#6
|
|||
|
|||
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|