1
jeffgr
RSS plugin for Newbbex?
  • 2007/12/20 21:12

  • jeffgr

  • Quite a regular

  • Posts: 263

  • Since: 2004/2/22


Is there an RSS plugin for Newbbex? This would be really helpful to have...

BTW, the brandycoke RSSfit module doesn't seem to work with 2.0.18 anymore...anyone else have any luck with this?

Thanks,

Jeffgr

http://xoopsexperts.com

2
belia
Re: RSS plugin for Newbbex?
  • 2007/12/21 1:45

  • belia

  • Just popping in

  • Posts: 83

  • Since: 2007/12/18


i found this long time ago...but seems not working

http://tinyurl.com/32a5fa

can you look into it and post the working plugin here

just put it in the code tag

i'm also having rpblem rssfit in 2.018

admin blank pages

3
belia
Re: RSS plugin for Newbbex?
  • 2007/12/23 15:19

  • belia

  • Just popping in

  • Posts: 83

  • Since: 2007/12/18


bump

4
belia
Re: RSS plugin for Newbbex?
  • 2007/12/26 20:02

  • belia

  • Just popping in

  • Posts: 83

  • Since: 2007/12/18


boxing day bump

5
belia
Re: RSS plugin for Newbbex?
  • 2007/12/29 15:23

  • belia

  • Just popping in

  • Posts: 83

  • Since: 2007/12/18


..anyone ?

6
belia
Re: RSS plugin for Newbbex?
  • 2008/1/6 6:13

  • belia

  • Just popping in

  • Posts: 83

  • Since: 2007/12/18


bump again...I really need this

i tried this but not working


rssfit.newbbex.php
if( !defined('RSSFIT_ROOT_PATH') ){ exit(); }
class 
RssfitNewbbex{
var 
$dirname 'newbbex';
var 
$modname;
var 
$module;
var 
$grab;
function 
RssfitNewbbex(){
}
function 
loadModule(){
$mod =& $GLOBALS['module_handler']->getByDirname($this->dirname);
if( !
$mod || !$mod->getVar('isactive') ){
return 
false;
}
$this->modname $mod->getVar('name');
$this->module =& $mod;
return 
$mod;
}
function &
grabEntries(&$obj){
@include 
XOOPS_ROOT_PATH.'/modules/newbbex/include/functions.php';
global 
$xoopsDB;
$xoopsModule =& $this->module;
$myts =& MyTextSanitizer::getInstance();
$i 0;
$forum_handler =& xoops_getmodulehandler('forum''newbbex');
$topic_handler =& xoops_getmodulehandler('topic''newbbex');
$newbbConfig =& $GLOBALS['config_handler']->getConfigsByCat(0$this->module->getVar('mid'));
$access_forums $forum_handler->getForums(0'access');
$available_forums = array();
foreach(
$access_forums as $forum){
if(
$topic_handler->getPermission($forum)) {
$available_forums[$forum->getVar('forum_id')] = $forum;
}
}
unset(
$access_forums);
if( 
count($available_forums) > ){
ksort($available_forums);
$cond ' AND t.forum_id IN ('.implode(','array_keys($available_forums)).')';
unset(
$available_forums);
$cond .= $newbbexConfig['enable_karma'] ? ' AND p.post_karma = 0' '';
$cond .= $newbbexConfig['allow_require_reply'] ? ' AND p.require_reply = 0' '';
$query 'SELECT p.post_id, p.subject, p.post_time, p.forum_id, p.topic_id, p.dohtml, p.dosmiley,
p.doxcode, p.dobr, f.forum_name, pt.post_text FROM '
.$xoopsDB->prefix('xoops_bbex_posts').' p,
'
.$xoopsDB->prefix('xoops_bbex_forums').' f, '.$xoopsDB->prefix('xoops_bbex_topics').' t,
'
.$xoopsDB->prefix('xoops_bbex_text').' pt WHERE f.forum_id = p.forum_id AND p.post_id =
pt.post_id AND p.topic_id = t.topic_id AND t.approved = 1 AND p.approved = 1 AND f.forum_id =
t.forum_id '
.$cond.' ORDER BY p.post_time DESC';
$result $xoopsDB->query($query$this->grab);
while( 
$row $xoopsDB->fetchArray($result) ){
$link =
XOOPS_URL.'/modules/'.$this->dirname.'/viewtopic.php?topic_id='.$row['topic_id'].'&forum='.$row['fo
rum_id'
].'&post_id='.$row['post_id'].'#forumpost'.$row['post_id'];
$ret[$i]['title'] = $row['subject'];
$ret[$i]['link'] = $ret[$i]['guid'] = $link;
$ret[$i]['timestamp'] = $row['post_time'];
$ret[$i]['description'] = $myts->displayTarea($row['post_text'], $row['dohtml'], $row['dosmiley'],
$row['doxcode'], 1$row['dobr']);
$ret[$i]['category'] = $row['forum_name'];
$ret[$i]['domain'] =
XOOPS_URL.'/modules/'.$this->dirname.'/viewforum.php?forum='.$row['forum_id'];
$i++;
}
}
return 
$ret;
}
}
?>


error message
Quote:

This page cannot be displayed due to an internal error.

You can provide the following information to the administrators of this site to help them solve the problem:

Error: Handler does not exist
Module: newbbex
Name: forum



please help

7
irmtfan
Re: RSS plugin for Newbbex?
  • 2008/1/7 10:22

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


if you are a long time user i recommend D3pipes
its just wonderful work of Gijoe.
you can have unlimited options for RSS.
just read the description.

EXAMPLE:
http://www.irxoops.org/modules/d3pipes/

8
belia
Re: RSS plugin for Newbbex?
  • 2008/7/1 23:47

  • belia

  • Just popping in

  • Posts: 83

  • Since: 2007/12/18


bump...

i'm using d3pipes in one of my site but in this another site of mine i would like to stick to newbbex

9
belia
Re: RSS plugin for Newbbex?
  • 2008/10/11 12:37

  • belia

  • Just popping in

  • Posts: 83

  • Since: 2007/12/18


bump

10
hervet
Re: RSS plugin for Newbbex?
  • 2008/10/15 6:37

  • hervet

  • Friend of XOOPS

  • Posts: 2267

  • Since: 2003/11/4


Rssfit in a more recent version :
http://xoops.instant-zero.com/modules/mydownloads/singlefile.php?cid=15&lid=37

I will create a plugin for Newbbex soon (don't ask me when)

Login

Who's Online

324 user(s) are online (274 user(s) are browsing Support Forums)


Members: 0


Guests: 324


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits