| Re: Rss plugin for xNews ? |
| by timgno on 2011/2/18 21:36:28 In use is 1.02, and now, I have updated to your 1.22, but this not working properly. This module is obsolete anyway, especially in administration, I can not load the plugin, when I click on the link plugin, it seems the line of the menu, but with blank page. Do you have a link where we can check the functionality? thanks |
| Re: Rss plugin for xNews ? |
| by novlang1984 on 2011/2/18 11:52:40 I use RSS 1.22 with Xoops 2.5, and you ? |
| Re: Rss plugin for xNews ? |
| by timgno on 2011/2/18 10:14:57 this does not work with xoops 2.5.0, read the Intro post edit: Quote: Version of XOOPS does not meet the system requirement. RSSFit may not work properly actually seeing the blank page look: http://www.txmodxoops.org/modules/rss/ |
| Plugins for xNews ? |
| by novlang1984 on 2011/2/12 22:46:32 To resume 1. RSSFit plugin should be RssfitXnews.php (to test !) 2. Sitemap plugin is xnews.php 3. Waiting plugin |
| Re: Rss plugin for xNews ? |
| by novlang1984 on 2011/2/12 22:22:36 I think I've found :) In my case, xNews is cloned, I hope there is no mistake below 1. Rename your file by replacing rssfit.news.php with rssfit.yourmodulefoldername.php 2. Replace RssfitNews ... by RssfitYourmodulefoldername 3. Replace var $dirname = 'news'; ...by var $dirname = 'yourmodulefoldername'; 4. Replace : le="color: #000000"><?php @include_once XOOPS_ROOT_PATH.'/modules/news/class/class.newsstory.php'; ... by le="color: #000000"><?php @include_once XOOPS_ROOT_PATH.'/modules/yourmodulefoldername/class/class.newsstory.php'; ... and le="color: #000000"><?php @include_once XOOPS_ROOT_PATH.'/modules/news/include/functions.php'; ... by le="color: #000000"><?php @include_once XOOPS_ROOT_PATH.'/modules/yourmodulefoldername/include/functions.php'; 5. Replace : Quote: $news = NewsStory::getAllPublished($this->grab, 0, news_getmoduleoption('restrictindex')); ... by Quote: $news = nw_NewsStory::getAllPublished($this->grab, 0, nw_getmoduleoption('restrictindex')); 6. Replace : Quote: $news = NewsStory::getAllPublished($this->grab, 0); ... by Quote: $news = nw_NewsStory::getAllPublished($this->grab, 0); 7. Replace le="color: #000000"><?php $ret[$i]['link'] = XOOPS_URL.'/modules/news/article.php?storyid='.$news[$i]->storyid(); $ret[$i]['guid'] = XOOPS_URL.'/modules/news/article.php?storyid='.$news[$i]->storyid(); ... by le="color: #000000"><?php $ret[$i]['link'] = XOOPS_URL.'/modules/yourmodulefoldername/article.php?storyid='.$news[$i]->storyid(); $ret[$i]['guid'] = XOOPS_URL.'/modules/yourmodulefoldername/article.php?storyid='.$news[$i]->storyid(); 8. Declare this new plugin in the RSSFit administration Important : if you use a cloned version replace - nw_NewsStory by nw2_NewsStory, nw3_NewsStory, etc. - nw_getmoduleoption by nw2_getmoduleoption, nw3_getmoduleoption, etc. |