Zikula: A Flexible Open Source Content Management System
home | forum | contact us

Dizkus

Bottom
Permission HELP...only want group to see a block
  • Posted: 06.03.2003, 06:32
     
    pdilella
    rank:
    Softmore Softmore
    registered:
     February 2003
    Status:
    offline
    last visit:
    01.03.07
    Posts:
    70
    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
  • Posted: 06.03.2003, 22:36
     
    dberansky
    rank:
    Professional Professional
    registered:
     June 2002
    Status:
    offline
    last visit:
    01.04.03
    Posts:
    746
    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.
  • Posted: 07.03.2003, 04:29
     
    pdilella
    rank:
    Softmore Softmore
    registered:
     February 2003
    Status:
    offline
    last visit:
    01.03.07
    Posts:
    70
    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!
  • Posted: 10.03.2003, 21:34
     
    pdilella
    rank:
    Softmore Softmore
    registered:
     February 2003
    Status:
    offline
    last visit:
    01.03.07
    Posts:
    70
    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?
  • Posted: 11.03.2003, 00:00
     
    dberansky
    rank:
    Professional Professional
    registered:
     June 2002
    Status:
    offline
    last visit:
    01.04.03
    Posts:
    746
    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.
  • Posted: 11.03.2003, 01:48
     
    pdilella
    rank:
    Softmore Softmore
    registered:
     February 2003
    Status:
    offline
    last visit:
    01.03.07
    Posts:
    70
    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.
  • Posted: 11.03.2003, 02:11
     
    dberansky
    rank:
    Professional Professional
    registered:
     June 2002
    Status:
    offline
    last visit:
    01.04.03
    Posts:
    746
    do you mean this?
  • Posted: 11.03.2003, 02:26
     
    pdilella
    rank:
    Softmore Softmore
    registered:
     February 2003
    Status:
    offline
    last visit:
    01.03.07
    Posts:
    70
    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
  • Posted: 11.03.2003, 02:36
     
    dberansky
    rank:
    Professional Professional
    registered:
     June 2002
    Status:
    offline
    last visit:
    01.04.03
    Posts:
    746
    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
  • Posted: 11.03.2003, 02:48
     
    pdilella
    rank:
    Softmore Softmore
    registered:
     February 2003
    Status:
    offline
    last visit:
    01.03.07
    Posts:
    70
    Will try it tonight and see if it works.

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

    :D
  • Posted: 11.03.2003, 20:44
     
    pdilella
    rank:
    Softmore Softmore
    registered:
     February 2003
    Status:
    offline
    last visit:
    01.03.07
    Posts:
    70
    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!!!

Main Menu

Extensions Database

Documentation

Development

Login

Donate to Zikula