Skip to Content Skip to Menu

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

Problem with normal user subscription

  • timstohr
  • timstohr
  • OFFLINE
  • Posts: 1091
  • Thanks: 56
  • Karma: 9
8 years 8 months ago #277208 by timstohr
Replied by timstohr on topic Problem with normal user subscription
Unfortunately the installation of the nightly didnt help. I will continue on my quest to find the culprit this week. I hope to find the problem... Just read that some part of CB user validation API has deprecated. Could it be that?

Still doesnt explain why it works on my Non-business directory but otherwise clone of the munich website (saigon.international-friends.net)


Attachments:

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48460
  • Thanks: 8280
  • Karma: 1443
8 years 8 months ago #277210 by krileon
Replied by krileon on topic Problem with normal user subscription
Based off your screenshot it's telling you exactly what the problem is. They're not confirmed or approved. CB Connect by default bypasses this by automatically confirming and approving them unless changed otherwise. JFBConnect doesn't seam to do this. With CBSubs you can set plans to override confirmation and approval as well and maybe 1 site you've a plan that's being assigned to them that is doing that. I don't know what to tell 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.

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

  • timstohr
  • timstohr
  • OFFLINE
  • Posts: 1091
  • Thanks: 56
  • Karma: 9
8 years 8 months ago #277438 by timstohr
Replied by timstohr on topic Problem with normal user subscription
After what seemed like a month of searching the stupid errors that were being thrown up, I have found that it is due to the fact that I have a plan for lifetime free users set on Manual registration (as in the login). Since I cannot make it so that a field is SHOWN only when somebody choose a payable plan, but have to HIDE it when someone subscribes to the standard Free lifetime, the third party plugin does not "see" the hiding by CB subs and marks it as required. Since JFB then says OK, it has everything it automatically sets the user in the Joomla DB but does not set it in CB because of this hidden field not being filled out.

And yes, I would have used CBConnect happily as it makes a LOT less problems but for two reasons: I cannot use it as a normal module and thus put it anywhere (with ONLY the Facebook login button there and no main login)

And most importantly: the automatic login feature of JFB is awesome. My users do not need to login manually anymore since it automatically logs them into the website. If you can add both of these, then I will be the first to switch back (I spent weeks setting up JFBConnect (and finetuning it) for it to work as performant as now, with CB connect it was LOADS easier) :D

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48460
  • Thanks: 8280
  • Karma: 1443
8 years 8 months ago #277453 by krileon
Replied by krileon on topic Problem with normal user subscription

I cannot use it as a normal module and thus put it anywhere (with ONLY the Facebook login button there and no main login)

Yes you can. The endpoint is just a URL. You can actually put the button anywhere you want on your site. The URLs are as follows.

Facebook:
index.php?option=com_comprofiler&view=pluginclass&plugin=cbconnect&provider=facebook

Google:
index.php?option=com_comprofiler&view=pluginclass&plugin=cbconnect&provider=google

Twitter:
index.php?option=com_comprofiler&view=pluginclass&plugin=cbconnect&provider=twitter

For example the below would show a sign in button for Facebook in the CB Content Module if the user isn't logged in.

Code:
[cb:if user="#me" user_id<="0"]<button onclick="window.location='index.php?option=com_comprofiler&view=pluginclass&plugin=cbconnect&provider=facebook'; return false;" title="Sign in with your Facebook account">Sign in with Facebook</button>[/cb:if]

And most importantly: the automatic login feature of JFB is awesome. My users do not need to login manually anymore since it automatically logs them into the website. If you can add both of these, then I will be the first to switch back (I spent weeks setting up JFBConnect (and finetuning it) for it to work as performant as now, with CB connect it was LOADS easier)

That would require constant checking if a user is already logged into Facebook through Facebook API (subject to rate limits.. hit the limit and your app stops working), check if they match a user (a database query), then log them in (whether they want to or not). If you mean it logs them in without ever clicking a button that's login and registration without consent. Both are bad practice and subjectively dangerous. Neither will ever be implemented, sorry.

The only way to support auto login in a safe manner would be to just set the Remember Me cookie after login, but those rarely work since a lot of browsers will just clear it. Will add a feature ticket to allow that to be turned on, but it's unreliable at best.

forge.joomlapolis.com/issues/5767


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.

Moderators: beatnantkrileon
Powered by Kunena Forum