In categories_config.php, you are linking to "/search.php". This broke on my forum because my forum is at www.domain.com/forum. I remove "/" from that URL in "categories_config.php" and it's working.
Just wanted to let you know
I had the same issue; categories_config.php assumes Vanilla is installed at the root directory. The following might be a suitable change to the extension to make it subdirectory-friendly:
In FeedPublisher/categories_config.php, replace every occurrence ofhref="/search.php?with href="'.$Configuration['BASE_URL'].'search.php? Works for me!
I tried to follow along in the comments, and Klod was heading to what I wanted, but I am not sure he got it.. I am linking the RSS feed from your extension to a Feedburner URL. But I only want the last 10 items from the discussion to show. What do I change. Right now it lists 100 items (feedburner limit if not cut on our side). Way too much!
Gonna re-explain my hack about number of items, and refine it. It works for me so if someone else confirms, I'll release a new version of this extension.
while ( $DataSet = $SearchForm->Context->Database->GetRow( $SearchForm->Data ) ) with while ( $DataSet = $SearchForm->Context->Database->GetRow( $SearchForm->Data ) and $Counter < 10)
while ( $Row = $SearchForm->Context->Database->GetRow( $SearchForm->Data ) ) with while ( $Row = $SearchForm->Context->Database->GetRow( $SearchForm->Data ) and $Counter < 10)
Now what I just realised today, it's that feeds of comments.php pages can be truncated too, replace this line that look like this: while ( $Row = $CommentGrid->Context->Database->GetRow( $CommentGrid->CommentData ) )
{
with $Counter = 0;
while ( $Row = $CommentGrid->Context->Database->GetRow( $CommentGrid->CommentData ) and $Counter < 10)
{
$Counter++;
Those three places are respectively bound to topic search, comment search (used for category feeds too, or not, according to your categories_config.php file), and discussions.
For now, replace 10 by whatever you want, I'll create a new config item (not three new ones) later.
I guess your feedburner thing points to 'all discussions', doesn't it?
Comments
In
FeedPublisher/categories_config.php
, replace every occurrence ofhref="/search.php?
withhref="'.$Configuration['BASE_URL'].'search.php?
Works for me!
Find this line and replace
while ( $DataSet = $SearchForm->Context->Database->GetRow( $SearchForm->Data ) )
with
while ( $DataSet = $SearchForm->Context->Database->GetRow( $SearchForm->Data ) and $Counter < 10)
Now in this one, replace
while ( $Row = $SearchForm->Context->Database->GetRow( $SearchForm->Data ) )
with
while ( $Row = $SearchForm->Context->Database->GetRow( $SearchForm->Data ) and $Counter < 10)
Now what I just realised today, it's that feeds of comments.php pages can be truncated too, replace this line that look like this:
while ( $Row = $CommentGrid->Context->Database->GetRow( $CommentGrid->CommentData ) ) {
with
$Counter = 0; while ( $Row = $CommentGrid->Context->Database->GetRow( $CommentGrid->CommentData ) and $Counter < 10) { $Counter++;
Those three places are respectively bound to topic search, comment search (used for category feeds too, or not, according to your categories_config.php file), and discussions.
For now, replace 10 by whatever you want, I'll create a new config item (not three new ones) later.
I guess your feedburner thing points to 'all discussions', doesn't it?
http://lussumo.com/addons/index.php?PostBackAction=AddOn&AddOnID=419