Ahh.. I probably missed a step, but here goes..
Everything works, except when a user updates his profile with the new template selection, the template doesnt change. It just stays at the standard template. What didn't I do?
EDIT: WORKS!
In ubb_profile.cgi, I had the calendar hack installed with this code,
$user_profile[28] = $in{private_message_notify};
$in{bday} = "no" unless ($in{bday});
$in{bdaymonth} = sprintf("%0.2d", $in{bdaymonth});
$in{bdayday} = sprintf("%0.2d", $in{bdayday});
$user_profile[32] = "$in{bdayyear}$in{bdaymonth}$in{bdayday}|$in{bday}";
&WriteMemberProfile($in{u}, @user_profile);
Then I installed the hack like this
$user_profile[28] = $in{private_message_notify};
$in{bday} = "no" unless ($in{bday});
$in{bdaymonth} = sprintf("%0.2d", $in{bdaymonth});
$in{bdayday} = sprintf("%0.2d", $in{bdayday});
$user_profile[32] = "$in{bdayyear}$in{bdaymonth}$in{bdayday}|$in{bday}";
&WriteMemberProfile($in{u}, @user_profile);
$user_profile[55] = $template;
Figured out it's this
$user_profile[28] = $in{private_message_notify};
$user_profile[55] = $template;
$in{bday} = "no" unless ($in{bday});
$in{bdaymonth} = sprintf("%0.2d", $in{bdaymonth});
$in{bdayday} = sprintf("%0.2d", $in{bdayday});
$user_profile[32] = "$in{bdayyear}$in{bdaymonth}$in{bdayday}|$in{bday}";
&WriteMemberProfile($in{u}, @user_profile);
[ 01-27-2002 11:40 AM: Message edited by: Eel ]