Forum Replies Created
-
AuthorPosts
-
bobgarrett
ParticipantSo you say it is correct that if I click on the name “John Smith” against his post it takes me to my details of “Bob Garrett”?
That does not seem right.bobgarrett
ParticipantIs it possible to sort the member list by the custom fields?
bobgarrett
ParticipantThanks for the prompt reply but can you search on additional custom fields?
I had not thought of custom work but we will consider it if we cannot find another solution.
bobgarrett
ParticipantOur normal process is that new users are added to WordPress and then imported into SWPM.
Somehow, perhaps over a period of time this problem has arisen whereby we have 271 WordPress users but 331 SWPM members and all active.
Obviously we can do a manual comparison to identify who is not in both lists but having done that how do make the missing users WordPress users again?bobgarrett
ParticipantWe have not added any cache plugin and as far as I know the server has no caching but if you know how to check I will try.
Doesn’t the fact that deleting the cookies solves it suggest there is some miss-timing in these?bobgarrett
ParticipantI have previously posted on this topic but the problem is still there from time to time, including it affecting me.
The problem is as you describe above “i) Login is successful but when you go to a protected page, it prompts you to login again.”
The only way to resolve this for other users is via admin to log them out of all sessions.
For myself, this morning, I tried deleting the cookies relating to SWPM. The problem then went away. So I suspect there remains some issue with cookies. If you would like to see the cookie values I can provide these.bobgarrett
ParticipantThe latest version seems to have fixed the problem.
Thanksbobgarrett
ParticipantThis is still not working and you have not responded to whether your own tests were like my problem i.e. redirect to lst page NOT redirect to a standard page.
Can you confirm please.bobgarrett
ParticipantThe exact URL would depend on what the visitor’s last page was.
Your reply suggests you tested the redirect to a standard page defined by user group. Did you test redirect to last page?
Did you test it on the latest version of WordPress?bobgarrett
ParticipantFurther testing shows what I believe is an error in swpm-after-login-redirection.php
The valued returned by SwpmMiscUtils::get_current_page_url() is a correct URL.
However, by the time the content is processed for return in the variable $login_url the “punctuation” has been converted to https%253A%252F%252Fwww.mysite.org.uk%252Fmember-list%252F.
The %figures are then ignored in the redirect so “punctuation is removed”.Maybe the WordPress function urlencode has changed so needing a change in the plugin?
bobgarrett
ParticipantLooking at the plugins I note that plugin for simple-membership-after-login-redirect is not tested with the most recent version of WordPress?
bobgarrett
ParticipantThe Permalink structure is by post-name.
I will do the plugin and theme tests but one other clue might be that I am told it did once work – perhaps before we made the site more secure with SSL. But it could be that some other update has had an effect.bobgarrett
ParticipantI dont think these apply to the problem I have. Specifically when a user logs in and we have it set to redirect them to the previous page then the URL they are sent to excludes the ‘punctuation’ e.g. httpswww.mysite.org.ukmember-list.
Can you suggest why this is and how to fix it?bobgarrett
ParticipantThe site now seems to be working correctly. I am not sure whether this is 100% but the problem has not arisen since asking the hosting company about caching!
bobgarrett
ParticipantThey say there is no caching on the server.
-
AuthorPosts