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)
-   -   Forum Home Enhancements - Spice Up Your Forum Look. Rounded Corners For All Browsers (https://vborg.vbsupport.ru/showthread.php?t=242968)

borbole 05-19-2010 10:00 PM

Spice Up Your Forum Look. Rounded Corners For All Browsers
 
1 Attachment(s)
This will give your forum the cool rounded corners in all the browsers spiced up with the cool shadow.


At the header template add the following code at the top, above everything:

HTML Code:

<div class="header">
<div class="headerleft">
<div class="headerright">
</div>
      </div>
            </div>
<div id="allwrapper"><!-- closing tag is in footer template -->


At the navbar template, find the following code and either remove it or comment it out:

HTML Code:

<div class="body_wrapper">

Att the footer template find the following code and either remove it or comment it out:

Code:

</div> <!-- closing div for body_wrapper -->
Then, at the very end add the following code:

HTML Code:

</div><!-- closing div for allwrapper -->
<div class="footerround">
<div class="footerleft">
<div class="footerright">
</div>
    </div>
          </div>




And as last but not least, at the additional.css template add the following code:


Code:

/* Rounded corners in Vb */

.header{
padding : 0;
margin : 0;
background : url(images/misc/header.png) repeat-x;
height : 46px;
}

.headerleft  {
padding : 0;
margin : 0;
background : url(images/misc/headerleft.png) no-repeat 0% 0%;
height : 46px;
}
.headerright {
padding : 0;
margin : 0;
background : url(images/misc/headerright.png) no-repeat 100% 0%;
height : 46px;
}

#allwrapper  {
background : #FFFFFF;
padding : 0 14px 0 14px;
}

.footerround {
padding : 0;
margin : 0;
background : url(images/misc/footer.png) repeat-x;
height : 106px;
}

.footerleft  {
padding : 0;
margin : 0;
background : url(images/misc/footerleft.png) no-repeat 0% 0%;
height : 106px;
}
.footerright {
padding : 0;
margin : 0;
background : url(images/misc/footerright.png) no-repeat 100% 0%;
height : 106px;
}


Then upload the images at the misc folder in your images directory.



A screenshot with the end result and the images are atatched below.

denman75 05-20-2010 02:34 PM

thanks looking good :)

GamerPerfection 05-20-2010 03:27 PM

Thanks for this, looks good on my test site. Only thing is that on CMS this affects the page title too on each section.

EDIT: I just noticed this is in Forum Home Enchancements. my bad.

COL NIL SATIS 05-20-2010 07:50 PM

tagged....will install this tomorrow ...looks fantastic by the way ,awesome stuff Borbole

joomla 05-20-2010 08:09 PM

was wonderful, thank you

borbole 05-20-2010 08:19 PM

Thank you for your feedbacks/comments guys. Glad to see that you like it :)

kmohamed 05-20-2010 11:23 PM

thanx is great but i am trying to reduce the amount of images in my site because it has a great impact on the site speed
but i really luv it
tag for latter use

julaga 05-21-2010 12:16 AM

cool. it works man

GamerPerfection 05-21-2010 08:28 AM

Quote:

Originally Posted by borbole (Post 2040758)
Thank you for your feedbacks/comments guys. Glad to see that you like it :)

Are you able to do it for CMS?

borbole 05-21-2010 01:42 PM

Quote:

Originally Posted by kmohamed (Post 2040862)
thanx is great but i am trying to reduce the amount of images in my site because it has a great impact on the site speed
but i really luv it
tag for latter use

Those images shouldn''t have any affect on forum speed and performance. think of it like more or less installing a new theme, but much lighter.

Quote:

Originally Posted by julaga (Post 2040891)
cool. it works man

Glad to hear it. Enjoy it :)

Quote:

Originally Posted by funmasti (Post 2041105)
it's really cool

Thanks.

Quote:

Originally Posted by clarkey25 (Post 2041167)
Are you able to do it for CMS?

It shouldn''t be too hard but the thing is that I don''t use the cms to test it.


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