Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 05-20-2010, 05:40 PM
Sal Collaziano Sal Collaziano is offline
 
Join Date: Dec 2001
Location: Royal Palm Beach, Florida
Posts: 232
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Permanent Sidebar (instead of collapsable)

Is there any modification available that'll shut down the capability to close the forum front page sidebar AND allow it to display on every page? I typically like to display ads there (so do many others) and vendors aren't going to be interested if:

1. They only appear on the main forum listing page
2. They're collapsable at that!

Thanks in advance...
Reply With Quote
  #2  
Old 05-20-2010, 05:47 PM
borbole's Avatar
borbole borbole is offline
 
Join Date: Jan 2010
Posts: 2,559
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You can remove the image that allowes users to close the blocks and it will be unrevomable then. Give it a try and see if it does what you want, unless I misunderstood you.

At the FORUMEHOME template find and remove the following code or comment it out.

HTML Code:
<a id="sidebar_button_link" href="#">
			<vb:if condition="$show['sidebarposition'] == 'left'">
			<img id="sidebar_button" src="{vb:stylevar imgdir_misc}/tab-collapsed-left.png" alt="" />
			<vb:else />
			<img id="sidebar_button" src="{vb:stylevar imgdir_misc}/tab-collapsed.png" alt="" />
			</vb:if>
		</a>

You can also make it so it can affect certain usergroups only by using the template conditionals here:

https://vborg.vbsupport.ru/showthread.php?t=231525
Reply With Quote
  #3  
Old 05-21-2010, 08:06 PM
Sal Collaziano Sal Collaziano is offline
 
Join Date: Dec 2001
Location: Royal Palm Beach, Florida
Posts: 232
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you! Yes, that did work nicely! Now there's ONE more button at the top of the sidebar that allows one to kinda "bring up" the sidebar so you can't see anything..

Other than that, I'm just looking for a way to get this sidebar to display on the thread listing page as well as the page with the actual discussion on it - and not just on the forum home page... Thanks again!
Reply With Quote
  #4  
Old 05-21-2010, 08:08 PM
borbole's Avatar
borbole borbole is offline
 
Join Date: Jan 2010
Posts: 2,559
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Sal Collaziano View Post
Thank you! Yes, that did work nicely! Now there's ONE more button at the top of the sidebar that allows one to kinda "bring up" the sidebar so you can't see anything..

Other than that, I'm just looking for a way to get this sidebar to display on the thread listing page as well as the page with the actual discussion on it - and not just on the forum home page... Thanks again!
You are welcome.

What button is that? Can you post a screenshot?
Reply With Quote
  #5  
Old 05-21-2010, 09:32 PM
Sal Collaziano Sal Collaziano is offline
 
Join Date: Dec 2001
Location: Royal Palm Beach, Florida
Posts: 232
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by borbole View Post
You are welcome.

What button is that? Can you post a screenshot?
Yes, here it is... Look at the top right corner...
Attached Images
File Type: png delete.png (17.8 KB, 0 views)
Reply With Quote
  #6  
Old 05-21-2010, 09:39 PM
borbole's Avatar
borbole borbole is offline
 
Join Date: Jan 2010
Posts: 2,559
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Sal Collaziano View Post
Yes, here it is... Look at the top right corner...
Have a look at my post here for that:

https://vborg.vbsupport.ru/showpost....0&postcount=13

There it is for the new post block but the same procedure should be followed for the other block templates as well. All you have to do is find the <a class="collapse" part as in the example above and either remove that block of code or comment it out.
Reply With Quote
  #7  
Old 06-05-2010, 06:57 PM
Taurus MFF Taurus MFF is offline
 
Join Date: Feb 2010
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by borbole View Post
You can remove the image that allowes users to close the blocks and it will be unrevomable then. Give it a try and see if it does what you want, unless I misunderstood you.

At the FORUMEHOME template find and remove the following code or comment it out.

HTML Code:
<a id="sidebar_button_link" href="#">
			<vb:if condition="$show['sidebarposition'] == 'left'">
			<img id="sidebar_button" src="{vb:stylevar imgdir_misc}/tab-collapsed-left.png" alt="" />
			<vb:else />
			<img id="sidebar_button" src="{vb:stylevar imgdir_misc}/tab-collapsed.png" alt="" />
			</vb:if>
		</a>

You can also make it so it can affect certain usergroups only by using the template conditionals here:

https://vborg.vbsupport.ru/showthread.php?t=231525
any users who had the sidebar collapsed before commenting out the code will have a blank space where the sidebar should be located.

how do we force the sidebar to re-open for those who had it closed and can no longer click the collapse/expand button?
Reply With Quote
  #8  
Old 06-06-2010, 11:15 AM
borbole's Avatar
borbole borbole is offline
 
Join Date: Jan 2010
Posts: 2,559
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Taurus MFF View Post
any users who had the sidebar collapsed before commenting out the code will have a blank space where the sidebar should be located.

how do we force the sidebar to re-open for those who had it closed and can no longer click the collapse/expand button?
That is strange. I tried it at my test forum right now and I couldn''t reproduce the issue that you are getting. The sidebar closes fine without any blanc space when disabling the collapse button.

Can you try to undo the edit, disable the forum sidebar/s, then re-enable them again and re-do the edit that hides the collapse button and see if it would help.
Reply With Quote
  #9  
Old 06-06-2010, 04:05 PM
Taurus MFF Taurus MFF is offline
 
Join Date: Feb 2010
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

since we're discussing this on vb.com we might as well keep that in one place.

here's the link if anyone is following this issue

http://www.vbulletin.com/forum/showt...88#post1989988
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:06 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.04790 seconds
  • Memory Usage 2,271KB
  • Queries Executed 14 (?)
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
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (1)postbit_attachment
  • (9)postbit_onlinestatus
  • (9)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
  • postbit_attachment
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete