October 18, 2012 at 12:13 am #7677
I’m just digging into emember and setting up right now… loving it, thank you!
I’ll be using the [emember_protected] [/emember_protected] to protect content on a number of pages. When I do, the message displayed is:
This content is for members only.
I would prefer to have the message display:
Please Login to view this Content. (Not a member? Join Today!)
Actually – would like to change the wording here a bit too – but would definitely like to keep the login feature. Are there settings that I’m looking past that allow for more control? Or do you need to hard code php? Can you point me in the right direction??
Thank you in advance for your help.October 18, 2012 at 1:00 am #50458johnw1965MemberOctober 18, 2012 at 2:56 am #50459
Thank you – that will be very helpful as I know we will want to customize a lot of the messaging.
I’m still not clear how to change it so that I get what’s on this page?
I don’t want a warning box… I want the default message with the fancy login, etc.
Would this have to be done with php?
Thanks again very much.October 18, 2012 at 5:06 pm #50460nurMember
you can do this by editing css. to do that, open eMember_style.css file and find “eMember_protected_message_default”. you’ll see “background” has a color value. change that to whatever color u want.October 18, 2012 at 7:14 pm #50461
Sorry – I’m not being clear. I do NOT need to know how to change background colors etc. It’s the functionality I’m after.
This is what appears when I use partial content protection:
I would like to see this instead:
I need the login link, the opportunity to join and would very much like the fancy box.
I just want the same things I get when I have full content protection. (I do want to change the text as well, but that’s not where I’m hung up.)
Thank you.October 19, 2012 at 3:52 am #50462adminKeymaster
Hi, At the moment this will need to be tweaked in the PHP file. this is what you do:
Open the “emember_access_checkers.php” file and search for the following line of code:
$replacement = '<a '. $join_url .' ><b>'.EMEMBER_MEMBERS_ONLY_MESSAGE.'</b></a>';
Once you find it, change it to whatever you like. For example:
$replacement = 'This is my custom message. <a href="example.com">Here is a link</a>';October 19, 2012 at 4:45 am #50463
Thank you very much! I really appreciate.
Is it not possible to have the ‘Login’ use the ‘fancy box’ like in the full page content protection pages, rather than linking to the page? I can’t ad
'Please <a href="void(0);">Login</a> to view this Content. (Not a member? <a href="http://www.realsurgery-meniscustear.com/join-us/">Join Today!</a>'
or can I?
Thx again.October 20, 2012 at 2:02 am #50464adminKeymaster
Hi, You sould be able to use something like that but the fancy login won’t work in there. It’s a little complex with the fancy login (its not just a link). I would recommend you to use something like the following:
$replacement = 'Please <a href="link-to-login-page">Login</a> to view this Content. (Not a member? <a href="link-to-join-us-page">Join Today!</a>'October 20, 2012 at 5:26 am #50465
Thank you very much!
- You must be logged in to reply to this topic.