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 - Remove "Icon Legend" Box on FORUMHOME (https://vborg.vbsupport.ru/showthread.php?t=259820)

Special Pages 03-03-2011 10:00 PM

Remove "Icon Legend" Box on FORUMHOME
 
1 Attachment(s)
DEMO

Go to AdminCP>Styles & Templates>Style Manager>{Select Style}>Edit Template>FORUMHOME
Find:
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>

And remove it all.

I hope that helps!

OldSchoolDSL 03-04-2011 05:18 AM

Kind of got to it before you

https://vborg.vbsupport.ru/showthread.php?t=258498

Boofo 03-04-2011 12:59 PM

Adding this to the additional.css template will do the same thing without any template edits:

Code:

/* Remove Icon Legend from FORUMHOME */
#wgo_legend.wgo_subblock.section {
display: none;
}


OldSchoolDSL 03-04-2011 01:46 PM

Quote:

Originally Posted by Boofo (Post 2169489)
Adding this to the additional.css template will do the same thing without any template edits:

Code:

/* Remove Icon Legend from FORUMHOME */
#wgo_legend.wgo_subblock.section {
display: none;
}


Yes, we've had this debate before.

Removing the code means you'll need to re-do it every time you update. But it means less code to process.

Adding your code, does remove things and you do not need to re-apply it when you update. But it is more code to process.

To each their own.

Boofo 03-04-2011 02:03 PM

You are kidding, right? The code processed is so minuscule there is no way to measure it. But, I did get a good chuckle out of that argument. ;)

puertoblack2003 03-04-2011 03:46 PM

Quote:

Originally Posted by Boofo (Post 2169489)
Adding this to the additional.css template will do the same thing without any template edits:

Code:

/* Remove Icon Legend from FORUMHOME */
#wgo_legend.wgo_subblock.section {
display: none;
}



thanks boofo, this is alot easier...:)

Special Pages 03-04-2011 05:30 PM

Quote:

Originally Posted by OldSchoolDSL (Post 2169411)

Sorry mate. I didn't see that.

OldSchoolDSL 03-05-2011 01:56 AM

Quote:

Originally Posted by Boofo (Post 2169498)
You are kidding, right? The code processed is so minuscule there is no way to measure it. But, I did get a good chuckle out of that argument. ;)

We'll agree to disagree (again).

And I would ask that you respect my opinions, as much as others have given you the same respect.

OldSchoolDSL 03-05-2011 01:57 AM

Quote:

Originally Posted by Special Pages (Post 2169563)
Sorry mate. I didn't see that.

No worries. I think I'm guilty of double posting a modification once too. Yours maybe titled a little better and thus, helpful for those who search and find it. :)

Boofo 03-05-2011 03:26 AM

Quote:

Originally Posted by OldSchoolDSL (Post 2169700)
We'll agree to disagree (again).

And I would ask that you respect my opinions, as much as others have given you the same respect.

First, there was no disrespect anywhere. Second, an opinion based on very unsound logic is not an opinion shared by many.


All times are GMT. The time now is 11:05 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.01073 seconds
  • Memory Usage 1,746KB
  • 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
  • (4)bbcode_code_printable
  • (6)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
  • (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