ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Restrict user groups to comment on just one weblog?

August 14, 2008 9:26am

Subscribe [2]
  • #1 / Aug 14, 2008 9:26am

    nomi

    18 posts

    Is it possible to set up a group where the users can only post comments in one weblog? I see that there is posting restriction per weblog, but nothing about comments there.

    Thanks!

  • #2 / Aug 14, 2008 10:18am

    Jack McDade

    425 posts

    you could do an if statement to show or not show the comments module, so something like this might work:

    {if member_group =="one_posters"} 
    {exp:comment:form}
    WHATEVER YOU NEED TO IN HERE
    {/exp:comment:form}
    {/if}

    If you need to you could do the inverse as well (!=“one_posters”) depending on how you have everything set up. You get get fancier and do some ifelse stuff too if you want.

    Side note—your logo looks suspiciously similar to the Federal Highway Administrations… http://www.fhwa.dot.gov/ 😊

  • #3 / Aug 14, 2008 10:20am

    nomi

    18 posts

    cool! thanks, Jack!

  • #4 / Aug 14, 2008 10:25am

    Jack McDade

    425 posts

    No prob!

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases