http://www.xoops.org/
Main Menu
Latest Articles
Popular Articles

Browsing this Thread:   2 Anonymous Users





Progress update
Webmaster
Joined:
2003/11/7 20:56
Group:
Webmasters
Registered Users
Posts: 137
Level : 10; EXP : 75
HP : 0 / 243
MP : 45 / 14625
Offline
I thought you may be interested in what's happening with Articles...

o User submit - I am now adding the option for site visitors to be able to submit their own articles. These will, of course, have to be validated by an admin before it is published. This will also include some notifications for admin and the user.

o Support for third party editors such as SPAW. Support for this is not straight forward as it involves re-writing code for the forms.

o Some, if not all, preferences will be moved over to the XOOPS built in config system. Exactly which, and how I am not sure just yet.

Those are the main areas I am working on at present, along with some other enhancements. This may be the last beta release before Articles goes to a "pre-release" status.

Please let me know if you have any comments, etc.

Posted on: 2005/4/3 16:48
Transfer the post to other applications Transfer


Re: Progress update
Just popping in
Joined:
2005/2/15 14:36
Group:
Registered Users
Posts: 9
Level : 1; EXP : 86
HP : 0 / 21
MP : 3 / 1221
Offline
Thanks for that news ... especially the first funciton has to be included!

BTW: Is there any other module for Articles ? It is not that I don't like articles module but I don't have a BopComments plugin for it.

Posted on: 2005/4/5 12:38
Transfer the post to other applications Transfer


Re: Progress update
Webmaster
Joined:
2003/11/7 20:56
Group:
Webmasters
Registered Users
Posts: 137
Level : 10; EXP : 75
HP : 0 / 243
MP : 45 / 14625
Offline
There are now a number of article/sections modules. You can view them under the "content management" section of the module repository on the official XOOPS site:

http://www.xoops.org[...]viewcat.php?cid=12

To be honest, I'm not sure if any of them support bopcomments, although I may have another look at supporting it in Articles.

Posted on: 2005/4/5 14:09
Transfer the post to other applications Transfer


Re: Progress update
Just popping in
Joined:
2005/2/15 14:36
Group:
Registered Users
Posts: 9
Level : 1; EXP : 86
HP : 0 / 21
MP : 3 / 1221
Offline
That are all good modules but only Articles is what I really want. It is so simple but so nice looking and useful. That's why I don't know what to do now. BopCmments supports WF-Section but I don like that module. Other supported by BopComments are:

original xoops modules +
MyAlbum
WebLog
Bwiki
WF-Section
piCal
iDiary
WordPress
... and more.

I think this is something that you should really include in package. I would understan if a plugin is a large piece of code, but - this plugin is so small.

