The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hi Guys,
I need to add two links. One to the 'User Control Panel' on the left hand side navigation bar. I would like to add a the link below the 'Settings & Options' settings. I believe this is somewhere in the usercp.php file. I would like to add the second link to the 'View Profile' page under the 'Additional Info' section. It's nothing special but I just need to figure out how to add to links. Has anyone done this or could any suggest anything? I ran a search and came up empty handed. Thank you in advance. |
#2
|
|||
|
|||
![]()
Template: USERCP_SHELL
Template: modifyprofile |
#3
|
|||
|
|||
![]()
Where is the USERCP_SHELL located? I can't find a templates folder...
Thanks |
#4
|
|||
|
|||
![]()
look under the usercp template group
|
#5
|
|||
|
|||
![]()
found it.
|
#6
|
|||
|
|||
![]()
kk, let me know if u need any other help with it
|
#7
|
|||
|
|||
![]()
Okay I went into modifyprofile and anything I change doesn't show up when I view user's profile... I even deleted eveything from the edit box and it still just showed the user's profile like normal...
I would just like to add a simple link below the Additional information section. Any suggestions? Thanks I need to have the change reflected in the member.php page. When someone looks at a user's profile, they will see my custom link below the Additional Information |
#8
|
|||
|
|||
![]()
Ok What i did was find:
HTML Code:
<tr> <td class="tcat">$vbphrase[edit_profile]<span class="normal"> $bbuserinfo[username]</span></td> </tr> HTML Code:
<tr> <td class="tcat">$vbphrase[edit_profile]<span class="normal"> <a href="$vboptions[bburl]/member.php?u=$bbuserinfo[userid]">$bbuserinfo[username]</a></span></td> </tr> |
#9
|
|||
|
|||
![]()
Hi Mike, thanks for the help.
I don't know if I am explaining myself properly. I need to modify the actual profile for all users and not the section where the user edit their own profile. Example of the page I need to change: http://www.supermandatabase.com/foru...astposter&f=20 To the bottom left there is an Additional Information section. I need to add a GLOBAL link that will show up in eveyone's profile. I don't think modifyprofile is the correct section to alter. This is the page I am looking for (this is from 2002) not sure if it's still applicable. Code:
{htmldoctype} <html> <head> <title>$bbtitle - Update profile</title> $headinclude </head> <body> $header <!-- breadcrumb --> <table cellpadding="2" cellspacing="0" border="0" width="{contenttablewidth}" {tableinvisibleextra} align="center"> <tr> <td width="100%"><img src="{imagesfolder}/vb_bullet.gif" align="middle" alt="vBulletin"> <normalfont><b><a href="index.php?s=$session[sessionhash]">$bbtitle</a> > <a href="usercp.php?s=$session[sessionhash]">User Control Panel For $bbuserinfo[username]</a> > Edit Profile</b></normalfont></td> </tr> </table> <!-- /breadcrumb --> <br> $cpnav <br> <center>$coppatext</center> <form action="member.php" method="post"> <input type="hidden" name="s" value="$session[sessionhash]"> <table cellpadding="{tableouterborderwidth}" cellspacing="0" border="0" bgcolor="{tablebordercolor}" {tableouterextra} width="{contenttablewidth}" align="center"><tr><td> <table cellpadding="4" cellspacing="{tableinnerborderwidth}" border="0" {tableinnerextra} width="100%"> <tr> <td bgcolor="{categorybackcolor}" colspan="2"><normalfont color="{categoryfontcolor}"><b>Edit Profile - $bbuserinfo[username]</b></normalfont></td> </tr> <!-- <tr> <td bgcolor="{tableheadbgcolor}" colspan="2"><normalfont color="{tableheadtextcolor}" class="thtcolor"><b>Registration: Required Information</b></normalfont> <smallfont color="{tableheadtextcolor}" class="thtcolor">All fields are required.</smallfont></td> </tr> $parentemail <tr> <td bgcolor="{secondaltcolor}"><normalfont><b>Email Address:</b></normalfont></td> <td bgcolor="{secondaltcolor}"><normalfont><input type="text" class="bginput" name="email" value="$bbuserinfo[email]" size="30" maxlength="150"></normalfont></td> </tr> <tr> <td bgcolor="{secondaltcolor}"><normalfont><b>Confirm Email Address:</b></normalfont></td> <td bgcolor="{secondaltcolor}"><normalfont><input type="text" class="bginput" name="emailconfirm" value="$bbuserinfo[email]" size="30" maxlength="150"></normalfont></td> </tr> --> <tr> <td bgcolor="{tableheadbgcolor}" colspan="2"><normalfont color="{tableheadtextcolor}" class="thtcolor"><b>Optional Information</b></normalfont> <smallfont color="{tableheadtextcolor}" class=thtcolor>All information will be viewable by other $bbtitle members.</smallfont></td> </tr> <tr> <td bgcolor="{secondaltcolor}"><b><normalfont>Homepage:</normalfont></b></td> <td bgcolor="{secondaltcolor}"><normalfont><input type="text" class="bginput" name="homepage" value="$bbuserinfo[homepage]" size="30" maxlength="200"></normalfont></td> </tr> <tr> <td bgcolor="{firstaltcolor}"><b><normalfont>ICQ Number:</normalfont></b></td> <td bgcolor="{firstaltcolor}"><normalfont><input type="text" class="bginput" name="icq" value="$bbuserinfo[icq]" size="30" maxlength="30"></normalfont></td> </tr> <tr bgcolor="{secondaltcolor}"> <td><b><normalfont>AOL Instant Messenger Handle:</normalfont></b></td> <td><normalfont><input type="text" class="bginput" name="aim" value="$bbuserinfo[aim]" size="30" maxlength="30"></normalfont></td> </tr> <tr> <td bgcolor="{firstaltcolor}"><b><normalfont>Yahoo Messenger Handle:</normalfont></b></td> <td bgcolor="{firstaltcolor}"><normalfont><input type="text" class="bginput" name="yahoo" value="$bbuserinfo[yahoo]" size="30" maxlength="30"></normalfont></td> </tr> <tr> <td bgcolor="{secondaltcolor}" valign="top"><b><normalfont>Signature:</normalfont></b><br> <smallfont>Optional signature you may use to appear at bottom of your posts.</smallfont> <p><smallfont>HTML code is $htmlonoff<br> <a href="misc.php?s=$session[sessionhash]&action=bbcode">vB Code</A> is $bbcodeonoff<br> [img] code is $imgcodeonoff<br> <a href="misc.php?s=$session[sessionhash]&action=showsmilies">Smilies</a> are $smiliesonoff </smallfont></p></td> <td bgcolor="{secondaltcolor}"><textarea name="signature" rows="6" cols="40">$bbuserinfo[signature]</textarea></td> </tr> $birthday $customtext <tr> <td bgcolor="{tableheadbgcolor}" colspan="2"><normalfont color="{tableheadtextcolor}" class="thtcolor"><b>Additional Information</b></normalfont></td> </tr> $customfields </table> </td></tr></table> <br> <table cellpadding="2" cellspacing="0" border="0" width="{contenttablewidth}" {tableinvisibleextra} align="center"> <tr> <td align="center"><normalfont> <input type="hidden" name="action" value="updateprofile"> <input type="submit" class="bginput" name="Submit" value="Submit Modifications" accesskey="s"> <input type="reset" class="bginput" name="Reset" value="Reset Fields"> </normalfont></td> </tr> </table> </form> $footer </body> </html> |
#10
|
|||
|
|||
![]()
OK I am sorta lost, but its template "MEMBERINFO"
Find: $template_hook[memberinfo_additionalinfo] if on 3.6.6+ Right around their just put a hyperlink and it will be global. I am off for the night, PM me if you need any other assistance, and ill get when i wake up tommorow. NN Take care |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|