Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Register in pop-up box?
Zhaan
✭✭
Hiya! I'm just wondering.. is it possible to use a pop-up box for registrations instead of a separate page? I'd like it to function just like the login button does. Any input appreciated.
PS: I'm using 2.1 atm.
Tagged:
0
Best Answers
-
vrijvlinder MVP
try this code for style adjust colors as needed:
body.Profile #Form_Invitation ul li label, body.Profile #Form_User ul li label, div.Popup form ul li label { color:#fff; display: block; font-size: 14px; font-weight: bold; margin: 10px 0 0; } div.Popup a { color: #ccc; } div.Popup h1, div.Popup h2 { color: #000; font-size:16px; background:red border:1px solid #222; } div.Popup .Body { background: #222; width: 320px; } div.Popup .Legal, div.Popup .Content form { max-height: 640px; overflow: auto; padding: 0 10px 10px; }
10
Answers
The pop up are controlled by jQuery popup. not sure how this will work but you could try it...
You could possibly add some function like this in your theme:
Then style it if it has no style
then add this to the theme:
Make sure you remove the spaces between the < > , I put them in so the code would show...
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
or...
grep is your friend.
yea that works for sure, x00 you rule !!
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
Thanks for the input, both of you!
@x00 and where exactly should I place that code?
in your theme like this but remove the spaces between the < > :
< script type="text/javascript" > jQuery(document).ready(function($){$('.ApplyButton').popup();}); < /script > tags
I just tested it in another forum and it works but you will need to style the width and height of the new pop up.
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
try this code for style adjust colors as needed:
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
I noticed that the pop up does not render the captcha on the form, I wonder if it also need to be added to the pop function to show. in the source it has the li table as if it was showing. I tried making the form longer but that did not do it
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
Have to say I fail, when tried this.
Inserted everything into CUSTOM.CSS
You need to insert the script function in the theme default.master.php somewhere after the last div at the bottom end. The css goes into the custom.css to adjust the size of the pop up. Remember I added spaces between the < > so they would show here. You need to take them out if you copy pasted .
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
Ok till then, im working on my master.php
please tell me how to add it to my forum... http://edupluslanka.org