November 18, 2009 at 8:43 pm #455
When a visitor is not a logged in member, the post has the following default text:
Please login to view this content.(Not a member? Join Today!)
The login link takes the visitor to http://mysite.com/post-url/?event=login but this address causes problems with any query_posts functions I have on the page. The ?event=login is the problem. Is there any way to change that link, or change the default text in any way?November 19, 2009 at 10:13 am #16117
@gregeland, not sure I understand the issue correctly here. can you give an example? Yes you can change the default text.November 19, 2009 at 5:08 pm #16118
Visit http://revotour.com/2009/physical-and-technical-course-upgrade/?event=login and you will see what I mean. The login form shows up everywhere there is a WordPress query of some sort on the page.
If you tell me where I can change the default text, that would solve my problem. If I could change the wording, and the links, by hand that would be better than just fixing the ?event=login link.November 19, 2009 at 11:18 pm #16119
Okay I see… expect an email from me soon with the instruction to change the default text.November 20, 2009 at 3:32 pm #16120
OK, I’ll wait for your email, thank you.November 20, 2009 at 9:52 pm #16121
done.. sorry for the delay… also added the option to notify the admin via email when a new member registers. This option can be found under the “Email Settings” of the membership plugin.March 23, 2010 at 1:08 pm #16122tarkaMember
Hi Guys, Please could I request an email with the information as I am also getting the same ?event=login problem. When I click on the login link it does nothing!!!
Any help would be much appreciated.March 24, 2010 at 12:43 am #16123
You should receive an update shortly.June 1, 2010 at 1:26 am #16124csteveMember
Hi, I would like to change the default “Please login to view this content.(Not a member? Join Today!)” on my installation, but I do not see a “lang” folder.
Where is this located? Will you have to e-mail me the fix also?June 1, 2010 at 2:07 am #16125
Hi, The language file can be found inside the “lang” folder. This is inside the eMember plugin directory.June 28, 2011 at 5:20 pm #16126ZainMember
Hi Amin, I’m using WP eMembers and am getting an “?event=login” problem.
On the Pages/Forms Settings, I’ve set the Login Page to be: /login/ (and created a page to exist there).
In theory, I assume that this is the location that the get_login_link() function is supposed to retrieve and replace for any instance of a link that requires the Login Page URL.
However, when I get to a page that is protected, the message returned is:
Please Login to view this Content.(Not a member? Join Today!)
Where the “Login” link is the page slug followed by “?event=login“.
Clicking on the Login link results in the content displaying:
1) the same page location,
2) the page title,
3) the login form
This is definitely not the correct Login page URL location (i.e. not the Login page specified in the Page/Form Settings Login Page field).
Note: I have “fancy login” disabled.
You can see an example here:
[http://think-and-grow-rich-ebook.com/test-page/] – note the login message and click on the link. This should (theoretically) go to “/login/” but instead adds the “?event=login” query string at the end.
Please can you help?
Thanks in advance.June 29, 2011 at 12:36 am #16127
The “Login” link is not a hardcoded link to your login page all the time. The plugin is capable of understanding if the login link is being clicked from an individual post or page. In that case it lets the user login right there so they can stay on the same aricle/page after they login (this ofcourse only works like this if you do not use the “Enable After login Redirection” feature).July 5, 2011 at 7:37 am #16128ZainMember
Thanks for clearing that up. That was more of a case of “not understanding the functionality” and how the plugin works with logged out users and what they see.
At the moment, when a user tried to log into a restricted page they see just the Login form. Is there any way of customising this? It would be useful to be able to add messages before and after the form so that Admins can create messages and encourage non-members to sign up.
Right now, my main concern is that any modifications made to the the Tips & Tricks plugin suite get over-ridden when they are updated (e.g. in the “/lang/eng.php” file). Are there any plans to have a separate customisation folder that doesn’t get over-ridden?
If you want an example of how this is possible, then check out some of John Godley’s plugins (like Sniplets, or even my own FAQ-Tastic.. built by John!). It uses a feature where it looks inside the “/*theme_directory*/view/*plugin_name*/” folder for any customisations first before using the default layout.
By using this approach, it means that any changes made to code, layout and styling do NOT get affected by updates made to the plugin. It’s also possible for a savvy webmaster to build slightly more complex layouts by accessing the plugin variables (if they know how). Essentially, this is about a clean separation between “form” and “functionality” (code and styling).
Anyway, can think of any other way to customise the Login form and keep the changes from being destroyed by updates?
ZainJuly 10, 2012 at 3:27 pm #16129mipv82Member
I’ve had this plugin installed for some time now and never had problems with the ?event=login redirect when a user needs to sign in to view certain content. Now, all of the sudden it’s returning a 404 not found. Can you please help me address this issue? I have no idea where I need to go to fix this. Much appreciated!
Thanks.July 10, 2012 at 11:33 pm #16130PeterMember
Do you have “Enable After login Redirection” feature enabled?
The help text says: “You can specify the after login page in the member’s profile or membership level or in the pages settings menu”.
Please check the member’s profile, membership level and pages settings menu to see if you have added a URL of a page which is not being found. For instance possibly you may have changed your permalink structure or maybe deleted a page accidentally etc.
- You must be logged in to reply to this topic.