vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Remove collapse_40b.png from all sidebar blocks (https://vborg.vbsupport.ru/showthread.php?t=258466)

Crossbow 02-06-2011 09:25 PM

Remove collapse_40b.png from all sidebar blocks
 
I have searched high and low on this site and Google for the answer on how to remove the collapse_40b.png image from all sidebar blocks I add. I can not find the temp plate to edit this setting on Vbulletin 4.1.1 Please help. Thank you in advance.

Lynne 02-06-2011 09:31 PM

Do a Search in templates for "_40b.png" and you should find them. (Or just edit all block_* templates.)

Crossbow 02-07-2011 02:53 PM

This file is in a lot of places. I do not want to remove it from the forum itself I only want to remove it from the sidebar blocks. I am using the new 4.1 and things changed so much from our old 3.5. On the old one there was now problem writing code but now the new one makes you use the forum blocks and it auto adds this collapse button. There has to be a way to just take it off the forum blocks?

Lynne 02-07-2011 03:16 PM

Then just remove it from the templates that start with block_*

Crossbow 02-08-2011 04:14 PM

Thanks Lynne.

lmgc 02-14-2011 05:18 PM

Hello

thank you men i can remove the collapse button now,
i have just little question: after i removed that the members who collapsed the sidebar have now a space in the place of the bar,

any way to show the sidebar for all the members please ?

Lynne 02-14-2011 10:30 PM

Have them clear their cookies. Or, you will need to edit the template and remove "collapse_block_" from the id (leave it with just the html_xx).

lmgc 02-15-2011 11:51 AM

Thank you Lynne but i dont understand, what i must edit and where ?

Lynne 02-15-2011 03:40 PM

The easiest thing to do is ask the users to clear their cookies. Otherwise, you will need to make this template mod everytime you do an upgrade. You need to edit every block_* template and look for something that looks like this:
HTML Code:

<a class="collapse" id="collapse_block_blogentries_{vb:raw blockinfo.blockid}" href="{vb:raw relpath}#top"><img alt="" src="{vb:stylevar imgdir_button}/collapse_40b.png" id="collapseimg_blogentries_{vb:raw blockinfo.blockid}"/></a>
I *think* you can just remove the collapse part and you will be fine. So, something like this:
HTML Code:

<a class="collapse" id="blogentries_{vb:raw blockinfo.blockid}" href="{vb:raw relpath}#top"><img alt="" src="{vb:stylevar imgdir_button}/collapse_40b.png" id="blogentries_{vb:raw blockinfo.blockid}"/></a>
I haven't tried any of this, so you may need to play with it to get it correct.

lmgc 02-15-2011 03:48 PM

yes the easiest way i think is to ask users to clear their cookies, i am sure i will forget theses modifications in the futur upgrades

thanks lynne


All times are GMT. The time now is 11:30 AM.

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.01076 seconds
  • Memory Usage 1,723KB
  • 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_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete