升级数据库...
ALTER TABLE `p8_gather_rule` ADD `author` TEXT NULL AFTER `content_rule` ,
ADD `copyfrom` TEXT NULL AFTER `author` ;
修改模板
edit_content.htm
<textarea name="content_rule" cols="80" rows="12">$content_rule</textarea>
前加
预设作者:<input type="text" name="content_author" size="40" value="$au"><br /><br />
预设来源:<input type="text" name="content_copyfrom" size="40" value="$co"><br /><br />
修改文件
gather.php
$db->query("UPDATE {$pre}gather_rule SET type='$type',gatherthesame='$gatherthesame',show_begin_preg='$show_begin_preg',show_end_preg='$show_end_preg',show_endfile_preg='$show_endfile_preg',show_begin_code='$show_begin_code',show_end_code='$show_end_code',show_replace_word='$show_replace_word',show_morepage='$show_morepage',show_firstpage='$show_firstpage',copypic='$copypic',sort='$sort',file_type='$file_type',file_minleng='$file_minleng',file_minsize='$file_minsize',file_includeword='$file_includeword',file_noincludeword='$file_noincludeword',file_explode='$file_explode',file_picwidth='$file_picwidth',fixsystem='$fixsystem',file_star_string='$file_star_string',content_rule='$content_rule',show_spe2page='$show_spe2page' WHERE id='$id'");
替换成
$db->query("UPDATE {$pre}gather_rule SET type='$type',gatherthesame='$gatherthesame',show_begin_preg='$show_begin_preg',show_end_preg='$show_end_preg',show_endfile_preg='$show_endfile_preg',show_begin_code='$show_begin_code',show_end_code='$show_end_code',show_replace_word='$show_replace_word',show_morepage='$show_morepage',show_firstpage='$show_firstpage',copypic='$copypic',sort='$sort',file_type='$file_type',file_minleng='$file_minleng',file_minsize='$file_minsize',file_includeword='$file_includeword',file_noincludeword='$file_noincludeword',file_explode='$file_explode',file_picwidth='$file_picwidth',fixsystem='$fixsystem',file_star_string='$file_star_string',content_rule='$content_rule',author=$au,copyfrom=$co,show_spe2page='$show_spe2page' WHERE id='$id'");
echo "作者:{$author} 来源:{$copyfrom}<hr>";
前加
$author=$au;
$copyfrom=$co;
我是这么做的.. 还没有试验.. 因为在网吧 没地方存了.. 就发上来了 `