Simple Membership Plugin › Forums › Simple Membership Plugin › Membership Login Widget in Sidebar
- This topic has 9 replies, 3 voices, and was last updated 6 years, 10 months ago by
dsherman.
-
AuthorPosts
-
October 16, 2019 at 11:19 pm #19125
dsherman
ParticipantI have added a text widget and shortcode of [swpm_login_form] and it is working correctly. On my website with this widget/shortcode, the person logging in is asked to provide a “Username or Email”. The example given in your documentation shows that the person logging in is asked to provide a “User Name”. I would like my website membership login to reference only a “User Name” as a person’s email will not work on my site. Can you please tell me how to modify the shortcode so my site only asks for a User Name?
Thanks for your assistance.
DaleOctober 17, 2019 at 4:45 am #19133mbrsolution
ModeratorHi, please check the following documentation. Let me know if this helps you.
Thank you
October 17, 2019 at 6:34 pm #19138dsherman
ParticipantThank-you for the link to documentation. I have already read this, but am a novice user and am not comfortable working with PHP codes, so don’t want to make these modifications if possible. The documentation warns that these modifications are more suitable for developers. That is not me.
Your documentation example for the result of applying the shortcode of [swmp_login_form] shows exactly what I am looking for – User Name and not Username or Email. Why does your documentation show this when it is not what is achieved by applying the shortcode? Is there no other way to modify this log in sidebar other than by using more complex developer language and approaches?
Thanks for your help.
DaleOctober 17, 2019 at 9:50 pm #19139mbrsolution
ModeratorOctober 17, 2019 at 10:28 pm #19140dsherman
ParticipantI’ve looked at Loco Translate plugin, but it appears to be for translating test from one language to another. I can’t see anything that pulls up existing text and allows it to be modified. It also appears very technical. Do you have a suggestion for something I can use to make my change simply. Is there a tutorial for making changes to shortcodes that is for beginners?
Thank-youOctober 17, 2019 at 10:44 pm #19141mbrsolution
ModeratorHi,
I’ve looked at Loco Translate plugin, but it appears to be for translating test from one language to another.
Yes but you can also create a new translation file. For example: Your site is in English US. So what you need to do is to create an English US language file. If it was in English UK then you would create an English UK translation file.
Let me know if the above makes sense to you.
Kind regards
October 22, 2019 at 11:19 pm #19161dsherman
ParticipantThanks – I will try this as time permits and will respond once I’ve tried it. Please leave this open until I have time to test it.
D.January 23, 2020 at 11:54 pm #19670dsherman
ParticipantI have finally had a chance to download the Loco Translate plug-in. The plug-in that I am trying to translate is SWPM partial protection. When I select New Language, I get the message that “this bundle doesn’t define a translations template file. The only option seems to be to sync directly, which I don’t have the skills to do. Do you have any other suggestions?
Many thanks.
DaleJanuary 24, 2020 at 11:17 pm #19676admin
KeymasterYou only need to translate the Main plugin (not the addon). The strings of the partial protection addon is available in the simple-membership.pot file (the POT file of the main plugin).
You need to do the translation from the POT file:
https://simple-membership-plugin.com/translate-simple-membership-plugin/January 25, 2020 at 12:25 am #19677dsherman
ParticipantAwesome – thank-you for your patience and handholding. This worked perfectly.
Many thanks.
D. -
AuthorPosts
- You must be logged in to reply to this topic.