The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
php code to pull custom profile fields?
I have a custom made php file, but I need to display some custom profile fields on the product, what coding will it take?
I know on the template what to use, but on the php code no idea? |
#2
|
||||
|
||||
If you have the global.php file called, then I believe you should be able to get it with $bbuserinfo[fieldx] (assuming you want it for the person viewing the page).
|
#3
|
||||
|
||||
PHP Code:
|
#4
|
||||
|
||||
You are right, Hanson. I think it's time for some sleep when I can't read what is being asked!
|
#5
|
||||
|
||||
Cool, thanx guys, but where does that code goes and how to add that on the template? Im getting close
|
#6
|
||||
|
||||
Why don't you post the code you've written so far and tell us what you want as the result and then we can help you with more specifics.
|
#7
|
||||
|
||||
I had that same problem and I used <if condition="{your condition code}">{code to execute if its that condition}</if><else />
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|