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 !! :)

toon79 12-02-2010 12:28 PM

Great additions, should be an option already

OurCouponHome 12-02-2010 03:11 PM

Thanks!!! Those were driving me crazy!!

kylek 12-02-2010 05:35 PM

Thank you!

preemz10314 12-02-2010 09:19 PM

worked great, marked as installed. helped trim the fat. Thanks.

Fergal C 12-04-2010 08:08 AM

Thanks installed. Mostly it works great, but for some reason it is not removing the icon boxes from my "Forum Display" it removes all the other icon boxes but not that one. My theme is slightly customised.

Any ideas on how I can remove the icons from "Forum Display"?

Thanks!

sisterhood 12-04-2010 08:54 AM

Perfect!" THX

samiro 12-04-2010 11:28 AM

Perfect idea
but this is not working at all in 4.1.
nothing happend !

Boofo 12-04-2010 11:44 AM

Posting permissions still shows in the newreply.

MoreLinux 12-04-2010 02:37 PM

Quote:

Originally Posted by Boofo (Post 2129175)
Posting permissions still shows in the newreply.

Add
Code:

#forumrules,
like this
Code:

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

it doesn't remove the "Posting Permissions" header, but the body is gone.

Edit: The header can be removed in forumrules. Just remove the line
Code:

<h4 class="blockhead">{vb:rawphrase posting_rules}</h4>

Alec W 12-04-2010 09:38 PM

Thanks

maryx 12-26-2010 08:23 PM

This is great, but I would also like to remove Thread Display Options. Can you help?

final kaoss 12-30-2010 02:18 PM

With this method the code is still loaded on every pageview, what this does is simply hide the boxes from sight.

Ania 12-30-2010 07:17 PM

Quote:

Originally Posted by samiro (Post 2129170)
Perfect idea
but this is not working at all in 4.1.
nothing happend !

+1 :(

ps2wiz 01-11-2011 08:51 PM

Quote:

Originally Posted by Ania (Post 2141484)
+1 :(

+2

Doesn't work for me in 4.1

voglermc 01-11-2011 11:03 PM

waiting 4.1

ndut 01-12-2011 08:20 PM

nice, work on 4.1.0 PL2

fxwoody 01-20-2011 08:49 AM

Thanks! something less to see that is not useful ;)

If i can add something. in the "forumrules" as mentinned by Morelinux

simply change it to this:

HTML Code:

<!---h4 class="blockhead">{vb:rawphrase posting_rules}</h4--->
This way, if you want to put it back on, you will still have the code in the template ;)

Tks all! :)

BlueCheri 02-07-2011 08:53 PM

Working fine, really useful.

Thanx

reddyink 02-08-2011 12:04 AM

How do I remove envelop icon in threadbit in forumdisplay. Once icon legend is removed, there is no need for that too.

I3eXa 02-09-2011 03:41 PM

worked on 4.1.0. thanks!

EasyEazy 03-02-2011 09:21 PM

great little mod. Thanks

Rofo 03-03-2011 05:37 AM

Working on 4.1.1

Thanks

synseal 03-04-2011 07:37 AM

So easy to apply and looks so much better, Thank you!. :up:

*Installed.

Schoelle 03-05-2011 07:30 PM

Thank you very much, looks way better now.
Another one that should be standard! :)
Installed and rated 5*

want3ed 03-07-2011 02:18 PM

i am adding additional.css thats but it isnt work , i cant see additional.css in my source code please help me.

voglermc 03-07-2011 02:23 PM

additional.css is a template.

beckham_250 03-09-2011 10:50 AM

wow <<<< great

merk_aus 03-16-2011 12:16 AM

awesome little addition - your creativity is appreciated.

sevenmix 03-24-2011 08:51 PM

Hi

When i create a new thread the posting permissions box is still there, do you knowa fix to this?

Great mod and thanks for the good job.

Bacon Butty 03-27-2011 07:19 PM

Fantastic. Thanks


All times are GMT. The time now is 06:30 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.01524 seconds
  • Memory Usage 1,786KB
  • 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
  • (1)bbcode_html_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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