vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Mini Mods - Add Icons to the Navigation Bar Tabs (https://vborg.vbsupport.ru/showthread.php?t=240138)

BioWaffen 10-06-2010 06:31 PM

I have a question:
Is it possible that I can see all 4 Images, no matter in which of those 4 tabs I am?
Because if I use the CMS for example, I can only see the home button (and not the other ones)
when I use the Forum, I can only see the forum button (and not the other ones)
I guess it needs more templates to edit, but which ones?

With best regards
BioWaffen

thanasis1 10-13-2010 05:18 PM

where can we find well desinged icons??

risky91 10-15-2010 11:26 PM

Anyone have a tip on how to apply this to the tabs created by Sstab mod by vBSoporte?

motorola 12-25-2010 06:12 PM

Its this good for vb4.1.0 PL2?

OldSchoolDSL 12-27-2010 08:48 PM

Quote:

Originally Posted by motorola (Post 2138975)
Its this good for vb4.1.0 PL2?

I'm going to guess, no. I could not find the complete code needed in 4.1 PL2

An example is my vbcms_navbar_link seems different.

PHP Code:

<vb:if condition="$vboptions['selectednavtab'] == 'vbcms'">
<
li class="selected">
    <
vb:if condition="$vboptions['vbcms_url']">
        <
class="navtab" href="{vb:raw vboptions.vbcms_url}{vb:raw session.sessionurl_q}">{vb:rawphrase site}</a>
    <
vb:else />
        <
class="navtab" href="{vb:raw vboptions.site_tab_url}{vb:raw session.sessionurl_q}">{vb:rawphrase site}</a>
    </
vb:if>
    <
ul class="floatcontainer">
        {
vb:raw template_hook.vbcms_navbar_start}
        <
vb:if condition="$links">
            <
vb:each from="links" value="link">
                <
li><a href="{vb:raw link.url}">{vb:raw link.title}</a></li>
            </
vb:each>
        <
vb:else />
            <
li class="hidden">&nbsp;</li>
        </
vb:if>
        {
vb:raw template_hook.vbcms_navbar_end}
    </
ul>
</
li>
<
vb:else />
    <
li>
    <
vb:if condition="$vboptions['vbcms_url']">
        <
class="navtab" href="{vb:raw vboptions.vbcms_url}{vb:raw session.sessionurl_q}">{vb:rawphrase site}</a>
    <
vb:else />
        <
class="navtab" href="{vb:raw vboptions.site_tab_url}{vb:raw session.sessionurl_q}">{vb:rawphrase site}</a>
    </
vb:if>
    </
li>
</
vb:if> 


horussjr 01-24-2011 05:04 PM

update to 4.1.1?

OldSchoolDSL 01-25-2011 02:26 AM

Quote:

Originally Posted by horussjr (Post 2153917)
update to 4.1.1?

I 2nd the question

Please & thank you

OldSchoolDSL 01-25-2011 09:45 PM

Installed (kind of)

4.1.1

I have all the icons listed showing, except the HOME icon only shows on the CMS page & no where else.

Will attempt to learn how to apply this on a few other tabs I have.

abdulbasitsaeed 01-26-2011 12:13 AM

Ok, I'll be honest with you guys. I have not upgraded to 4.1.1 (still at 4.0.6), so can't really test this anymore but I'll try to guide you guys a bit in the hope that you'll be able to manage the rest. :)

"Home" Tab:

In your Admin Control Panel (ACP), go to:

ACP > Styles & Templates > Style Manager > Double arrows on the right of the style you want to edit (Expand Templates) > vBulletin CMS Templates > vbcms_navbar_link

In this template, look for the text {vb:rawphrase site} and insert the code given below BEFORE this text, wherever and as many times as you find it.

Code:

<img src="path_of_image" border="0" align="top" alt="" />
Remember to press "Save" after making these changes to the template.
------------------------------

"Forum" Tab:

In your Admin Control Panel (ACP), go to:

ACP > Styles & Templates > Style Manager > Double arrows on the right of the style you want to edit (Expand Templates) > Navigation / Breadcrumb Templates > navbar

In this template, look for the text {vb:rawphrase forum} and insert the code given below BEFORE this text, wherever and as many times as you find it.

Code:

<img src="path_of_image" border="0" align="top" alt="" />
Remember to press "Save" after making these changes to the template.
------------------------------


"Blogs" Tab:

In your Admin Control Panel (ACP), go to:

ACP > Styles & Templates > Style Manager > Double arrows on the right of the style you want to edit (Expand Templates) > Blog Templates > blog_navbar_link

In this template, look for the text {vb:rawphrase blogs} and insert the code given below BEFORE this text, wherever and as many times as you find it.

Code:

<img src="path_of_image" border="0" align="top" alt="" />
Remember to press "Save" after making these changes to the template.
------------------------------

"What's New" Tab:

In your Admin Control Panel (ACP), go to:

ACP > Styles & Templates > Style Manager > Double arrows on the right of the style you want to edit (Expand Templates) > Navigation / Breadcrumb Templates > navbar

In this template, look for the text {vb:rawphrase getnew_tab} and insert the code given below BEFORE this text, wherever and as many times as you find it.

Code:

<img src="path_of_image" border="0" align="top" alt="" />
Remember to press "Save" after making these changes to the template.
------------------------------

OldSchoolDSL 01-26-2011 03:21 AM

Confirmed.

Was basically what I did on mine. Was going to report the fix, but you got to it before me. lol

Installed & working

4.1.1


All times are GMT. The time now is 04:58 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
  • Page Generation 0.01040 seconds
  • Memory Usage 1,763KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (1)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete