Forum: Groups

  • Restrict variation

    Hello, We use Groups plugin to show certain products to only specific groups. Can this also be achieved with product variation and how? THanks. Regards, Milan

  • How to automatically protect a custom post type with Groups

    I’ve got a custom post type I always want to protect (with the group ID 2). I’ve tried to write a function to automatically add this group protection on post_save and even got ChatGPT to try a few times and it doesn’t seem to work. I just purchased the Groups Restrict Categories add on as…

  • Groups breaks page access

    Hello! I had messaged on WordPress.org forums about this issue, trying to get some help. We’ve been using this plugin to restrict page access for a few years now. Recently, some users are not able to access a certain page. The page content disappears even if I remove any group restrictions as a test. The…

  • User in multiple groups can’t see posts with multiple categories

    Hi, we have users in multiple groups, e.g. ‘town a’, ‘town b’, ‘town c’, etc. We then have post categories which are restricted to members of the assigned groups. However, if a user is in group: ‘town a’, and I add add post with categories ‘town a’ AND ‘town b’, the user cannot view the…

  • Custom restiction

    Hi, I’m trying to figure out if it’s possible to create this rule. Hide a specific post type if: – – if the post is from the current year – – the user is not part of the “jury” group – – user is not the author of the post – – post taxonomy is…

  • Groups Hook for Shortcodes

    Posting this again, as responses to the original are locked out so i cannot reply to the support response. —Original Request— Is there a way to hook into the existing groups shortcode and edit how the “locked content” description looks? I know that there is a template modification example with the 2020 template to show…

  • Fatal error undefined function get_current_user()

    Got fatal error on dpge.ch wordpress site as soon as launching the backend (wp-admin). Identified to be due to Groups plugin. Bypass possible while deactivating the plugin through ftp by renaming the plugin folder, leaving the site without group access security controls. Hereby the debug.log extract (site_ID# replaced by mysite) : [28-Jan-2023 17:36:25 UTC] PHP…

  • Future plugin

    You are missing a plugin like Uncanny codes for wordpress to work with groups plugin. Users to be assigned to a group, after entering a group code. Maybe you will develop it in the future…..

  • Some of our WooCommerce Products are being hidden to guest users

    From the conversation started here … Hi Kento, Still trying to track down this bug. Even with the filter commented out we’re still seeing issues with products being hidden from search/category pages. Here are the steps I’ve taken: 1. Go to /lib/extra/class-groups-extra.php, add a comment to line 35 to disable the visiblity filter. 2. Go to…

  • Unable to update

    “There is a new version of Groups File Access available… Automatic update is unavailable for this plugin.” I have an account, a license for 5 sites, & a service key. I have been using this plugin for several years & would like to continue using it! I have followed your instructions, downloaded & installed ithinx-updates…

  • Group Pluging Error

    Getting this error on our site: E_ERROR was caused in line 240 of the file /home/scudde7/public_html/dev/wp-content/plugins/groups/lib/access/class-groups-access-meta-boxes.php. Error message: Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, string given in /home/scudde7/public_html/dev/wp-content/plugins/groups/lib/access/class-groups-access-meta-boxes.php:240 Stack trace: #0 /home/scudde7/public_html/dev/wp-content/plugins/groups/lib/access/class-groups-access-meta-boxes.php(240): in_array(‘9’, ”) #1 /home/scudde7/public_html/dev/wp-admin/includes/template.php(1409): Groups_Access_Meta_Boxes::groups(Object(WP_Post), Array) #2 /home/scudde7/public_html/dev/wp-admin/edit-form-advanced.php(681): do_meta_boxes(Object(WP_Screen), ‘side’, Object(WP_Post)) #3 /home/scudde7/public_html/dev/wp-admin/post-new.php(75): require(‘/home/scudde7/p…’) #4 {main} thrown

  • Groups 404 Redirect

    Like to redirect users to login for Group restricted page. Read forum here and found out Plugin Groups 404 Redirect. It has not been updated for 2 years, is it still safe to download and use it? Thanks,

  • Add links to [groups_user_groups]

    Hi, I am using to show groups that a user is subscribed to. Is there a way to add a hyperlink to each of the groups listed so that you can easily go the the group pages? e.g. If a user is subscribed to groups ‘Cats’ and ‘Dogs’ I would like to be able to…

  • Do not approve

    I resolved the issue.

Share