The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hi, can anyone please explain where I should modify in templates and files to get an additional menu option in usercp?
Basically in here if you look at the html : Code:
<!-- user cp tools menu --> <div class="vbmenu_popup" id="usercptools_menu" style="display:none"> <table cellpadding="4" cellspacing="1" border="0"> <tr><td class="thead">Quick Links</td></tr> <tr><td class="vbmenu_option"><a href="search.php?do=getnew">New Posts</a></td></tr> <tr><td class="vbmenu_option"><a href="forumdisplay.php?do=markread">Mark Forums Read</a></td></tr> <tr><td class="vbmenu_option"><a href="#" onclick="window.open('misc.php?do=buddylist&focus=1','buddylist','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=250,height=300'); return false;">Open Buddy List</a></td></tr> <tr><td class="thead"><a href="usercp.php?">User Control Panel</a></td></tr> <tr><td class="vbmenu_option"><a href="profile.php?do=editsignature">Edit Signature</a></td></tr> <tr><td class="vbmenu_option"><a href="profile.php?do=editavatar">Edit Avatar</a></td></tr> <tr><td class="vbmenu_option"><a href="profile.php?do=editprofile">Edit Profile</a></td></tr> <tr><td class="vbmenu_option"><a href="profile.php?do=editoptions">Edit Options</a></td></tr> <tr><td class="thead">Miscellaneous</td></tr> <tr><td class="vbmenu_option"><a href="private.php?">Private Messages</a></td></tr> <tr><td class="vbmenu_option"><a href="subscription.php?">Subscribed Threads</a></td></tr> <tr><td class="vbmenu_option"><a href="member.php?u=1">My Profile</a></td></tr> <tr><td class="vbmenu_option"><a href="online.php?">Who's Online</a></td></tr> </table> </div> <!-- / user cp tools menu --> Haakon |
#2
|
||||
|
||||
![]()
This is the easiest way to do it. Just copy one of the existing dropdown codes. Just incase you didn't know what to copy, copy this:
Code:
<tr><td class="vbmenu_option"><a href="member.php?u=1">My Profile</a></td></tr> Now, first thing to do is change the a href URL (where member.php?u=1 is), change it to wherever you want to point it. If it's to another vB page, keep it in the same style it has here. (For example, just leaving the name of the file, nothing else, like it does with member.php in this example) Next, change what you want it called. So change "My Profile" to whatever you want the link to be named. Save. That should be it. |
#3
|
|||
|
|||
![]()
++++, I managed to look at the wrong section in the html source. You are right, this is the drop down menu code, which wasn`t what I was after. I managed to locate the code now though so I should be able to build a new link.
Thanks for help! Haakon |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|