TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,973
  • Latest: NonStop
Stats
  • Total Posts: 196,219
  • Total Topics: 21,352
  • Online today: 556
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online

Individual Block permissions

Started by nokonium, January 10, 2006, 07:12:30 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Nokonium

Would it be possible to add to the block permissions which membergroups are allowed to shrink the block? A co-admin is working on a site where there is some specific block information that he doesn't want guests or some categories of member to 'ignore'.

bloc

It should be possible..but wouldn't it be better to rather can/cannot upshrink? it seems a bit over the top to check if the member are allowed to upshrink that one block..as opposed to everyone can or cannot upshrink?

Xarcell

I see where he's coming from if your putting ad's in the blocks.

bloc

Yeah, I meant one global setting: allow blocks to be upshrinkable or not. Thats just one one/off value. Then each block can have a single value of possible/not possible to upshrink. If per membergroup, then every block needs to check for membergroup twice, one for permission to see it, and then for upshrinkable if seen. The routine for checking membergroups takes some time(relatively), so it slows it down.

Xarcell

permission based on membergroup not a good idea?

IchBin

As he was saying Xarcell, that would mean that TP would have to check for permissions on blocks twice. Which he is trying to avoid if all possible. I think just having the option to show or not show (admins choice, not anyone else's choice) should be fine.

This website is proudly hosted on Crocweb Cloud Website Hosting.