![]() |
How Does $customfields Work?
I have moved $customfields around in the modifyprofile template within VB3 admin and then looked at the output on profile.php.
The thing that I do not understand is that it comes with its own formatting. For example I put $customfields[required] anywhere in the template and it comes out as showing the required custom fields for that user on the profile.php page. I then did a "view source within IE 6 and this $customfields[required] variable displays with tables and rows and columns. Can someone explain to me where $customfields[required] is getting the formatting and how it is making a database call for just that user and putting that user's info in a nice table? Thanks in advance. |
well, its defined in profile.php
A hint for finding out the correct templates: You can turn on 'show template names in comments' setting from within your acp vBulletin options, it makes debugging a lot easier :) |
Hi Thanks for the reply. I found this in profile.php:
Code:
// Get Custom profile fields |
you may want to take a look at fetch_profilefields()
it's defined in includes/functions_user.php :) |
All times are GMT. The time now is 01:41 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:
|