How to set permission for index page of section?

Discussion in 'vBulletin' started by dthoai, Aug 19, 2011.

  1. #1
    I set 'Can publish' permission for user group and then user can change layout of section page. How I can prevent user from changing layout of section page without revoking 'Can publish' permission?
     
    dthoai, Aug 19, 2011 IP
  2. dthoai

    dthoai Member

    Messages:
    106
    Likes Received:
    2
    Best Answers:
    1
    Trophy Points:
    38
    #2
    I have found a way to fix this problem without modifying the code.

    First I append a signal '-4e4ee1bc9f114' to SEO URL aliases of section. Next, I add ad block which is displayed for specified user group. In ad block, I add following code:

    <script>
    var turl = window.location + '';
    if (turl.indexOf('-4e4ee1bc9f114/edit') >= 0) {
    turl = turl.replace('-4e4ee1bc9f114\/edit', '-4e4ee1bc9f114');
    window.location.replace(turl);
    }
    </script>
     
    dthoai, Aug 19, 2011 IP
  3. nashed

    nashed Guest

    Messages:
    21
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    you can make 755
     
    nashed, Aug 21, 2011 IP