Skip to Content Skip to Menu

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

Please Help - Trouble Shoot - Workflow

  • paurray
  • paurray
  • OFFLINE
  • Posts: 99
  • Thanks: 10
  • Karma: 3
11 years 2 months ago - 11 years 2 months ago #232492 by paurray
Hello Support

I have being toying with CB for years now. I admit that I am far from being an Expert User but I can read and join the dots, usually. :( The whole thing is still not working the way I want it to. What I am trying to do is really very simple I know.

Simple Version

A) Site where only logged in people can look at profiles

More Complex versions

B_) An exception to this rule that means non logged in people can look at bloggers profiles
C) A further refinement that means non logged in users can contact Bloggers

As of now even the simplest version is broken.

With respect to A

I can login as admin and look at all profiles.
As a normal user when I login I can only look at admin profiles!!!
Not other user profiles

I get the error message:

"You do not have access to this profile. To proceed either login to your account or register. yours BRUCE"

I have something set, somewhere wrong and I have not got a clue where or what.
I have reread the documentation for what must be the 5th time to date!


The situation as of now.

1) I have my "User Profile Mandatory!" set up as the contact page!
And is public. (Documentation p 27)

2) Under the "User Profile" Tab I have the access set to "Public"
(Documentation p 58)





I have read the on screen tip on the "Users Profile" tab.

"Pick the group that you want to be able to view the profiles. All users of that level and above will have access. IMPORTANT: the CB Profile menu item must also have a corresponding access level (e.g. public if everybody should have access to user profiles)."

3) I have user lists set up all set to public
(Documentation p 118)



And have paid attention to the following warning!

"WARNING: The default list should be the one with the lowest user groups access rights !"







Users are all set to public: Admin and regular users





Further I have reread my post here:

www.joomlapolis.com/forum/153-professional-member-support/221357-solved-from-easyblog-profile-to-cb-profile-for-non-registered-usercontact-page?start=6

Privacy plugin is set as in the last screen shot!



I am at my wits end and would really appreciate some help on this. :sick:

Thank you

Paul

PS

How weird can this get?

Am logged in as a normal registered user

Both Users are normal registered users

finalbug.net/my-profile/userprofile/ysbrand

Gives me the message

You do not have access to this profile. To proceed either login to your account or register. yours BRUCE

finalbug.net/my-profile/userprofile/mart

Takes me to his profile as expected!!!

****************************************

Checking Community Builder Database:

All Community Builder comprofiler_field_values table fieldid rows all match existing fields.

All Community Builder comprofiler_field_values table rows link to correct fieldtype fields in comprofiler_field table.

All Community Builder fields from comprofiler_fields are present as columns in the comprofiler table.

Checking Community Builder folders:
Avatars and thumbnails folder is Writeable.
All Core CB mandatory basics Database is up to date.

Core CB mandatory basics database checks done. If all lines above are in green, test completed successfully. Otherwise, please take corrective measures proposed in red.
All Core CB Database is up to date.
Click here to Show details

Core CB database checks done. If all lines above are in green, test completed successfully. Otherwise, please take corrective measures proposed in red.
Last edit: 11 years 2 months ago by paurray.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48466
  • Thanks: 8280
  • Karma: 1443
11 years 2 months ago - 11 years 2 months ago #232518 by krileon
Replied by krileon on topic Please Help - Trouble Shoot - Workflow

A) Site where only logged in people can look at profiles

More Complex versions

B_) An exception to this rule that means non logged in people can look at bloggers profiles
C) A further refinement that means non logged in users can contact Bloggers

Set profile access within CB > Configuration > User Profile to Everybody (do not use Public). Next using CB Auto Actions you'll redirect any non-logged in users away from profiles that are not bloggers using the below configuration.

Type: Redirect
Triggers: onBeforeUserProfileRequest
User: User
Access: All Non-Registered Users
Conditional: [var1_cb_blogger] Not Equal To 1
URL: index.php
Message: Sorry, you may only publicly view Blogger profiles.
Type: Error

