Tagged: ajax, buddypress, registration
Thank you.
It seems that when the Ajax registration plugin is On, It loads register form in the process triggeres error(As the select2 plugin is not loaded).
Can you please disable the Select2 integration with the field or force to load select2 plugin on that page too.
Thank you
BrajeshI am sorry but i do not know what you mean by select 2, I am not seeing where to do that, I will keep looking but no luck so far
so back to my first question, is there an easy way I can have the popup load on a particular page? so as soon (or a small delay) after the user hits the page the popup opens
Hi Archaic,
Thank you.
Yes, I had provided similar code for one of our members. I am looking at it and will post back.wonderful – thank you, if you are in the need of any extra side-work, please send me an email too
Here is a solution. Not the best one though.
1. Please Visit Dashboard->settings->BuddyPress->Options
and un check the box that saysEnable Ajax Loading of Form
under the BuddyPress Ajax registration setting
Once you are done with that, you can put the following code
setTimeout( function () { show_reg_form(); }, 1000 );
In the file wp-content/plugins/bp-ajax-registration/_inc/bp-ajax-register.js
Just after the linevar magnificPopup = jQuery.magnificPopup.instance;
That will show the popup after 1 second on all pages. I will add a more proper APi in future.
Thank you
BrajeshI think you are misunderstanding sorry but I do not want the popup on all pages, only one page, the rest i do not want it to load at all
like the register buttons that were on the /sign-up page, I want those to point to a specific page, and that page the popup will auto-load only
The topic ‘Buddypress Ajax Registration -> Popup on pageload’ is closed to new replies.