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 - Lazorbeam's Mini Template Mods (https://vborg.vbsupport.ru/showthread.php?t=274778)

Lazorbeam 11-27-2011 11:00 PM

Lazorbeam's Mini Template Mods
 
1 Attachment(s)
Here are a few very minor enhancements you can make to your forum to make things look a little less cluttered and free up some space.

1. Remove php icon from php widgets


https://vborg.vbsupport.ru/external/2011/11/22.png

Open your vbcms_widget_execphp_page template.

Find:

Code:

<h3><img src="{vb:stylevar imgdir_siteicons}/php.png" alt="" /> {vb:raw title}</h3>
Replace with:

Code:

<h3>{vb:raw title}</h3>
2. Remove breadcrumbs from CMS:

https://vborg.vbsupport.ru/external/2011/11/23.png

Open your navbar template.

Note: if you have several categories that describe your website, do not remove the breadcrumbs for SEO purposes. If you have few categories that don't do much in terms of SEO, removing them will not punish you. This also removes

Find:

Code:

<div id="breadcrumb" class="breadcrumb">
        <ul class="floatcontainer">
                <li class="navbithome"><a href="index.php{vb:raw session.sessionurl_q}" accesskey="1"><img src="{vb:stylevar imgdir_misc}/navbit-home.png" alt="{vb:rawphrase home}" /></a></li>

                {vb:raw navbits.breadcrumb}
                {vb:raw navbits.lastelement}
        </ul>
        <hr />
</div>

Replace with:

Code:

<vb:if condition="THIS_SCRIPT != 'vbcms'">
<div id="breadcrumb" class="breadcrumb">
        <ul class="floatcontainer">
                <li class="navbithome"><a href="index.php{vb:raw session.sessionurl_q}" accesskey="1"><img src="{vb:stylevar imgdir_misc}/navbit-home.png" alt="{vb:rawphrase home}" /></a></li>

                {vb:raw navbits.breadcrumb}
                {vb:raw navbits.lastelement}
        </ul>
        <hr />
</div>
</vb:if>

3. CMS Separator Glow

The default CMS content separator is lame, and some users have even complained that it's so unnoticeable that they don't know where an article starts or ends. Adding a glow effect fixes this problem AND makes your CMS look great. The separator is actually not a line - it's a dashed border for the top portion of each post's div element. Screenie:

https://vborg.vbsupport.ru/external/2011/11/24.png

This can't be done through stylevars, as they don't offer enough options (vbcms_content_separator will become obsolete).

Go to vbcms.css and find

Code:

.cms_separator {
        border-top: {vb:stylevar vbcms_content_separator};
}

For the first effect, change it to:

Code:

.cms_separator {
        border-top-width:1px;
        border-top-style:solid;
        border-top-color:#777777;
        -moz-box-shadow:  0 -8px 6px -8px #4195fc, inset 0 8px 6px -8px #4195fc !important;
        -webkit-box-shadow: 0 -8px 6px -8px #4195fc, inset 0 8px 6px -8px #4195fc !important;
        box-shadow: 0 -8px 6px -8px #4195fc, inset 0 8px 6px -8px #4195fc !important;
}

!important is required because additional.css has a !important tag for all elements and defines no glow. I'm not sure why.

For the second effect, change it to:

Code:

.cms_separator {
        border-top-width:1px;
        border-top-style:solid;
        border-top-color:#777777;
        -moz-box-shadow: inset 0 8px 6px -8px #FFFFFF !important;
        -webkit-box-shadow: inset 0 8px 6px -8px #FFFFFF !important;
        box-shadow: inset 0 8px 6px -8px #FFFFFF !important;
}

More cool effects can be achieved using the shadow technique, play around with the colors and see what you can get!

------

I will add more as I continue to make changes to my forums.

Dr.osamA 11-28-2011 09:40 PM

thank you bro
installed

Gonzales 11-29-2011 01:54 AM

thanks very much, is good tip.

doctorsexy 11-29-2011 12:41 PM

} is missing from the end of your code from the CMS Separator Glow.... installed... thanks... looks better

doctorsexy 11-29-2011 12:59 PM

is it possible to do the same with the html as with the php widget.... thanks

Lazorbeam 11-29-2011 02:16 PM

Quote:

Originally Posted by doctorsexy (Post 2273020)
} is missing from the end of your code from the CMS Separator Glow.... installed... thanks... looks better

Well you don't touch that part of the code so technically it's not missing :P. I'll add it though.

Quote:

Originally Posted by doctorsexy (Post 2273025)
is it possible to do the same with the html as with the php widget.... thanks

Open your vbcms_widget_static_page template and remove:

Code:

<img src="{vb:stylevar imgdir_siteicons}/html.png" alt="" />

beckham_250 11-30-2011 05:44 AM

Thansks

xabo 12-01-2011 06:43 PM

How to remove the "forumname/home" that apperars on the top of the CMS always?

strudinox 12-05-2011 04:27 PM

I really liked the glowing separator. Nice touch, thanks!

deverill2010 02-06-2012 05:43 PM

I have changed the article seperator to your second option but nothing is different on the front end?


All times are GMT. The time now is 01:16 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.01251 seconds
  • Memory Usage 1,739KB
  • 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
  • (8)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete