- This topic has 3 replies, 3 voices, and was last updated 12 years, 3 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eMember › WP eMember Tweaks › eMember: Please Login to view this Content. change text
Is their a ways to remove the parentheses at the end of “Please Login to view this Content. ( )” this is on the pages that are protected. I found a way to remove the “Join Us information” but cant remove the two parentheses. Any ideas would be greatly appreciated.
Thank you in advance.
Jonathan
The first preference would be to customize the text message using this technique:
If the above option doesn’t help you then you can tweak the code to achieve what you want.
Try the following:
Search for the following line of code in the “eMember_auth_utils.php” file of the eMember plugin:
'('.EMEMBER_NON_MEMBER.' <a href="'.$join_url.'">'.EMEMBER_JOIN.'</a>)'
Once you find it, change it to whatever you like. There will more than 1 occurrences of the above line of code so change it in both places.
Let me know if that helps.
I have tried this and it has not worked. The below link is a link to the page where the parentheses show at the end of Please Login to View this Content. the two ( ) parentheses I would like to remove any ideas would be greatly appreciated. Thanks
https://fortressitsolution.com/client-only-area-home/
Jonathan
You obviously haven’t tried what Admin has suggested because when I looked at your page using firebug I can see that many elements in the line of code highlighted above are still there.
You appear to have removed the “EMEMBER_NON_MEMBER” and “EMEMBER_JOIN” variables but the brackets and the html link tag element remain. I will try to be a little more specific:
Search for the following in the “eMember_auth_utils.php” file:
'('.EMEMBER_NON_MEMBER.' <a href="'.$join_url.'">'.EMEMBER_JOIN.'</a>)'
Once you find it replace the above with the following (empty string):
''