Tips and Tricks HQ Support Portal › Forums › WP eMember › WP eMember Tweaks › Customize the "Join Now" message with a button?
- This topic has 13 replies, 2 voices, and was last updated 13 years, 6 months ago by vditingo.
-
AuthorPosts
-
May 8, 2011 at 6:54 am #3351vditingoMember
Hi – Can anyone tell me how I would customize the Login, and or Join Now text (generated from the code snippet) with an image of a button?
Thanks!
Dom
May 9, 2011 at 12:23 am #32173amin007ParticipantMay 9, 2011 at 8:16 pm #32174vditingoMemberThanks. This looks like it’s addressing the text portion, but how do I add an image?
May 10, 2011 at 1:07 am #32175amin007ParticipantYou can add HTML code in there too. For example the following shows a plain login message:
define("EMEMBER_LOGIN","Login");
The above can be modified to show an image:
define("EMEMBER_LOGIN","<img src="http://www.example.com/my-login-image.jpg" alt="Login" >");
May 10, 2011 at 1:34 am #32176vditingoMemberAWESOME! Thank you!
May 10, 2011 at 8:38 pm #32177vditingoMemberOK, I put that code into the file and my image is here:
http://www.pcrnetwork.com/wp-content/plugins/e%20member/wp-eMember1/images/login-btn.gif
The code I used is here:
define(“EMEMBER_LOGIN”,”<img src=”http://www.pcrnetwork.com/wp-content/plugins/e member/wp-eMember1/images/login-btn.gif” alt=”Login” >”);
I uploaded it to the lang directory, overwriting the other file there and the image is still not replacing the text. What am I doing wrong?
Thanks!
May 10, 2011 at 9:18 pm #32178vditingoMemberThe page is here, btw: http://pcrnetwork.com/?page_id=23
May 11, 2011 at 3:43 am #32179amin007ParticipantYour current issue is related to the “Special Note” section explained in the upgrade instruction here:
So even though you have updated the language file on the new version since you have old version lying around in the “Plugins” directory WordPress is taking the value from there.
May 11, 2011 at 4:32 am #32180vditingoMemberThank you! How do I get the upgrade? I can’t see anywhere on the site to get it?
Thanks again.
May 11, 2011 at 6:46 am #32181amin007ParticipantThis is explained on our support site.
May 13, 2011 at 12:06 am #32182vditingoMemberHi – I installed the new plugin and when I went to activate it I get this message in WordPress:
“The plugin does not have a valid header.”
Can you please help?
Thanks!
May 13, 2011 at 12:23 am #32183vditingoMemberOK – I looked up how to solve that problem in the forum. Problem solved.
However – I just uploaded the new plugin for e Member and my page is still not displaying the images in place of the text!
Here’s the link to one of the images:
http://www.pcrnetwork.com/wp-content/plugins/e%20member/wp-eMember1/images/login-btn.gif
The “eng” PHP file has this code in it, which I just re-uploaded:
define(“EMEMBER_MEMBER_LOGIN”,”<img src=”http://www.pcrnetwork.com/wp-content/plugins/e member/wp-eMember1/images/login-btn.gif” alt=”Member Login” >”);
I’m using plugin version v5.9.5
Still no images. Help, please?
Thanks.
May 13, 2011 at 1:31 am #32184amin007ParticipantI am not sure if you read the upgrade instructions here:
http://www.tipsandtricks-hq.com/wordpress-membership/wp-emember-installation-upgrade-instructions-3
After the upgrade your plugin version should be 6.4.4 or later (NOT v5.9.5).
I can see that you have this folder called “e member” in your plugins directory (which is the source of the issue). How did you end up with “e member” directory in the first place? Did you not follow the video tutorial on how to install the plugin?
So what you need to do is deactivate the eMember plugin then go to the “plugins” directory and delete any trace of the eMember plugin. Log in using a FTP program and then go to the “plugins” directory and delete the “e member” folder and any other eMember folder completely. Unless you totally clean out the eMember folders from the plugins directory your problem will not get solved.
Then follow the install procedure to do a fresh install following the video tutorial (remember, none of your settings or members data will get lost in the process so don’t be afraid to delete the plugin).
May 13, 2011 at 4:12 am #32185vditingoMemberOK, thanks. Will do.
-
AuthorPosts
- You must be logged in to reply to this topic.