And I think that if you only change databese prefixes (i don't know what I am talking :P) in plugin for news - it should work!

Think about that, because you really are doing a good job.

BOPCOMMENTS PLUGIN FOR MODULE NEWS:

<?php
function b_BopComments_news($maxtopic$module_mid)    {
    global 
$xoopsUser;
    
    
$comment = array();
    
$xoopsDB =& Database::getInstance();
    
$SQL "SELECT s.storyid, s.uid, s.title, s.created, s.counter, t.topic_id, t.topic_title FROM ".
            
$xoopsDB->prefix("stories")." s left join ".
            
$xoopsDB->prefix("topics")." t on s.topicid=t.topic_id ".
            
"WHERE s.expired NOT BETWEEN 1 AND ".time()." AND s.published BETWEEN 1 AND ".time()." AND s.comments=0 ".
            
"ORDER BY s.created DESC";
    if ( !
$query $xoopsDB->query($SQL$maxtopic0)) echo "Error! (news)";
    while ( 
$result $xoopsDB->fetchArray($query) )    {
        
$key BopComments_KeyCheck($comment$result['created']);
        
$comment[$key]['reply'] = 0;
        
$comment[$key]['user'] = $result['uid'];
        
$comment[$key]['moduleimg'] = XOOPS_URL."/modules/BopComments/plugin/image/news.gif";
        
$comment[$key]['modulelink'] = XOOPS_URL."/modules/news/index.php";
        
$comment[$key]['placelink'] = XOOPS_URL."/modules/news/index.php?storytopic=".$result['topic_id'];
        
$comment[$key]['place'] = $result['topic_title'];
        
$comment[$key]['topiclink'] = XOOPS_URL."/modules/news/article.php?storyid=".$result['storyid'];
        
$comment[$key]['topic'] = $result['title'];
        
$comment[$key]['read'] = $result['counter'];
        
$comment[$key]['date'] = $key;
    }
        
    
$c_SQL "SELECT count(*) as reply, max(c.com_id) AS comid, s.storyid, s.title, s.created, s.counter, t.topic_id, t.topic_title, max(c.com_created) as time FROM (".
            
$xoopsDB->prefix("stories")." s  LEFT JOIN ".
            
$xoopsDB->prefix("topics")." t ON s.topicid=t.topic_id) LEFT JOIN ".
            
$xoopsDB->prefix("xoopscomments")." c ON c.com_itemid=s.storyid ".
            
"WHERE c.com_status=2 AND s.expired NOT BETWEEN 1 AND ".time()." AND s.published BETWEEN 1 AND ".time()." AND c.com_modid=".$module_mid." ".
            
"GROUP BY c.com_itemid ".
            
"ORDER BY c.com_created DESC";
    if ( !
$query2 $xoopsDB->query($c_SQL,$maxtopic,0) ) echo "Error! (news_comments)";
    while ( 
$result $xoopsDB->fetchArray($query2) )    {
        
$userSQL "SELECT com_uid FROM ".
                    
$xoopsDB->prefix("xoopscomments").
                    
" WHERE com_id=".$result['comid'];
        if ( !
$userQuery $xoopsDB->query($userSQL,1,0) ) echo "Error! (news_comments_user)";
        
$comment_data $xoopsDB->fetchArray($userQuery);
            
        
$key BopComments_KeyCheck($comment$result['time']);
        
$comment[$key]['reply'] = $result['reply'];
        
$comment[$key]['user'] = $comment_data['com_uid'];
        
$comment[$key]['moduleimg'] = XOOPS_URL."/modules/BopComments/plugin/image/news.gif";
        
$comment[$key]['modulelink'] = XOOPS_URL."/modules/news/index.php";
        
$comment[$key]['placelink'] = XOOPS_URL."/modules/news/index.php?storytopic=".$result['topic_id'];
        
$comment[$key]['place'] = $result['topic_title'];
        
$comment[$key]['topiclink'] = XOOPS_URL."/modules/news/article.php?storyid=".$result['storyid'];
        
$comment[$key]['topic'] = $result['title'];
        
$comment[$key]['read'] = $result['counter'];
        
$comment[$key]['date'] = $key;
    }
    return 
$comment;
}
?>

Posted on: 2005/4/5 15:49
Transfer the post to other applications Transfer


Re: Progress update
Webmaster
Joined:
2003/11/7 20:56
Group:
Webmasters
Registered Users
Posts: 137
Level : 10; EXP : 75
HP : 0 / 243
MP : 45 / 14625
Offline
I have downloaded the BopComments module, and the 3rd party plugins from the author's web site.

I will take a look at it after I have a working admin area - I'm redoing a lot of it so I could implement 3rd party editors, add new features and change stuff to support XOOPS' new functions and standards.


Posted on: 2005/4/5 21:48
Transfer the post to other applications Transfer


Re: Progress update
Just popping in
Joined:
2005/2/15 14:36
Group:
Registered Users
Posts: 9
Level : 1; EXP : 86
HP : 0 / 21
MP : 3 / 1221
Offline
Amm ... did you ? Open in new window

Posted on: 2005/6/15 11:15
Transfer the post to other applications Transfer


Re: Progress update
Webmaster
Joined:
2003/11/7 20:56
Group:
Webmasters
Registered Users
Posts: 137
Level : 10; EXP : 75
HP : 0 / 243
MP : 45 / 14625
Offline
Yeah, I am working on it - just having a bit of grief getting it to work properly.

If all goes well, it should be released soon...

Posted on: 2005/6/15 14:24
_________________
Andy Mills
E-mail: Open in new window
Transfer the post to other applications Transfer


Re: Progress update
Webmaster
Joined:
2003/11/7 20:56
Group:
Webmasters
Registered Users
Posts: 137
Level : 10; EXP : 75
HP : 0 / 243
MP : 45 / 14625
Offline
And the first version is now available here

Posted on: 2005/6/15 20:29
_________________
Andy Mills
E-mail: Open in new window
Transfer the post to other applications Transfer


Re: Progress update
Just popping in
Joined:
2005/2/15 14:36
Group:
Registered Users
Posts: 9
Level : 1; EXP : 86
HP : 0 / 21
MP : 3 / 1221
Offline
MAN I LOOOOOOOVE YOUUUUUUU Open in new windowOpen in new windowOpen in new window

THANKS A LOT!!!

Posted on: 2005/6/17 18:01
Transfer the post to other applications Transfer






You can view topic.
You cannot start a new topic.
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.

[Advanced Search]


Login
Username:

Password:

Remember me



Lost Password?

Register now!
Donate!
Please consider donating to help continued development of my XOOPs modules. Read more here.

Search
Advertisements
Copyright © 2001-2009 sirium.net