SimplePortal

Development => Bugs => Fixed or Bogus Bugs => Topic started by: FireDitto on March 02, 2014, 10:39:55 AM

Title: Forever Hidden Blocks
Post by: FireDitto on March 02, 2014, 10:39:55 AM
Hi,

We've noticed that if a member hides a block when that option is available, if we move the block or remove the title, that block stays hidden for the members that shrunk it.

Is there any way to default them back to fully extended blocks when changes are made?
Title: Re: Forever Hidden Blocks
Post by: phantomm on March 02, 2014, 11:25:05 AM
Maybe try to check Not Collapsible ib block settings block before removing title?
Title: Re: Forever Hidden Blocks
Post by: FireDitto on March 05, 2014, 03:40:11 AM
Naa, that doesn't work either. If you take away the ability to collapse when someone has the block collapsed, they lose it; the block vanishes.
Title: Re: Forever Hidden Blocks
Post by: [SiNaN] on March 05, 2014, 04:09:55 AM
Try this change:

./Themes/default/Portal.template.php

Code: (Find) [Select]
$block['collapsed'] && empty($block['force_view'])
Code: (Replace) [Select]
$block['collapsed'] && empty($block['force_view']) && empty($block['style']['no_title'])
There are two instances, so make sure you change them both.
Title: Re: Forever Hidden Blocks
Post by: FireDitto on March 05, 2014, 04:33:59 AM
That appears to have done the trick! Thanks :D
Title: Re: Forever Hidden Blocks
Post by: [SiNaN] on August 14, 2014, 10:47:56 AM
Fixed for the upcoming version.
SimplePortal 2.3.8 © 2008-2024, SimplePortal