vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=253)
-   -   "Posting Permissions" box removal? (https://vborg.vbsupport.ru/showthread.php?t=238375)

ps2wiz 03-16-2010 04:19 AM

"Posting Permissions" box removal?
 
Could someone please instruct me regarding removal of the "Posting Permissions" box?




Edit:

Well, in the following templates:

forumdisplay
showthread
newreply

I removed the variable:

{vb:raw forumrules}

And even removed everything in the "forumrules" template.

But now I still have the text and the little background rectangle:


Any help please to remove "Posting Permissions" text and the background rectangle it sits over?

--------------- Added [DATE]1268725985[/DATE] at [TIME]1268725985[/TIME] ---------------

Update:

Nevermind, you need to delete the div tags too :)

letsjoy 08-02-2011 06:50 PM

+1 ps2wiz
Thanks

setishock 08-05-2011 06:09 AM

Put this in your additional.css. Then click save and reload.
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 - End remove Legend and Permissions Boxes */

I use this at my place. It's clean and simple.

ps2wiz 10-30-2011 10:29 AM

Quote:

Originally Posted by setishock (Post 2229560)
Put this in your additional.css. Then click save and reload.
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 - End remove Legend and Permissions Boxes */

I use this at my place. It's clean and simple.

This is a better method then mine and I want to use it, BUT, it doesn't hide the display options. Does anyone know what additionally needs to be added?

setishock 10-31-2011 04:04 AM

.forum_info included in what I posted, is confirmed to remove everything from the bottom of the page the threads are listed on.
Here's the link to the mod I nabbed that from. Might want to ask TW7S what's up with it not working right. https://vborg.vbsupport.ru/showthrea...highlight=tw7s

ps2wiz 10-31-2011 04:17 AM

Yeah, it wasn't really working for me. So I just stuck to my original method.

letsjoy 01-20-2012 10:42 AM

Quote:

Originally Posted by setishock (Post 2229560)
Put this in your additional.css. Then click save and reload.
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 - End remove Legend and Permissions Boxes */

I use this at my place. It's clean and simple.

It's good for UI but html still loads, so it does'n make page any lighter... :(

Arrogant-One 08-20-2012 01:20 AM

Quote:

Originally Posted by setishock (Post 2229560)
Put this in your additional.css. Then click save and reload.
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 - End remove Legend and Permissions Boxes */

I use this at my place. It's clean and simple.

Awesome discovery setishock! Well done mate!

josh_krz 08-26-2012 11:11 AM

Ok if that CSS isn't working I find it is sometimes fixed by adding "!important;" after the display:none. Notice the ; comes after !important.

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!important;}
/* TW7S - End remove Legend and Permissions Boxes */

However in terms of optimisation, this isn't a very good way of removing it. Your adding something to remove something else.

Find this and remove it from SHOWTHREAD, it starts at line 540, ends 548:
Code:

<div class="options_block">
                        <h4 class="collapse blockhead options_correct">
                                <a class="collapse" id="collapse_posting_rules" href="{vb:raw relpath}#top"><img src="{vb:stylevar imgdir_button}/collapse{vb:raw vbcollapse.collapseimg_info_options}_40b.png" alt="" /></a>
                                {vb:rawphrase posting_rules}
                        </h4>
                        <div id="posting_rules" class="thread_info_block blockbody formcontrols floatcontainer options_correct">
                                {vb:raw forumrules}
                        </div>
                </div>

And there you go, it's removed completely and it doesn't load like it does by just using css, saving you page speed. To get it back click [show default] on the template.

Cobro 10-05-2012 10:53 PM

And also if you would like to remove it fron post a new thread then you have to open

Template: newthread

and go to the bottom and remove {vb:raw forumrules}


All times are GMT. The time now is 11:26 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.01037 seconds
  • Memory Usage 1,747KB
  • 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
  • (6)bbcode_code_printable
  • (3)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