The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
adding photopost profile to forum usercp?
hi, i have just intsalled photopost and wanted to know whether i could add the "profile" page to the "usercp" on the forum, so i can have the profile for photopost load up in the forum usercp.
anyone know how i would go about doing this? thnx for your time guys |
#2
|
||||
|
||||
does anybody know how to do this?
i basically want to be able to load a custom page in the usercp i hope someone can help me |
#3
|
||||
|
||||
|
#4
|
||||
|
||||
no matter, figured it out myself
|
#5
|
|||
|
|||
how about sharing how you did it? Would love to know
|
#6
|
||||
|
||||
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', ), Code:
'custom' => array( 'custom_template', ), Code:
// ############################################################################ // ############################### EDIT AVATAR ################################ // ############################################################################ Code:
// ############################################################################ // ############################### custom ################################ // ############################################################################ if ($_REQUEST['do'] == 'custom') { // draw cp nav bar construct_usercp_nav('custom'); $templatename = 'custom_template'; } 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> Code:
<tr> <td class="$navclass[attachments]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=custom">Custom</a></td> </tr> 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 |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|