Yes, I believe it is showgroups.php that has to be edited, and I remember it being really simple, something to the effect of modifying:
Code:
// pre-cache templates used by all actions
$globaltemplates = array(
'SHOWGROUPS',
'showgroups_forumbit',
'showgroups_usergroup',
'showgroups_usergroupbit',
'postbit_onlinestatus',
***** Add something here maybe??? ******
);
Problem is I can't remember what has to be added if its a template or a call to include a php doc or even if its a db call, but it was one simple line or word that I added somewhere in showgroups.php, yes.
--------------- Added [DATE]1256756860[/DATE] at [TIME]1256756860[/TIME] ---------------
ok, I'm sure this Isn't how I did it last time but it works.... If anyone is trying to do the same thing:
in showgroups.php
Find:
Code:
// 2 is the default location field and the one we always use in the template
$show['locationfield'] = $db->query_first("
SELECT profilefieldid
FROM " . TABLE_PREFIX . "profilefield
WHERE profilefieldid = 2
");
Below it add: (Replace Fieldxxx and = X with your variable name and the field ID
Code:
// 2 is the default location field and the one we always use in the template
$show['fieldxxx'] = $db->query_first("
SELECT profilefieldid
FROM " . TABLE_PREFIX . "profilefield
WHERE profilefieldid = X
");
FIND 2 instances of:
(and again, replace fieldxxx with your variable name and the X in fieldX with your field ID.
Code:
" . ($show['locationfield'] ? 'userfield.field2,' : '') . "
Below both add:
Code:
" . ($show['fieldxxx'] ? 'userfield.fieldX,' : '') . "
Tested and works with the code in the first post

(Running VB 3.8.4 Patch Level 1)