vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=236)
-   -   Mini Mods - EASY - Better Looking Site Navigation Bar (https://vborg.vbsupport.ru/showthread.php?t=231732)

soulnothing 12-30-2009 10:00 PM

EASY - Better Looking Site Navigation Bar
 
1 Attachment(s)
https://vborg.vbsupport.ru/external/2009/12/5.png

First go to vBa CMPS> Add Module> Template Module

Module Title - Site Nav
Active - Yes
Template to incude - site_nav
Style - Highlight Your Style
Template Content - (This is just an example of one if you want a full list. then download the text file)
Code:

<tr><td class="alt2">
<table border="1" cellspacing="0" cellpadding="3" width="184" class="portalnav">
<thead><tr><td class="tcat" colspan="2"><center>Your Header</center></td></thead>
<tr><td bgcolor="#f2f0f0" width="100%" onclick="window.location='http://www.Your-Website- URL.org'" style="cursor:pointer; background-color:#f2f0f0" onmouseover="this.style.backgroundColor='#e8e8e8';" onmouseout="this.style.backgroundColor='#f2f0f0';"><span class="portalnav"><img hspace="4" src="http://www.Your-Icon-Url.com/image.png" width="16" height="16" border="0" align="top">Home</span></td></tr></table>

Everything in red you will need to change to what you want it to say and your URLs.
Everything in blue you will need to put what color you want.
In Pink is the width size... you may wanta play around with it a little to set it to your likings or just change it to width="100%"
</table> needs to stay at the very end of your code.
The header colors will be according to what you have on your CSS style sheet.
To edit that you got to Styles & templates> Style Manager> "YOUR STYLE" and select Main CSS in your drop down box. Then find Category Strips... Background will be the color you want to change.

https://vborg.vbsupport.ru/external/2009/12/6.png

to edit this go to Styles and templates> Style Manger > "YOUR STYLE" and select edit templates in your drop down box. Then look for adv_portal_site_nav and double click it (should be up top)

https://vborg.vbsupport.ru/external/2009/12/7.png

Demos: www.extreme-gamers.org
Unofficial Demo: http://nextgenerationgamers.co.uk/

Please Mark as Installed if You Use This

Mod Made By: JarHeaD

soulnothing 12-31-2009 12:22 AM

Reserved........................

Frank Sinatra 12-31-2009 04:05 AM

thanks looks nice, lets try it

soulnothing 12-31-2009 08:54 AM

thank you

betts02 12-31-2009 09:26 AM

great mod mate cheers, just 1 thing ? how do i make the text blacker or darker ? check my site to see, just editing it slowly

NAZIA 12-31-2009 01:53 PM

reserved.. tagging this mod

soulnothing 12-31-2009 07:41 PM

Quote:

Originally Posted by betts02 (Post 1943250)
great mod mate cheers, just 1 thing ? how do i make the text blacker or darker ? check my site to see, just editing it slowly

well the font color is gonna be according to what your default is but you can make it bold or whatever color with simple html around the header names or button names
example of makin it bold

Code:

<tr><td bgcolor="#f2f0f0" width="100%" onclick="window.location='http://www.your-page.org'" style="cursor:pointer; background-color:#f2f0f0" onmouseover="this.style.backgroundColor='#e8e8e8';" onmouseout="this.style.backgroundColor='#f2f0f0';"><span class="portalnav"><img hspace="4" src="http://your-image.com" width="16" height="16" border="0" align="top"><b>Home</b></span></td></tr>
if you dont know much about html .. you can google it and find out the color codes and html codes for color

edit: ok yeah i went to your page and its using your default text color soo all you need to do is add <font color="000000">Home</font> for example on the first button....
and please dont use the exact same icons lol i dont mine u usin some of them but the exact same thing is a lil odd lol

betts02 12-31-2009 09:08 PM

the icons will be coming off mate, just edited some link tops to see it working, most of the images dont work with what i need anyway mate and personally i wont use any images

thanks for the reply

soulnothing 12-31-2009 10:20 PM

no problem ... did you understand what i was meaning by the font color???

Taurus1 01-01-2010 03:41 AM

Very nice thank you. Is it possible for the background to take on the color from different styles? I have some light and dark styles. Thank you.

soulnothing 01-01-2010 04:05 AM

Quote:

Is it possible for the background to take on the color from different styles?
well as for the header bars they will take on whatever color your style that your viewing in has the setting in the Main CSS so that would be coordinated with the styles.... as far as the buttons unfortunately no

kmohamed 01-01-2010 05:04 AM

looks great thats in my list... thanx

COL NIL SATIS 01-01-2010 12:53 PM

will have a blast at this later!! looks cool

ProFifaLeagues 01-02-2010 07:55 AM

Looks great and will be having a try at this today.
Thanks for the info soulnothing top work.

ProFifaLeagues 01-02-2010 11:48 AM

Looks great superb edit and easy to follow thanks!

soulnothing 01-02-2010 12:12 PM

Quote:

Thanks for the info soulnothing top work.
lol well actually this is jarhead... i have to use his account cuz i dont remember my pw and i dont have my old email anymore.... but np

COL NIL SATIS 01-02-2010 01:44 PM

Quote:

Originally Posted by rammieone (Post 1944877)
Looks great superb edit and easy to follow thanks!

Nice one Rob...!! looks great on the site ...top stuff:)

s-p0k 01-03-2010 02:16 AM

nice one been looking for this..much more better then an sidebar hack....but one Q i don't have the vBa CMPS in my ACP...!! any help?

soulnothing 01-03-2010 03:28 AM

im not sure man.... usually i would know what to do but on sidebars i dunno you would prbably have to install a sidebar hack first then place the code in it.... without vba you dont have sidbar options do u????

s-p0k 01-03-2010 03:31 AM

Quote:

Originally Posted by soulnothing (Post 1945572)
im not sure man.... usually i would know what to do but on sidebars i dunno you would prbably have to install a sidebar hack first then place the code in it

ok..i have a sidebar already..but would to do this..but don't have the vBa CMPS

soulnothing 01-03-2010 03:33 AM

you dont have to do the other.... make you a thing like the advertisement bar that has the welcome thing in it and call it site nav or something and then just paste the code

s-p0k 01-03-2010 03:36 AM

Quote:

Originally Posted by soulnothing (Post 1945577)
you dont have to do the other.... make you a thing like the advertisement bar that has the welcome thing in it and call it site nav or something and then just paste the code

o..ok ty..so in the code.txt..all i have to do is change all the links in it to my site right?

soulnothing 01-03-2010 03:40 AM

yeah and the icon links ... you will be able to tell the difference oh and the button names and header names ... pretty much just edit it... i did the hard work for you ;)

Ray2khax 01-08-2010 05:10 PM

Hey, I was wondering how would you go around doing this for the actual "formhome" navbar?

soulnothing 01-12-2010 07:53 AM

im not sure what you mean.... do you mean without vBa

jldrake 07-19-2010 02:55 AM

Delete Me.

Hellmaster 07-19-2010 05:06 AM

I need a floating navigation bar, hide/unhide from left... like this, but floating, over the forums, I don't want to make forums even thinner-


All times are GMT. The time now is 07:14 PM.

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.01165 seconds
  • Memory Usage 1,774KB
  • 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
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (27)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete