![]() |
Editing Profile "Modules"
Quick question from a half about vB newb.
Does anyone know how I can "call" or "post" a custom profile field in one of the profile module like Mini Stats. I tried just adding Code:
$post[field24] Problem is, I can create that custom field's own profile module by setting it too public, etc., but then it also shows up in the About Me tab and I don't want to display the info twice. Would like to have this custom field in a module somewhere without having it printed in the About Me. Putting it in the Mini Stats module was the best thing I could come up with since I'm a newb and have limitations as far as editing goes. Thank you for any input. |
You cannot use $post in the profile template. Use $prepared instead.
|
Quote:
How would I call a custom user field though. I tried adding: Code:
$prepared[field24] |
Could you post the template that you have now?
|
Ok, here's my memberinfo_block_ministats template where I'm trying to calling the custom field data too:
Code:
<div class="alt1 block_row"> Code:
$prepared[field24] Thanks for your help. |
Where did you add it?
|
Sorry. Thanks again for all your help.
Code:
<div class="alt1 block_row"> |
Are you sure you added it to the correct style?
|
Ya, I mean I'm adding it to my default style. I even tried adding it to my "Test" style which is the vB default one and still no luck...:(
|
Try:
Code:
$userinfo[field24] |
Quote:
Anyother ideas? |
I used $userinfo[fieldx] in memberinfo_block_ministats and it worked just fine. Are you sure you are using the correct field number?
|
Quote:
Ya you're right, I'm stupid...had the wrong field. Worked great! Thanks for all your help! |
All times are GMT. The time now is 11:05 PM. |
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:
|