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 03-01-2011 03:47 PM

You may show your thanks by clicking "Mark as Installed", Mikevet1984. ;)

Mikevet1984 03-01-2011 03:59 PM

Of course, done!

Forgive me for the delay!

One more request please....

How can we find he navbar template of the buttons if a user adds more tabs than the default ones? I use this modification https://vborg.vbsupport.ru/showthread.php?t=228507 to add more tabs in my forum. How can I find the template needed to to alter the script for new icons to be added?

You may change the instructions of you like just like the ones in post number 49 as this was the way that helped me understand what I have to alter in the templates for the icons to appear!

OldSchoolDSL 03-01-2011 11:28 PM

Would be wonderful if I could get this to work with:

https://vborg.vbsupport.ru/showthread.php?t=237931

abdulbasitsaeed 03-02-2011 12:54 AM

Quote:

Originally Posted by Mikevet1984 (Post 2168300)
Of course, done!

Forgive me for the delay!

One more request please....

How can we find he navbar template of the buttons if a user adds more tabs than the default ones? I use this modification https://vborg.vbsupport.ru/showthread.php?t=228507 to add more tabs in my forum. How can I find the template needed to to alter the script for new icons to be added?

You may change the instructions of you like just like the ones in post number 49 as this was the way that helped me understand what I have to alter in the templates for the icons to appear!

No problem, and thank you. :)

I use vBH-Add new tabs as well and adding an icon to its tabs is actually easier than the template modifications outlined above. :)

In your Admin Control Panel, go to Settings > Options > vBH New Tabs Options. This is the code that I am using for my added tab.

Code:

<img  src="path_of_image" border="0" align="top" /> Text for Tab|URL for Tab=>blank
That's all that there's to it. Let me know whether it works for you or not. :)

abdulbasitsaeed 03-02-2011 12:57 AM

Quote:

Originally Posted by OldSchoolDSL (Post 2168464)
Would be wonderful if I could get this to work with:

https://vborg.vbsupport.ru/showthread.php?t=237931

I'm afraid I don't have that installed at my end. Perhaps you could give me admin access to your site and I could have a look around. Hopefully, it shouldn't be that hard. :)

Mikevet1984 03-02-2011 08:34 AM

Thank you one more time abdulbasitsaeed for sharing your tricks with us....

I was wondering if the same thing can be done with the links under the Navbar.

abdulbasitsaeed 03-02-2011 08:51 AM

I'm afraid that is out of the scope of this article. :)

The tabs all have unique names coded as phrases. However, links in the navbar are not unique per se. One can change the name of any link to anything else.

OldSchoolDSL 03-09-2011 09:34 PM

Quote:

Originally Posted by abdulbasitsaeed (Post 2168509)
I'm afraid I don't have that installed at my end. Perhaps you could give me admin access to your site and I could have a look around. Hopefully, it shouldn't be that hard. :)

I'll be switching host soon. I'll give you access once I move host (allowing you to do what ever you want on the old host).

Mikevet1984 03-09-2011 09:44 PM

Hello,

I added this modification for user notes https://vborg.vbsupport.ru/showthread.php?t=247552

and one more tab appeared in the navbar!

Could sb please inform me which is the Navbar template of this mod to add an icon to this mod tab?

abdulbasitsaeed 03-11-2011 02:24 AM

Quote:

Originally Posted by Mikevet1984 (Post 2171627)
Hello,

I added this modification for user notes https://vborg.vbsupport.ru/showthread.php?t=247552

and one more tab appeared in the navbar!

Could sb please inform me which is the Navbar template of this mod to add an icon to this mod tab?

Go to Admin Control Panel > Plugins & Products > Plugin Manager.

Here, under Product : IB myNotes, click Navbar Button.

Edit the last line of the code as follows:

Code:

<a href="forum.php?do=shownotes&amp;product=notes"  class="navtab"><img src="path_of_image" border="0" align="top" alt="" />My Notes</a></li>';


All times are GMT. The time now is 08:07 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.01168 seconds
  • Memory Usage 1,745KB
  • 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
  • (2)bbcode_code_printable
  • (4)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