View Full Version : trying something out ....
Reeve of shinra
09-16-2001, 11:47 PM
Under the admin folder, in User.php - there is a section titled ### Start modify ###
At the end of that section thier is an array that calls up all the custom user profile fields. How can I change that to call up just field5 ?
Admin
09-17-2001, 12:26 PM
There's probably a shorter way, but well, this is just as good.
Replace:
$profilefields=$DB_site->query("SELECT profilefieldid,title FROM profilefield");
with
$profilefields=$DB_site->query("SELECT profilefieldid,title FROM profilefield WHERE profilefieldid='5'");
Reeve of shinra
09-18-2001, 10:54 PM
.. and it works!
You Rock!! Let me be your disciple LOL
Admin
09-19-2001, 04:25 AM
Are you willing to pay?
j/k j/k :)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.