Tips and Tricks HQ Support Portal › Forums › WP eMember › WP eMember Tweaks › Customize the user login page
- This topic has 7 replies, 3 voices, and was last updated 12 years, 2 months ago by piciulss.
-
AuthorPosts
-
September 18, 2012 at 2:49 pm #7428piciulssMember
Hello,
I have a little problem anh hope that somebody can help me with it.
I tried to modify the font style form the member login page and didn’t succeded.
When an user is logged in on the login page the following informations are with ITALIC text: EMEMBER_LOGGED_IN_LEVEL, EMEMBER_LOGGED_IN_AS …….. and the other stuff.
I’ve modified the css class
.eMember_logged_widget{margin: 10px;}
like this
.eMember_logged_widget{margin: 10px; text-style: normal;}
but nothing happens.
Could you tell me please how to get rid of the ITALIC style, please?
Thank you!
September 19, 2012 at 1:09 am #49431adminKeymastereMember’s login widget doesn’t have any italic text. I am pretty sure that style is coming from your theme’s CSS. Post a link to your login page and the login details of a test user (I will delete the info after I troubleshoot) so I can log in and check where that CSS is coming from.
September 19, 2012 at 5:33 pm #49432piciulssMemberHello, Here you can acces the link:
[http://www.pariurisigure.net/contul-meu]
user: test_user
password: password
Thank you!
September 19, 2012 at 11:24 pm #49433PeterMemberYep those styles are coming from your theme. Alternatively as work around you can add the following code to the eMember_custom_style.css file to override the style:
.eMember_label {
font-style: normal !important;
}
.wp_emember_loginForm label {
font-style: normal !important;
}September 20, 2012 at 3:11 pm #49434piciulssMemberstill the same italic text …
do you have other ideea ?
thanks !
September 20, 2012 at 3:21 pm #49435piciulssMemberand another question..
if a member has multiple membership levels how can I insert links to multiple pages into member login widget ?
example: A member has membership level 1 an level 2.
I want in his login widget to see 2 links to the pages with the membership content.
At the moment I’ve put some code in emember_auth_utils.php that looks like this:
if(wp_emember_is_member_logged_in('1'))
$output .= '
<li><a href="//www.mydomain.com/content_1">membership content 1</a></li>
';
if(wp_emember_is_member_logged_in('2'))
$output .= '
<li><a href="//www.mydomain.com/content_2">membership content 2</a></li>
';"but it only displays the primary membership level link.
I want to display all the membership content links that he subscribed for.
Thank you in advance !
September 21, 2012 at 7:29 am #49436adminKeymasterYou don’t need to do that code tweak. Do the following:
1. Create a WordPress page (you can call it something like “Members Portal”).
2. Use eMember’s section protection to place links to various pages for different membership levels. The following documentation explains how to use eMember’s section protection:
http://www.tipsandtricks-hq.com/wordpress-membership/?p=88
3. Now, go to
eMember settings -> Pages/Forms settings
menu.4. Scroll down to the “Login Widget Message” section in this page.
5. Enter HTML code to link to the member’s portal page (you created it step 1 and 2).
This way when your users log in, they can click on the link to go to the member’s portal page and find appropriate links to other page depending on their membership level.
September 21, 2012 at 8:12 am #49437piciulssMemberthank you vor your information. I will make it this way .
-
AuthorPosts
- You must be logged in to reply to this topic.