Skip Navigation

[Résolu] Rss Feed access Control

This support ticket is created Il y a 5 années et 6 mois. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Aucun de nos assistants n'est disponible aujourd'hui sur le forum Jeu d'outils. Veuillez créer un ticket, et nous nous le traiterons dès notre prochaine connexion. Merci de votre compréhension.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)

Ce sujet contient 4 réponses, a 3 voix.

Dernière mise à jour par larryL Il y a 5 années et 6 mois.

Assisté par: Waqar.

Auteur
Publications
#1229771

I'm not having any issues using Access to control access to posts/pages based upon the user's assigned role/group. But this is not working for RSS feeds. How can I apply the same controls to /feed/* ???

Thanks!

Larry

#1229846

Nigel
Supporter

Les langues: Anglais (English ) Espagnol (Español )

Fuseau horaire: Europe/London (GMT+01:00)

Hi Larry

Let me see if I understand the question.

WordPress publishes public RSS feeds, anyone with a feed reader can see them. It doesn't provide any mechanism for making feeds private, AFAIK.

You want private feeds restricted by user role, is that the question?

I did some googling, expecting to possibly find ready-made solutions via plugins for private feeds, but came up with little.

I found this article describing authenticating subscribers, which could be adapted to check the role of the user, but this is very much custom work and there is not much more help I can give on this one I'm afraid.

lien caché

You could contact the contractors (https://toolset.com/contractors/), although this is vanilla WP work not specific to Toolset, so you could try any WordPress devs.

#1230204

I don't think that's what I want but maybe I'm confused about what is and isn't possible?

What I really want is to be able to filter what is available in the feeds like I can in a view. So if I have a view (Documents for Sales Agents) and they can't see any documents for Managers, then the only documents in their feed would be Sales Agent related.

So I think what I'm looking to do is isolate the RSS feeds down to specific (already created) views, not deactivate RSS access as a whole.

#1231462

Hi Larry,

Thanks for writing back.

Adding to what Nigel shared earlier, WordPress offers a feed interface in addition to the regular front-end of the website.
( https://wordpress.org/support/article/wordpress-feeds/ )

Currently, Toolset plugins don't offer built-in support to customize what is shown in the feeds, but you're welcome to submit this as a feature request:
https://toolset.com/home/contact-us/suggest-a-new-feature-for-toolset/

To customize the output of your feeds, you'll first need custom code and template for your feeds and following are some useful guides on the topic:

https://codex.wordpress.org/Customizing_Feeds
lien caché
lien caché
lien caché

Once your feeds are being controlled through your custom feed template, you can incorporate a Toolset View inside it, using the "render_view" function:
https://toolset.com/documentation/programmer-reference/views-api/#render_view

I hope this clarifies and for personalized assistance around custom code, you can consider hiring a professional from our list of recommended contractors (as Nigel mentioned):
https://toolset.com/contractors/

regards,
Waqar.

#1231746

My issue is resolved now. Thank you!

Ce ticket est maintenant fermé. Si vous êtes un client de Toolset et que vous avez besoin d'aide, veuillez ouvrir un nouveau ticket d'assistance