![]() |
vB Custom Profile Fields
I am working on some mods and I have used Google and searched these forums. I can't seem to find a solution. Anyway here is the base of what I am trying to do.
I need to pull the info from a profile field that a members enters. I am going to have a link in the members profile that other members can click and it will take them to a new page that will displays various info. In order to get the info, I need to be able to use the data that the member enters into the custom profile field. So I need to know how to pull the info from the field such as $bbuserinfo['field5']. Also, i have tried using the example, but as it is alone, it wont work. EX. - I need the full version of this to work. (Nevermind the $keyurl, unless your method of getting the field data to work will mess it up.) PHP Code:
|
Anything?
|
PHP Code:
|
I tried that and it didnt work.
|
Where are you putting the code, and where are you using the variable?
|
PHP Code:
|
Where are you putting the code?
|
In a php file. I am using the custom vB page article. I have been messing with it and I can't seem to get it. I am trying to parse a xml file that required the field5 input and I have tried SimpleXML and I wouldn't parse the file cause it was returning as an HTML file, so I tried the PHP Tidy Extension. It seemed to actually go ahead with the parse, but now I am getting T_String errors and it seems to have a conflict with eval() so I cant fetch the template I need.
|
Add this code before it:
PHP Code:
|
Yeah, the info is showing, so something in vB is making the script not work cause the script works standalone.
|
All times are GMT. The time now is 01:10 AM. |
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:
|