TOPIC:

Problem with Login Form App 4 years 2 months ago #205651

  • Topic Author
  • jfruiz
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 8
  • Thanks: 0
In my breezing Forms install (last pro version on Joomla 2.5) I have the free Login Form Package from here and it works perfectly as it is.

The problem is that I need to fix a diferent return page after login, wich is set in before form and end submit pieces as:
$options['return'] = '';
but I don't find a way to get that working.

I have removed second page on form and also checked out the last page is thankyou page option.

I have set:
$options['return'] = base64_encode($myRetunUrl);
in both pieces and when I push the submit button the form reload with the user loged, but the return never get fired

Is there a problem with that form (maybe outdated)? or I'm doing something wrong?

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

Last edit: Post by jfruiz.

Problem with Login Form App 4 years 2 months ago #205719

  • tomeperica's Avatar
  • tomeperica
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 6478
  • Karma: 170
  • Thanks: 674
Maybe you can simply try to turn of Thank you page option (also Uncheck Last page as Thank you) and in End Submit Pieces put this code to be last:
JFactory::getApplication()->redirect('http://linktosome.page');

Also pls update to latest Joomla, Joomla 2.5 is no longer supported so your site is exposed to risk.

Regards,
Tome
Regards,
Tome
==========================================
Need to renew Pro Support?
Buy Here!
==========================================
Satisfied?
Consider a membership!
==========================================
Like us on Facebook
==========================================
Support Crosstec and get ALL EXTENSIONS and professional support for just $5
Here!
The following user(s) said Thank You: jfruiz

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

Problem with Login Form App 4 years 2 months ago #205789

  • Topic Author
  • jfruiz
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 8
  • Thanks: 0
Pending to understand why
$options['return']
is completly ignored by Loging...

Your code do the trick and my modded form is fully working.

Thank you very much.


Ps. I am already working on migration to updated Joomla (not easy due a very bad template choice when site was created), but in the mean time...

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

Last edit: Post by jfruiz.

Problem with Login Form App 4 years 2 months ago #205792

  • tomeperica's Avatar
  • tomeperica
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 6478
  • Karma: 170
  • Thanks: 674
Hm I am not sure, we would need to test that, however use solution I provide you ;)

I ll close this topic now.

Regards,
Tome
Regards,
Tome
==========================================
Need to renew Pro Support?
Buy Here!
==========================================
Satisfied?
Consider a membership!
==========================================
Like us on Facebook
==========================================
Support Crosstec and get ALL EXTENSIONS and professional support for just $5
Here!

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

Last edit: Post by tomeperica.

Problem with Login Form App 4 years 1 month ago #205879

  • Topic Author
  • jfruiz
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 8
  • Thanks: 0
Sure. Your solution work and it is not neccesary further investigation. It was just curiosity.

Anyway, I have found another problem, though, as the form is not able to recognice if the user is already logged.

I have been checking the code in Before Form Piece and it looks like the culprit is
(if (JRequest::getVar('username', '', 'method', 'username') !== '')
that never return user data but null values, regardeless if an user is already logged.

Maybe my old Joomla version is the cause...

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

Last edit: Post by jfruiz.

Problem with Login Form App 4 years 1 month ago #205895

  • tomeperica's Avatar
  • tomeperica
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 6478
  • Karma: 170
  • Thanks: 674
Well I just tested the Form, when you Login with it you are logged in, check my screenshot. I submit the login form and on right side bar you can then see that I am logged.

Regards,
Tome
Regards,
Tome
==========================================
Need to renew Pro Support?
Buy Here!
==========================================
Satisfied?
Consider a membership!
==========================================
Like us on Facebook
==========================================
Support Crosstec and get ALL EXTENSIONS and professional support for just $5
Here!
Attachments:

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

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