TOPIC:

script to update breezing forms database 9 months 2 weeks ago #251449

  • Topic Author
  • toonetcreation
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 72
  • Thanks: 1
Hi,

I have a form with a google recaptcha field.
To add public and private key, I'm using the component's interface from joomla backend.

As I'm script a lot of things, I tried to update public and private key via a shell script which makes a request in the MySQL database to insert/update public and private keys.

Technically it works because the database is correctly updated.
But when I go to the component's interface, it doesn't display anything.

I already did the same for other plugins and everything works fine.
Ex: with default joomla recaptcha plugin, the same script works well. The database is updated and in the back office I can see the keys.

Do you know why it does not work with BreezingForms?

Thanks
L.

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

script to update breezing forms database 9 months 2 weeks ago #251450

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Posts: 6963
  • Karma: 3
  • Thanks: 494
Hi,

you can update database in End Submit pieces.

Could you please post here the code you have used for update?

Regards,
Tihana

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

script to update breezing forms database 9 months 2 weeks ago #251472

  • Topic Author
  • toonetcreation
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 72
  • Thanks: 1

tihana.krivic wrote: Hi,
you can update database in End Submit pieces.


I don't want to use the GUI, I want to do it programmaticaly without connecting to joomla back-end

tihana.krivic wrote: Hi,
Could you please post here the code you have used for update?


here is the code of SQL query launched :
mysql -D MY_DATABASE -e "UPDATE yh5ab_facileforms_forms SET template_areas = REPLACE(template_areas, 'PRIVATE_KEY', 'MY_CAPTCHA_PRIVATE_KEY'), template_areas = REPLACE(template_areas, 'PUB_KEY', 'MY_CAPTCHA_PUBLIC_KEY')"

this query works because at the beginning I had this :
"pubkey":"PUB_KEY","privkey":"PRIVATE_KEY"

and after query I have this :
"pubkey":"MY_CAPTCHA_PUBLIC_KEY","privkey":"MY_CAPTCHA_PRIVATE_KEY"

but on weg interface I have this :


kk
Attachments:

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

script to update breezing forms database 9 months 2 weeks ago #251474

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Posts: 6963
  • Karma: 3
  • Thanks: 494
Hi,

for breezingforms captcha you should directly enter Site Key and Secret Key in this fields. Find your own keys from google recaptcha

Regards,
Tihana

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

script to update breezing forms database 9 months 2 weeks ago #251484

  • Topic Author
  • toonetcreation
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 72
  • Thanks: 1
I know that, this is not the problem.

I want to know how can I do it programamticaly without connecting to the interface?

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

script to update breezing forms database 9 months 2 weeks ago #251500

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Posts: 6963
  • Karma: 3
  • Thanks: 494
Hi,

on this way, unfortunately, it is not possible :/

Regards,
Tihana

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

  • Page:
  • 1
  • 2
Time to create page: 0.078 seconds

BreezingForms Pro 1.4.7 for WordPress Released!

Available in the membership section.

September Discount!

Massive discounts on all subscriptions!

Get Your Subscription Here

Quick Links

Downloads

BreezingForms

ContentBuilder

BreezingCommerce

Templates

Documentation

BreezingForms

ContentBuilder

BreezingCommerce

Apprendre BreezingForms (French Community)

Apprendre et maîtriser BreezingForms par des tutoriels et exemples, le tout en français

breezingforms.eddy-vh.com

Questions et réponses sur les forums de l'AFUJ

AFUJ

Special Offer

Summer Sale! All subscriptions at a special price!

Includes prio support, all of our current and future Joomla!® extensions and Joomla!® templates for the duration of your membership.

Get it from here

3rd Party Discount - 25% Off

We help you to keep your costs under control. If you are a new member and purchased a form building tool from a different form vendor, then you'll get a 25% discount on our subscription plans.

How to receive the discount:

Send us a quick email to sales@crosstec.org with a proof of purchase (for example a paypal receipt), await payment instructions and enjoy your membership!