The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
how to use custom field at the member area
Hi, Im doing the new layout of my site and I want to show some custom fields ($post['field5']) in the member area, I used these for the thread area (postbit_legacy):
PHP Code:
--------------- Added [DATE]1269199465[/DATE] at [TIME]1269199465[/TIME] --------------- Solved, hope this will help to anyone. I made a plugin with this info (inside the member_start hook): PHP Code:
PHP Code:
I optimized the code to this: PHP Code:
|
#2
|
|||
|
|||
I updated the code for multiple selection custom fields, hope you can understands it.
PHP Code:
|
#3
|
|||
|
|||
From my experience with the memberinfo stuff, you are going to need to use $userinfo instead of $post.
Also, I don't see you registering any of your variables so I'm not sure you'll get anywhere with that. I recommend reading over the Rending Templates article again and looking over the preregister part of it. I haven't done it before though, so I'm not exactly sure what to do on that. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|