Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Template Modifications
Lazorbeam's Mini Template Mods Details »»
Lazorbeam's Mini Template Mods
Version: 1.00, by Lazorbeam Lazorbeam is offline
Developer Last Online: Oct 2017 Show Printable Version Email this Page

Category: Mini Mods - Version: 4.1.x Rating:
Released: 11-27-2011 Last Update: Never Installs: 17
Template Edits
 
No support by the author.

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




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:



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:



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.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
3 благодарности(ей) от:
CharlieDelta, dorans, Toorak Times

Comments
  #2  
Old 11-28-2011, 09:40 PM
Dr.osamA's Avatar
Dr.osamA Dr.osamA is offline
 
Join Date: Aug 2004
Location: Syrie
Posts: 979
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thank you bro
installed
Reply With Quote
  #3  
Old 11-29-2011, 01:54 AM
Gonzales Gonzales is offline
 
Join Date: Nov 2011
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks very much, is good tip.
Reply With Quote
  #4  
Old 11-29-2011, 12:41 PM
doctorsexy's Avatar
doctorsexy doctorsexy is offline
 
Join Date: Mar 2011
Location: earth
Posts: 383
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

} is missing from the end of your code from the CMS Separator Glow.... installed... thanks... looks better
Reply With Quote
  #5  
Old 11-29-2011, 12:59 PM
doctorsexy's Avatar
doctorsexy doctorsexy is offline
 
Join Date: Mar 2011
Location: earth
Posts: 383
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is it possible to do the same with the html as with the php widget.... thanks
Reply With Quote
  #6  
Old 11-29-2011, 02:16 PM
Lazorbeam Lazorbeam is offline
 
Join Date: Aug 2010
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by doctorsexy View Post
} 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 View Post
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="" />
Reply With Quote
2 благодарности(ей) от:
CaneInsider, doctorsexy
  #7  
Old 11-30-2011, 05:44 AM
beckham_250 beckham_250 is offline
 
Join Date: Dec 2008
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thansks
Reply With Quote
  #8  
Old 12-01-2011, 06:43 PM
xabo xabo is offline
 
Join Date: Apr 2010
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How to remove the "forumname/home" that apperars on the top of the CMS always?
Reply With Quote
  #9  
Old 12-05-2011, 04:27 PM
strudinox's Avatar
strudinox strudinox is offline
 
Join Date: Mar 2010
Location: California
Posts: 147
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I really liked the glowing separator. Nice touch, thanks!
Reply With Quote
  #10  
Old 02-06-2012, 05:43 PM
deverill2010 deverill2010 is offline
 
Join Date: Jan 2011
Posts: 412
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:16 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.05498 seconds
  • Memory Usage 2,311KB
  • Queries Executed 24 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (8)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (5)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete