
Last Comments
This module developed by old version and version 3.1
10 - August - 2009 : Fix SEO link
21 - March - 2010 : Full cache
-Download :
You must register before you can view this text.
Password :
dleviet.com
- INSTALL in DLE 8.2 - 8.3 - 8.5:
1. Cpoy file lastcommentsb.php to folder engine/modules in your host
2. Open a .css file in your current template (ex : style.css)
Add below code at the end of file
.lastcomm {
border: 1px solid #f8fbf5;
background: #f0f0f0f;
cursor: hand;
padding: 1px;
padding-left: 2px;
padding-right: 2px;
}
.lastcomm_over {
border: 1px solid #dedede;
background: #f5f5f5;
cursor: hand;
padding: 1px;
padding-left: 2px;
padding-right: 2px;
}
border: 1px solid #f8fbf5;
background: #f0f0f0f;
cursor: hand;
padding: 1px;
padding-left: 2px;
padding-right: 2px;
}
.lastcomm_over {
border: 1px solid #dedede;
background: #f5f5f5;
cursor: hand;
padding: 1px;
padding-left: 2px;
padding-right: 2px;
}
3. Open file engine/modules/addcomments.php
Find
$db->query( "UPDATE " . PREFIX . "_comments set text='{$comments}', approve='{$where_approve}' WHERE id='{$row['id']}'" );
BELOW add
// Last comment
clear_cache( "lastcommentsb", $config['skin'] );
// Last comment
clear_cache( "lastcommentsb", $config['skin'] );
// Last comment
Next find
if( $where_approve ) $db->query( "UPDATE " . PREFIX . "_post set comm_num=comm_num+1 where id='$post_id'" );
BELOW add
// Last comment
clear_cache( "lastcommentsb", $config['skin'] );
// Last comment
clear_cache( "lastcommentsb", $config['skin'] );
// Last comment
4. Open file engine/modules/comments.php
Find
clear_cache( 'news_' );
BELOW add
// Last comment
clear_cache( "lastcommentsb", $config['skin'] );
// Last comment
clear_cache( "lastcommentsb", $config['skin'] );
// Last comment
5. Open file main.tpl of current template and add this tag
{include file="engine/modules/lastcommentsb.php"}
PAGE 2 : INSTALL IN DLE 7.5 - 8.0

Updates
MOVIES WORLD â DOWNLOAD FREE MOVIES


