Tips and Tricks HQ Support Portal › Forums › WP eMember › WP eMember – Remove (Not a member? Join Today!)
- This topic has 10 replies, 4 voices, and was last updated 11 years, 4 months ago by abqra23.
-
AuthorPosts
-
July 1, 2013 at 1:33 pm #9284abqra23Member
I am using wpestore and wpemember together. The only people I want to create an account or register are those who are purchasing a product or service.
I created a purchase history page and added the code that you suggested would display purchase history. I have not tested to see if that works just yet because I wish to remove (Not a member? Join Today!). How can I remove (Not a member? Join Today!) from that page? All I want them to do is login on and view their history and then log out.
On the login widget, I would like to remove “join us” because again I only want those who purchase to register or create an account so that they can later see what they’ve purchased but not re-download files.
I tried some of the steps found in the forum but have not been successful. For example, I tried adding a code to the custom css file in wpemember but not successful. I also saw two other steps but one was unclear on exactly which line of code to remove or exactly where to add a line of code once the eMember_auth_utils.php file was located.
July 1, 2013 at 9:54 pm #56400wzpModeratorYou mean do this?
https://support.tipsandtricks-hq.com/forums/topic/remove-join-us-link-from-emember-widget
The exact line number(s) may change from one version to another. You must search for the “eMember_compact_login_widget_custom()” function and then edit out the lines.
July 2, 2013 at 12:35 am #56401abqra23MemberNot successful wzp.
I remove the three lines of code underneath the part that says show link to join us page. I also tried adding that line of code from another post that would hide those links after adding to custom_css (something like that) and was not successful.
I also tried removing a couple more lines of code that had join us in it but then it crashed the site and I had to restore the original file.
I have build number Version v7.9.8.1.
July 2, 2013 at 12:59 am #56402wpCommerceModeratorHi, please provide a link to the page so I can take a look at the login widget.
July 2, 2013 at 12:17 pm #56403abqra23MemberGood morning,
[http://www.thatswhatiknow.com/purchase-history/]
This is the link to a page where (Not a member? Join Today!) shows that I would like to remove. The login widget with link to Join Us is in the right sidebar.
I guess if all else fail, I can keep things as is and test.
Right now I followed your suggestion about requiring those who are about to purchase to register so that they can have a purchase history. I have not tested but maybe if they register first and then shop will still not pose a problem.
July 3, 2013 at 12:26 am #56404wpCommerceModeratorHi, please add the following piece of code to
eMember_custom_style.css
file (it’s in thecss
directory of the plugin):.eMember_protected_message{
display: none;
}
.register_link{
display: none;
}Let me know how it goes.
July 3, 2013 at 1:17 pm #56405abqra23MemberI added the code and it worked for the login widget. However, on the purchase history page, it hid the entire sentence instead of just this part “(Not a member? Join Today!)”
So I went back and added this code and “join us” is gone from the login widget.
.wp_emember_loginForm .register_link {
display: none !important;
}
July 4, 2013 at 2:49 am #56406adminKeymasterWe added a new CSS class in the plugin code so you will be able to do this easily now. I have sent you an email with the update so install that first.
Then use the following CSS in the custom css file to hide the “(Not a member? Join Today!)” message:
.eMember_not_a_member_msg{
display: none !important;
}July 5, 2013 at 1:53 pm #56407abqra23MemberHello,
Hopefully everyone is having a fun little break.
Just wanted to let someone know that for whatever reason the attachment to the email you sent me did not come through so I am still waiting on the plugin update so that I can implement the change.
July 6, 2013 at 1:28 am #56408adminKeymasterSorry about that. I sent it to you again.
July 6, 2013 at 2:32 am #56409abqra23MemberGot it and done deal. Thanks for all the help everyone! And now a good night.
-
AuthorPosts
- You must be logged in to reply to this topic.