Topic: Permission HELP...only want group to see a block
pdilella
avatar
Softmore
Softmore
Posts: 70

Posted:
6.Mar 2003 - 06:32

I have created a block that i only want a Group to see and use....how do i do this?......what do i type.....and most importantly.....where does this go in my hierarchy of permissions (that is what confuses me).

thanks in advance.

Paul
dberansky
avatar
Professional
Professional
Posts: 746

Posted:
6.Mar 2003 - 22:36

The exact permission will depend on the block. Can you give us the block's name? Also, post your current permissions, this way we can tell you where this on is supposed to go.
pdilella
avatar
Softmore
Softmore
Posts: 70

Posted:
7.Mar 2003 - 04:29

it is a HTML block that i found (a nice squirrelmail logon block that i wanted only a special group(my kids) to use)......i have since learned that you cannot put these blocks on the permission list.....

i will keep researching this.....i am sure there are hotshot programmers out there who can figure out how to do this....

PostNuke is great!
pdilella
avatar
Softmore
Softmore
Posts: 70

Posted:
10.Mar 2003 - 21:34

Someone (programmer friend) told me that you cannot use the permission function to prevent anyone from seeing/using an HTML Block like the SquirrelMail Block. Is that true?
dberansky
avatar
Professional
Professional
Posts: 746

Posted:
11.Mar 2003 - 00:00

it's impossible to say without looking at the block's code. Where did you download it from? Alternatively, you can try asking the block's author.
pdilella
avatar
Softmore
Softmore
Posts: 70

Posted:
11.Mar 2003 - 01:48

I downloaded the BLOCK from the postnuke.com website under block downloads.....SquirrelMail Block.....check it out, the code is there.

Thanks for responding to the question.

Let me know your thoughts after you see the code.
dberansky
avatar
Professional
Professional
Posts: 746

Posted:
11.Mar 2003 - 02:11

do you mean this?
pdilella
avatar
Softmore
Softmore
Posts: 70

Posted:
11.Mar 2003 - 02:26

Yep.....that's it.

Nice....works great.....i just don't want most people to see/use it. I want to setup a permission to allow only a certain group i set up to see and use this login block.

Thanks again. :P
dberansky
avatar
Professional
Professional
Posts: 746

Posted:
11.Mar 2003 - 02:36

Ok, you just need to use the permission schema of Simple File Include block. So something like this should do the job:

MailGroup | fincludeblock:: | your_block_title:: | Read
All Groups | fincludeblock:: | your_block_title:: | None
pdilella
avatar
Softmore
Softmore
Posts: 70

Posted:
11.Mar 2003 - 02:48

Will try it tonight and see if it works.

Thank you very much.....especially for you super prompt replys.

:D
pdilella
avatar
Softmore
Softmore
Posts: 70

Posted:
11.Mar 2003 - 20:44

Well.....I tried to put the permission in.....and now my site is filled with error messages.....and i cannot use my administration functions...most of them are not working (get basically same error message). I have notified my webhoster to correct the problem....so much for experimenting....

this is really frustrating....how could one permission error screw up all of the admin functions....?.....i thought i placed the permission in the right place....why is this system so unforgiving?...i get the admin page....but most functions don't work....argh!!!