FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » RSS Restrictions
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
RSS Restrictions [message #15631] Sun, 28 December 2003 23:19 Go to next message
pgrote is currently offline  pgrote   United States
Messages: 5
Registered: December 2003
Karma: 0
Junior Member
Hello,

I'd like to make the RSS feed I supply to list topics only. I know I can do that by passing commands to the PHP file.

This doesn't prevent someone from submitting their own commands to the file, right? That would defeat my topic only listing.

I have looked at the security permissions on this and I think you can turn off RSS or verify someone's ID.

Is there a way to have the board generate the RSS on its own with only the settings I want while disallowing access to people who submit their own settings?
Re: RSS Restrictions [message #15633 is a reply to message #15631] Sun, 28 December 2003 23:47 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Quote:


This doesn't prevent someone from submitting their own commands to the file, right? That would defeat my topic only listing.



Correct.

Quote:


Is there a way to have the board generate the RSS on its own with only the settings I want while disallowing access to people who submit their own settings?


Either modify the rss generation script to ONLY do what you want a create a simple page that would wrap around rss.php and only make it pass the arguments you want it to pass.


FUDforum Core Developer
Re: RSS Restrictions [message #15634 is a reply to message #15633] Sun, 28 December 2003 23:56 Go to previous messageGo to next message
pgrote is currently offline  pgrote   United States
Messages: 5
Registered: December 2003
Karma: 0
Junior Member
[quote title=Ilia wrote on Sun, 28 December 2003 17:47]
Quote:

Either modify the rss generation script to ONLY do what you want a create a simple page that would wrap around rss.php and only make it pass the arguments you want it to pass.

Thanks for the response.

Which script does that? Where is it located?

The page that did mine by default would still allow people to generate their own, though.

I think your suggestion of modifying the script is best. I took a look at the script and know nothing of php. Is it possible to comment out the lines that show anything but the title of the post?
Re: RSS Restrictions [message #15638 is a reply to message #15634] Mon, 29 December 2003 15:31 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
The script is called rss.php.t and is located inside the src/ directory. I believe commenting out lines is a possible solution.

FUDforum Core Developer
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Password format
Next Topic: email notifications: done always or only conditional ?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Nov 26 08:31:22 GMT 2024

Total time taken to generate the page: 0.02713 seconds