Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons

Reply
 
Thread Tools
Change your UserCP Navbar with the New UserCP Dropdown Menu! Details »»
Change your UserCP Navbar with the New UserCP Dropdown Menu!
Version: 1.00, by Nоrman Nоrman is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: End-User Options - Version: 3.7.x Rating:
Released: 10-12-2008 Last Update: Never Installs: 61
Uses Plugins Auto-Templates
Re-useable Code Translations  
No support by the author.

Change your UserCP Navbar with the New UserCP Dropdown Menu!
by vB-Italy.org - Italian vBulletin Support Forum



Versione Italiana (italian version): Nuovo Menu a Tendina per il tuo Pannello Utente!.

Using this product you will change your current UserCP navbar to the new UserCP Dropdown Menu. It will be automatically integrated, it will require no further changes. Just import this product and your usercp navbar will be reorganized with this new style. Let me know what do you think about this new product!


Download the attached product and import it using your AdminCp.
(AdminCp -> Plugin & Products -> Manage Products -> Import Product -> Browse New UserCP Dropdown Menu (product).xml and press Import)

Also, if you want to change the phrase that is showing under the new navbar, you can do that in yor AdminCp too.
(AdminCp -> Languages & Phrases -> Search in Phrases -> usercp_nav_welcomemessage -> (Phrase Variable Name Only) -> Search -> Edit)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 10-13-2008, 03:49 PM
Nоrman's Avatar
Nоrman Nоrman is offline
 
Join Date: Jul 2008
Location: [Italy]
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How do I add/remove links to the new UserCP Dropdown Menu?

This product will change/replace your default USERCP_SHELL template used in your usercp.php file with the new usercp_dropdown_shell template. Then, if you'd like to change, add or remove links, you will have to go trought your admincp and edit that new template.
(AdminCp -> Styles & Templates -> Style Manager -> Edit Templates (from the drop down menu) -> usercp_dropdown_shell -> Edit)

Now, check its code; it starts declaring the main menu links.. then it declare the popups content.

Main menu example Link:
Code:
<td id="yourprofile" class="tcat">
    <a href="member.php?$session[sessionurl]u=$bbuserinfo[userid]">
    $vbphrase[your_profile]</a>
    <script type="text/javascript">
        vbmenu_register("yourprofile");
    </script>
</td>
This is the 'Your Profile' link. Check this thread: How To Add Drop Down Menus To Your Navbar; this will work well also in this part of your forum, the UserCP page. You will learn and understand how drop down menu(s) are created. Now, let's say you want to add a new menu link with a new drop down menu.

For example, you can add this code below the one posted above:
Code:
<td id="new_menu" class="tcat">
    <a href="new_menu-link">
    New Menu</a>
    <script type="text/javascript">
        vbmenu_register("new_menu");
    </script>
</td>
Changing the blue bold code as you want. Remember: the td id and the vbmenu_register need to be the same (as it's specified on the Kerry-Anne article I have linked above). Now, you'd need to create the drop down menu with your own content.

Scroll down your usercp_dropdown_shell template code, searching for this:
Code:
<!-- ### -->
This declare the POPUPs end. Above this, add:
Code:
<div class="vbmenu_popup" id="new_menu_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">

        <tr>
            <td class="thead">New Menu</td>
        </tr>
        <tr>
            <td class="vbmenu_option" title="nohilite">
<a class="smallfont" href="new_menu-row-link">New Menu Row</a>
</td>
</tr>

</table>
</div>
As above, changing the blue bold code to fit your needs. As above, using the same id specified above (with _menu at the end).


Now close & save your template. You're done!
Reply With Quote
  #3  
Old 10-13-2008, 03:52 PM
Neutral Singh's Avatar
Neutral Singh Neutral Singh is offline
 
Join Date: Sep 2004
Location: Sikh Philosophy Network
Posts: 545
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Really Cool!!
Reply With Quote
  #4  
Old 10-13-2008, 05:15 PM
Glynn58 Glynn58 is offline
 
Join Date: Jul 2006
Location: Barnsley UK
Posts: 97
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Loving this mod Norman just one thing its not showing VBblog or have i missed it somewhere
Reply With Quote
  #5  
Old 10-13-2008, 05:30 PM
Nоrman's Avatar
Nоrman Nоrman is offline
 
Join Date: Jul 2008
Location: [Italy]
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Glynn58 View Post
Loving this mod Norman just one thing its not showing VBblog or have i missed it somewhere
I have't included it just becouse I am not a vBulletin Blog owner, so I can't use it on my local board.
Anyway, if you want you can send me your USERCP_SHELL template, and I will add it soon as possible.
Reply With Quote
  #6  
Old 10-13-2008, 05:38 PM
Glynn58 Glynn58 is offline
 
Join Date: Jul 2006
Location: Barnsley UK
Posts: 97
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Nоrman View Post
I have't included it just becouse I am not a vBulletin Blog owner, so I can't use it on my local board.
Anyway, if you want you can send me your USERCP_SHELL template, and I will add it soon as possible.
Thanks Norman i sorted it by adding it to my main Nav-Bar.

I changed the phrase - from ' Welcome in ' to ' Welcome to ' and ' Informations ' to ' Information '

Looks great :up:
Reply With Quote
  #7  
Old 10-13-2008, 05:39 PM
jambo_1969 jambo_1969 is offline
 
Join Date: May 2007
Posts: 224
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice...

However I changed the wording in the Phrase Box...
Quote:
Welcome to your NEW Control Panel, {1}. You can manage your settings, edit your information and much more!<br />
Select from the above options, then select from the drop down menu for more options.
Reply With Quote
  #8  
Old 10-13-2008, 05:42 PM
Nоrman's Avatar
Nоrman Nоrman is offline
 
Join Date: Jul 2008
Location: [Italy]
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You know, I'm italian.
Feel free to change the phrase anyway you want it.
Reply With Quote
  #9  
Old 10-13-2008, 05:42 PM
jambo_1969 jambo_1969 is offline
 
Join Date: May 2007
Posts: 224
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Woot - liking the fact I get full page Private Message display now

Great stuff !
Reply With Quote
  #10  
Old 10-13-2008, 05:52 PM
logicuk logicuk is offline
 
Join Date: Jan 2008
Posts: 327
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have a addon so i can search my own pm inbox

forums/private.php?pmsearch=1

but this link dont show up anymore
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:46 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04587 seconds
  • Memory Usage 2,295KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete