Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Icon Legend - Remove Details »»
Icon Legend - Remove
Version: 1.00, by OldSchoolDSL OldSchoolDSL is offline
Developer Last Online: Jul 2017 Show Printable Version Email this Page

Category: Forum Display Enhancements - Version: 4.1.0 Rating:
Released: 02-06-2011 Last Update: Never Installs: 3
Template Edits
Re-useable Code Code Changes  
No support by the author.

This modification will REMOVE the Icon Legend found on your Forum Home page.

Pros:
Will save on bandwidth (a little)
Will make your page load quicker
Will give your forum a cleaner look

Cons:
No Legend for the absolute noob (newbie)


You should always backup before making edits.

Even if it worked fine on your test site.


In FORUMHOME in your theme (style / template)

Look for:

PHP Code:
<div id="wgo_legend" class="wgo_subblock section">
                <
h3 class="blocksubhead"><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
DELETE It
SAVE It
Your Done




12-08-2011 = DISCONTINUED

No further update will be provided. Anyone who wishes is welcome to continue this on their own.

Recommended replacement: https://vborg.vbsupport.ru/showthread.php?t=254239

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 02-07-2011, 07:41 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Gemma View Post
Yes, like that. Thanks Gemma.
Quote:
Originally Posted by OldSchoolDSL View Post
As I have no idea what your talking about or how to go about that... I'll take your word for it.

But I still think removing un-needed code (in my opinion) is better, rather then adding more.

You're more then welcome to release your own modification & steps though.
I apologize for stepping on any toes here, that was not my intention. I was just trying to offer some advice that would make reverting it easier. To answer you question, wrapping it in the following is what I meant:
Quote:
<vb:comment></vb:comment>
It basically comments out that block of code.
Reply With Quote
  #13  
Old 02-07-2011, 09:20 PM
Dr.osamA's Avatar
Dr.osamA Dr.osamA is offline
 
Join Date: Aug 2004
Location: Syrie
Posts: 979
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this one

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

is Much easier

thank you
Reply With Quote
  #14  
Old 02-07-2011, 10:10 PM
voglermc's Avatar
voglermc voglermc is offline
 
Join Date: Oct 2006
Location: Piedmont Triad, NC, USA
Posts: 295
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dr.osamA View Post
this one

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

is Much easier

thank you
It was not updated for 4.1.1 yet and does not do all it says for that version
Reply With Quote
  #15  
Old 02-08-2011, 02:44 AM
OldSchoolDSL OldSchoolDSL is offline
 
Join Date: Oct 2010
Posts: 1,196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Boofo View Post
Yes, like that. Thanks Gemma.


I apologize for stepping on any toes here, that was not my intention. I was just trying to offer some advice that would make reverting it easier. To answer you question, wrapping it in the following is what I meant:


It basically comments out that block of code.

meh ..... No worries. Everyone is welcome to their opinion and also its good to learn new things.

But if you ever learn how to remove the forum legends, by removing code... As I've yet to find out how to do this.... It would be helpful.
Reply With Quote
  #16  
Old 12-08-2011, 11:35 PM
OldSchoolDSL OldSchoolDSL is offline
 
Join Date: Oct 2010
Posts: 1,196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

12-08-2011 = DISCONTINUED

No further update will be provided. Anyone who wishes is welcome to continue this on their own.

Recommended replacement: https://vborg.vbsupport.ru/showthread.php?t=254239
Reply With Quote
Reply


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 02:38 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.07438 seconds
  • Memory Usage 2,275KB
  • Queries Executed 22 (?)
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
  • (1)bbcode_php
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (5)postbit
  • (6)postbit_onlinestatus
  • (6)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_postinfo_query
  • fetch_postinfo
  • 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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete