July 8, 2013 at 5:38 pm 5685
|Tareq Hasan||Hi, I've noticed a weird thing with WPUFP, I've created a registration form and checked the "similar page" in the form parameters, but when i register with this form, i'm not forwarded to the referer page . I've checked the code and saw the _wp_http_referer hidden field in form but it seems not to be well interpreted by WPUFP .. So ? Could check the code, but it would be interested for others thanks Francois|
July 8, 2013 at 5:53 pm 5686
can you please explain what did you mean by – “checked the “similar page” in the form parameters” ?
i just check and everything seems to be working without any issue.
From form’s settings option Redirect To which option did you choose ?
July 8, 2013 at 6:05 pm 5687
When i go to my new WPUF Registration Form, in the parameters, i ‘ve 3 choices : same page, other page or custom url .. and when i take the same page option and register with my new form, i’m not forwarded to the original page :-/
thanks Mahi !
July 8, 2013 at 6:11 pm 5688
It does ! It redirect you to same page with a successful message which you can set from form’s settings option !
and, if you again refresh the page it should show the registration form again !
July 8, 2013 at 6:16 pm 5689
Nops Mahi, in my case it doesn’t :
My registration page URL is : */kifffeur/admin
so ok … but when i submit the form, i’m forwarded to other weird page related to a post ? :-/
July 8, 2013 at 10:28 pm 5696
MMmhhhh… I found a misconfiguration in my theme, but now i have the following page with no others infos :
that displays 0 …
July 9, 2013 at 12:02 am 5703
Seems to be a jQuery version related issue.. but don’t see where it’s from…
July 9, 2013 at 2:54 am 5711
Hey Francois, WPUF uses the same jQuery that comes with WordPress. Check if your theme or other plugin is enqueueing any lower or different version of jQuery.
You shouldn’t be worried on
July 9, 2013 at 3:27 am 5717
Hi Tareq !
Thanks for your answer, but i’m not able to fix my issue…
If you have any idea 😉
July 9, 2013 at 4:50 am 5720
Check if your theme has
July 9, 2013 at 4:59 am 5721
July 9, 2013 at 7:14 am 5734
Still searching for solution…
I think it could be the origin because shortcode is fired after header…
WHat do you think about it ?
July 9, 2013 at 8:04 am 5735
What theme you are using ? what happens when you use a default theme ? Is site online ? Can i check it out ? you may reply privately.
July 9, 2013 at 11:53 am 5743
The current version of the plugin loads only the scripts if the page has only the plugin shortcodes. So that might be the problem for you if you are using
July 9, 2013 at 1:08 pm 5745
Yes Tareq… i think it’s the case… Will try to enqueue the required WPUF JS files in my own theme function, maybe it’ll work.
Currently looking to implement my own custom OSM field 😉
July 9, 2013 at 7:36 pm 5763
Well after a little coding, i’ve successfully added what is need by the
`wp_enqueue_script(‘pupload-script’,home_url().’/wp-includes/js/plupload/plupload.js?ver=1.5.5′,array( ‘jquery’ ));
I needed too to add the hardcoded WPUF JS code in page template :
But seems this last part to make some weird things with form submission, sometimes it works, sometimes not .. i think it’s because the hard coded part is dynamic.
What do i have to change in this part in order for everything to work ?