Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Specify what can be fed through RSS?
In my project manager install, I have about 2-3 discussions (via whispers) per client. So, when a client logs in, all they see is those 2-3 discussions (seperated into 2 categories), then 2 other categories which they have read-only access to (announcements and documentation).
Because of this, I don't want to have an RSS feed link on the main index/discussions list. Nor do I want them to be able to feed any other category other then those 2 read-only categories. Instead, I'd only like them to be able to feed their client-specific discussions (vanilla/discussion/380/discussion-name/).
How would I go about doing this? I basically see it as hiding the CSS for index.php and categories.php, but showing it for specific discussion pages and for only the two categories that I want it to.
BTW <- Not a coder, so hold my hand, please.
Because of this, I don't want to have an RSS feed link on the main index/discussions list. Nor do I want them to be able to feed any other category other then those 2 read-only categories. Instead, I'd only like them to be able to feed their client-specific discussions (vanilla/discussion/380/discussion-name/).
How would I go about doing this? I basically see it as hiding the CSS for index.php and categories.php, but showing it for specific discussion pages and for only the two categories that I want it to.
BTW <- Not a coder, so hold my hand, please.
0
This discussion has been closed.
Comments
// Normal extension file's headers go above this line if ( ('index.php') != $Context->SelfUrl) || ('categories.php' != $Context->SelfUrl) ) { // add this line after the headers // extension's code goes in here } // add this line just before the end of the extension file ?>
Essentially all your doing is adding two lines, one for the IF, and one to hold the end curly bracket, which ends the if.