July 8, 2013 at 5:38 pm #5685
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
FrancoisJuly 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
The Form Hidden _wp_http_referer 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…
Maybe an enqueue problem…
Wich version of jQuey is required by WPUF ?
i've tried different versions of jQuery without success
thanks !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
_wp_http_referer, it's a security measure used to prevent CSRF attack using NoncesJuly 9, 2013 at 3:27 am #5717
Hi Tareq !
Thanks for your answer, but i'm not able to fix my issue…
So ? Don't know why the enqueued WPUF files are disabled :-/
If you have any idea 😉July 9, 2013 at 4:50 am #5720
Check if your theme has
<?php wp_head(); ?>in the header and
<?php wp_footer(); ?>in the footer.July 9, 2013 at 4:59 am #5721
Have uninstall and install WPFU several times, checked my code, debug with FF and WP debug mode… nothing.. :-/July 9, 2013 at 7:14 am #5734
Still searching for solution…
Would it be do_shortcode related ? I need to include my Registration form from php and i see only that 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
do_shortcode()manually.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.
I don't have yet a live version to show you the resulat, will keep you in touch with it.
Currently looking to implement my own custom OSM field 😉
The topic ‘Registration Form _wp_http_referer’ is closed to new replies.