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 - Seperate Icon Legend from the What''s going on section. (https://vborg.vbsupport.ru/showthread.php?t=240891)

borbole 04-19-2010 10:00 PM

Seperate Icon Legend from the What''s going on section.
 
1 Attachment(s)
This is a small modification that will seperate your Icon Legend from the What''s going on, giving it a block of its own. It makes for a better and neater look in my opinion.

Anyway, at the FORUMHOME template, find and remove the code for the legend part:

HTML Code:

<div id="wgo_legend" class="wgo_subblock">
                                <h3><img src="{vb:stylevar imgdir_misc}/legend.png" alt="{vb:rawphrase icon_legend}" />{vb:rawphrase icon_legend}</h3>
                                <div>
                                        <dl id="icon_legends" class="icon_legends">
                                                <dt><img src="{vb:stylevar imgdir_statusicon}/forum_new-16.png" alt="{vb:rawphrase new_posts_forum}" /></dt><dd>{vb:rawphrase new_posts_forum}</dd>
                                                <dt><img src="{vb:stylevar imgdir_statusicon}/forum_old-16.png" alt="{vb:rawphrase no_new_posts_forum}" /></dt><dd>{vb:rawphrase no_new_posts_forum}</dd>
                                                <dt><img src="{vb:stylevar imgdir_statusicon}/category-16.png" alt="{vb:rawphrase category_forum}" /></dt><dd>{vb:rawphrase category_forum}</dd>
                                                <dt><img src="{vb:stylevar imgdir_statusicon}/forum_link-16.png" alt="{vb:rawphrase link_forum}" /></dt><dd>{vb:rawphrase link_forum}</dd>
                                        <vb:if condition="$vboptions['pt_hasprojectforums']">
                                                <dt><img src="{vb:stylevar imgdir_statusicon}/project_new-16.png" alt="{vb:rawphrase project_forum}" /></dt><dd>{vb:rawphrase project_forum}</dd>
                                        </vb:if>
                                        </dl>
                                </div>
                        </div>


Then after the What''s going on closing comment:

HTML Code:

<!-- end what's going on box -->

add the following code:



HTML Code:

<div id="wgo_legend" class="collapse wgo_block">
<h2><span>{vb:rawphrase icon_legend}</span></h2>
<div class="floatcontainer">
<div class="wgo_subblock"><div>
<dl id="icon_legends" class="icon_legends">
                                                <dt><img src="{vb:stylevar imgdir_statusicon}/forum_new-16.png" alt="{vb:rawphrase new_posts_forum}" /></dt><dd>{vb:rawphrase new_posts_forum}</dd>
                                                <dt><img src="{vb:stylevar imgdir_statusicon}/forum_old-16.png" alt="{vb:rawphrase no_new_posts_forum}" /></dt><dd>{vb:rawphrase no_new_posts_forum}</dd>
                                                <dt><img src="{vb:stylevar imgdir_statusicon}/category-16.png" alt="{vb:rawphrase category_forum}" /></dt><dd>{vb:rawphrase category_forum}</dd>
                                                <dt><img src="{vb:stylevar imgdir_statusicon}/forum_link-16.png" alt="{vb:rawphrase link_forum}" /></dt><dd>{vb:rawphrase link_forum}</dd>
                                            <vb:if condition="$vboptions['pt_hasprojectforums']">
                                                <dt><img src="{vb:stylevar imgdir_statusicon}/project_new-16.png" alt="{vb:rawphrase project_forum}" /></dt><dd>{vb:rawphrase project_forum}</dd>
                                        </vb:if>
                                        </dl>
                                </div>
                        </div>
                  </div>
            </div>



Here is a screenshot with the end result.

vicelover 04-21-2010 04:13 AM

Thanks Borbole

PS: there is a slip of a pen, the template is FORUMHOME, not FORUMEHOME.

Best Regards

goran424 04-21-2010 07:13 AM

Works just fine, thanks.

borbole 04-21-2010 01:13 PM

Quote:

Originally Posted by vicelover (Post 2024669)
Thanks Borbole

PS: there is a slip of a pen, the template is FORUMHOME, not FORUMEHOME.

Best Regards

Typo mistake fixed. Thanks for letting me know :)



Quote:

Originally Posted by goran424 (Post 2024746)
Works just fine, thanks.

You are welcome :)

COL NIL SATIS 05-16-2010 03:12 PM

Awesome...thanks Borbole ..installed !! looks great

borbole 05-17-2010 12:37 PM

Thank you for your feedback :)

zonaenlinea 05-28-2010 05:11 PM

thank prefect

CoronasRGood 05-28-2010 05:39 PM

Looks great! Thanks.

betts02 05-31-2010 06:20 PM

Installed and trying to figure out whats going on with mine, Must be something i did before as you can see

http://www.nextgenerationgamers.co.uk/forums/forum.php

Sorry but new to vb and if anyone can help ?

cheers anyway

ndut 05-31-2010 06:55 PM

installed, thank you

borbole 05-31-2010 07:13 PM

You are all welcome guys. Glad you like it :)

merk_aus 06-01-2010 07:33 AM

Wow looks awesome - thank you for taking the time.

Conehead555 12-15-2010 03:34 PM

Nice. Good idea!

djrapid.com 01-05-2013 06:50 AM

will this be updated to v4.2.0?


All times are GMT. The time now is 07:14 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.01072 seconds
  • Memory Usage 1,759KB
  • 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
  • (3)bbcode_html_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (14)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