The above assumes you determine someone is a blogger via a checkbox field. Adjust the conditional as needed.

"You do not have access to this profile. To proceed either login to your account or register. yours BRUCE"

I have something set, somewhere wrong and I have not got a clue where or what.
I have reread the documentation for what must be the 5th time to date!

Probably CB Privacy. Disable CB Privacy within CB > Plugin Management and see if issue persists. If it doesn't then it's probably the Profile Privacy field, disable it in CB > Field Management or ensure your users profiles are actually set to be Public. Also ensure you're using latest release of CB Privacy.

If you still have issues after reviewing the above then please PM backend super administrator login credentials and will take a look. Please note it is near end of day so earliest I will be able to review is first thing Monday.


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 2 months ago by krileon.

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

  • paurray
  • paurray
  • OFFLINE
  • Posts: 99
  • Thanks: 10
  • Karma: 3
11 years 2 months ago #232521 by paurray
Replied by paurray on topic Please Help - Trouble Shoot - Workflow
Ok thanks, will do

Have a great weekend

best

Paul

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

  • paurray
  • paurray
  • OFFLINE
  • Posts: 99
  • Thanks: 10
  • Karma: 3
11 years 2 months ago - 11 years 2 months ago #232544 by paurray
Replied by paurray on topic Please Help - Trouble Shoot - Workflow
Set profile access within CB > Configuration > User Profile to Everybody (do not use Public).

DONE. In all fairness you advised me to do this in another thread!


CB Auto Actions

Again from another thread I got the error detection switched on and found it was K2 stuff, I unistalled it all :-)

Fatal error: Class 'K2Model' not found in <span>/</span>var<span>/</span>www/vhosts/finalbug.net/httpdocs/administrator/components/com_k2/models/categories.php on line 18

So I proceeded to unistall K2...

I actually ran into some kind of uninstall error. See screen shot.

But nothing nasty is happening and...

But I have the impression that the Site is SIGNIFICANTLY faster now!


No longer seeing a blank screen when adding a new CB Auto Actions!

Type: Redirect
Triggers: onBeforeUserProfileRequest
User: User
Access: All Non-Registered Users
Conditional: [var1_cb_blogger] Not Equal To 1
URL: index.php
Message: Sorry, you may only publicly view Blogger profiles.
Type: Error

Did all of the above but still do not know where this "blogger via a checkbox field" is!

As of now I am seeing this

"You do not have access to this profile. To proceed either login to your account or register. yours BRUCE"

And not the custom message you suggested "Sorry, you may only publicly view Blogger profiles."

***The above assumes you determine someone is a blogger via a checkbox field. Adjust the conditional as needed.***

I do not get where I need to check this box?


***************************************************************


Initial testing NOT LOGED IN/LOGED IN AS ADMIN

1) Not loged in

Can look at Bloggers Profiles

***CAN NOT*** look at Profiles from members who are not Bloggers!

2) Logged in as Admin

Can look at this profile

finalbug.net/my-profile/userprofile/ysbrand

and this one

finalbug.net/my-profile/userprofile/mart

Also a profile with no Avatar

finalbug.net/my-profile/userprofile/blurberry


3 As normal logged in member

Can look at Blogger Profile

***Can not*** look at someone else's Profile with Avatar!!!

You do not have access to this profile. To proceed either login to your account or register. yours BRUCE

eg

finalbug.net/my-profile/userprofile/ysbrand

***BUT I CAN LOOK AT THIS GUY!!!***

finalbug.net/my-profile/userprofile/mart


***********************************************************

SECOND ROUND WITH CB Privacy DISABLED

Initial admin testing seems to be working OK

1) Not loged in

Can look at Bloggers Profiles

***CAN*** look at Profiles from members who are not Bloggers!


2) Logged in as Admin

Can look at this profile

finalbug.net/my-profile/userprofile/ysbrand

and this one

