The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Icons for UserCP Navigation 1.2 Details »» | |||||||||||||||||||||||||
Icons for UserCP Navigation 1.2.2
This mod adds a pretty group of icons (Silk Icons) to your usercp navigation bar items. Example Collapsed: Example Expanded: Install Instructions: Installation for White Styles (Like vB Default Style) 1. Upload the "usercp_icons" folder into your current style images/misc dir. 2. Import product-iconsusercp.xml in the Product Manager. 3. That's all Installation for Dark Styles (PNG Icons with Transparency) 1. Upload the "usercp_icons_png" folder into your current style images/misc dir. 2. Import product-iconsusercp-png.xml in the Product Manager. 3. That's all IMPORTANT: These PNG icons will not display correctly if you're using Internet Explorer 5.5 or 6. For fix this transparency issue check this mod by Oblivion Knight: ? PNG Transparency for Internet Explorer: https://vborg.vbsupport.ru/showthread.php?t=94416 Version History: 1.1: - Added automatic template insertion. - Fixed compability width with vBulletin Project Tools Item. - Fixed compability width with vBulletin Blog Item. 1.2: - Added collapsable option to items. - Private Messages Item modified, no menu. - Subscriptions Item modified, no menu. 1.2.1: - Minor changes in shell template (missing  . - Added blank html file in the icons dir. 1.2.2: - Added PNG icons for Dark Styles. (Thanks to hcmagix for the idea). - Added version checking. ?Tested on vBulletin 3.7.1! Show Your Support
|
Comments |
#232
|
|||
|
|||
Quote:
|
#233
|
|||
|
|||
Could you fix it, that items, which aren't supported are still shown?
|
#234
|
|||
|
|||
Quote:
Code:
<img src="$stylevar[imgdir_misc]/usercp_icons/**image_goes_here**.png"> Find: Code:
<if condition="$vboptions['enablesearches']"><tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getdaily">$vbphrase[todays_posts]</a></td></tr></if> Code:
<if condition="$vboptions['enablesearches']"><tr><td class="vbmenu_option"><img src="$stylevar[imgdir_misc]/usercp_icons/page_white_copy.png"> <a href="search.php?$session[sessionurl]do=getdaily">$vbphrase[todays_posts]</a></td></tr></if> You repeat this for each instance and you can do this for literally every drop-down menu option, which is what I have for all of my navbar and for every other drop-down. I've attached an image of my search and PM drop-downs as other examples. It might be overkill for other people but I like how it looks. One thing to note is that if you have any modifications that automatically insert menu options on your navbar or in the Quick Links menu then you need to add the icon code to those also. For example, if you have vB Blog and you opt for a link in your navbar, this is the blog_navbar_link template: Code:
<tr> <td class="thead">$vbphrase[search_blogs]</td> </tr> <tr> <td class="vbmenu_option" title="nohilite"> <form action="blog_search.php?$session[sessionurl]do=dosearch" method="post"> <input type="hidden" name="s" value="$session[sessionhash]" /> <input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" /> <input type="hidden" name="do" value="dosearch" /> <input type="hidden" name="quicksearch" value="1" /> <div><input type="text" class="bginput" name="text" size="25" tabindex="2003" /><input type="submit" class="button" value="$vbphrase[go]" tabindex="2004" /></div> </form> </td> </tr> <if condition="$vboptions[vbblog_tagging]"> <tr> <td class="vbmenu_option"><a href="blog_tag.php$session[sessionurl_q]" rel="nofollow">$vbphrase[tag_search]</a></td> </tr> </if> <tr> <td class="vbmenu_option"><a href="blog_search.php?$session[sessionhash]do=search">$vbphrase[advanced_search]</a></td> </tr> Code:
<tr> <td class="thead">$vbphrase[search_blogs]</td> </tr> <tr> <td class="vbmenu_option" title="nohilite"> <form action="blog_search.php?$session[sessionurl]do=dosearch" method="post"> <input type="hidden" name="s" value="$session[sessionhash]" /> <input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" /> <input type="hidden" name="do" value="dosearch" /> <input type="hidden" name="quicksearch" value="1" /> <div><input type="text" class="bginput" name="text" size="25" tabindex="2003" /><input type="submit" class="button" value="$vbphrase[go]" tabindex="2004" /></div> </form> </td> </tr> <if condition="$vboptions[vbblog_tagging]"> <tr> <td class="vbmenu_option"><img src="$stylevar[imgdir_misc]/usercp_icons/tag.png"> <a href="blog_tag.php$session[sessionurl_q]" rel="nofollow">$vbphrase[tag_search]</a></td> </tr> </if> <tr> <td class="vbmenu_option"><img src="$stylevar[imgdir_misc]/usercp_icons/cog.png"> <a href="blog_search.php?$session[sessionhash]do=search">$vbphrase[advanced_search]</a></td> </tr> If it would help, maybe I can put together all my edits and release them here or separately. I don't make any pretense of this code being good or optimal; it just works for me on a small forum. |
#235
|
|||
|
|||
Thanks Hugo, I figured it out from that! http://diecastcrazy.com
|
#236
|
|||
|
|||
Nice job - looks great. :up:
|
#237
|
|||
|
|||
Installed. Thanks =]
|
#238
|
||||
|
||||
Waiting for a 3.8 version...
|
#239
|
|||
|
|||
There's a 3.8 version in my post no.229; you can change the icons as you see fit using the instructions I gave above.
Edit: I've attached the icons I use, along with an edited version of demgel's product file for vB 3.8.0; hopefully this will work. (Mods, please remove this if demgel objects.) There are more icons in the zip file than you need because when I get some time I'll try to add the template edits I use to add icons to all menus. |
#240
|
||||
|
||||
Quote:
It would be great if you (or the mod's owner) could post it in vBulletin's 3.8 add-ons forum. For all those who were waiting for the 3.8 version, go ahead, install it. |
#241
|
||||
|
||||
I concur, Hugo's additions work nicely.
One request... Can we get icons for Projects: 'List Subscriptions' and 'Projects'? Thanks! |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|