News: Developers and support staff required. Please get in touch if interested. More Info

Login  |  Register
* *
TinyPortal on Twitter
Welcome, Guest. Please login or register.
Did you miss your activation email?
May 27, 2018, 05:30:09 PM

Login with username, password and session length

Recent

Members
Stats
  • Total Posts: 183827
  • Total Topics: 20464
  • Online Today: 80
  • Online Ever: 383
  • (January 02, 2015, 05:58:49 AM)
Users Online
Users: 2
Guests: 29
Total: 31

Skinz





amazon.com

Author Topic: Block Collapse issue  (Read 399 times)

0 Members and 1 Guest are viewing this topic.

Offline Skb

  • Jr. Member
  • **
  • Posts: 84
    • Metabolically Challenged
Block Collapse issue
« on: February 06, 2018, 05:28:11 AM »
While tinkering with my Blocks setting, I noticed something strange today and want to bring it to the notice of the Dev Team.

By default each Block has a (+) Expanded or (-) Collapsed state with these buttons.
If I collapse a Block by clicking (-) and then go into Settings and check the "Do not allow Block to be collapsed" checkbox, when I go back into forum display, the Block remains collapsed and only the Title header is visible. According to me, once the "Do not allow Block to collapse" option is chosen, the Block should immediately revert to Expanded view thereon.

Hope I am clear.
Regards.
www.diabetic.pub/forum
because every diabetic needs help.
SMF 2.0.15 / TP 1.3R

Offline @rjen

  • Support Team
  • *
  • Posts: 381
    • FJR-club Nederland
Re: Block Collapse issue
« Reply #1 on: February 06, 2018, 06:24:29 AM »
If I am not mistaken the browsers store the fact that a block is collapsed in a cookie. Once this cookie is stored in your local machine the block will remain collapsed until you delete the cookies.

I do not think is is possible for your site to delete all local cookies for this once you make the change site-side, it may be possible to have TP ignore the cookie when the "Do not allow Block to be collapsed" is set.
I think the setting only removes the switch button.
« Last Edit: February 06, 2018, 09:29:51 AM by @rjen »
Running TP1.5.0 on SMF2.0 at: www.fjr-club.nl
Testing TP1.5.0 on SMF2.0 at: https://test.fjr-club.nl
Testing TP2.0 on SMF2.1 at: https://test2.fjr-club.nl

Offline lurkalot

  • Administrator
  • *
  • Posts: 4560
    • Camera Craniums
Re: Block Collapse issue
« Reply #2 on: February 06, 2018, 10:35:28 AM »
If I am not mistaken the browsers store the fact that a block is collapsed in a cookie. Once this cookie is stored in your local machine the block will remain collapsed until you delete the cookies.

I do not think is is possible for your site to delete all local cookies for this once you make the change site-side, it may be possible to have TP ignore the cookie when the "Do not allow Block to be collapsed" is set.
I think the setting only removes the switch button.

Correct, it just removes the button, and if someone already has it collapsed then it stays that way.  If you haven't got many blocks and you want to make sure everyone see it, you could create a new block the same type, or with same content, set it so it can't be collapsed. Switch that one on and turn the old one off.  Messy I know, but it should work.
Mick aka lurkalot.

Camera Craniums Running SMF 2.0.13 / Tinyportal 1.3
Guitarist Guild Running SMF 2.0.15 / Tinyportal 1.4R Beta
The Garden Machinery Forum Running SMF 2.0.15 / Tinyportal 1.4R Beta

Online tino

  • Developer
  • *
  • Posts: 692
Re: Block Collapse issue
« Reply #3 on: February 06, 2018, 01:32:36 PM »
As mentioned by the previous two posters, its stored in the local cache. Other than destroying that and all settings we can't really remove the setting.

Offline lurkalot

  • Administrator
  • *
  • Posts: 4560
    • Camera Craniums
Re: Block Collapse issue
« Reply #4 on: February 06, 2018, 01:59:21 PM »
As mentioned by the previous two posters, its stored in the local cache. Other than destroying that and all settings we can't really remove the setting.

Also it's always been like that for every version I've ever used, so it's not like it's a new problem or anything.  Surprisingly we don't get many people question it.  ;)
Mick aka lurkalot.

Camera Craniums Running SMF 2.0.13 / Tinyportal 1.3
Guitarist Guild Running SMF 2.0.15 / Tinyportal 1.4R Beta
The Garden Machinery Forum Running SMF 2.0.15 / Tinyportal 1.4R Beta

Online tino

  • Developer
  • *
  • Posts: 692
Re: Block Collapse issue
« Reply #5 on: February 06, 2018, 02:34:44 PM »
As mentioned by the previous two posters, its stored in the local cache. Other than destroying that and all settings we can't really remove the setting.

Also it's always been like that for every version I've ever used, so it's not like it's a new problem or anything.  Surprisingly we don't get many people question it.  ;)

It's a rare condition, not many people will enable or disable the collapse option once you've set up your site. It also gets cleared when your cookies clear so some may never notice it.