TOPIC:

Where and how is signature saved? 4 weeks 14 minutes ago #257289

  • Topic Author
  • Niederhofer
  • Offline
  • Senior Breezer
  • Senior Breezer
  • Posts: 100
  • Thanks: 0
Dear Tihana,
I checked through the code and see the challenge, that I would need to go into the core programming of breezingforms. With a backup, all this would be changed back again.

Do you see a possibility to leave these files aside and instead get the signature.png also saved a second time in a different folder - based on a script in "advanced-more options-end submit" area of the form itself?

In the form is ID-textfield with custom user specific ID#. Via $ID=ff_getSubmit('ID'); it is turned into $ID. In the same form is the signature field. Now it has to be saved into this folder:

JPATH_SITE . '/media/breezingforms/uploads/'.$ID.'/user1.png';


Can you help me with that please?

Thank you and have a nice start!
Kind regards

Andreas

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

Where and how is signature saved? 4 weeks 1 minute ago #257291

  • tihana.krivic's Avatar
  • tihana.krivic
  • Away
  • Moderator
  • Moderator
  • Posts: 5362
  • Karma: 3
  • Thanks: 383
Hi,

in this path:
/components/com_breezingforms/facileforms.process.php
you can't add the code like this:
JPATH_SITE . '/media/breezingforms/uploads/'.$ID.'/user1.png';
because this
 $ID=ff_getSubmit('ID');
is for each form, this code in path
/components/com_breezingforms/facileforms.process.php
is for all forms.

Do you see a possibility to leave these files aside and instead get the signature.png also saved a second time in a different folder - based on a script in "advanced-more options-end submit" area of the form itself?

I need to test this first, and then I will get back to you

Regards,
Tihana

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

Where and how is signature saved? 3 weeks 5 days ago #257427

  • Topic Author
  • Niederhofer
  • Offline
  • Senior Breezer
  • Senior Breezer
  • Posts: 100
  • Thanks: 0
Yes, right, Tihana! That´s what I thought too at the end. But I need to personalize the way, how the signature.png is saved. One folder and "sign-"+hash md5 code is just good to save without having the same name saved twice....but, what happens, if you have 1.000 user signatures saved and you want to find one signature later...

Have you been able to do a test with the idea to save the png with a script in "advanced-more options-end submit" area of the form itself, but then in JPATH_SITE . '/media/breezingforms/uploads/'.$ID.'/user1.png'?

Thanks for support!
Andreas

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

Where and how is signature saved? 3 weeks 4 days ago #257445

  • tihana.krivic's Avatar
  • tihana.krivic
  • Away
  • Moderator
  • Moderator
  • Posts: 5362
  • Karma: 3
  • Thanks: 383
Hi,

I am currently working on it, and I will get back to you when I get useful information

Regards,
Tihana

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

Where and how is signature saved? 3 weeks 1 day ago #257665

  • Topic Author
  • Niederhofer
  • Offline
  • Senior Breezer
  • Senior Breezer
  • Posts: 100
  • Thanks: 0
Hej Tihana,
I solved it like this:
Form -> Advanced -> more options -> end of transmission:

$ID=ff_getSubmit('nummer');
$filenew="media/breezingforms/uploads/".$ID."/sign1.jpg";
rename ("media/breezingforms/signatures/signatur.png", $filenew);

So the signature.png is transfered from signature folder to uploads folder and on the fly renamed. With this I have all files for one user in one individual folder.

Thanks for inspiration!
Andreas

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

  • Page:
  • 1
  • 2
Moderators: ForumSupport
Time to create page: 0.090 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!