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.
Feed Publisher
This discussion has been closed.
Comments
Automated things are done in:
- comments of one discussion (output of comments.php)
- searches (output of serach.php
For the main page and the discussions sorted by categories (output of index.php) I didn't try anything as it seemed to be complicated. The trick in CrudeRSS, the ancestor (wars) of FeedPublisher was to set the links manually, and not to use the process done in index.php BUT search.php. Indeed, you can get all posts in a blank search, and all posts in a category in a blank search with the Categories=General GET parameter.That's why this conf file is called categories_config.php, because all other things are automated.
So in categories_config.php which is kind of commented,
if ( 1 == ForceIncomingInt( 'CategoryID', 0 ) ) {...}
makes the code in the bracket executed in cat number 1. In this code, you'll have to provide the relevant links (relevant searches) that you can obtain performing an advanced search on your live site, then just copy-paste in in categories_config.php.
Links are added in the panel, and in the html head for modern browsers to use them.
If you think it's worth updating the docs this way (technical explanations) I can take some time for it, in the readme or in the comments of categories_config.php. Please help me to know where FP lacks docs thanks.
Now try to pronounce those three last words as quickly as possible.
Of course, if we manage to automate the process, we won't need a conf file and it will be removed from the dist.
We talked about the stickies once, and then I skipped. I agree we have to ignore the sticky status of the discussions in the feeds. I'll have a look...
Have you looked at the code I used to modify the search parameters? Gives you plenty of scope for adding in your own fancy queries.
They shouldn't since it's the result of a search.
Could someone give me an URL to a Vanilla forum with FeedPublisher installed, where stickies arrive at the top in feeds? I guess you mistake for another feed engine (FP is NOT installed here at Lussumo, we investigated a bit with Mark but didn't find anything).
$Context->Configuration[ 'AUTHENTICATE_USER_FOR_FEED_PUBLISHER' ] = 0;
but it only seems to have produced a feed for the lowest-ranking role (we have Senior Members and a few more roles that are "above" regular membership). Actually, let me clarify: it produces the right feed if I'm logged into the forums (say, if I'm using Firefox's live bookmarks) but if I'm using a third-party aggregator it only shows me the discussions that are visible to people with the 'member' role, not 'senior member'.
Are there any hacks that will make this plugin ignore roles and categories and just give me *everything*?
You say "roles and categories", do you mean you restricted some categories to some roles through the Settings->Categories page (roles section)?
I'm not so familiar with the internals of this process. It could be tricky and dangerous. I don't think I'll have much time to investigate on this. Maybe someone could give some hints...
@dan39
sure boss !