Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Design and Graphics Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 03-16-2010, 04:19 AM
ps2wiz ps2wiz is offline
 
Join Date: Apr 2005
Posts: 217
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default "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
Reply With Quote
  #2  
Old 08-02-2011, 06:50 PM
letsjoy's Avatar
letsjoy letsjoy is offline
 
Join Date: Jun 2006
Location: Dhump State
Posts: 197
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

+1 ps2wiz
Thanks
Reply With Quote
  #3  
Old 08-05-2011, 06:09 AM
setishock setishock is offline
 
Join Date: Feb 2008
Location: Houma, La.
Posts: 1,177
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
Благодарность от:
AttalaEA
  #4  
Old 10-30-2011, 10:29 AM
ps2wiz ps2wiz is offline
 
Join Date: Apr 2005
Posts: 217
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by setishock View Post
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?
Reply With Quote
  #5  
Old 10-31-2011, 04:04 AM
setishock setishock is offline
 
Join Date: Feb 2008
Location: Houma, La.
Posts: 1,177
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

.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
Reply With Quote
  #6  
Old 10-31-2011, 04:17 AM
ps2wiz ps2wiz is offline
 
Join Date: Apr 2005
Posts: 217
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah, it wasn't really working for me. So I just stuck to my original method.
Reply With Quote
  #7  
Old 01-20-2012, 10:42 AM
letsjoy's Avatar
letsjoy letsjoy is offline
 
Join Date: Jun 2006
Location: Dhump State
Posts: 197
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by setishock View Post
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...
Reply With Quote
  #8  
Old 08-20-2012, 01:20 AM
Arrogant-One's Avatar
Arrogant-One Arrogant-One is offline
 
Join Date: Jul 2007
Location: Brisbane
Posts: 196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by setishock View Post
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!
Reply With Quote
  #9  
Old 08-26-2012, 11:11 AM
josh_krz josh_krz is offline
 
Join Date: Feb 2012
Location: United Kingdom
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #10  
Old 10-05-2012, 10:53 PM
Cobro Cobro is offline
 
Join Date: Oct 2006
Location: cellar
Posts: 136
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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}
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 08:35 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04063 seconds
  • Memory Usage 2,265KB
  • Queries Executed 13 (?)
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)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (6)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (1)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete