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)
-   -   Miscellaneous Hacks - TW7S - Remove Legend and Permissions Boxes from FORUMHOME FORUMDISPLAY and SHOWTHREAD (https://vborg.vbsupport.ru/showthread.php?t=254239)

LifesGreatestGift 11-25-2010 10:00 PM

TW7S - Remove Legend and Permissions Boxes from FORUMHOME FORUMDISPLAY and SHOWTHREAD
 
1 Attachment(s)
This mod removes those annoying, unattractive boxes (pictured below) from your site without actually having to delete any template code.

https://vborg.vbsupport.ru/external/2010/11/9.jpg

NOTE: Also removes Legend from Inbox

Open template additional.css and add the following:

Code:

/* TW7S - Remove Legend and Permissions Boxes */
#usercp_content #forum_icon_legend, #wgo_legend, .forum_info .options_block_container, .thread_info .options_block_container  {
display:none;
}
/* TW7S - Remove Legend and Permissions Boxes */

Enjoy :)

Juggernaut 11-26-2010 03:42 AM

Thank you, installed :D

CK 11-26-2010 05:59 AM

This is great! I wonder if you could suggest a patch in jira that would add an option within admincp to one of the feature improvement requests about this?

CK 11-26-2010 06:44 AM

Where is the additional.css file located

EDIT: found it. Doh lol

slinky 11-26-2010 12:44 PM

Bummer... didn't work for me on my custom template. Not sure why... so it goes...

LifesGreatestGift 11-26-2010 07:36 PM

Quote:

Originally Posted by slinky (Post 2125951)
Bummer... didn't work for me on my custom template. Not sure why... so it goes...

Link me to your forum and ill look at it.

CK 11-26-2010 09:45 PM

Quote:

Originally Posted by slinky (Post 2125951)
Bummer... didn't work for me on my custom template. Not sure why... so it goes...

You're looking in admincp/style manager?

I searched within templates and the results showed additional.css which I clicked edit on. :)

Dr.osamA 11-26-2010 10:12 PM

Very cool

Thanks, man!

installd + 5 Stars

Bram H 12-02-2010 10:35 AM

Excellent modification. Finally those useless boxes are gone :)

sivaganeshk 12-02-2010 10:54 AM

Awesome !!!
If you couldn't locate, click Search in Template in Styles and Templates
Search for "additional.css" and choose Yes in Search Title only radio box.
Choose additional.css and paste the code in it and save !! :)


All times are GMT. The time now is 10:34 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.04913 seconds
  • Memory Usage 1,731KB
  • 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
  • (1)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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