vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Styles (https://vborg.vbsupport.ru/forumdisplay.php?f=237)
-   -   Mister Dutty, Tutty, Gutty & Nutty - Dark (https://vborg.vbsupport.ru/showthread.php?t=217103)

Ronald0 07-11-2009 06:20 AM

Your skin here is very nice. one question, the online and offline colors of the user, how can i change them? like they are grey.

I want online green and offline red.

Sofia 07-12-2009 01:09 AM

Quote:

Originally Posted by mikey1991 (Post 1846722)
How do I center the navbar? I've been through the CSS and tried doing it in the header itself but it just won't center :confused:

Great work sofia. :) :)

++

Hi Mikey. I think you can't, I use <ul> and <li> for the nav buttons.

Quote:

Originally Posted by Ronald0 (Post 1846797)
Your skin here is very nice. one question, the online and offline colors of the user, how can i change them? like they are grey.

I want online green and offline red.

humm... Tomorrow, I'll create you the PSD for the online/offline status.

Good night. :)

Ronald0 07-12-2009 01:13 AM

Ohhh alright, i didnt know if it was codes in the CSS or not. But you cant center the navbar? i tried doing this also and it did not work?

klaush 07-12-2009 08:32 PM

Thanks! Fantastic job!

Sofia 07-12-2009 09:16 PM

1 Attachment(s)
Quote:

Originally Posted by Ronald0 (Post 1846797)
Your skin here is very nice. one question, the online and offline colors of the user, how can i change them? like they are grey.

I want online green and offline red.


PSD in this post....

Ronald0 07-12-2009 09:44 PM

Thanks, now can you explain why i cant center the navbar?

Sofia 07-12-2009 10:26 PM

Quote:

Originally Posted by Ronald0 (Post 1847700)
Thanks, now can you explain why i cant center the navbar?

CSS are incompatible and I use <ul> and <li> to display the nav buttons.

Ronald0 07-12-2009 11:05 PM

Alright so is there a possibility that i can center it? like i did on the rest of my skins?

Also i need the OFFLINE psd please.

mikey1991 07-14-2009 05:27 AM

Hmmmm.

I used CSS <UL> and <LI> in my simpleblue skin, and that is centered.

@Sofia:

I used this css for my simpleblue menu (Which is centered):

Code:

#menu {
        float: left;
        width: 950px;
        height: 58px;
        background: url(path/to/image/img.jpg) repeat-x left;
}

#menu ul {
        margin: 0;
        padding: 20px 0 0 18px;
        list-style: none;
        line-height: normal;
}

#menu li {
        float: left;
        text-align: center bottom;
}

#menu a {
        display: block;
        padding: 0 20px;
        background: url(path/to/image/img.jpg) no-repeat right 50%;
        text-decoration: none;
        font-size: 14px;
        color: #FFFFFF;
}

#menu a:hover {
        color: #FFFFFF;
}

#menu .current_page_item a {
        color: #FFFFFF;
}

is there any of that code which you could add to your CSS?

@ronald0: don't add above CSS to this skin, it's for sofia.

Sofia 07-14-2009 09:38 AM

Quote:

Originally Posted by mikey1991 (Post 1848437)
Hmmmm.

I used CSS <UL> and <LI> in my simpleblue skin, and that is centered.

@Sofia:

I used this css for my simpleblue menu (Which is centered):
is there any of that code which you could add to your CSS?

@ronald0: don't add above CSS to this skin, it's for sofia.

Hi Mikey.

Yes, but you just set a width.

Try this (I don't test it)

Replace all your additional CSS by:

Code:

.center_nomember {
background:url(images/Gutty/gradients/menu.jpg) repeat;
    width: 675px;
    height: 31px;
margin: 0 auto;
    }
.center2 {
    background:url(images/Gutty/gradients/menu.jpg) repeat;
    height: 31px;
margin: 0 auto;
    }
.center {
background:url(images/Gutty/gradients/menu.jpg) repeat;
    width: 850px;
    height: 31px;
margin: 0 auto;
    }
.menu ,.menu ul {
margin: 0px 0px;
padding: 0px;
list-style: none;
height:31px;

font: bold 8pt tahoma, verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
}
.menu a {
color: #FFFFFF;
width: 80px;
display: block;
font-weight: normal;
padding: 8px 10px 10px 10px;
text-decoration: none;
font: bold 8pt tahoma, verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
border-right: 1px solid #198049;
text-align: center;
}   
.menu a:hover {
    background:url(images/Gutty/gradients/menuhov.jpg) repeat-x;
    color: #FFFFFF;
    display: block;
    text-decoration: none;
    }
.menu li {
    float: left;
    margin: 0px 0 0px 0;
    padding: 0px;
    }   
.menu li li {
    float: left;
    margin: 0px 0px 0px 5px;
    padding: 0px;
    width: 130px;
    }   
.menu li li a, .menu li li a:link, .menu li li a:visited {
    background:url(images/Gutty/gradients/menu.jpg) repeat-x;
    width: 150px;
    float: none;
    margin: 0px;
    padding: 4px 10px 0px 10px;
    color:#fff;
text-decoration: none;
    }
.menu li li a:hover, .menu li li a:active {
    background:url(images/Gutty/gradients/menuhov.jpg) repeat-x;
    width: 150px;
    float: none;
    margin: 0px;
    padding: 8px 10px 0px 10px;
    color: #FFFFFF;
    }
.menu li ul {
    position: absolute;
    width: 10em;
    left: -999em;
    z-index:1;
    }
.menu li:hover ul {
    left: auto;
    display: block;
    }
.menu li:hover ul, .menu li.sfhover ul {
    left: auto;
    }

I use Gutty, but replace links by the name of your style (Dutty / Tutty / Nutty)

In the header template:

HTML Code:

<!-- NAV BUTTONS -->
<div class="center2" width="100%">
<if condition="$show['member']">
<div class="center" height="31"><else /><div class="center_nomember" height="31"></if>
<div width="100%" class="menu">

        <ul>
<if condition="$show['member']">
<li style="border-left: 1px solid #198049;"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></li>
</if>

<if condition="$show['registerbutton']">
<li style="border-left: 1px solid #198049;"><a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></li>
</if>

$template_hook[navbar_buttons_left]

<li><a rel="help" href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></li>

<if condition="$show['communitylink'] AND $show['popups']">
<li><a id="community" href="$show[nojs_link]#community" rel="nofollow" accesskey="6">$vbphrase[community]</a><script type="text/javascript"> vbmenu_register("community", true); </script></li>
        <else />
<if condition="$show['memberslist']">
<li><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></li>
</if>
<if condition="$show['quick_links_groups']">
<li><a href="group.php?$session[sessionurl]">$vbphrase[social_groups]</a></li>
</if>
</if>

<li><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></li>

<if condition="$show['popups']">
            <if condition="$show['searchbuttons']">
                <if condition="$show['member']">
                <li><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></li>
                <else />
                <li><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></li>
                </if>
                <li><a id="navbar_search" href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[search]</a> <if condition="$show['quicksearch']"><script type="text/javascript"> vbmenu_register("navbar_search", true); </script></if></li>
            </if>
            <if condition="$show['member']">
                <li><a id="usercptools" href="$show[nojs_link]#usercptools" accesskey="3">$vbphrase[quick_links]</a> <script type="text/javascript"> vbmenu_register("usercptools", true); </script></li>
            </if>
        <else />
            <if condition="$show['searchbuttons']">
                <li><a href="search.php$session[sessionurl_q]" accesskey="4">$vbphrase[search]</a></li>
                <if condition="$show['member']">
                <li><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></li>
                <else />
                <li><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></li>
                </if>
            </if>
            <li><a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a></li>
            <if condition="$show['member']">
                <li><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&amp;focus=1','buddylist','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=250,height=300'); return false;">$vbphrase[open_contacts]</a></li>
            </if>
        </if>


$template_hook[navbar_buttons_right]

<if condition="$show['member']">
<li><a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out('$vbphrase[sure_you_want_to_log_out]')">$vbphrase[log_out]</a></li>
</if>

</ul>
</div>
</div></div>
<!-- /NAV BUTTONS -->



All times are GMT. The time now is 12:48 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.01117 seconds
  • Memory Usage 1,787KB
  • 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
  • (1)bbcode_html_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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