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)

abdulbasitsaeed 07-07-2011 08:21 AM

For a space, add   as many times as required. :)

Merenguista 07-10-2011 10:50 AM

i'll try this .. thank's ..

spillage 10-31-2011 01:55 AM

For those using vBadvanced Links Directory:

ACP > Styles & Templates > Style Manager > Double arrows on the right of the style you want to edit (Expand Templates) > vBadvanced Links Directory Templates > adv_links_navbar

Find;
Code:

{vb:raw vboptions.vba_links_title}
Add BEFORE (like all other instances);
Code:

<img src="path_of_image" border="0" align="top" alt="" />

Should look like this;
Code:

<a class="navtab" href="{vb:raw vboptions.vba_links_homeurl}/index.php{vb:raw session.sessionurl_q}"><img src="path_of_image" border="0" align="top" alt="" />{vb:raw vboptions.vba_links_title}</a>
Click Save.

spillage 10-31-2011 03:00 AM

For those using Picture and Album Gallery:

ACP > Plugins & Products > Plugin Manager > Gallery navtab popup menu

Find;
Code:

<a href="javascript://" class="popupctrl navtab">
Add AFTER;
Code:

<img src="path_of_image" border="0" align="top" alt="" />

Should look like this;
Code:

<a href="javascript://" class="popupctrl navtab"><img src="path_of_image" border="0" align="top" alt="" />' . $vbphrase['gallery']
Click Save

duketxboy 11-02-2011 01:43 AM

doesn't work on 4.1.5 version keep getting adding child to non-existent node?

spillage 11-03-2011 01:09 AM

It's working fine on 4.1.7 for me.

spillage 11-03-2011 01:21 AM

A further note on using this Mod with vBadvanced Links Directory;
For the images to show when viewing the Links Directory page, you must use the full URL.
ie;
Code:

<img src="/forums/images/misc/Tab-Image.png" border="0" align="top" alt="" />
This applies to all your tabs.

Maxii 12-29-2011 12:08 PM

is it working for 4.1.9?

spillage 02-11-2012 03:11 AM

Working on 4.1.10 for me.

spillage 02-11-2012 11:40 PM

For those using Downloads II:

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

Find;
Code:

{vb:rawphrase downloads2}
Add BEFORE (like all other instances);
Code:

<img src="path_of_image" border="0" align="top" alt="" />
There are two locations within this template to add this code.

Click Save.


All times are GMT. The time now is 11: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
  • Page Generation 0.01191 seconds
  • Memory Usage 1,738KB
  • 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
  • (9)bbcode_code_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