SupeSite 7.5 (1126)采集后,后台(资讯管理)看不见采集来的文章 修改办法

Home > SNS, 代码调试 > SupeSite 7.5 (1126)采集后,后台(资讯管理)看不见采集来的文章 修改办法

SupeSite为 SupeSite 7.5正式版(1126)

比照数据库中的记录,发现采集后的文章没有 “type”字段内容。
于是打开 “admin” 目录下的 “admin_robots.php”
找到(大概在1151行)

//获取资讯分类
$clistarr = getcategory(‘news’);
$allcatarr = getcategory();

然后修改为

//获取资讯分类
$clistarr = getcategory(‘news’);
$allcatarr = getcategory(‘news’);

即可,但是已经采集回来的内容并不会显示出来,需要修改数据库中的记录
把“supe_spaceitems”中相应条目的“type”字段修改为“news”即可。

可以使用 下面的 SQL 语句修改

UPDATE `www`.`supe_spaceitems` SET `type` = ‘news’ WHERE `supe_spaceitems`.`itemid` =123 LIMIT 1 ;

其中 “123” 为文章ID号。

转载原创文章请注明,转载自:[Lin's Space|Only]

本文链接: http://clin003.com/web2o-webos/supesite-7-5-1126-caijihou-houtaikanbudaocaijilaidewenzhang-1854/

Google比较注重原创性和时效性,若没有找到需要的内容可尝试以下搜素。

This entry was posted in SNS, 代码调试 and tagged , . Bookmark the permalink.

One Response to SupeSite 7.5 (1126)采集后,后台(资讯管理)看不见采集来的文章 修改办法

  1. grubylee says:

    学习了。之前还纳闷了。为毛后台看不到。

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>