Tips and Tricks HQ Support Portal › Forums › WP eMember › eMember lockdown page javascript error and customizing
- This topic has 10 replies, 4 voices, and was last updated 11 years, 11 months ago by admin.
-
AuthorPosts
-
December 10, 2011 at 6:30 pm #4991lockandrolltennisMember
Hello, I have js error on the login page which is not showing the Forgot Password window.
[http://lockandrolltennis.com/premium/]
Also, I was trying to change the background color by setting a property in the custom.css
<br />
/* eMember lockdown page */<br />
#exposeMask {<br />
background-color: black;<br />
}</p>
<p>#lockdownbox {<br />
background-color: #666699;<br />
}<br />The lockdownbox property worked, but not the exposeMask. How would I get that working?
December 10, 2011 at 10:50 pm #39511PeterMemberHi,
Regarding your js issue, I can see the following error:
“Uncaught ReferenceError: $forgot_pass_overlay is not defined”
You’ll need to fix this.
This the area in your code which is causing it:
$forgot_pass_overlay.onClose(function(){
$lockdown_overlay.load();
});
Regarding your css changes:
Which file did you put your changes in?
December 10, 2011 at 11:34 pm #39512lockandrolltennisMemberHow do I fix the javascript error? I put the css changes in the custom.css file of my theme.
December 10, 2011 at 11:47 pm #39513PeterMemberHi,
Sounds like your problems are theme related and not eMember plugin related.
You will have to consult your theme developers or their forum if they have one.
In the meantime I’ll see if I can find any answers too.
December 11, 2011 at 12:13 am #39514PeterMemberHi again,
Forgot to ask you to try the theme and plugin conflict test.
Can you please try the following:
https://support.tipsandtricks-hq.com/forums/topic/test-to-identy-a-conflicting-theme-or-plugin
December 12, 2011 at 7:59 am #39515lockandrolltennisMemberI used the Password Reset Page option under Settings. It seems that this should automatically convert the login link to the entry here but doesn’t. I set the href property manually in eMember_lockdown_popup.php and this takes me to my password reset page. Good thing you guys just released that new feature that allows me to specify other pages that can be accessed from non-members when using site-wide lockdown.
December 13, 2011 at 3:37 am #39516adminKeymasterWe will update this forgot password link on the lockdown popup.
December 14, 2011 at 5:45 am #39517lockandrolltennisMemberAny word on how to change the background color of the login page? There shouldn’t be any problem with other plugins because the id of the login “exposeMask” is unique id.
I can actually get the whole background to turn black by editing the jquery.tools.min.js file but then can’t see the login box.
{maskId:”exposeMask”,loadSpeed:”slow”,closeSpeed:”fast”,closeOnClick:!0,closeOnEsc:!0,zIndex:9998,opacity:.8,startOpacity:0,background:#000000
nm this was probably a javascript error.
December 14, 2011 at 9:21 am #39518adminKeymasterSearch for the following line of code in the “emember_lockdown_popup.php” file and change the color code to what you want:
color: '#ebecff'
There are multiple occurrences of the above so change them all.
November 30, 2012 at 8:25 am #39519AernoutMemberI am trying to find where I can change the css for the id “exposeMask”. The file jquery.tools.min.js only contains a few elements of the css, while I can see in FireBug that there is – for example – a background-color. The background-color does not get affected by the line in jquery.tools.min.js.
I want to change background-color: #EBECFF; to background-color: #FFF;
Where do I do that?
November 30, 2012 at 10:55 pm #39520adminKeymasterYou shouldn’t need to change any JS file. The answer I gave before your post tells you how you can change the background color of the mask from “EBECFF” to something else.
You can also do that customization using CSS. The following post has more info:
-
AuthorPosts
- You must be logged in to reply to this topic.