http://clkuk.tradedoubler.com/click?p=4286&a=390051&g=63955
Main Menu
Latest Articles
Popular Articles
   All Posts (Bahattee)




Re: Planned features for v2
Just popping in
Joined:
2005/2/15 14:36
Group:
Registered Users
Posts: 9
Level : 1; EXP : 86
HP : 0 / 21
MP : 3 / 1233
Offline
Great work man!

I have a suggestion ... If you have a LOT of articles ... like I have ...

Then let's say that you scroll down and read titles of articles ... then at the center you like one article ... and you click on it and read it ... then you click "Back to index" and it puts you on the top of the list again ... can you make that it puts you to the center of the list, where you clicked an article.

My english is very bad, I know.

Posted on: 2005/7/28 21:12
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 / 1233
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


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 / 1233
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
Just popping in
Joined:
2005/2/15 14:36
Group:
Registered Users
Posts: 9
Level : 1; EXP : 86
HP : 0 / 21
MP : 3 / 1233
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
Just popping in
Joined:
2005/2/15 14:36
Group:
Registered Users
Posts: 9
Level : 1; EXP : 86
HP : 0 / 21
MP : 3 / 1233
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: Articles and BopComments ?
Just popping in
Joined:
2005/2/15 14:36
Group:
Registered Users
Posts: 9
Level : 1; EXP : 86
HP : 0 / 21
MP : 3 / 1233
Offline
So noone can make it for me ?

Posted on: 2005/2/24 20:35
Transfer the post to other applications Transfer


Re: Articles and BopComments ?
Just popping in
Joined:
2005/2/15 14:36
Group:
Registered Users
Posts: 9
Level : 1; EXP : 86
HP : 0 / 21
MP : 3 / 1233
Offline
Thank you so much for checking the module. I think it was made by a japanese and beacuse of that there is no English documentation. But I think you know a lot of PHP code so if you look in folder "plugins" you will find plugins for modules.

I would be very happy if you coud make it ... thanks again!

Bye.

Posted on: 2005/2/15 18:37
Transfer the post to other applications Transfer


Articles and BopComments ?
Just popping in
Joined:
2005/2/15 14:36
Group:
Registered Users
Posts: 9
Level : 1; EXP : 86
HP : 0 / 21
MP : 3 / 1233
Offline
Hello!

I am using module Articles and I need help. I used a block "recent comments" and I would like same block but on another place on the page - so two same blocks.

I found a great module BopComments here but that module needs plugins to show recent comments. I have plugins for mydownloads, mylinks, poll, forum and I need now is a plugin for Articles. I have tried to make that plugin but just doesn't work because I am a newbie on this.

Can someone please make a plugin for Articles to show recent comments in BopComments module ? It is not a lot ... actually just a little piece of code ...

I think that feature should be in next release of Articles.

Thanks a lot!

Bye.

Posted on: 2005/2/15 14:42
Transfer the post to other applications Transfer



 Top




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