Home › Forums › Legacy Support › Support queries › How-to & Troubleshooting › Sign up in pop up (like login popup)
- This topic has 9 replies, 2 voices, and was last updated 7 years, 5 months ago by H.K. Latiyan.
Viewing 10 posts - 1 through 10 (of 10 total)
-
AuthorPosts
-
June 7, 2017 at 1:26 pm #115999dantwahSpectatorHi! I use the new pop AJAX login on my site. It would be great if you click "signup" the signup popup would show! At present it redirects to the register page. I found a script in other topic, however it is not working at my end: https://wplms.io/support/forums/topic/how-to-popup-vibe-login-on-sign-up-button/ Picture to illustrate what i mean: https://prntscr.com/fgz8k7 https://prntscr.com/fgz8pwJune 8, 2017 at 12:41 pm #116156H.K. LatiyanParticipantHi... This is already present in the wplms theme.
- First you need to create a custom registration form lms->settings->registration forms.
- Now you need to create a page and add the shortcode there.
- Now go to wplms->buddypress->enable ajax login registration , and set the default registration page to that created page.
- Now make sure the registration form you created is set as default.
- Done.
June 8, 2017 at 3:06 pm #116222dantwahSpectatorHi thanks for the response. Yes I got that set already, that is not the issue. The thing is that when I click signup in the top nav bar the page redirects to the register page. However, I want the pop up to be triggered when I click "signup" in the nav bar. That's why i tried the jquery script, but it doesn't seem to get it right..June 9, 2017 at 12:57 pm #116364H.K. LatiyanParticipantHi... Can you please share the website url and the admin credentials with us to check this issue on your website.June 12, 2017 at 11:30 am #116605dantwahSpectatorThis reply has been marked as private.June 12, 2017 at 2:25 pm #116672H.K. LatiyanParticipantHi... Thanks for sharing your credentials, I checked your website and the ajax registration works fine when you click on sign up button present in the login popup. The register link which is in the top header it cannot open the login popup, you can hide it by adding the bellow css in your appearance->customize->custom css:#headertop a.vbpregister {display:none;}
June 12, 2017 at 2:46 pm #116675dantwahSpectatorThanks for checking! Yeah i figured that's why I tried to use the jquery script: <p style="box-sizing: border-box; margin: 0px 0px 22px; color: #4b4d4d; font-family: Lato; font-size: 14px;"><strong style="box-sizing: border-box;"> jQuery(document).ready(function($){ $('div#headertop ul.topmenu li a.vbpregister').click(function(event){ event.preventDefault(); $('body').find('.smallimg.vbplogin').trigger('click'); }); }); </p> <p style="box-sizing: border-box; margin: 0px 0px 22px; color: #4b4d4d; font-family: Lato; font-size: 14px;">But is doesn't seem to trigger it properly</p>June 13, 2017 at 1:33 pm #116785H.K. LatiyanParticipantI checked the script and its fine. How are you adding this script in your website ? Try adding the script tags and then add this script in the wplms->footer->google analytics.June 13, 2017 at 2:35 pm #116810dantwahSpectatorHmm strange, the script does not work at my test server but does work at the live server.. But it works :). It now triggers the login popup. Do you know how to directly open up the register pop up ( i tried used .vbpregister but it does not work).June 14, 2017 at 12:38 pm #116939H.K. LatiyanParticipantThe code that you used works fine. I checked the code already and it works fine, you have to use this code only to trigger the login popup. -
AuthorPosts
Viewing 10 posts - 1 through 10 (of 10 total)
- The topic ‘Sign up in pop up (like login popup)’ is closed to new replies.