• Register
    • Help

    striker  0 Items
    Currently Supporting
    • Home
    • News
    • Forum
      • Try XenForo Demo
      • New Posts
      • FAQ
      • Calendar
      • Community
        • Groups
        • Albums
        • Member List
      • Forum Actions
        • Mark Forums Read
      • Quick Links
        • Today's Posts
        • Who's Online
      • Sponsor
        • Sponsor a Feature
        • List of Donors
    • Wiki
    • Support
    • What's New?
    • Buy Now
    • Manual
    • 
    • Forum
    • VaultWiki How-Tos
    • VaultWiki Questions
    • VW3: is it possible to display a template / part of post only to certain usergroups?

    1. Welcome to VaultWiki.org, home of the wiki add-on for vBulletin and XenForo!

      VaultWiki allows your existing forum users to collaborate on creating and managing a site's content pages. VaultWiki is a fully-featured and fully-supported wiki solution for vBulletin and XenForo.

      The VaultWiki Team encourages you to join our community of forum administrators and check out VaultWiki for yourself.

    Results 1 to 4 of 4

    Thread: VW3: is it possible to display a template / part of post only to certain usergroups?

    • Thread Tools
      • Show Printable Version
    1. October 6, 2013 #1
      Alfa1
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • View Articles
      Alfa1 is offline
      Distinguished Member
      Join Date
      September 26, 2007
      Posts
      597
      Rep Power
      284

      VW3: is it possible to display a template / part of post only to certain usergroups?

      My main wiki page has instructions for wiki writers. This is not relevant for wiki readers and therefore I want to hide the text based upon usergroup permission or on the permission to edit.

      Is this possible?
      Reply With Quote Reply With Quote

    2. October 21, 2013 #2
      pegasus
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • Visit Homepage
      • View Articles
      pegasus is offline
      VaultWiki Team
      Join Date
      March 28, 2004
      Location
      New York, NY
      Posts
      2,959
      Blog Entries
      18
      Rep Power
      687
      Yes, you can display a template or part of a wiki post to members of only certain usergroups, although I'm not sure at this point if it provides an is_member_of function, or if there is only a way to check if the user has groups exactly equal to the input.

      To check the primary group ID:
      Code:
      [var]USER|user_group_id[/var]==groupid
      - lead developer for VaultWiki
      Reply With Quote Reply With Quote

    3. October 21, 2013 #3
      pegasus
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • Visit Homepage
      • View Articles
      pegasus is offline
      VaultWiki Team
      Join Date
      March 28, 2004
      Location
      New York, NY
      Posts
      2,959
      Blog Entries
      18
      Rep Power
      687
      Yes, you can display a template or part of a wiki post to members of only certain usergroups, although I'm not sure at this point if it provides an is_member_of function, or if there is only a way to check if the user has groups exactly equal to the input.

      To check the primary group ID:
      Code:
      [var]USER|user_group_id[/var]==groupid
      - lead developer for VaultWiki
      Reply With Quote Reply With Quote

    4. October 21, 2013 #4
      Alfa1
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • View Articles
      Alfa1 is offline
      Distinguished Member
      Join Date
      September 26, 2007
      Posts
      597
      Rep Power
      284
      Thanks!
      btw: vbulletin 4.2.2 editor bugs are pretty annoying with the double posts and the editor not working right. Seems vb is getting worse with each release.
      Reply With Quote Reply With Quote

    Similar Threads

    1. VaultWiki Display
      By Hostboard in forum VaultWiki Questions
      Replies: 1
      Last Post: August 5, 2016, 10:01 AM
    2. How to display files correctly
      By hollosch in forum VaultWiki Questions
      Replies: 6
      Last Post: May 25, 2015, 5:21 PM
    3. 2nd post in thread
      By Chris in forum Ideas & Suggestions
      Replies: 5
      Last Post: September 25, 2012, 11:15 PM
    4. How to remove this part : BB-Codes Used in this Post
      By basketmen in forum VaultWiki Questions
      Replies: 1
      Last Post: April 19, 2011, 1:11 AM
    5. namespace display errors
      By krela in forum VaultWiki Questions
      Replies: 15
      Last Post: September 4, 2008, 10:53 AM

    Bookmarks

    Bookmarks
    • Submit to Digg Digg
    • Submit to del.icio.us del.icio.us
    • Submit to StumbleUpon StumbleUpon
    • Submit to Google Google

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •  
    • BB code is On
    • Smilies are On
    • [IMG] code is Off
    • [VIDEO] code is
    • HTML code is Off

    Forum Rules

    • Contact Us
    • License Agreement
    • Privacy
    • Terms
    • Top
    All times are GMT -4. The time now is 11:57 PM.
    This site uses cookies to help personalize content, to tailor your experience, and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Learn more… Accept Remind me later
  • striker
    Powered by vBulletin® Version 4.2.5 Beta 2
    Copyright © 2025 vBulletin Solutions Inc. All rights reserved.
    Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
    Copyright © 2008 - 2024 VaultWiki Team, Cracked Egg Studios, LLC.