241
Gambero[removed]
Re: Two block with recent comments ... how ?

I tried it but it is not what I need. It doesn't show the comments from module "Articles". If it could show those comments, it would be a great module for my situation.

It shows recent posts from NewBB ... but I don't want this ... I want just to show comments from Articles and Poll (like default "recent comments" block").

Can someone help me out ?



242
Gambero[removed]
Re: Two block with recent comments ... how ?

*bump*



243
Gambero[removed]
[ Unsolved ] Two block with recent comments ... how ?

I want to have two blocks with recent comments on different possitions. One will show last 5 comments, other 20. I tried to make a new block with same code as first but it doesn't work.

How can I make this ?

Thanks.



244
Gambero[removed]
Re: WoW THEME

Very very nice theme ... ... pictures look so good ... great work!

Put it in Themes Library ... someone will use it definetly ...



245
Gambero[removed]
Re: NewBB 2 pictures improvement + edit fixed

@Mithrandir

I am sorry. I posted this here because of that code to fix "Edit show". Here can be seen by many people who need this.

Sorry again. You can delete this topic ... I will post it to dev.xoops.org.



246
Gambero[removed]
Re: Realtime News module

Maybe RSSFit ?



247
Gambero[removed]
NewBB 2 pictures improvement + edit fixed

NewBB 2 Pictures improvement

I think NewBB 2 pictures look great but only on white background. I suggest to repair those pictures to look good on a dark background too. That should be repaired in new NewBB version. Is there anyone, who can do this ? Just have to repair the transparency for dark backgrounds.

Edit fixed

Last weekend I wrote to Predator and he helped me out:

If you want only the last edit of the post to be shown, you have to do this:

Predator wrote:

In the folder newbb/class/ edit post.php

search for the function displayPOstEdit()

must be start at line 248
replace the function with this function:

function displayPostEdit()
    {
        global 
$myts$xoopsModuleConfig;

        if( empty(
$xoopsModuleConfig['recordedit_timelimit']) ) return false;

        
$post_edit '';
        
$post_edits $this->getVar('post_edit');
        if (!empty(
$post_edits)) $post_edits unserialize(base64_decode($post_edits));
        if (!isset(
$post_edits) || !is_array($post_edits)) $post_edits = array();
        if (
is_array($post_edits) && count($post_edits) > 0) {
            
$i=count($post_edits)-1;
            
$edit_time intval($post_edits[$i]['edit_time']);
            
$edit_user $myts->stripSlashesGPC($post_edits[$i]['edit_user']);
            
$post_edit .= _MD_EDITEDBY " " $edit_user " " _MD_ON " " formatTimestamp(intval($edit_time)) . "<br/>";
            
            
/*
                  
            foreach($post_edits as $postedit) {
                
                $edit_time = intval($postedit['edit_time']);
                $edit_user = $myts->stripSlashesGPC($postedit['edit_user']);
                $post_edit .= _MD_EDITEDBY . " " .$edit_user . " " . _MD_ON . " " . formatTimestamp(intval($edit_time)) . "<br/>";
            }*/
         
}
        return 
$post_edit;
    }


Now you see only the last Edit.

If someone wants to use it.



248
Gambero[removed]
Re: Fixing up NewBB 2

I don't understand why did you edit that file. If you want to change the look (width of cells, borders, colors) ... you have to edit newbb templates. You can do it via Admin panel ... System /Templates.



249
Gambero[removed]
Re: Fixing up NewBB 2

Amm ... what excatly do you have problem with ?

Name all files that you have edited.



250
Gambero[removed]
Re: Fixing up NewBB 2

Doesn't look fixed to me ...




TopTop
« 1 ... 22 23 24 (25) 26 27 28 »



Login

Who's Online

214 user(s) are online (132 user(s) are browsing Support Forums)


Members: 0


Guests: 214


more...

Donat-O-Meter

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

Latest GitHub Commits