Answers.Body: <p>In case anyone else is wondering, the Settings link in the plugin (shown in the screenshot in my original question) is an unused link (at the present).</p>
  
  <p>I will post a separate question on why the Groups sync plugin is only syncing when a contact gets manually added to a Civi Group.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-09-11T22:28:14.630Z
Answers.LastActivityDate: 2019-09-11T22:28:14.630Z
Answers.UserDisplayName: BizHarbour
Answers.Body: <blockquote>
    <p>I registered as a Guest user via CiviCRM profile (which includes a create WP user account form) and ... [snip] ... now I've discovered I cannot access the CiviCRM Groups Sync plugin's Settings page</p>
  </blockquote>
  
  <p>I can't be entirely sure, but I think you may have been confused by the process of registering "as a Guest user via CiviCRM profile". When you do this and create a user account at the same time, CiviCRM will <em>automatically log you in as that user</em>. (FWIW that's one reason I don't use this functionality since there's no way to prevent that from happening) If you subsequently browse your WordPress site <em>as that user</em>, you'll find (depending on the default user role you have set) that you cannot access parts of it. You'd need to log out of WordPress and log in as your admin user to restore your capabilities.</p>
  
  <blockquote>
    <p>Also, this plugin does not really help with removing the user when their Civi Membership lapses. So really the member sync plugin would be ideal as it works with the differing Civi Membership states.</p>
  </blockquote>
  
  <p>As I said in response to another question of yours on SE, this is on my to-do list. Please be patient and remember that the joy of free software is that it's free. My time, on the other hand, is limited - especially in the summer holidays. Luckily for you, funding has indeed been found and set aside to implement this - when I have the time to do so!</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-08-28T22:20:03.260Z
Answers.Text: Hi Christian, I'm logged in as Admin when the settings aren't showing. Another Admin user is also locked out of the Settings. No other plugins are having any permission problems and I'm not seeing any settings in Civi that would stop it. Could it be something in the .htaccess file stopping the Settings from displaying? My comment re the Membership plugin was there to show other readers that I knew about that the plugin, sorry if it came over as a poke. It has been suggested I use Civi Smart Groups to sync with WP so that fixes my issue with CiviMembers syncing with WP.
Answers.UserDisplayName: BizHarbour
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-08-28T22:27:04.177Z
Answers.Text: Would the issue with the Settings not displaying cause the sync not to work? When I signed up using the 'Guest' profile I was added to the Civi 'Guests' group but not the WP Guests group, even though this was created when I created the group in Civi and ticked the Groups Sync box. I was just added to the default 'Registered' Group. Is it worth me deactivating and deleting the plugin and starting again?
Answers.UserDisplayName: BizHarbour
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-08-28T23:10:23.497Z
Answers.Text: FYI I am getting 'There is an existing CiviCRM group that is linked to this group. The group members will exist in both groups.' when I go to Edit the WP Group 'Guests'. I added an existing Civi contact/WP User to the Guests group in Civi and it added them to the WP Guests group. So the plugin is definitely syncing between the groups. I will sign up another test user on the Guest profile and see if that works now---maybe I missed something on the first time around.
Answers.UserDisplayName: BizHarbour
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-08-29T12:24:51.537Z
Answers.Text: @BizHarbour I'm not quite sure how you got the URL, but there is no CiviCRM Groups Sync "Settings" page. There's placeholder code, admittedly, but it's disabled.
Answers.UserDisplayName: Christian Wach
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-08-31T19:46:30.283Z
Answers.Text: Hi Christian, I'm getting to that page by clicking on Settings under the plugin name in the WP Plugins dashboard.I'll relax if there are no settings there :) However, the plugin is definitely not syncing Civi contacts who sign up using the Civi profile. They are added to the Guest group in Civi but it is not syncing with the Guest group in WP. The WP user is created when the profile is filled out, and they are being added to the default 'Registered' group. The Guest groups are definitely syncing when I manually add a contact to the Guest group in Civi. Should there be a scheduled job?
Answers.UserDisplayName: BizHarbour
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-08-31T19:48:41.753Z
Answers.Text: I've added a screenshot to my original question showing the Settings link I'm referring to.
Answers.UserDisplayName: BizHarbour
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-09-02T19:21:40.913Z
Answers.Text: Ah, that Settings link is an oversight. Please ignore!
Answers.UserDisplayName: Christian Wach
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-09-02T19:23:21.823Z
Answers.Text: I wonder if the Contact is added to the CiviCRM group before or after the WordPress user is created... hmm... I'll look into it when I get a chance.
Answers.UserDisplayName: Christian Wach
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-08-27T11:46:45.593Z
Answers.LastActivityDate: 2019-08-27T11:46:45.593Z
Answers.UserDisplayName: Christian Wach
Answers.Body: <p><code>Also, this plugin does not really help with removing the user when their Civi Membership lapses. So really the member sync plugin would be ideal as it works with the differing Civi Membership states.</code></p>
  
  <p>If you use the Members plugin alongside Christian Wach's CiviCRM Wordpress Member Sync - you could achieve what you are trying to achieve.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-09-11T22:40:45.523Z
Answers.LastActivityDate: 2019-09-11T22:40:45.523Z
Answers.UserDisplayName: themak
Answers.Body: <p>I would check the overall Wordpress permissions for Civi and make sure the permissions are correct. I would also check to see if APIv4 extension is installed. I'm finding a couple of Civi extensions do not function if APIv4 is active.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-08-28T22:33:18.253Z
Answers.Text: Hi, I've checked the WP permissions for Civi and it doesn't have a row for Admin (only Anonymous, Subscriber, Contributor, Author, Editor). It says 'Super Admin and Administrator roles will have all permissions in CiviCRM.' Is there somewhere else to change permissions? Also this is a Wordpress plugin as opposed to a Civi Extension
Answers.UserDisplayName: BizHarbour
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-08-26T19:02:51.350Z
Answers.LastActivityDate: 2019-08-26T19:02:51.350Z
Answers.UserDisplayName: Barbara Forbes-Lyons
Body: <p>I installed the CiviCRM Groups Sync Plugin after finding the CiviCRM Member Sync plugin is not currently syncing to the WP Groups.</p>
  
  <p>It was all working and I set up a 'Guests' group in CiviCRM to sync to WP and it created the group 'Guests' in Wordpress. So that worked.</p>
  
  <p>However, I registered as a Guest user via CiviCRM profile (which includes a create WP user account form) and was added to the Civi Guests group but not the WP Guests group.</p>
  
  <p>I was just added to the default 'Registered' Group.</p>
  
  <p>And now I've discovered I cannot access the CiviCRM Groups Sync plugin's Settings page. I get the dreaded '<strong>Sorry, you are not allowed to access this page.</strong>' </p>
  
  <p>This is the page being accessed <a href="https://somesite.com/wp-admin/options-general.php?page=civicrm_groups_sync_parent" rel="nofollow noreferrer">https://somesite.com/wp-admin/options-general.php?page=civicrm_groups_sync_parent</a></p>
  
  <p>I'm logged into WP as Administrator. </p>
  
  <p>I'm not seeing any errors in the PHP error log, and have WP DEBUG on but not showing any errors.</p>
  
  <p>Help! </p>
  
  <p>Cheers,
  Tracy</p>
  
  <p>UPDATE:
  <a href="https://i.sstatic.net/OXKfs.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/OXKfs.png" alt="Link to Group Sync Settings"></a></p>
  
  <p>UPDATE: Also, this plugin does not really help with removing the user when their Civi Membership lapses. So really the member sync plugin would be ideal as it works with the differing Civi Membership states.</p>
  
Tags: <wordpress>
Title: CiviCRM Groups Sync Plugin for Wordpress - No access to Settings
ThreadText: # CiviCRM Groups Sync Plugin for Wordpress - No access to Settings
  
  (Asked by: username_0 on 2019-08-25)
  
  I installed the CiviCRM Groups Sync Plugin after finding the CiviCRM Member Sync plugin is not currently syncing to the WP Groups.
  
  It was all working and I set up a 'Guests' group in CiviCRM to sync to WP and it created the group 'Guests' in Wordpress. So that worked.
  
  However, I registered as a Guest user via CiviCRM profile (which includes a create WP user account form) and was added to the Civi Guests group but not the WP Guests group.
  
  I was just added to the default 'Registered' Group.
  
  And now I've discovered I cannot access the CiviCRM Groups Sync plugin's Settings page. I get the dreaded '**Sorry, you are not allowed to access this page.**'
  
  This is the page being accessed <https://somesite.com/wp-admin/options-general.php?page=civicrm_groups_sync_parent>
  
  I'm logged into WP as Administrator.
  
  I'm not seeing any errors in the PHP error log, and have WP DEBUG on but not showing any errors.
  
  Help!
  
  Cheers,
  Tracy
  
  UPDATE:
  [![Link to Group Sync Settings](https://i.sstatic.net/OXKfs.png)](https://i.sstatic.net/OXKfs.png)
  
  UPDATE: Also, this plugin does not really help with removing the user when their Civi Membership lapses. So really the member sync plugin would be ideal as it works with the differing Civi Membership states.
  
  **Tags:** wordpress
  
  
  ---
  
  ## 4 answers
  
  ### Answer by username_0 on 2019-09-11. Score: -1 | Accepted answer
  
  In case anyone else is wondering, the Settings link in the plugin (shown in the screenshot in my original question) is an unused link (at the present).
  
  I will post a separate question on why the Groups sync plugin is only syncing when a contact gets manually added to a Civi Group.
  
  
  ---
  
  ### Answer by username_1 on 2019-08-27. Score: 4
  
  > I registered as a Guest user via CiviCRM profile (which includes a create WP user account form) and ... [snip] ... now I've discovered I cannot access the CiviCRM Groups Sync plugin's Settings page
  
  I can't be entirely sure, but I think you may have been confused by the process of registering "as a Guest user via CiviCRM profile". When you do this and create a user account at the same time, CiviCRM will *automatically log you in as that user*. (FWIW that's one reason I don't use this functionality since there's no way to prevent that from happening) If you subsequently browse your WordPress site *as that user*, you'll find (depending on the default user role you have set) that you cannot access parts of it. You'd need to log out of WordPress and log in as your admin user to restore your capabilities.
  
  > Also, this plugin does not really help with removing the user when their Civi Membership lapses. So really the member sync plugin would be ideal as it works with the differing Civi Membership states.
  
  As I said in response to another question of yours on SE, this is on my to-do list. Please be patient and remember that the joy of free software is that it's free. My time, on the other hand, is limited - especially in the summer holidays. Luckily for you, funding has indeed been found and set aside to implement this - when I have the time to do so!
  
  > **Comments:**
  > **username_0**: Hi Christian, I'm logged in as Admin when the settings aren't showing. Another Admin user is also locked out of the Settings. No other plugins are having any permission problems and I'm not seeing any settings in Civi that would stop it. Could it be something in the .htaccess file stopping the Settings from displaying? My comment re the Membership plugin was there to show other readers that I knew about that the plugin, sorry if it came over as a poke. It has been suggested I use Civi Smart Groups to sync with WP so that fixes my issue with CiviMembers syncing with WP.  
  > **username_0**: Would the issue with the Settings not displaying cause the sync not to work? When I signed up using the 'Guest' profile I was added to the Civi 'Guests' group but not the WP Guests group, even though this was created when I created the group in Civi and ticked the Groups Sync box. I was just added to the default 'Registered' Group. Is it worth me deactivating and deleting the plugin and starting again?  
  > **username_0**: FYI I am getting 'There is an existing CiviCRM group that is linked to this group. The group members will exist in both groups.' when I go to Edit the WP Group 'Guests'. I added an existing Civi contact/WP User to the Guests group in Civi and it added them to the WP Guests group. So the plugin is definitely syncing between the groups. I will sign up another test user on the Guest profile and see if that works now---maybe I missed something on the first time around.  
  > **username_1**: @username_0 I'm not quite sure how you got the URL, but there is no CiviCRM Groups Sync "Settings" page. There's placeholder code, admittedly, but it's disabled.  
  > **username_0**: Hi Christian, I'm getting to that page by clicking on Settings under the plugin name in the WP Plugins dashboard.I'll relax if there are no settings there :) However, the plugin is definitely not syncing Civi contacts who sign up using the Civi profile. They are added to the Guest group in Civi but it is not syncing with the Guest group in WP. The WP user is created when the profile is filled out, and they are being added to the default 'Registered' group. The Guest groups are definitely syncing when I manually add a contact to the Guest group in Civi. Should there be a scheduled job?  
  > **username_0**: I've added a screenshot to my original question showing the Settings link I'm referring to.  
  > **username_1**: Ah, that Settings link is an oversight. Please ignore!  
  > **username_1**: I wonder if the Contact is added to the CiviCRM group before or after the WordPress user is created... hmm... I'll look into it when I get a chance.  
  
  ---
  
  ### Answer by username_2 on 2019-09-11. Score: 0
  
  `Also, this plugin does not really help with removing the user when their Civi Membership lapses. So really the member sync plugin would be ideal as it works with the differing Civi Membership states.`
  
  If you use the Members plugin alongside username_1's CiviCRM Wordpress Member Sync - you could achieve what you are trying to achieve.
  
  
  ---
  
  ### Answer by username_3 on 2019-08-26. Score: 0
  
  I would check the overall Wordpress permissions for Civi and make sure the permissions are correct. I would also check to see if APIv4 extension is installed. I'm finding a couple of Civi extensions do not function if APIv4 is active.
  
  > **Comments:**
  > **username_0**: Hi, I've checked the WP permissions for Civi and it doesn't have a row for Admin (only Anonymous, Subscriber, Contributor, Author, Editor). It says 'Super Admin and Administrator roles will have all permissions in CiviCRM.' Is there somewhere else to change permissions? Also this is a Wordpress plugin as opposed to a Civi Extension  
  
  ---
  
  