资源工具


14
八 10

我的使用的Datalife8.5安装说明

版本说明:

采用DataLife_Engine_v.8.5_FULL_English_by_DLEVIET_UTF-8.rar,做为原始版本,

另外我在版本中安装插件有:

pingationMod 2.01 English for 8.5

DLE Search Cloud Module

Category Tree 1.3

3news v2.0

安装说明:

1:建个数据库,运行根目录 /install.php 按步骤说明安装

2,打开phpmyadmin,打开我们的主数据库,选择顶部 SQL,输入(注:这个是插入pingationMod 2.01 English for 8.5 插件的数据库)

INSERT INTO `dle_admin_sections` VALUES (”, ‘ping’, ‘pingationMod’, ‘Module send notifications to the ping services known about the changes on your site’, ‘pingationmod.png’, ’1′);

3,完毕后,再次运行SQL,输入:(注:这个是插入DLE Search Cloud Module 插件的数据库)

CREATE TABLE IF NOT EXISTS `dle_search` (
`id` int(11) NOT NULL auto_increment,
`ip_address` varchar(20) NOT NULL,
`tag` varchar(100) NOT NULL default ”,
PRIMARY KEY (`id`),
UNIQUE KEY `tag` (`tag`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

4,修改engine\modules\connect.php 里面关于数据库的设置,里面的数据库名,就是我们DATALIFE的数据库

插件调用说明:

1,DLE Search Cloud Module

在main.tpl模板空白位置插入:

{include file=”engine/modules/searchcloud.php”}

2, 3news v2.0

{top_news}

//排名

{last_news}

//最后

{rand_news}

//随机


13
八 10

翻山越岭找到DLE Search Cloud Module 插件

1. First, open connect.php in modules folder and enter database info.

<?php
$dbhost = ‘localhost‘; /* ENTER YOUR SERVER ADDRESS HERE ITS IS GENERALLY LOCALHOST. */

$dbuser = ‘user‘; /* ENTER YOUR DATABASE USERNAME HERE. */

$dbpass = ‘password‘; /* ENTER YOUR DATABASE PASSWORD HERE. */

$conn = mysql_connect($dbhost, $dbuser, $dbpass) or die (‘Error connecting to mysql’);

$dbname = ‘dle db‘; /* ENTER YOUR DATABASE NAME HERE. */
mysql_select_db($dbname);
?>

2. copy the engine folder of the zip pack you got into your root directory.

3. Then import the IMPORT.sql into your DLE database using PhpMyAdmin.

4. Then paste this code in your template’s main.tpl file using the DLE admin Panel where you want to display the Recent Searches section.

{include file=”engine/modules/searchcloud.php”}

5. Open /engine/engine.php and find.

include ENGINE_DIR . ‘/modules/deletenews.php’;
break;


and after that copy and paste the following code.

case “searchcloud” :
include ENGINE_DIR . ‘/modules/search2.php’;
break;

6. Copy the following code to your .htaccess file.

RewriteRule ^search/(.*).html?$ /index.php?do=searchcloud&subaction=search&story=$1&x=$4&y=$5 [L]

that`s all you must do.
good luck.
tested and working.


10
八 10

Datalife 8.5 首页显示JS菜单插件 Category Tree 1.3

Category Tree 1.3

Purpose: This module adds a great dynamic menu as a navigation system to your datalife engine site.

Features:
- Categories disclosed without reloading the page.
- All data are taken from DLE Database so you don’t need to add anything manually.
- You can specify icons for categories.
- Support for an infinite number of categories of dynamic menus.

Tested On: 7.* – 8.*

DLEViet fixed some error
- support any PREFIX of table in database.
- Add this code to secure

if( ! defined( ‘DATALIFEENGINE’ ) ) {
die( “h@cking attempt!” );
}

Download :

category-tree-1.3_fix.rar

Install
1. Upload all file
2. Open file index.php
Find

$tpl->set ( ‘{speedbar}’, $tpl->result['speedbar'] );

BELOW add(下列补充):

$tpl->set ( ‘{catlist}’, $catlist );

3. Open file engine/init.php

find

?>

ABOVE add(上面添加):

require_once ROOT_DIR . ‘/engine/modules/category.php’;

4. Open file main.tpl of current template

Find:

</head>

ABOVE add上面添加:

<link rel=”StyleSheet” href=”{THEME}/css/dtree.css” type=”text/css” />
<script type=”text/javascript” src=”{THEME}/css/dtree.js”></script>

Add below code wherever you want to show:

<script type=”text/javascript”>
d = new dTree(‘d’, ‘{THEME}/images/category/’);
d.add(0,-1, ‘Site Categories’);
{catlist}
document.write(d);
</script>

Finish


10
八 10

Datalife 8.5 文章显示插件 Module 3news v2.0(排名,最后,随机)三种显示模式

3news v2.0

This module included:
- Top articles
- Newest articles in this month
- Random articles

9 – August – 2009
Fix error : link of news have multiple category (SEO type = 2)

- Download: 3news.rar
- INSTALL
1. Copy file 3news.php to engine/modules

2. Open file index.php

Find

<!--code1-->
<div><!--ecode1-->$tpl-&gt;load_template ( 'main.tpl' );<!--code2--></div>
<!--ecode2-->

BELOW add

<!--code1-->
<div><!--ecode1-->require_once ENGINE_DIR . '/modules/3news.php';<!--code2--></div>
<!--ecode2-->

Next find

<div><!--ecode1-->$tpl-&gt;set ( '{calendar}', $tpl-&gt;result['calendar'] );<!--code2--></div>

BELOW add:

<!--code1-->
<div><!--ecode1-->$tpl-&gt;set ( '{top_news}', $top_news );
$tpl-&gt;set ( '{last_news}', $last_news );
$tpl-&gt;set ( '{rand_news}', $rand_news );<!--code2--></div>
<!--ecode2-->

3. Open file main.tpl in current template, add below tags
调用代码:

{top_news}

    //排名

{last_news}

    //最后

{rand_news}

  //随机

4. Finish!

————————–
Some options in file 3news.php:
- $linklength = 200; if the length of title more than 200 characters, then reduce number of characters on the left heading 200 characters

$limittop = 10; // number of news in top block
$limitlast = 10; // number of news in last block
$limitran = 10; // number of news in random block

$showviews = false; // Show number of views at preffix of news link


10
八 10

最新版WPRobot3.10+15Modules-WordPress采集插件带15个模块

文档

下载:http://www.im286.com/thread-4820024-1-1.html

国外的一个站刚刚放出来的,还没测试。————–


8
八 10

Datalife 发文章后自动通知搜索引擎插件pingationMod 1.4 English


Module “pingationMod” – provides timely notification ping services on the changes on your site. Services for the ping – a service that informs search engines that your site appeared the next publication. As a result, the search engine spiders quickly learn that you have written a new article and visiting the site to its index.

Features of the module:

Hand-sending notifications ping services from admin panel (for Ajax)

-Automatically sends notifications ping services after the publication of news

-Sending notification ping services after news editing

Hand-sending XML sitemap to search engines, such as: Ask.com, Bing, Google and Yahoo from the admin panel (for Ajax)

-Quick navigation to all sections of the module

-Introduction log events

List of changes in version 1.4:

-Added output errors on screen, if the XML site maps do not exist

-Ability to send a site map in Yahoo (for this you need the App ID in the module settings)

-Fixed all known bugs

 

INSTALL

Installation of the module for DataLife Engine 8.2

========================================

Download: http://hotfile.com/dl/15101342/0b6c2c7/pingationMod_1.4_English_NULL_by_DLEVIET.rar.html

1. Copy all files from the upload folder to the root folder

2. Open the file engine/inc/options.php

find:


array (

‘name’ => $lang['opt_rules'],

‘url’ => “$PHP_SELF?mod=static&action=doedit&page=rules”,

‘descr’ => $lang['opt_rulesc'],

‘image’ => “rules.png”,

‘access’ => $user_group[$member_id['user_group']]['admin_static']

),

下面添加:


array (

‘name’ => “pingationMod”,

‘url’ => “$PHP_SELF?mod=ping”,

‘descr’ => “The module provides for timely notification ping services on the changes on your site”,

‘image’ => “ping.png”,

‘access’ => $user_group[$member_id['user_group']]['admin_static']

),

3. Open file engine/inc/addnews.php

Find:


clear_cache();

msg( “info”, $lang['addnews_ok'], $lang['addnews_ok_1'] . ” \”" . stripslashes( stripslashes( $title ) ) . “\” ” . $lang['addnews_ok_2'] );

replace with:


/*Start pingationMod*/    

include ENGINE_DIR . ‘/data/ping.php’;

if (isset( $_POST['approve'])  AND $newsdate < $added_time AND $ping['allow_post'] == “1″){

include ENGINE_DIR . ‘/inc/ping/pingpost.php’;

clear_cache();

msg( “info”, $lang['addnews_ok'], $lang['addnews_ok_1'] . ” \”" . stripslashes( stripslashes( $title ) ) . “\” ” . $lang['addnews_ok_2'] . “<br /><font color=green>Ping services were successfully notified about changes on your site</font>” );

}

else

{

clear_cache();

msg( “info”, $lang['addnews_ok'], $lang['addnews_ok_1'] . ” \”" . stripslashes( stripslashes( $title ) ) . “\” ” . $lang['addnews_ok_2'] );    

}

/*End of pingationMod */

4. Open file engine/inc/editnews.php and find:


<td><input type=”checkbox” name=”approve” value=”1″ {$ifapp}> {$lang['addnews_mod']}

replace to:


<td><input type=”checkbox” name=”approve” value=”1″ {$ifapp}> {$lang['addnews_mod']}<br />

<input type=”checkbox” name=”ping” value=”1″> Send notification of ping services

Next find:


if( $no_permission ) {

msg( “error”, $lang['addnews_error'], $lang['edit_denied'], $_SESSION['admin_referrer'] );

} elseif( $okdeleted ) {

msg( “info”, $lang['edit_delok'], $lang['edit_delok_1'], $_SESSION['admin_referrer'] );

} elseif( $okchanges ) {

下面添加:


/*Start pingationMod*/    

if(isset( $_POST['ping']) AND isset( $_POST['approve']) AND $newsdate < $added_time){

require(‘ping/editpost.php’);

msg( “info”, $lang['edit_alleok'], $lang['edit_alleok_1'].”<br /><font color=green>Ping services were successfully notified about changes on your site</font>”, $_SESSION['admin_referrer'] );

}else{

msg( “info”, $lang['edit_alleok'], $lang['edit_alleok_1'], $_SESSION['admin_referrer'] );

}

/*End of pingationMod */

5. At the files:


engine/data/ping.php

engine/data/text.txt

engine/data/logs.txt

Put the right to write (CHMOD 777)

6. Put license like in below image and press


Check license key


. Next press


Save module settings

———————————————-

Update

Update module version 1.2 and 1.3 to version 1.4

==================================================

1. Copy all files from the upload folder to the root folder, replacing the old files with new

2. Open file engine/inc/addnews.php

Find the line between


/*Start pingationMod*/

/*End of pingationMod */

and replace them with


/*Start pingationMod*/    

include ENGINE_DIR . ‘/data/ping.php’;

if (isset( $_POST['approve'])  AND $newsdate < $added_time AND $ping['allow_post'] == “1″){

include ENGINE_DIR . ‘/inc/ping/pingpost.php’;

clear_cache();

msg( “info”, $lang['addnews_ok'], $lang['addnews_ok_1'] . ” \”" . stripslashes( stripslashes( $title ) ) . “\” ” . $lang['addnews_ok_2'] . “<br /><font color=green>Ping services were successfully notified about changes on your site</font>” );

}

else

{

clear_cache();

msg( “info”, $lang['addnews_ok'], $lang['addnews_ok_1'] . ” \”" . stripslashes( stripslashes( $title ) ) . “\” ” . $lang['addnews_ok_2'] );    

}

/*End of pingationMod */



8
八 10

wordpress采集插件WpRobot3.0使用教程(附:WPRobot3.1.rar下载)

115去下载吧:
http://u.115.com/file/f69306830
WPRobot3.1.rar

第一步,上传安装等就不废话了。
第二步,很关键的一步。进入wordpress后台,找到WpRobot3选项,先点击第二项(第一项最后一步再说)create campaign(建立采集项目)一共分为三种方式采集,一是keyword campaign(按关键字),Rss campaign(博客文章RSS),BrowseNode campaign(亚马逊产品节点)。

wprobot3-1

先说第一种按关键字采集的,点击右侧的Quick template setup(快速建立模版)而不选择Random  template(随机模板),这个没什么原因,就是不想玩随机,不全。

Name your campaign:(命名,自己看得懂就可以,比如采集健康的,可以命名为health)

主要设置中有keywords:关键词,每行一个,设置好categories(分类)

下面的是设置采集频率的(爱写多少就写多少),和是否自动建立分类(不建议勾选,因为效果真的很差)

下面就是很关键的模版设置了。一共是8个(注意,点击Quick template setup才显示8个)。依次为文章、亚马逊产品、雅虎问答、雅虎新闻、CB、youtube视频、ebay和Flickr,这里建议不要全用,想用哪一个就保留,添加关键字即可。不想要的在对应的下面点击remove Template(移除模版)。

此处说明一下:这里面的猫腻可多了,我也就不多说了,关于模版定义好了效果还很不错的,默认的就可以。还可以自动添加评论。

后一项设置
wprobot3-2

这一项我基本上没怎么动,有替换关键字的(有点伪原创的味道),剔除关键字。还可以设置翻译等。

最关键一步,全部写好之后,一定要点击下边的Create Campaign。

其它两个按RSS和节点的和这一个差不多,就不赘述了。

第三步:WpRobot选项

设置WP Robot Options这一个和第二版差不多,无非是采集到文章的设置和添写API等。

第四步:修改模版

如果不满意可以自己修改,我见过某位牛人采集到ebay的信息,将标题都改成了产品名+拍卖的组合。

最后一步,添加好关键词之后,就点击WpRobot的第一个选项Campaigns,你会发现刚才填写的采集关键词都在这里了。将鼠标移到某个关键词上,就会出现一堆链接,点击Post Now,就会惊奇的发现这个淫贼开始采集了。这个当然不过瘾,有威力巨大的:一剑封喉

wprobot3-3

选中你想采集的项目,Nuber of Posts填写篇数(想采多少就写多少,但未必有那么多野花供大家采),开始日期如果想让时光倒流(譬如说假装从2007年开始写),一定要选上Backdate。

同时,推荐安装插件WP keyword Link Plugin(Wordpress内链外链插件)和 Delete Duplicate Posts(删除重复标题插件)

本文系转载,原文地址:http://www.teyi.org/articles/wprobot3.html