vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Box above forums (https://vborg.vbsupport.ru/showthread.php?t=317804)

K4GAP 03-19-2015 06:04 PM

Quote:

Originally Posted by cellarius (Post 2540885)
There are no grids in forumhome.

I guess that's why I never did it :D

Let us know if you find a way to do it.

HM666 03-20-2015 12:28 AM

1 Attachment(s)
Ok sorry for the late reply.

To add a box you can do the following.

Go to Styles & Templates > Style Manager. Find the skin you want to make changes in on the right side of your screen. Click the drop down menu and choose "Edit Templates". Find the FORUMHOME template and open it.

Find:

Code:

<ol id="forums" class="floatcontainer">
Replace with:

Code:

<ol id="forums" class="floatcontainer">
          <div class="homebox">Some nice text here. You could add text or just add your image as below:<br /><br /><img src="http://lenmkaiser.com/images/seagull.jpg" alt="Len M. Kaiser Photography Seagull" /></div>

Click the "save" button. Now open additional.css and add at the bottom:

Code:

.homebox {
background-color:#ffffff;
overflow:hidden;
border:1px solid #cccccc;
padding:10px;
text-align:center;
}

And click the "save" button. Your box should be there now. Of course you will need to change the text or take it out completely and change the picture you want to use in that area from mine to yours. I'm assuming you know some HTML and can handle making those changes, if not then let me know and I can help you further. I've attached a screen shot of what it looks like on my dev site. You can see it in THIS link as well.

lawstudenthub 03-20-2015 08:20 PM

Quote:

Originally Posted by HM666 (Post 2540964)
Ok sorry for the late reply.

To add a box you can do the following.

Go to Styles & Templates > Style Manager. Find the skin you want to make changes in on the right side of your screen. Click the drop down menu and choose "Edit Templates". Find the FORUMHOME template and open it.

Find:

Code:

<ol id="forums" class="floatcontainer">
Replace with:

Code:

<ol id="forums" class="floatcontainer">
          <div class="homebox">Some nice text here. You could add text or just add your image as below:<br /><br /><img src="http://lenmkaiser.com/images/seagull.jpg" alt="Len M. Kaiser Photography Seagull" /></div>

Click the "save" button. Now open additional.css and add at the bottom:

Code:

.homebox {
background-color:#ffffff;
overflow:hidden;
border:1px solid #cccccc;
padding:10px;
text-align:center;
}

And click the "save" button. Your box should be there now. Of course you will need to change the text or take it out completely and change the picture you want to use in that area from mine to yours. I'm assuming you know some HTML and can handle making those changes, if not then let me know and I can help you further. I've attached a screen shot of what it looks like on my dev site. You can see it in THIS link as well.

Just tested it - it works. Many thanks :)

HM666 03-20-2015 09:31 PM

You are welcomed :)


All times are GMT. The time now is 12:15 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.01772 seconds
  • Memory Usage 1,728KB
  • 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
  • (6)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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