Closed (fixed)
Project:
Lightbox2
Version:
7.x-2.0
Component:
Miscellaneous
Priority:
Critical
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
2 Jun 2008 at 00:21 UTC
Updated:
13 Apr 2016 at 14:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
stella commentedI've added functionality to the lightbox2 module so users can now log on to the site through a lightbox. If the option on the general settings page is enabled, then all "user/login" links will be re-written so that they will open in a lightbox. The login form is loaded as a modal/inline content so when the user submits the form, the entire page will change.
Unfortunately I haven't found a good method for doing the same for registration links. I tried using a modal/inline type setup but it wasn't suitable because the registration form can vary in length depending on the number of contrib modules that modify it. Those same contrib modules may also require javascript to be added to the page (e.g avatar selection module is one example) but since the js needs to be added at page generation time (i.e. before lightbox is triggered), there's no easy way of doing that.
The alternative solution was to load the registration form in an iframe - just add
rel="lightframe"to the registration links. The form could be easily themed for opening in a lightbox but the problem is that when the user submits the form the lightbox won't close. If you wanted to you could add awindow.parent.Lightbox.end()onclick event to the submit button, which would close the lightbox, but if the form validation failed the user would never know.Cheers,
Stella
Comment #2
stella commentedReleased in Lightbox2 5.x-2.8 and 6.x-1.8.
Cheers,
Stella
Comment #3
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #4
scottrigbyHi Stella,
Have any new developments since July made Lightbox registration more likely?
Not sure about the JS problem, but about loading as modal/inline content, perhaps the height could resize to fit the screen (and just use a scroll bar)?
It would also be great to do the same with user/password ;)
Thanks in advance for your thoughts on this,
Scott
Comment #5
stella commentedThe loading modal content and having a scrollbar issue is fixed in the dev release.
Postponing registration feature request until after next release, will access then.
Comment #6
stella commentedActually this last request is a duplicate of #312886: Lightbox2 login only for registered users?.
Moving this back to fixed as was the status of the original issue.
Comment #8
hankpalan.com commentedHas anybody tried to login but deliberately not do it correctly? It send you to this url /user/login/lightbox2?destination=
It looks like the attached image.
In addition to that, if the contact page has recaptcha installed it starts to load the module then turns the browser blank and trys to reload.
Anybody else having these issues?
Comment #9
stella commentedThat's already been raised in #356834: Introduced bug in Lightbox2 login?. Closing this issue once more.
Comment #10
krishna_softprodigy commentedHI,
I have created a custom module for users login & registration in Drupal 6X using light box.
The developer can use the module to accomplish the requirement of light box login & registration.
The JS,CSS, templates files, & Zipped module code will be provided.
Thanks
Comment #11
doublejosh commentedhttp://drupal.org/project/ajax_register
Comment #12
koushal commentedI am using ajax login- register module, its working fine , but when I am trying to create user through admin panel its showing errror, "Ajax.moudle:An unknown ajax error occurred".
Please see the snapshot.
Comment #13
Joyy commentedHi,
Any chance of porting the code in [#10] into the Lightbox2 module?
Or is there a better way to accomplish User register form in a lightbox / ajax?
Regards,
Joyy
Comment #16
joseph.olstadfixed in 7.x-2.0
if you want this fix then please upgrade to 7.x-2.0