Thread: Add-On Releases - Everywhere Sidebar 4 VB4
View Single Post
  #245  
Old 04-24-2010, 10:39 PM
chiptz's Avatar
chiptz chiptz is offline
 
Join Date: Jan 2005
Location: Portugal
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Peter Ostry View Post
I get the point of the developer but in this case the will of users and designers is definitely to see the sidebar always on all pages. Nobody in the forum actually wants or needs to close the sidebar. But users do it because they can do it, afterwards they forget the meaning of the arrow button and don't find the content they are looking for. They may interpret the button as some graphical ornament or whatever.

---

The suggestion made by chiptz does almost work but unfortunately has a side effect:
Removing the link of the open/close button in 'sidebarext_temp' does not remove it from the start page, where it remains operable. And if you close the sidebar on the start page, it isn't displayed on the subpages. There is just an empty space where the sidebar should be.

Is there something in the FORUMHOME template I could modify to force an open sidebar? Maybe I can set the variable $vboptions['sidebarposition'] permanently to 1 somehow, or is this a matter of the mod itself?

If I just manage to remove the arrow button, I may run into an unsolvable problem, because users whose sidebar is currently collapsed won't have the chance to get it open again. So one of the following methods would be best at the moment:

1) Keeping the sidebar always open, with or without the arrow button. Important is, that the sidebar stays open.

or

2) Forgetting the users sidebar status between sessions. If they really "lose" their sidebar, it should be here again after a new login.

Any hints?

My last option would be to replace the default 'ornamental' arrow button by a text button that tells the user what to do.
Sure, to have the sidebar always on on forum home page find in FORUMHOME and remove:

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>
BTW, one of the good reasons to remove the possibility to collapse the sidebar is if you have advertisments on the collapsible bar. You wouldn'd want to say to your advertisers that you have 1.000.000 views for his ad when in fact half of them is on a collapsed sidebar.

I do think the content of bar is loaded even if it is collapsed. You might just want to be able to put there something that you don't want users to be able to hide it. Or you can just design your site to on specific pages the layout of the page is already considered with a sidebar.
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02030 seconds
  • Memory Usage 1,771KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • 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
  • showpost_complete