Okay, from my analysis of the file, the lines that need to be changed in the kernel/profilefield.php file are:
LINE 343:
Change
if (!empty($force_update) || !file_exists(XOOPS_CACHE_PATH."/profilefields.tmp")) {
to
if (!empty($force_update) || !file_exists(XOOPS_CACHE_PATH."/profilefields".XOOPS_SITE_ID.".tmp")) {
LINE 346:
Change
$s = implode("", @file(XOOPS_CACHE_PATH."/profilefields.tmp"));
to
$s = implode("", @file(XOOPS_CACHE_PATH."/profilefields".XOOPS_SITE_ID.".tmp"));
LINE 567:
Change
$fp = fopen(XOOPS_CACHE_PATH."/profilefields.tmp", "w");
to
$fp = fopen(XOOPS_CACHE_PATH."/profilefields".XOOPS_SITE_ID.".tmp", "w");
PLEASE NOTE!!!
These changes have not been thouroughly tested yet. Please check them on a test site first before taking them live! I make no gurantees that this will work correctly or suit your needs.
Also, if you do test these changes, please post back with your results. Thanks!
-zimmi88 =)