ive only managed to get a custom page load up, not the actuall profile,
but the way i got the custom page to work is this:
opened profile.php and found
Code:
'removelist' => array(
'modifylist_removeuser',
),
underneath I added
Code:
'custom' => array(
'custom_template',
),
I then found
Code:
// ############################################################################
// ############################### EDIT AVATAR ################################
// ############################################################################
and before that added
Code:
// ############################################################################
// ############################### custom ################################
// ############################################################################
if ($_REQUEST['do'] == 'custom')
{
// draw cp nav bar
construct_usercp_nav('custom');
$templatename = 'custom_template';
}
i saved that and uploaded it and then opened up the template manager in the admincp, I added a new style called "custom_template" and in the "template" box i put in the code for my custom page (whatever i wanted to load up).
I then opened up the "User Control Panel Templates" and opened USERCP SHELL, in that i found the code:
Code:
<if condition="$show['attachments']">
<tr>
<td class="$navclass[attachments]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=editattachments">$vbphrase[attachments]</a></td>
</tr>
</if>
under that i put
Code:
<tr>
<td class="$navclass[attachments]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=custom">Custom</a></td>
</tr>
and thats it,
in the usercp there is a link at the bottom saying "Custom", you click that and it openes up whatever u put in the "custom_template" template.
i decided to leave putting in the photopost profile for a while, gonna do a couple of other jobs on my site first, will come back to it later. if i manage to do it, ill post it up