Great addon... thanks for getting this out! I just wish this could be done without code hacks... hah!
If you're having trouble showing the custom fields on user's profiles try doing this as well:
in member.php find
PHP Code:
$profilefields = $db->query_read("
SELECT profilefieldid, required, title, type, data, def, height
FROM " . TABLE_PREFIX . "profilefield
WHERE form = 0 " . iif(!($permissions['genericpermissions'] & $vbulletin->bf_ugp_genericpermissions['canseehiddencustomfields']), "
AND hidden = 0") . "
ORDER BY displayorder
");
and change it to
PHP Code:
$profilefields = $db->query_read("
SELECT profilefieldid, required, title, type, data, def, height
FROM " . TABLE_PREFIX . "profilefield
WHERE form = 0 or form = 6 " . iif(!($permissions['genericpermissions'] & $vbulletin->bf_ugp_genericpermissions['canseehiddencustomfields']), " /* hacked for extra profile page --> dive info */
AND hidden = 0") . "
ORDER BY displayorder
");
Where 6 is the value of this particular profile page.