woshiz 发表于 2009-8-5 13:51:41

SY_标题发布标题都变成[标签:标题]

SY_标题发布标题都变成[标签:标题]

我用的是尘缘的那个免费的版的,SY_标题,想改下标题,结果出现的都是这样子的标题,[标签:标题]
请问怎么办呢,是不是要改locoy那个文件接口里的内容,改哪里呀


<?php
define('CURSCRIPT', 'post');
define('NOROBOT', TRUE);
require_once './include/common.inc.php';
require_once DISCUZ_ROOT.'./include/post.func.php';
require_once DISCUZ_ROOT.'./uc_client/client.php';
//发布回贴使用的用户名,一般来说,你至少要填写100个左右.
$replyusers="admin|火车头|尘缘|vus520|刘佳|向小霞|杨大爷|用户名|新月";
$password = "123456";//注册用户使用的默认密码
$email = "vu520@163.com";//注册用户使用的默认邮箱
$questionid = "我的名字"; //注册用户名的问题
$answer = "";    //注册用户名的答案
$time = 2345 * rand(1,7); //发布回复默认间隔时间
if(empty($action)) exit(show_form());
$_DTYPE = $checkoption = $optionlist = array();
require_once DISCUZ_ROOT.'./include/discuzcode.func.php';
$navigation = $navtitle = $thread = '';
$navigation = "&raquo; <a href=\"forumdisplay.php?fid=$fid".($extra ? '&'.preg_replace("/^(&)*/", '', $extra) : '')."\">$forum</a> $navigation";
$navtitle = $navtitle.strip_tags($forum['name']).' - ';
if($forum['type'] == 'sub') {
$query = $db->query("SELECT name, fid FROM {$tablepre}forums WHERE fid='$forum'");
$fup = $db->fetch_array($query);
$navigation = "&raquo; <a href=\"forumdisplay.php?fid=$fup\">$fup</a> $navigation";
$navtitle = $navtitle.strip_tags($fup['name']).' - ';
}
$special = empty($special) || !is_numeric($special) || $special < 0 || $special > 6 ? 0 : intval($special);
$allowpostattach = !empty($forum['allowpostattach']) || (!$forum['postattachperm'] && $allowpostattach) || ($forum['postattachperm'] && forumperm($forum['postattachperm']));
$attachextensions = $forum['attachextensions'] ? $forum['attachextensions'] : $attachextensions;
$enctype = $allowpostattach ? 'enctype="multipart/form-data"' : '';
$maxattachsize_kb = $maxattachsize / 1000;
$postcredits = $forum['postcredits'] ? $forum['postcredits'] : $creditspolicy['post'];
$replycredits = $forum['replycredits'] ? $forum['replycredits'] : $creditspolicy['reply'];
$digestcredits = $forum['digestcredits'] ? $forum['digestcredits'] : $creditspolicy['digest'];
$postattachcredits = $forum['postattachcredits'] ? $forum['postattachcredits'] : $creditspolicy['postattach'];
$maxprice = isset($extcredits[$creditstrans]) ? $maxprice : 0;
$extra = rawurlencode($extra);
$blogcheck = empty($isblog) && empty($addtoblog) ? '' : 'checked="checked"';
$notifycheck = empty($emailnotify) ? '' : 'checked="checked"';
$stickcheck = empty($sticktopic) ? '' : 'checked="checked"';
$digestcheck = empty($addtodigest) ? '' : 'checked="checked"';
$subject = isset($subject) ? dhtmlspecialchars(censor(trim($subject))) : '';
$message = isset($message) ? censor(trim($message)) : '';
$readperm = isset($readperm) ? intval($readperm) : 0;
$price = isset($price) ? intval($price) : 0;
$urloffcheck = $usesigcheck = $smileyoffcheck = $codeoffcheck = $htmloncheck = $emailcheck = '';
$seccodecheck = ($seccodestatus & 4) && (!$seccodedata['minposts'] || $posts < $seccodedata['minposts']);
$secqaacheck = $secqaa['status'] && (!$secqaa['minposts'] || $posts < $secqaa['minposts']);
if($iscircle = $supe['status'] && $supe['circlestatus'] && $forum['status'] == 2) {
unset($forum['threadtypes']);
}
$allowpostpoll = $allowpost && $allowpostpoll && ($forum['allowpostspecial'] & 1);
$allowposttrade = $allowpost && $allowposttrade && ($forum['allowpostspecial'] & 2);
$allowpostreward = $allowpost && $allowpostreward && ($forum['allowpostspecial'] & 4) && isset($extcredits[$creditstrans]);
$allowpostactivity = $allowpost && $allowpostactivity && ($forum['allowpostspecial'] & 8);
$allowpostdebate = $allowpost && $allowpostdebate && ($forum['allowpostspecial'] & 16);
$allowpostvideo = $allowpost && $allowpostvideo && ($forum['allowpostspecial'] & 32) && $videoopen;
$allowanonymous = $forum['allowanonymous'] || $allowanonymous ? 1 : 0;
$editorid = 'posteditor';
$editoroptions = str_pad(decbin($editoroptions), 2, 0, STR_PAD_LEFT);
$editormode = $editormode == 2 ? $editoroptions{0} : $editormode;
$allowswitcheditor = $editoroptions{1};
$advanceeditor = $special ? 0 : 1;
$previewdisplay = !empty($previewpost) ? '' : 'none';
//开始注册用户并发贴
if($action == 'newthread') {
$discuz_action = 11;
if(empty($forum['fid']) || $forum['type'] == 'group') exit('发布错误原因:未选择版块或版块不能发帖');
$isblog = empty($isblog) ? '' : 'yes';
if($message == '') exit('发布错误原因:帖子内容不能为空');
if($subject == '') exit('发布错误原因:帖子标题不能为空');
//if($post_invalid = checkpost()) exit('发布错误原因:标题或内容超出限制');
$_POST['username'] ? $discuz_user=$_POST['username'] : exit('发布错误原因:主题用户名不能为空');
$typeid = isset($typeid) && isset($forum['threadtypes']['types'][$typeid]) ? $typeid : 0;
$iconid = !empty($iconid) && isset($_DCACHE['icons'][$iconid]) ? $iconid : 0;
$displayorder = $modnewthreads ? -2 : (($forum['ismoderator'] && !empty($sticktopic)) ? 1 : 0);
$digest = ($forum['ismoderator'] && !empty($addtodigest)) ? 1 : 0;
$blog = $allowuseblog && $forum['allowshare'] && !empty($addtoblog) ? 1 : 0;
$readperm = $allowsetreadperm ? $readperm : 0;
$isanonymous = $isanonymous && $allowanonymous ? 1 : 0;
$price = intval($price);
$price = $maxprice && !$special ? ($price <= $maxprice ? $price : $maxprice) : 0;
if(!$typeid && $forum['threadtypes']['required'] && !$special) exit('发布错误原因:未填写主题分类');
$query =$db->query("SELECT uid,password,secquesFROM {$tablepre}members m WHERE m.username='$discuz_user'");
if ($query=$db->fetch_row($query)){
list($discuz_uid,$discuz_pw, $discuz_secques ) = $query;
}else{
$discuz_uid = uc_user_register($discuz_user, $password, $email, $questionid, $answer);
$db->query("INSERT INTO {$tablepre}members (uid, username, password, secques, adminid, groupid, regip, regdate, lastvisit, lastactivity, posts, credits, extcredits1, extcredits2, extcredits3, extcredits4, extcredits5, extcredits6, extcredits7, extcredits8, email, showemail, timeoffset, pmsound, invisible, newsletter)
VALUES ('$discuz_uid', '$discuz_user', '".md5($password)."', '$secques', '0', '10', '$onlineip', '$timestamp', '$timestamp', '$timestamp', '0', $initcredits, '$email', '0', '9999', '1', '$invisiblenew', '1')");
$db->query("REPLACE INTO {$tablepre}memberfields (uid, authstr) VALUES ('$discuz_uid', '$authstr')");
echo "用户注册成功:$discuz_user,$discuz_uid <br>\n";
}
function discuz_get_user($username){
global $db,$tablepre;
$uid = $db->result_first("SELECT uid FROM {$tablepre}members WHERE username='$username'");
if ($uid) { return $uid ; }else{ return false;}
}
function auto_time($total,$no,$time,$now=''){
if (is_array($total)) $total = count($total);
if (!$time) $time = 1234;
if ($now == '') $now = time();
return $now - ($total - $no) * $time;
}
function html2txt($str){
$str = preg_replace("/<.*?>/i","\n",$str);
$str = str_replace("%26","&",$str); //处理被火车编码过的符号
return $str;
}
function array_chk($array){
foreach($array as $key=>$value){
   $value = html2txt($value);
   if($value == '') unset($array[$key]);
   else $array[$key] = $value;
}
return $array;
}
$messages = array_chk(array_unique(explode("|||",$message))) ;
$mcount = count($messages);
$timestamp = auto_time($mcount,1,$time);
$total_reply = $mcount -1;
$author = !$isanonymous ? $discuz_user : '';
$moderated = $digest || $displayorder > 0 ? 1 : 0;
$attachment = ($allowpostattach && $attachments = attach_upload()) ? 1 : 0;
$subscribed = !empty($emailnotify) && $discuz_uid ? 1 : 0;
$supe_pushstatus = $supe['status'] && $forum['supe_pushsetting']['status'] == 1 && !$modnewthreads ? '1' : '0';
$sgidadd1 = $sgidadd2 = '';
if($iscircle) {
$sgidadd1 = ', sgid';
$sgidadd2 = ", '$sgid'";
}
$db->query("INSERT INTO {$tablepre}threads (fid, readperm, price, iconid, typeid, author, authorid, subject, dateline, lastpost, lastposter, displayorder, digest, special, attachment, subscribed, moderated, supe_pushstatus $sgidadd1)
VALUES ('$fid', '$readperm', '$price', '$iconid', '$typeid', '$author', '$discuz_uid', '$subject', '$timestamp', '$timestamp', '$author', '$displayorder', '$digest', '$special', '$attachment', '$subscribed', '$moderated', '$supe_pushstatus' $sgidadd2)");
$tid = $db->insert_id();
$thread['tid'] = $tid;
if($subscribed) {
$db->query("REPLACE INTO {$tablepre}subscriptions (uid, tid, lastpost, lastnotify)
   VALUES ('$discuz_uid', '$tid', '$timestamp', '$timestamp')", 'UNBUFFERED');
}
$db->query("REPLACE INTO {$tablepre}mythreads (uid, tid, dateline, special) VALUES ('$discuz_uid', '$tid', '$timestamp', '$special')", 'UNBUFFERED');
if($moderated) {
updatemodlog($tid, ($displayorder > 0 ? 'STK' : 'DIG'));
updatemodworks(($displayorder > 0 ? 'STK' : 'DIG'), 1);
}
if($forum['threadtypes']['special'][$typeid] && $optiondata && is_array($optiondata)) {
foreach($optiondata as $optionid => $value) {
   $db->query("INSERT INTO {$tablepre}typeoptionvars (typeid, tid, optionid, value, expiration)
    VALUES ('$typeid', '$tid', '$optionid', '$value', '".($typeexpiration ? $timestamp + $typeexpiration : 0)."')");
}
}
$bbcodeoff = checkbbcodes($message, !empty($bbcodeoff));
$smileyoff = checksmilies($message, !empty($smileyoff));
$parseurloff = !empty($parseurloff);
$htmlon = bindec(($tagstatus && !empty($tagoff) ? 1 : 0).($allowhtml && !empty($htmlon) ? 1 : 0));
$pinvisible = $modnewthreads ? -2 : 0;
$db->query("INSERT INTO {$tablepre}posts (fid, tid, first, author, authorid, subject, dateline, message, useip, invisible, anonymous, usesig, htmlon, bbcodeoff, smileyoff, parseurloff, attachment)
VALUES ('$fid', '$tid', '1', '$discuz_user', '$discuz_uid', '$subject', '$timestamp', '".$messages."', '$onlineip', '$pinvisible', '$isanonymous', '$usesig', '$htmlon', '$bbcodeoff', '$smileyoff', '$parseurloff', '$attachment')");
$pid = $db->insert_id();
$tags = str_replace('|',' ',$tags);
if($tagstatus && $tags != '') {
$tags = str_replace(array(chr(0xa1).chr(0xa1), chr(0xa1).chr(0x40), chr(0xe3).chr(0x80).chr(0x80)), ' ', $tags);
$tagarray = array_unique(explode(' ', censor($tags)));
$tagcount = 0;
foreach($tagarray as $tagname) {
   $tagname = trim($tagname);
   if(preg_match('/^([\x7f-\xff_-]|\w){3,20}$/', $tagname)) {
    $query = $db->query("SELECT closed FROM {$tablepre}tags WHERE tagname='$tagname'");
    if($db->num_rows($query)) {
   if(!$tagstatus = $db->result($query, 0)) {
      $db->query("UPDATE {$tablepre}tags SET total=total+1 WHERE tagname='$tagname'", 'UNBUFFERED');
   }
    } else {
   $db->query("INSERT INTO {$tablepre}tags (tagname, closed, total)
      VALUES ('$tagname', 0, 1)", 'UNBUFFERED');
   $tagstatus = 0;
    }
    if(!$tagstatus) {
   $db->query("INSERT {$tablepre}threadtags (tagname, tid) VALUES ('$tagname', $tid)", 'UNBUFFERED');
    }
    $tagcount++;
    if($tagcount > 4) {
   unset($tagarray);
   break;
    }
   }
}
}
$tradeaid = 0;
if($attachment) {
$searcharray = $pregarray = $replacearray = array();
foreach($attachments as $key => $attach) {
   $db->query("INSERT INTO {$tablepre}attachments (tid, pid, dateline, readperm, price, filename, description, filetype, filesize, attachment, downloads, isimage, uid, thumb, remote)
    VALUES ('$tid', '$pid', '$timestamp', '$attach', '$attach', '$attach', '$attach', '$attach', '$attach', '$attach', '0', '$attach', '$attach', '$attach', '$attach')");
   $searcharray[] = ''.$localid[$key].'';
   $pregarray[] = '/\'.$localid[$key].'\[\/localimg\]/is';
   $replacearray[] = ''.$db->insert_id().'';
}
$message = str_replace($searcharray, $replacearray, preg_replace($pregarray, $replacearray, $message));
$db->query("UPDATE {$tablepre}posts SET message='$message' WHERE pid='$pid'");
updatecredits($discuz_uid, $postattachcredits, count($attachments));
}
if($iscircle && $sgid) {
supe_dbconnect();
$query = $supe['db']->query("UPDATE {$supe}groups SET lastpost='$timestamp' WHERE gid='$sgid'", 'SILENT');
}
if($modnewthreads) {
$db->query("UPDATE {$tablepre}forums SET todayposts=todayposts+1 WHERE fid='$fid'", 'UNBUFFERED');
} else {
updatepostcredits('+', $discuz_uid, $postcredits);
$subject = str_replace("\t", ' ', $subject);
$lastpost = "$tid\t$subject\t$timestamp\t$author";
$db->query("UPDATE {$tablepre}forums SET lastpost='$lastpost', threads=threads+1, posts=posts+1, todayposts=todayposts+1 WHERE fid='$fid'", 'UNBUFFERED');
if($forum['type'] == 'sub') {
   $db->query("UPDATE {$tablepre}forums SET lastpost='$lastpost' WHERE fid='$forum'", 'UNBUFFERED');
}
}
echo("\n<br/>恭喜,成功发布一条主题,<a href='viewthread.php?tid=$tid' target='_blank'>点击访问</a>");
}//发布主题结束
if($total_reply > 0)
{
//统计回复数量,计算回复时间
$discuz_action = 12;
require_once DISCUZ_ROOT.'./include/forum.func.php';
print_r($replyuser);
$replyusers = array_chk(array_unique(explode("|",$replyusers))) ;
$reusercount = count($replyusers);
for($re=1;$re<=$total_reply;$re++)
{
$index = rand(1,$reusercount-1);
$discuz_user = $replyusers[$index];
if($discuz_user==$pre_user)
{$discuz_user = $replyusers;}
$pre_user = $discuz_user;
$query =$db->query("SELECT uid,password,secquesFROM {$tablepre}members m WHERE m.username='$discuz_user'");
if ($rs=$db->fetch_row($query)){
   list($discuz_uid,$discuz_pw, $discuz_secques ) =$rs;
}
else
{
   echo("\n<br/>不存在的用户名".$discuz_user);
   continue;
}
$attachnum = 0;
$attachment = empty($attachments) ? 0 : 1;
$subscribed = $thread['subscribed'] && $timestamp - $thread['lastpost'] < 7776000;
$newsubscribed = !empty($emailnotify) && $discuz_uid;
if($subscribed && !$modnewreplies) {
$db->query("UPDATE {$tablepre}subscriptions SET lastpost='$timestamp' WHERE tid='$tid' AND uid<>'$discuz_uid'", 'UNBUFFERED');
}
if($newsubscribed) {
$db->query("REPLACE INTO {$tablepre}subscriptions (uid, tid, lastpost, lastnotify)
   VALUES ('$discuz_uid', '$tid', '".($modnewreplies ? $thread['lastpost'] : $timestamp)."', '$timestamp')", 'UNBUFFERED');
}
$bbcodeoff = checkbbcodes($message, !empty($bbcodeoff));
$smileyoff = checksmilies($message, !empty($smileyoff));
$parseurloff = !empty($parseurloff);
$htmlon = $allowhtml && !empty($htmlon) ? 1 : 0;
$usesig = !empty($usesig) ? 1 : 0;
$isanonymous = $allowanonymous && !empty($isanonymous)? 1 : 0;
$author = empty($isanonymous) ? $discuz_user : '';
$pinvisible = $modnewreplies ? -2 : 0;
$timestamp = auto_time($total_reply,$re,$time);
$db->query("INSERT INTO {$tablepre}posts (fid, tid, first, author, authorid, subject, dateline, message, useip, invisible, anonymous, usesig, htmlon, bbcodeoff, smileyoff, parseurloff, attachment)
   VALUES ('$fid', '$tid', '0', '$discuz_user', '$discuz_uid', '', '$timestamp', '".$messages[$re]."', '$onlineip', '$pinvisible', '$isanonymous', '$usesig', '$htmlon', '$bbcodeoff', '$smileyoff', '$parseurloff', '$attachment')");
$pid = $db->insert_id();
$db->query("REPLACE INTO {$tablepre}myposts (uid, tid, pid, position, dateline, special) VALUES ('$discuz_uid', '$tid', '$pid', '".($thread['replies'] + 1)."', '$timestamp', '$special')", 'UNBUFFERED');
$tradeaid = 0;
$thread['subject'] ? $thread['subject'] : $thread['subject'] = $subject;
if($attachment) {
$searcharray = $pregarray = $replacearray = array();
foreach($attachments as $key => $attach) {
   $db->query("INSERT INTO {$tablepre}attachments (tid, pid, dateline, readperm, price, filename, description, filetype, filesize, attachment, downloads, isimage, uid, thumb, remote)
    VALUES ('$tid', '$pid', '$timestamp', '$attach', '$attach', '$attach', '$attach', '$attach', '$attach', '$attach', '0', '$attach', '$attach', '$attach', '$attach')");
   $searcharray[] = ''.$localid[$key].'';
   $pregarray[] = '/\'.$localid[$key].'\[\/localimg\]/is';
   $insertid = $db->insert_id();
   $replacearray[] = ''.$insertid.'';
}
if(!empty($trade) && $thread['special'] == 2 && !empty($_FILES['tradeattach']['tmp_name'])) {
   $tradeaid = $insertid;
}
$message = str_replace($searcharray, $replacearray, preg_replace($pregarray, $replacearray, $message));
$db->query("UPDATE {$tablepre}posts SET message='$message' WHERE pid='$pid'");
updatecredits($discuz_uid, $postattachcredits, count($attachments));
}
if($modnewreplies) {
$db->query("UPDATE {$tablepre}forums SET todayposts=todayposts+1 WHERE fid='$fid'", 'UNBUFFERED');
if($newsubscribed) {
   $db->query("UPDATE {$tablepre}threads SET subscribed='1' WHERE tid='$tid'", 'UNBUFFERED');
}
} else {
$db->query("UPDATE {$tablepre}threads SET views=views+".rand(0,39).", lastposter='$author', lastpost='$timestamp', replies=replies+1 ".($attachment ? ', attachment=\'1\'' : '').", subscribed='".($subscribed || $newsubscribed ? 1 : 0)."' WHERE tid='$tid'", 'UNBUFFERED');
updatepostcredits('+', $discuz_uid, $replycredits);
$lastpost = "$thread\t".addslashes($thread['subject'])."\t$timestamp\t$author";
$db->query("UPDATE {$tablepre}forums SET lastpost='$lastpost', posts=posts+1, todayposts=todayposts+1 WHERE fid='$fid'", 'UNBUFFERED');
if($forum['type'] == 'sub') {
   $db->query("UPDATE {$tablepre}forums SET lastpost='$lastpost' WHERE fid='$forum'", 'UNBUFFERED');
}
}
echo "\n<br/>成功发布一条回复";
}
}
echo "\n<br/><a href=?>返回接口首页</a>";
function show_form(){
global $db,$tablepre;
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>火车采集器 For Discuz 7.0 发布接口</title>
<meta http-equiv="Content-Type" content="text/html; charset=gbk">
<link href="./images/admincp/admincp.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="append_parent"></div>
<div class="container" id="cpcontainer">
<div class="itemtitle">
<h3>火车采集器 For Discuz 7.0 发布接口 (免费版20090108)</h3>
<ul class="tab1">
   <li><a href="http://www.4wei.cn" target='_blank'><span>作者:尘缘</span></a></li>
      <li><a href="http://bbs.locoy.com/"target='_blank'><span>火车论坛</span></a></li>
      <li><a href="./"><span>查看论坛</span></a></li>
    </ul>
</div>
<table class="tb tb2 " id="tips">
<tr>
<thclass="partition">使用说明</th>
</tr>
<tr><td class="tipsblock"><ul id="tipslis">
      <li>当前版本:免费版,不能发布附件,不能批量注册用户,收费版售价:150元RMB,提供技术支持,包插件升级和售后.</li>
      <li>收费版本:任意格式附件识别,批量注册用户,自定义字段分类信息发布,提供技术支持,包插件升级和售后.仅售150RMB.</li>
      <li>本版功能:采集任意循环型内容发布到Discuz 论坛,支持自动注册用户,支持自动设计发布时间,支持随机用户发布回复.</li>
      <li>发布参数:用户名:username;标题:subject;回复:message;栏目:fid;标签:Tags.</li>
      <li>购买方式:QQ:130775;手机:13269195242; 感谢你对尘缘的支持.<a href="http://sighttp.qq.com/cgi-bin/check?sigkey=1685275f2b21dfd118c703506eca12d9ef4afffa8002eee7232583f0e6330766d6fddcb704940b30f6da32a41dcc3b76dfacdf45affd94d76561f2144ddcfabae1ad118aeb45513b382e3cd8d65397b2"; target=_blank;><img border="0" SRC='http://wpa.qq.com/pa?p=1:130775:1' alt="火车采集器客服 尘缘"></a></li>
</ul></td></tr>
<tr>
<thclass="partition">测试发布效果</th>
</tr>
</table>
<div id="searchmembers"><form name="cpform" method="post" action="?action=newthread" id="cpform">
<table class="tb tb2 ">
<tr><td colspan="2" class="td27">用户名:</td></tr>
<tr class="noborder"><td class="vtop rowform">
<input name="username" value="尘缘" type="text" class="txt"   /></td><td class="vtop tips2">发贴的用户名,不能为空,程序会自动注册未注册的用户.</td></tr>
<tr>
<td colspan="2" class="td27">帖子标题:</td>
</tr>
<tr class="noborder"><td class="vtop rowform">
<input name="subject" value="帖子标题" type="text" class="txt"/></td>
<td class="vtop tips2">请输入帖子标题,不能为空</td>
</tr>
<tr>
<td colspan="2" class="td27">帖子分类:</td>
</tr>
<tr class="noborder"><td class="vtop rowform"><select name="fid">
<?php
$query = $db->query("SELECT fid,name,fup FROM {$tablepre}forums order by fid ;");
while($f = $db->fetch_array($query)){
if($f['fup'] != 0) $f['name'] = $f['fid']." -> ".$f['name'];
else $f['name'] = "=====".$f['name']."=====";
echo "<option value='".$f['fid']."'>".$f['name']."</option>";
}
?>
</select> </td>
<td class="vtop tips2">请选择论坛版块</td>
</tr>
<tr>
<td colspan="2" class="td27">帖子回复:</td>
</tr>
<tr class="noborder"><td class="vtop rowform"><textarea rows="5" name="message">1楼表情: :)|||2楼颜色 好帅哟|||3楼引用 **** 作者被禁止或删除 内容自动屏蔽 ****|||4楼回复 7# 火车头 |||5楼发布图片 http://bbs.locoy.com/uc_server/avatar.php?uid=30324&size=middle|||6楼耍起|||7楼也是|||8楼HTML <B>代码在这里</B>|||地板 冷凉了</textarea></td>
<td class="vtop tips2">帖子回复,默认取第一条回复为主题内容.且不支持HTML</td></tr>
<tr>
<td colspan="2" class="td27">帖子标签:</td>
</tr>
<tr class="noborder"><td class="vtop rowform">
<input name="tags" value="火车采集器|||Discuz 尘缘" type="text" class="txt"/></td>
<td class="vtop tips2">多个标签以空格 或者|||格开</td>
</tr>
<td colspan="15"><div class="fixsel"><input type="submit" class="btn" name="submit" value="提交"/></div></td></tr></table>
</form>
</div>
<script type="text/javascript" src="http://js.tongji.cn.yahoo.com/905218/ystat.js"></script><noscript><a href="http://tongji.cn.yahoo.com"><img src="http://img.tongji.cn.yahoo.com/905218/ystat.gif"/></a></noscript>
</div>
</body>
</html>
<?PHP
}
?>

ghostscat 发表于 2009-8-5 14:10:13

这个跟接口无关,像普通web发布模块一样处理,即:规则里的标签和发布模块里的标签对应,规则里没有指定内容的标签,就会按[标签:标题]原样输出。

vus520 发表于 2009-8-5 14:13:11

简单来说,你的规则有问题,“标题”这个标签不存在。

woshiz 发表于 2009-8-5 22:38:52

怎么样让他存在呢,让他可以做呢

woshiz 发表于 2009-8-5 22:41:41

到底怎么样做才能解决这个问题呢,很多人都不知道

woshiz 发表于 2009-8-6 03:11:46

请帮助解决

woshiz 发表于 2009-8-6 08:38:49

请帮助解决

pakey 发表于 2009-8-7 10:22:58

采集规则那里换下标题相关标签的名字

woshiz 发表于 2009-8-19 05:41:00

到哪里改呀,规则里吗

097633 发表于 2009-9-28 18:02:22

谢谢大家了,谢谢谢谢
页: [1]
查看完整版本: SY_标题发布标题都变成[标签:标题]