finalbug.net/my-profile/userprofile/mart

Also a profile with no Avatar

finalbug.net/my-profile/userprofile/blurberry


3 As normal logged in member

Can look at Blogger Profile

***CAN LOOK*** look at:

finalbug.net/my-profile/userprofile/ysbrand

AND

finalbug.net/my-profile/userprofile/mart

AND

finalbug.net/my-profile/userprofile/blurberry


***********************

As of now I am re enabling the CB Privacy Plugin as frankly not a lot of people are logging in at his point

i.e.

1) Not loged in

Can look at Bloggers Profiles

***CAN NOT*** look at Profiles from members who are not Bloggers!

This helps at least keep up appearances ;-)

UPDATED

This is weird

I re-enabeled the "CB Privacy Plugin" in and now get this:

1) Not loged in

Can look at Bloggers Profiles

***CAN*** look at Profiles from members who are not Bloggers!

:blink:
Attachments:
Last edit: 11 years 2 months ago by paurray.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48466
  • Thanks: 8280
  • Karma: 1443
11 years 2 months ago #232611 by krileon
Replied by krileon on topic Please Help - Trouble Shoot - Workflow

Fatal error: Class 'K2Model' not found in <span>/</span>var<span>/</span>www/vhosts/finalbug.net/httpdocs/administrator/components/com_k2/models/categories.php on line 18

Sounds like you had K2 partially installed or didn't have its system plugin enabled.

Did all of the above but still do not know where this "blogger via a checkbox field" is!

It's a field you use to determine if a user is a blogger or not. My example uses a checkbox field for this. You need to create such a field then set it for anyone that is a blogger or use whatever field you maybe using to determine they're a blogger or not. As is your custom redirect isn't doing anything.

As explained earlier you have CB Privacy setup to control the entire profile privacy. It does not care what redirect you setup in CB Auto Actions, because it's 100% irrelevant to its ability to protect a profiles privacy. The privacy protection is absolute. If you have a profile set to "Private" then no one can access it except moderators or the profiles owner, period, nothing can override it. You need to figure out how you're going to control profile privacy, because as is you're trying to combine 2 different usages and it's just not going to work. Individual Tab/Field privacy is going to be fine, but in your case you should shut off profile privacy by disabling the Profile Privacy field within CB > Field Management.


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.

  • paurray
  • paurray
  • OFFLINE
  • Posts: 99
  • Thanks: 10
  • Karma: 3
11 years 2 months ago #232623 by paurray
Replied by paurray on topic Please Help - Trouble Shoot - Workflow
Hi Kyle

I have followed your instructions

See screen shots.

But do not see things working they way I want them to.

My goal is I think quite clear

A) Site where only logged in people can look at profiles

More Complex versions

B_) An exception to this rule that means non logged in people can look at bloggers profiles
C) A further refinement that means non logged in users can contact Bloggers

As of now A is still not working!

Here is the testing fot the third round.

I was getting confused between Easy Blog Blogger and assigning a filed to a CB User Profile called “Blogger”

Do you have any more ideas?

Do you think that you could maybe take a look at this?

Maybe I am making progress. Frankly I do not know! there is some little tick box somewhere which is not set up correctly!

Third ROUND WITH CB Privacy DISABLED & Blogger Field Added!

1) Not loged in

Can look at Bloggers Profiles

***CAN*** look at Profiles from members who are not Bloggers!


2) Logged in as Admin

Can look at this profile

finalbug.user profile

and this one

finalbug.net/my-profile/userprofile/mart

Also user profileith no Avatar

finalbug.net/my-profile/userprofile/blurberry


3 As normal logged in member

Can look at Blogger Profile

***CAN LOOK*** look at:

finalbug.net/my-profile/userprofile/ysbrand

AND

finalbug.net/my-profile/userprofile/mart

AND

finalbug.net/my-profile/userprofile/blurberry

:blush:

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

Moderators: beatnantkrileon
Powered by Kunena Forum