The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
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:
|
#2
|
||||
|
||||
Anything?
|
#3
|
||||
|
||||
PHP Code:
|
#4
|
||||
|
||||
I tried that and it didnt work.
|
#5
|
||||
|
||||
Where are you putting the code, and where are you using the variable?
|
#6
|
||||
|
||||
PHP Code:
|
#7
|
||||
|
||||
Where are you putting the code?
|
#8
|
||||
|
||||
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.
|
#9
|
||||
|
||||
Add this code before it:
PHP Code:
|
#10
|
||||
|
||||
Yeah, the info is showing, so something in vB is making the script not work cause the script works standalone.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|