The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
![]() ![]() ![]() OK, more info... I'm using the vehicleprofiles mod which makes the following changes to php files: functions_user.php Original: Code:
// get extra profile fields $profilefields = $vbulletin->db->query_read_slave(" SELECT * FROM " . TABLE_PREFIX . "profilefield WHERE editable IN (1,2) AND form " . iif($formtype, '>= 1', '= 0'). " ORDER BY displayorder "); Code:
// get extra profile fields $profilefields = $vbulletin->db->query_read_slave(" SELECT * FROM " . TABLE_PREFIX . "profilefield WHERE profilefieldid NOT IN (50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65) AND editable IN (1,2) AND form " . iif($formtype, '>= 1', '= 0'). " ORDER BY displayorder "); member.php Original: Code:
// CUSTOM PROFILE FIELDS $profilefields = $db->query_read_slave(" SELECT profilefieldid, required, 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 "); Code:
// CUSTOM PROFILE FIELDS $profilefields = $db->query_read_slave(" SELECT profilefieldid, required, type, data, def, height FROM " . TABLE_PREFIX . "profilefield WHERE profilefieldid NOT IN (50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65) AND form = 0 " . iif(!($permissions['genericpermissions'] & $vbulletin->bf_ugp_genericpermissions['canseehiddencustomfields']), " AND hidden = 0") . " ORDER BY displayorder "); |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|