Activity Stream
48,167 MEMBERS
6894 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Results 1 to 6 of 6
  1.     
    #1
    Member
    Website's:
    iGotMusic.org NitroRoms.com GamersFire.com

    Default IPB 3.x (3.0.5) - Permission Based Wraps

    Hi guys, what's the code for permission based wrapping.

    Aka

    <!-- Start Guest Content Only -->

    Code here

    <!-- End Guest Content Only -->

    I know how to do it for phpBB but not for IPB 3.x

    I would like to know them for these major groups please.

    Admins
    Super Mods
    Members
    Guests
    Validating

    Thanks to whoever knows
    Golden Falcon Reviewed by Golden Falcon on . IPB 3.x (3.0.5) - Permission Based Wraps Hi guys, what's the code for permission based wrapping. Aka <!-- Start Guest Content Only --> Code here <!-- End Guest Content Only --> Rating: 5

  2.   Sponsored Links

  3.     
    #2
    Google Corp.
    These are the ones I use:

    member/guest:
    Code: 
    <if test="$this->memberData['member_id'] == 1">
    
    members will see this
    
    <else />
    
    guests will see this
    
    </if>
    guest-only:
    Code: 
    <if test="$this->memberData['member_id'] == 0">
    
    guests will see this
    
    </if>
    supermod:
    Code: 
    <if test="$this->memberData['g_is_supmod'] == 1">
    
    supermods will see this
    
    </if>
    admin:
    Code: 
    <if test="$this->memberData['g_access_cp'] == 1">
    
    admins will see this
    
    </if>
    I'll post any other codes if I come across them
    Life asked Death: "Why do people love me, but hate you?"
    Death responded: "Because you're a beautiful lie and I'm the painful truth."


  4.     
    #3
    Member
    Website's:
    iGotMusic.org NitroRoms.com GamersFire.com
    Thanks SJ seems to be working.

    For members only I'm using this:

    Code: 
    <if test="$this->memberData['member_id'] == 1">
    
    Code
    
    </if>
    And it is not working? Is that not allowed?

    Note: I logged in with a normal member test account

  5.     
    #4
    Google Corp.
    for members only, try removing the
    Code: 
     == 1
    and see if that works..
    Life asked Death: "Why do people love me, but hate you?"
    Death responded: "Because you're a beautiful lie and I'm the painful truth."


  6.     
    #5
    Member
    Website's:
    iGotMusic.org NitroRoms.com GamersFire.com
    There we go! Thank you. If you can figure out the Validating permissions that would be great as well.

  7.     
    #6
    Member
    Website's:
    iGotMusic.org NitroRoms.com GamersFire.com
    The guest one doesn't seem to be working.

    edit: nvm i found out why

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Write permission on a folder
    By 18folder in forum Web Development Area
    Replies: 2
    Last Post: 9th Sep 2012, 09:33 AM
  2. [Other] rdp with admin permission
    By mazzo in forum Archive
    Replies: 6
    Last Post: 30th Jan 2012, 07:44 PM
  3. Forbidden You don't have permission...
    By xandyx in forum vBulletin
    Replies: 14
    Last Post: 2nd Jul 2011, 05:10 PM
  4. Need Help for set Permission
    By subha86 in forum Webmaster Discussion
    Replies: 4
    Last Post: 20th Mar 2011, 04:05 PM
  5. Notice Permission
    By II AnDo II in forum vBulletin
    Replies: 2
    Last Post: 18th Jun 2009, 05:06 PM

Tags for this Thread

BE SOCIAL