Hello,
I have a news blog with paid features that I share to different subscribers.
With many types of subscriptions and every time I create a post or a page I have to uncheck the checkbox.
Would it be possible to tell me the procedure to uncheck all the default checkboxes so that I select only the ones I need without needing to uncheck everything each time?
ty
]]>Hi – we have a small number of pages private but everything else is set to be public. When initially saved, the public pages and posts are publicly accessible as planned BUT SOMEHOW, few hours later, they become non-public, and redirect folks to the login page and even though, these particular pages are made public (Subway option). The only way to fix that (temporary) is by re-saving the pages, then they become public again, but alas, it doesn’t last, they goes back to private. Is there a bug? How to fix this?
]]>Hello,
When a user on my site tries to reset their password by clicking “forgot password” the email they are sent takes them back to the login page requiring a username and password.
The same happens when I create a user, the link they are sent to create their password just takes them to the login page.
Any ideas how to fix this please?
Thank you!
]]>I was a bit confused to see https://github.com/codehaiku/subway-2.0 promoted via
If you would like to contribute, report an issue or have any suggestions, visit the Github Repository of Subway.
in the plugin’s description just to find out that the repository has been archived (can’t make Pull Requests, or anything) while the code is also for an out-of-date version of the plugin.
It’d help avoid confusion to get rid of it in the description. That said, I think having a plugin on GitHub is a very valuable thing & am curious why it was archived (is this plugin simply abandoned at this point…?)
]]>– What’s the Problem –
Effectively what’s happening is that visiting a page you need to be logged in to view has the login form page shown via a redirect, but the built-in wp_redirect()
and wp_safe_redirect()
(latter being what’s used here) functions don’t tell browser caches to not ignore the redirect. As such, loging in and then going back to the page that previously redirected to the login form has it still want to redirect to the login page per the browser’s cache (even if it’s a 302 redirect.) A site might have browser caching lasting minutes, hours, or longer which Firefox, Safari, Chrome, etc. have all seen to keep around (again, even with 302 redirects) to then encounter this.
– The Fix –
As such, any time wp_redirect()
and/or wp_safe_redirect()
is used should have nocache_headers()
right before it so the browser knows that redirect is temporary & should then allow the page to be revisited without the redirect happening again after logging in.
When it comes to what needs to be updated for this plugin to fix this potential issue, classes/subway-auth-redirect.php
and classes/subway-page-redirect.php
should be edited to have nocache_headers();
before their wp_safe_redirect();
calls to make sure things behave properly with browsers that might want to cache the redirect.
– Additional Info –
Just a heads up, this is an issue other similar plugins have dealt with (ex. Profile Builder had it reported & fixed per https://www.ads-software.com/support/topic/proposed-bugfix-prevent-login-redirect-from-browser-cache-rules/), and is actually something that can happen with any usage of wp_redirect()
and/or wp_safe_redirect()
.
As an aside, I do have a WordPress core ticket open at https://core.trac.www.ads-software.com/ticket/50422 to make it so wp_redirect()
and wp_safe_redirect()
take care of involving nocache_headers()
in the process, but that’s yet to be accepted (or even discussed, unfortunately & weirdly, as of yet.) I’ve also documented this behavior & precaution for those looking to use those redirect functions at https://developer.www.ads-software.com/reference/functions/wp_redirect/#comment-3973 and https://developer.www.ads-software.com/reference/functions/wp_safe_redirect/#comment-3974 to help prevent this for developers until WordPress officially patches this behavior.
I’d love to see this plugin update this as browser caching should be allowed to be optimized without redirects then lasting longer than they should (with this thankfully just being a matter of calling nocache_headers();
before the redirect happens.)
Thanks!
Kurt
the excluded page ids are supposed to be deprecated but are still checked in PageRedirect:index().
I don’t know why or when but the id list is sometimes modify and id disappear even when a post/page privacy settings is not updated.
]]>Hi,
would it be possible to remove the “lost password” link? It would be very important for our website, as we are only using 2 user and 2 passwords which are set by us and not by the user.
Thanks a lot
Francesca
With the WordPress GDPR function “remove personal data” WordPress sends a link which has to be confirmed by the user. If the user is logged in, the link doesn’t work. If the user is logged out, he has no access to the page. The link looks like this: domain.com/login/?action=confirmaction&request_id=12623&confirm_key=dBvOFmJCtW5Ti7ATF1Ed
Is there a kind of work-around here?
Hello, I noticed two things and was wondering if you could add them as future features. The first is no auto insert of the login short code. I renamed my login location to be more secure. Only those who know where that login page is located will have access anyway. So I don’t need the login short code. But every time I navigate away from the Subway options page, it re-adds the short code to the “Login Page” page. Can you disable that? Or allow us an option to enable/disable it?
The second item is custom pages. There’s a custom page redirect for after someone logs in. But I wanted a custom page before the person logs in. That is, they visit the blog but aren’t logged in and get redirected to a custom page. By this, I’m not referring to the pages and posts within WordPress – I mean specifying a specific page like https://www.myblog.com/not_logged_in.html. Was wondering if this could be added to the feature list.
Thanks!
]]>Hello! I designed a Buddypress website and this is private website only Log in users can access the main feature of website, but few pages are public for visitors. I am facing problem when I makes pages public using subway but after few days pages becomes private automatically and remove from Subway list. Suppose I want to keep my about us, contact us , faq pages public but after few days pages become private automatically and user must log in to view these pages as well. would you please tell me why this happens.
my website is https://www.buraqq.com and at footer section thare are pages that are public,but these are not opening
Regards
]]>Hello,
I installed the plugin on a family site to make it private. It works well, except for the pages I want to keep public: the home page, the login / registration page, and the lost password page.
In the “Subway” settings, the box for putting the IDs of the public pages is grayed out. I modify on the concerned pages, the IDs of these pages are registered, perfect. But as soon as I change another page, the settings jump.
How to have public pages? I even looked in the database, but I can not find where to edit.
Sorry, I do not want to give the site URL … as it’s private ??
Hello there,
we’ve got a problem with our subway plugin combined with the plugin “ultimate member”.
We made a record of the problem in a short YouTube video:
Can anyone please help us?
Thank you
]]>I’m wanting to use my site to host a semi-private podcast. However, subway is locking my podcast feed and page behind a login. I’d like the feed to be public so that folks can subscribe to the podcast in their preferred podcasting app. But, I plan not to submit the feed to google or apple to keep it somewhat private.
I’m using the castos plugin
The specific links i’d like to make public are
mysite.com/blog/podcast and mysite.com/feed/podcast
any thoughts on this?
]]>classes/subway-metabox.php
the script you added is not noConflict
you missed a $ in line 171
Hello,
I am using latest subway but can’t make category public. How can I do this?
Thanks.
]]>Suggest any features that you would like to see implemented in Subway. Would love to hear from you! ??
]]>Warning: require_once(/plugins/subway/classes/subway-metabox.php): failed to open stream: No such file or directory in plugins/subway/subway.php on line 93
can you please check this error?
]]>At the bottom of my home page you will see [subway-login], yet subway is not installed and I cannot remove it. Please advise.
]]>Hi I need to disable the private option for specific URLs like
/oauth1/request
/oauth1/authorize
/oauth1/access
this for make accesible my site for oauth1.0 server
could you help me with this pls?
tks
]]>Hello,
I have followed all the instructions on setting up Subway. I have put my contact, courses, policies, landing pages, blog, and community page IDs in the public posts IDs box, but they are not visible. How can I require the log in only if someone wants to see the other pages?
The plugin is currently turned off so that my site is at least partially visible. Thanks.
]]>Hi,
we used WPML translate.
is the plugin compatible with WPML?
Or is WPML not necessary?
Thank you.
Patrick
]]>Hi I have a site with private content and I am using the great plugin but now I have a problem…
I send a url to a user for example…
but the user is not logged the user is redirect to the custom login page
and this is ok but my real problem is that when a user is logged correctly the redirect is only function for a specific page and the default behaivor in wordpress and custom URL…
I need that that if the referrer url is https://domain.com/any-url the user is redirected to that url…
could you help me with that, I am lost with this…
form the plugin could I solve this or I need to make a custom rule in wordpress or in code…
tks for your help
]]>When I use Subway to hide the content of my site, it won’t load at all. It just says that there are too many redirects.
Then when I deactivate the plugin, the website works fine again. What should I do?
Kind Regards
]]>Hi,
I made my whole site private and the redirect seems to work in most cases. One of the tags sites however is being shown without being logged in (while others are not).
Not sure where this issue stems from, Ill look into my DB and your code later.
Cheers
]]>Hi I have installed the plugin on a private site… but the translate to es_ES not function…
I have created the .mo file from original .pot that you includes in your plugin…
I have changed the files from es_ES.po and es_ES.mo to subway-es_ES.po and subway-es_ES.mo but nothing is functioning…
do you have idea that are something wrong?
tks for your help
]]>The lost password link isn’t working on:
]]>Hi ??
I use Subway with WordPress 4.7.3 and the Theme Thrive version 2.1.2. I have an private area (only pages) in which only registered users are allowed. Works quite wonderfully. But I also have a blog that should be public. Is there a way to make only the blog and the blog posts public?
Thank you for your help
]]>Hey Joseph,
i’m using this plugin with buddypress (2.8.1) and the Thrive Intranet Theme (2.1.2).
After updating subway to Ver2 (2.0.3) Users don’t get redirected to their profile anymore but stay on the login page instead (Message:Great! You have succesfully login.)
I can’t set the profile URL in the plugin settings as it is generated per user.
Thanks for your help!
]]>