vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   How disable option collapse in forum block? (https://vborg.vbsupport.ru/showthread.php?t=326206)

gnrx 03-14-2018 09:30 AM

How disable option collapse in forum block?
 
1 Attachment(s)
Hello.
I search in the user groups permissions and config in admincp, but I not view this option.
Its possible disable de option for collapse de block forum or sidebar?

Attach a image.

Thanks in advanced

scottkoz20 03-14-2018 02:01 PM

yes

Styles & Templates -> Styles Manager -> Select your Style -> Block Templates ->

edit you block_html (or whatever block it is)



find this
Code:

<div class="blocksubhead">
and comment out the following below
Code:

                        <a class="collapse" id="collapse_block_html_{vb:raw blockinfo.blockid}" href="{vb:raw relpath}#top"><img alt="" src="{vb:stylevar imgdir_button}/collapse_40b.png" id="collapseimg_html_{vb:raw blockinfo.blockid}"/></a>

gnrx 03-14-2018 04:33 PM

Thank you very much scottkoz20!

Perfect, works perfect!!! Thanks!!

Although it is not the initial topic, but ... in the html blocks I am obliged to put a title (even a point), would it be possible to put a blank space or that title is not necessary?

Again, thank you!!

scottkoz20 03-14-2018 04:51 PM

no worries - its nice to finally add something that works for someone :D

as for the title - i don't know if there is a way to remove a field requirement

gnrx 03-14-2018 04:54 PM

Quote:

Originally Posted by scottkoz20 (Post 2593522)
no worries - its nice to finally add something that works for someone :D

as for the title - i don't know if there is a way to remove a field requirement

This last question, not as important to me as the first one, I would like to be able to do it but ... if it is not possible no problem :D

You were really helpful, I had been trying to make that change for a long time.

Again, thank you very much!! :)

romaine 03-17-2018 03:38 AM

I think you don't need to remove it from template, just check its CSS class and making a display:none on additional.css for that class and it is done.

scottkoz20 03-17-2018 01:04 PM

i am terrible at CSS functionality; but that is why I said to comment out, so the code is still there :)

gnrx 03-21-2018 11:12 PM

Quote:

Originally Posted by romaine (Post 2593586)
I think you don't need to remove it from template, just check its CSS class and making a display:none on additional.css for that class and it is done.

Thanks, but I don't know how made this.

Regards!


All times are GMT. The time now is 04:18 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.01156 seconds
  • Memory Usage 1,725KB
  • 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
  • (2)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete