DLEVIET - DataLife Engine Support Home Page

Last Comments

  • Author: admin;  
  • Views: 4935;  
  • Date: 21 March 2010;  
Last Comments

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;
}


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


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


4. Open file engine/modules/comments.php

Find

clear_cache( 'news_' );


BELOW add

// 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
We encourage you to Register or Login to website under your name.

megafree

Posted 21 March 2010 12:55 Register: 7.03.2010
Very Nice Sharing Brother smile
Keep it ---------> Up!

raver

Posted 28 March 2010 21:31 Register: 20.03.2010
hi i using DLE v8.2 but i have some problems if i install this module "Last Comments"

in the panel comes only this =>

Файл engine/modules/lastcommentsb.php находится в папке, которая доступна для записи (CHMOD 777). В целях безопасности подключение файлов из таких папок невозможно. Измените права на папку, чтобы на нее небыло прав на запись.


can anyone help me please ?

DjMixTape

Posted 29 March 2010 01:58 Register: 21.02.2010
File engine / modules / lastcomments.php located in the folder, which is available to write (CHMOD 777). For security purposes the connection files from these folders is impossible. Change the permissions on the folder to her небыло rights record.


"Translated by google"

So,remove chmod 777 of the lastcomments.php and try again.

raver

Posted 1 April 2010 00:06 Register: 20.03.2010
thank you ! was a bad question from me wink

this is a very nice Project i found many modules & h@cks but all on other languages

you help me forward with my website big thanks and best regards from me love

partneri3

Posted 1 April 2010 03:31 Register: 1.04.2010

pashaali

Posted 17 April 2010 08:39 Register: 16.04.2010
thanks gud work

jaganguys

Posted 21 May 2010 01:50 Register: 7.04.2010
hi its showing the user email id when clicking the author in last comment i want to show only the user profile..
How to change the email to user profile....

ashish

Posted 2 September 2010 08:56 Register: 30.08.2010
in which .CSS file open and past that code

em_dai_kho

Posted 25 October 2010 09:55 Register: 28.05.2010
Làm sao để phần comment nó sang trái, mình chỉnh chỗ nào nó cũng nằm bên phải recourse
]http://img97.imageshack.us/img97/8758/lastcomments.png

sumon

Posted 9 March 2011 16:03 Register: 24.06.2010
will it work on dle 9.2 ? thanks

ashish

Posted 24 March 2011 14:00 Register: 30.08.2010
gettting same error see in image

"http://i54.tinypic.com/2s1632g.png"
Information
Members of Guest cannot leave comments.

Popular

Pagerank Update

    Updates Yandex SEO
    04.02.2012
    23.12.2011
    09.12.2011
    Updates Yandex search
    02.02.2012
    28.01.2012
    25.01.2012
    Updates Yandex Catalogue
    03.02.2012
    02.02.2012
    01.02.2012
    Updates Google
    08.11.2011
    05.08.2011
    27.06.2011

Find us on Facebook

Poll

How do you know DataLife Engine Support?

Search Engine
Other DLE Support websites
Forum
Friends
Others

Sponsor

Calendar

«    February 2012    »
MoTuWeThFrSaSu
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29