NSPro newsletterlist link

More
8 months 1 week ago #1 by Craig
NSPro newsletterlist link was created by Craig
If you include a link to "read this message online" via {url:NEWSLETTER} in a newsletter and the subscriber follows the link then the display of the newsletter has a link "Back to newsletter list"  which goes to <SITE>/index.php/component/nspro/newsletterlist.  This link can be viewed by public. I already have a protected menu page that uses the "NSPro newsletter list" menu item, that restricts access to registered users.

Is there a way to block public access to <SITE>/index.php/component/nspro/newsletterlist  ?

 

Please Log in or Create an account to join the conversation.

More
8 months 1 week ago #2 by Craig
Replied by Craig on topic NSPro newsletterlist link
I have got round this issue using an Apache webserver RewriteRule to redirect requests for the above mentioned URL to an access restricted  NSPro Newsletter List menu item which forces a login first, if not logged in.

Please Log in or Create an account to join the conversation.

  • Christopher Mavros
  • Christopher Mavros's Avatar
  • Offline
  • Administrator
  • Administrator
More
8 months 1 week ago #3 by Christopher Mavros
Replied by Christopher Mavros on topic NSPro newsletterlist link
Hi again Craig,

I just added an option in the Component Options to require a menu item for the Newsletter list.
This will be included in the next version.

Let me know if you need it earlier than that.
Thanks again!

Christopher Mavros
me@mavxr.com
If you like our extensions, please rate us on the JED!
The following user(s) said Thank You: Craig

Please Log in or Create an account to join the conversation.

More
8 months 1 week ago #4 by Craig
Replied by Craig on topic NSPro newsletterlist link
Hi Christopher,  Ah many thanks for adding that.  There is no rush on my part I can leave the RewriteRule in place until the next scheduled release.

Please Log in or Create an account to join the conversation.

  • Christopher Mavros
  • Christopher Mavros's Avatar
  • Offline
  • Administrator
  • Administrator
More
8 months 1 week ago #5 by Christopher Mavros
Replied by Christopher Mavros on topic NSPro newsletterlist link
Okay, great!
Let me know if anything else comes up.

Christopher Mavros
me@mavxr.com
If you like our extensions, please rate us on the JED!

Please Log in or Create an account to join the conversation.

More
7 months 2 weeks ago #6 by Chris
Replied by Chris on topic NSPro newsletterlist link
I notice that this has now been included in 3.3.3068.
But the problem is not really solved, because everybody who is aware of a link to list of newsletters can still access it. Yes, you can indeed have a menu item an set it to registred, and then the list is no longer public.
However, if you open the link to view a newsletter online, there is still a button at the bottom that links to the complete list of newsletters. This button now produces a 404. Which is not the real McCoy. I have solved this problem temporarily by including in my user.css
Code:
.nspro_back_button {display:none;}

Cheers, Chris

Please Log in or Create an account to join the conversation.

Moderators: Christopher Mavros