![]() |
Automatic UserCP Navbar Menu
Automatic UserCP Navbar Menu
his hack is made for to put tp the navbar the usercp as default whici will not effect by the template changes. I made this hack because sometimes I am so busy to edit the templates so I made navbar default templates. Hope you like it. install Go to your admin cp, then: Plugin System -> Manage Products -> [Add/Import Product] -> Select 'product-usercpnavbarmenu.xml' from your computer then press 'Import' Modifications Info Plugin : 2 Phrases : 0 Template : 1 Setting : 0 Versions: v1.0 - 5 May 2008 -First release |
installed!
|
Cool , Thanks :)
|
Thanks
|
Installed. Many thanks.
|
Yeah, something once again which should be default, makes it so much quicker and faster now to access certain things. Thanks!
|
thanks Atakan
|
Can you include subscription payments into the menu for us? the more areas it is in the better ^^
|
Thanks Atakan.
|
I'm not sure what this does. Could someone explain?
|
thank you. ( teşekk?rler :) )
|
Quote:
|
I have made a custom navbar, Can you post the code we need to insert for this to work?
|
Excellent *installed*
Is it also possible to make this function in the navbar on the vBAdvanced page? |
Quote:
By default there is only a simple link to the User CP. You have to edit the template 'navbar' so that this little menu opens when you click the link (see screenshot, normally you are taken to the User CP directly). This Add-on generates this menu for you so that you don't have to edit the template every time a new version of vBulletin comes out. :) |
very good
|
nice one
thanks is there anyway to add more options? ^^ |
Works great! I was looking for this. Thanks!
|
Wonderful mod......thanks for this...
|
emm
there is a small problem it doesn't work with vbadvanced portal if you can fix this issue, that will be great for this nice plug-in thanks :) |
Thanks man but I am using a template I got here and it doesn't work.
What do I need to change in the template you really didnt say what. |
Works Great... As per the post by Super Jinni it would be good to get this working on Vbadvanced.
|
I don't know why I never thought to do this already. Thanks!
|
I really like this, but unfortunately it does not work on one of my styles. So I was hoping you could just post the template edit and I manually add it to all my templates.
|
Atakan cok sagol süper olmus
|
Quote:
Code:
<if condition="$show['member']"> |
Okay. After experimenting with my custom styles, this is what I guessed...
Take the original "UserCP" in the NavBar: <td class="vbmenu_control"><a href="{$vbulletin->options[bburl]}/usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td> And replace it with: <td id="usercpnmenu" class="vbmenu_control"><a href="{$vbulletin->options[bburl]}/usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a> <script type="text/javascript">vbmenu_register("usercpnmenu"); </script></td> This seems to make it work. (Took it from the xml file.) Is that correct? |
A second idea is to edit the template file and create a 2nd Global template called "Header_navbar_user_menu". So then there would be two global templates.
Then change every templatecache['navbar'] to templatecache['header']. This should make it search the header template as well as the navbar template. That's my guess, but I want to ask the author, Atakan KOC. Because many of our custom navbars are in the header template as well as the navbar template. I want to test it out, but I am a little afraid because I've never made an xml file before. Would that work? Could you make a new xml that would search the navbar template AND the header template? (might as well search the head include and footer too, since those are the main 4 templates they always use for custom styles) By the way, it's cool how you did this. In the future, I think I'll make an xml file/special template for all my dropdown menus. I need to practice a little though. One added note: It would be cool to make a mod that would make the xml file for any drop-down menu you choose. You would input the drop-down title, then drop-down items and links, and then the Title and Template name. Then you hit enter and it would make the xml file for you. That would be cool. |
Atakan KOC,
I talked about your xml file in this link: https://vborg.vbsupport.ru/showthread.php?t=183578 Based on this, I suggested a new mod that would make menu creation so easy. Do they have something like that? Okay... enough for one day. lol. |
Hrmmm - sure would be nice to be able to easily add links to this drop down....
|
Quote:
Actually, it is easy... either you change them in the original xml file and then upload it again (with overwrite) as a product, or you just make a change to the template file in the particular style. Takes a little practice, but after you do it a few times, it becomes a piece of cake. Thanks to the author for the mod. It taught me an easy way to make menu changes for all my drop-don menus. Thank you so much! |
I know it's possible that way, I'm saying it would be cool to have a box or something in the AdminCP where you can add a link without having to type code.
|
thanks
|
All times are GMT. The time now is 06:12 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|