Skip to Content Skip to Menu

[SOLVED] Trying to Verify Current Password CB field against Joomla user password

10 years 7 months ago #242752 by prestoproducts
I have attempted setting to inline js with the same statements as I previously posted. Still no luck.

So I am also looking into CB 2 for testing purposes. I see that you all note that we should not use 2.0 beta release on a live site. This site needs to go live soon, so I am wary to take the time to upgrade at this point. Could there be another way to solve the issue with 1.9.1?

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48478
  • Thanks: 8282
  • Karma: 1443
10 years 7 months ago #242839 by krileon
I don't see why it doesn't work with CB 1.9. It's just an attribute changed so either the raw JS should work or the jQuery should work. I don't know what more to advise beyond that as it works fine in my tests. Please provide a screenshot of your full auto action configure as maybe something else is preventing your action from even loading (conditional, access, etc..).


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.

10 years 7 months ago #242894 by prestoproducts


If you still cannot see any error in this setup, I would be happy to PM you admin access to review.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48478
  • Thanks: 8282
  • Karma: 1443
10 years 7 months ago #242900 by krileon
Ok, tested that usage and it will not work as the DOM isn't ready yet. Instead of testing for it to be ready you can just echo out a script tag. Example as follows.

Trigger: onAfterUserProfileEditDisplay (it's important in this usage to use this trigger)
Method: HTML
Code:
Code:
<script>document.getElementById( 'cb_emailaddress' ).type = 'password';</script>
Return: echo

Beyond that there's really nothing more I can suggest. I've tested the above usage and the jQuery usage as both working fine.


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.
The following user(s) said Thank You: prestoproducts

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

10 years 7 months ago #242902 by prestoproducts
At long last! This worked for me. Thank you again.
The following user(s) said Thank You: krileon

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

Moderators: beatnantkrileon
Powered by Kunena Forum