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

Reply
 
Thread Tools Display Modes
  #1  
Old 02-06-2011, 09:25 PM
Crossbow Crossbow is offline
 
Join Date: Jan 2011
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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.
Reply With Quote
  #2  
Old 02-06-2011, 09:31 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Do a Search in templates for "_40b.png" and you should find them. (Or just edit all block_* templates.)
Reply With Quote
  #3  
Old 02-07-2011, 02:53 PM
Crossbow Crossbow is offline
 
Join Date: Jan 2011
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #4  
Old 02-07-2011, 03:16 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Then just remove it from the templates that start with block_*
Reply With Quote
  #5  
Old 02-08-2011, 04:14 PM
Crossbow Crossbow is offline
 
Join Date: Jan 2011
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Lynne.
Reply With Quote
  #6  
Old 02-14-2011, 05:18 PM
lmgc lmgc is offline
 
Join Date: Apr 2010
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 ?
Reply With Quote
  #7  
Old 02-14-2011, 10:30 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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).
Reply With Quote
  #8  
Old 02-15-2011, 11:51 AM
lmgc lmgc is offline
 
Join Date: Apr 2010
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you Lynne but i dont understand, what i must edit and where ?
Reply With Quote
  #9  
Old 02-15-2011, 03:40 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #10  
Old 02-15-2011, 03:48 PM
lmgc lmgc is offline
 
Join Date: Apr 2010
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
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 04:47 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.06645 seconds
  • Memory Usage 2,247KB
  • 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
  • (2)bbcode_html
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete