Skip to Content Skip to Menu

🎃 Happy Halloween! Treat yourself with an awesome discount on memberships! Get 20% off now with code SPOOKY-2024!

[SOLVED] Cb Privacy v2.0 User does not exist in community builder

  • iglew
  • iglew
  • OFFLINE
  • Posts: 28
  • Thanks: 5
  • Karma: 3
11 years 6 months ago - 11 years 6 months ago #224256 by iglew
Joomla 2.5.9
CB 1.9
All other cb plugins up-to-date
php 5.3

Testing v2.0 upgrade on our development servers using copy of live system

Pre upgrade v1.3 works with no problems
pre upgrade CB Tools all green

installed v2.0
No errors reported on install all db changes reported as OK
Enabled privacy plugin
Left the 3 Field options unpublished

Privacy tools reports about 50 "User does not exist in community builder"

Post install main CB tools checks all green

We have never deleted users in joomla always in cb as per instructions

Have migrated but still asks if want to migrate in privacy tools

Users have correct privacy settings but no options are shown when trying to change (Front and backend)

Fields set to private are displayed

The users exist in joomla and cb but are shown as "unknown" in privacy

Suggestions would be good (Sounds rather like a corrupt db somewhere)

Edit...

Turned on debug which gives

Warning: Missing argument 6 for cbconditionalTab::fieldsFetch() in /opt/lampp/htdocs/CPALCJ25/components/com_comprofiler/plugin/user/plug_cbconditional/tab.cbconditional.php on line 52

Notice: Undefined variable: fullAccess in /opt/lampp/htdocs/CPALCJ25/components/com_comprofiler/plugin/user/plug_cbconditional/tab.cbconditional.php on line 57

Warning: Missing argument 6 for cbprivacyTab::fieldsFetch() in /opt/lampp/htdocs/CPALCJ25/components/com_comprofiler/plugin/user/plug_cbprivacy/tab.cbprivacy.php on line 170

Not sure about the relationship(s) here or the required actions?

Edit

CB conditionals v3.0 (Sorry missed the upgrade to v3.03)

Should this fix issue?

Will install and test
Last edit: 11 years 6 months ago by krileon.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48460
  • Thanks: 8280
  • Karma: 1443
11 years 6 months ago - 11 years 6 months ago #224262 by krileon
Please ensure all our plugins are up to date that you have installed. The quickest way to do this is from our package builder below by selecting all our plugins that you have installed then download and install the package and it'll update all you selected. The errors you're seeing are either due to out of date usages or you've something firing the fields fetch trigger with missing variables; chances are high updating will fix your problems.

www.joomlapolis.com/downloads/cb-package-builder

As for the CB Privacy check you have a privacy row for a user that doesn't exist in CB. This is fine. You can either delete the privacy row or just ignore the tools check. The old CB Privacy did not have such a check so you never knew of this.

In Tools check it will always ask if you want to migrate. It does this so you can manually re-migrate if you want to. Please understand it migrates on installation if an older install exists. You do not need to keep migrating. You can also optionally delete the old database from here.

CB Privacy 2.0.0 is literally an install, enable, and done if you had a previous CB Privacy installed. It auto migrates for you.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
Last edit: 11 years 6 months ago by krileon.

Please Log in or Create an account to join the conversation.

  • iglew
  • iglew
  • OFFLINE
  • Posts: 28
  • Thanks: 5
  • Karma: 3
11 years 6 months ago #224288 by iglew
Thanks for the update and the reassurance on the no users issue

There may be 2 issues here.

1) On the big site we're working through ensuring all the plugins are up to date. This site has been migrated up from Joomla 1 and some users predate the introduction of CB to handle registration membership etc. We've found a few very old members who have no forename or surname, just a username. Could the nulls on be causing an issue with conditionals and privacy as both are applied to these fields?

2) We have a "pure" dev site which just has CB 1.9 nothing else. We installed privacy v2 with no problems. We then applied it to visible user field. There are no debug issues but...

The privacy button is visible, when this is clicked in both the front and back ends no choices i.e. private, connections etc are visible in the drop down just public.

The plugin is enabled and the defaults in the plugin are enabled. The 3 field options are not published i.e. profile, disable and delete

The field has the privacy option set and public is the default.

There are no caches, sef etc

So are we missing something here to get the other options to display?

Please Log in or Create an account to join the conversation.

  • Buzz50
  • Buzz50
  • OFFLINE
  • Posts: 180
  • Thanks: 10
  • Karma: 2
11 years 6 months ago - 11 years 6 months ago #224290 by Buzz50

Deprecated: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in /home/joomlapolis824/public_html/libraries/kunena/External/Nbbc/src/BBCode.php on line 1435
I am getting a similar problem
Only the 'Public' option is available as a drop down, no others.
I did have the old privacy plugin which worked fine.
I have installed this on a test site without the old privacy plugin and all the options are there, so it looks like an upgrade issue.
I have even tried reversing all the options in case the logic is wrong!






general_template=default
general_class=
privacy_options_visible=1
privacy_options_users=1
privacy_options_invisible=1
privacy_options_conn=1
privacy_options_connofconn=1
privacy_options_conntypes=0
privacy_options_conntypes_types=0
notifications_mod_from_name=
notifications_mod_from_email=
notifications_mod_disable=1
notifications_mod_disable_subject=User Account Disabled
notifications_mod_disable_body=Name: [name]<br />Username: [username]<br />Email:

Buzz50
Mike
Buzz50 Seniors
'Head Buzzer'
Attachments:
Last edit: 11 years 6 months ago by Buzz50.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48460
  • Thanks: 8280
  • Karma: 1443
11 years 6 months ago #224291 by krileon

1) On the big site we're working through ensuring all the plugins are up to date. This site has been migrated up from Joomla 1 and some users predate the introduction of CB to handle registration membership etc. We've found a few very old members who have no forename or surname, just a username. Could the nulls on be causing an issue with conditionals and privacy as both are applied to these fields?

No, CB Conditionals and CB Privacy have nothing to do with name fields.

2) We have a "pure" dev site which just has CB 1.9 nothing else. We installed privacy v2 with no problems. We then applied it to visible user field. There are no debug issues but...

The privacy button is visible, when this is clicked in both the front and back ends no choices i.e. private, connections etc are visible in the drop down just public.

The plugin is enabled and the defaults in the plugin are enabled. The 3 field options are not published i.e. profile, disable and delete

The field has the privacy option set and public is the default.

There are no caches, sef etc

So are we missing something here to get the other options to display?

It's an input, click it to expand the dropdown to select different privacy values. It's the same style of input that you see on Google+, but it's contained in a dropdown to prevent display issues.

I am getting a similar problem
Only the 'Public' option is available as a drop down, no others.
I did have the old privacy plugin which worked fine.
I have installed this on a test site without the old privacy plugin and all the options are there, so it looks like an upgrade issue.
I have even tried reversing all the options in case the logic is wrong!

Click the input, that's the display handler for privacy selected. Clicking it will expand a dropdown to select different privacy values. This allows it to have multiple privacy values and remain compact.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • Buzz50
  • Buzz50
  • OFFLINE
  • Posts: 180
  • Thanks: 10
  • Karma: 2
11 years 6 months ago - 11 years 6 months ago #224296 by Buzz50
WOW!

How will my members know that they have to do that?

I would think that most people will believe that it is a drop down select list with only one option. What is the x for?

I had to try it for ages to know what you meant.

Is there a way of showing it expanded automatically?

If not, can I uninstall and go back to the older version?




Buzz50
Mike
Buzz50 Seniors
'Head Buzzer'
Attachments:
Last edit: 11 years 6 months ago by Buzz50.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum