![]() |
|
|
Thread Tools |
|
#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? ![]() No members have liked this post.
|
|
#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).
__________________
Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools - Online vBulletin Manual If I post some CSS and don't say where it goes, put it in the additional.css template. I will NOT help via PM (you will be directed to post in the forums for help.) No members have liked this post.
|
|
#3
|
||||
|
||||
$bbuserinfo is used strictly in templates only. It actually won't work outside of templates anyway.
__________________
View My Modifications 29 Releases and Counting... Latest Modification: dmActivityStream - vBookie Integration (4.x) Please do not PM me to ask for support - please use the relevant thread or forum. No members have liked this post.
|
||||
|
#4
|
||||
|
||||
|
You are right, Hanson. I think it's time for some sleep when I can't read what is being asked!
__________________
Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools - Online vBulletin Manual If I post some CSS and don't say where it goes, put it in the additional.css template. I will NOT help via PM (you will be directed to post in the forums for help.) No members have liked this post.
|
|
#5
|
||||
|
||||
|
Originally Posted by Dismounted
Cool, thanx guys, but where does that code goes and how to add that on the template? Im getting close
![]() No members have liked this post.
|
||||
|
#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.
__________________
Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools - Online vBulletin Manual If I post some CSS and don't say where it goes, put it in the additional.css template. I will NOT help via PM (you will be directed to post in the forums for help.) No members have liked this post.
|
|
#7
|
||||
|
||||
|
I had that same problem and I used <if condition="{your condition code}">{code to execute if its that condition}</if><else />
No members have liked this post.
|
![]() |
«
Previous Thread
|
Next Thread
»
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
| Thread Tools | |
|
|
| New To Site? | Need Help? |
All times are GMT. The time now is 16:32.





