本帖最后由 民审-M 于 2017-7-16 10:33 编辑
Discuz! X3.3升级到Discuz! X3.4清除云平台相关保留QQ互联教程:
很多站长QQ互联在云平台停止维护之后任然是正常使用的,但是在X3.4版本之后DZ"官方"码云git已经去除云平台相关并独立开QQ互联了,这就使得一些能正常使用QQ互联的不想申请appid的论坛也必须独立QQ互联了,下面就这样的需求提供以X3.3 R20170401+升级到X3.4 R20170715+版本平滑升级保留QQ互联的教程:
去除影响论坛访问速度、影响发帖、打开论坛慢、dz纵横搜索停摆、dz防灌水防水墙停摆、dz云平台等各种问题造成论坛卡、发帖不了、503、500等错误,不影响原有能用的QQ互联不用单独申请appid保留QQ互联的方案:
=================================================
此版本主旨在清除云平台相关功能,由于涉及删除文件,非正常方式的更新和升级将导致运行错误,请确保您真需要升级到此版本。升级前请严格遵循升级规范,建立文件夹 old,旧程序除了 data、config、uc_client、uc_server 目录以外的程序移动进入 old 目录中后再更新新版文件。
强烈建议你手工查找修改代码!【懒人包所包含文件为X3.4 R20170715+版本的完整覆盖包!】
=================================================
【由于下面代码格式复制可能稍有凌乱,请复制首行或单独一行代码对照修改!】
基于X3.3 R20170401+【GBK】——X3.4 R20170715+ 【长期保持更新~】
**************************************************************************************
删除目录:\api\manyou;
后台——站长——数据库升级:
删除目录:\source\admincp\menu;
\source\admincp\moderate\moderate_reply.php:
查找:(264行)
查找:(269行)
\source\admincp\moderate\moderate_thread.php:
查找:(2处:212行、216行)
查找:(214行)
查找:(255行)
删除文件:\source\admincp\admincp_cloud.php
\source\admincp\admincp_counter.php:
查找:(181-182行)
\source\admincp\admincp_forums.php
查找:(471-472行)
查找:(1877-1878行)
\source\admincp\admincp_members.php:
查找:(1181-1182行)
查找:(1530~1532行)
查找:(1555~1558行)
查找:(2212行)
查找:(3192行)
查找:(3214~3226行)
查找:(3273~3275行)
查找:(3314~3321行)
\source\admincp\admincp_menu.php:
查找:(170行)
查找:(239行)
查找:(247行)
删除文件:\source\admincp\admincp_patch.php
\source\admincp\admincp_prune.php:
查找:(105行)
查找:(113~118行)
\source\admincp\admincp_recyclebin.php:
查找:(116~120行)
\source\admincp\admincp_recyclebinpost.php:
查找:(84~88行)
\source\admincp\admincp_setting.php:
查找:(1669行)
查找:(2065行)
查找:(2077行)
查找:(2085-2086行)
查找:(2131行)
查找:(2154~2156行)
查找:(3212~3219行)
\source\admincp\admincp_threads.php:
查找:(372~375行)
查找:(403~406行)
查找:(427~430行)
查找:(454~457行)
查找:(465~468行)
删除文件:\source\admincp\admincp_upgrade.php
\source\admincp\admincp_verify.php:
查找:(15行)
查找:(25行)
查找:(207行)
查找:(638~639行)
\source\class\block\forum\block_thread.php:
查找:(48行)
在其上行插入:
查找:(191行)
查找:(258行)
查找:(263行)
查找:(346行)
查找:(385行)
\source\class\db\db_driver_mysql.php:
查找:(215行)
修改为:
删除文件:\source\class\discuz\discuz_patch.php
\source\class\helper\helper_notification.php:
查找:(115~124行)
\source\class\helper\helper_pm.php:
查找:(42~57行)
\source\class\helper\helper_seccheck.php:
查找:(310~319行)
\source\class\memory\memory_driver_file.php:
查找:(70行)
新增一文件:\source\class\memory\memory_driver_memcached.php 【见附件】
删除文件:\source\class\optimizer\optimizer_cloudsecurity.php
删除文件:\source\class\optimizer\optimizer_eviluser.php
删除文件:\source\class\optimizer\optimizer_patch.php
删除文件:\source\class\optimizer\optimizer_upgrade.php
删除文件:\source\class\optimizer\optimizer_white_list.php
删除文件:\source\class\class_captcha.php
删除文件:\source\class\class_cloud.php
删除文件:\source\class\class_cloudregister.php
\source\class\class_member.php:
查找:(84行)
删除;
\source\function\cache\cache_relatedlink.php:
查找:(20行)
\source\function\function_core.php:
查找:(1041~1044行)
\source\function\function_forum.php:
查找:(1003~1019行)
\source\include\collection\collection_view.php:
查找:(53-54行)
删除文件:\source\include\cron\cron_checkpatch_daily.php
\source\include\modcp\modcp_member.php:
查找:(102~104行)
查找:(293行)
\source\include\space\space_notice.php:
查找:(130~133行)
\source\include\space\space_pm.php:
查找:(174~177行)
\source\include\spacecp\spacecp_favorite.php:
查找:(33~36行)
查找:(55~58行)
查找:(144~147行)
\source\language\block\lang_threadlist.php:
查找:(41行)
\source\language\home\lang_template.php:
查找:(1421行)
\source\language\lang_admincp.php:
查找:(6860行)
\source\language\lang_blockclass.php:
查找:(67行)
\source\language\lang_seccode.php:
查找:(16行)
\source\language\lang_template.php:
查找:(37行)
\source\module\forum\forum_attachment.php:
查找:(169-170行)
\source\module\member\member_connect_register.php: 【QQ互联判断相关】
查找:(31行)
查找:(68~76行)
\source\module\misc\misc_initsys.php:
查找:(32-33行)
查找:(36~55行)
查找:(108~130行)
删除文件:\source\module\misc\misc_manyou.php
\source\module\misc\misc_patch.php:
查找:(14~59.5行)
\source\module\search\search_forum.php:
查找:(66~120行)
删除文件:\source\module\search\search_my.php
删除目录:\source\plugin\cloudcaptcha
删除目录:\source\plugin\cloudstat
删除目录:\source\plugin\manyou
删除目录:\source\plugin\myapp
删除目录:\source\plugin\pcmgr_url_safeguard
删除目录:\source\plugin\security
删除目录:\source\plugin\soso_smilies
\source\discuz_version.php:
查找:(15~17行)
\static\js\common.js:
查找:(1756~1760行)
\template\default\common\footer.htm:
查找:(47~49行)
查找:(105~107行)
\template\default\common\module.css:
查找:(616行)
\template\default\forum\post_editor_extra.htm:
查找:(28行)
\template\default\forum\post_infloat.htm:
查找:(63行)
\template\default\search\footer.htm:
查找:(33行)
新增文件:\uc_client\client\control\index.htm
\misc.php:
查找:(80行)
\search.php:
查找:(17行)
删除目录:\source\admincp\cloud
删除目录:\source\admincp\menu
[backcolor=magenta]懒人包下载地址:【最后更新:2017.07.16】[/backcolor]
下载地址(点击数字即可下载)→:28431【GBK编码,强烈建议手工查找修改!!!】
[backcolor=magenta]推荐阅读:[/backcolor]
[发布] Comsenz 核心产品 Discuz! X3.4 版【2017-07-10】
http://bbs.zhanzhangwo.com/t-29044-1-1.html
(出处: 站长窝)
Discuz! X3.4 X3.3 X3.2 QQ互联 2.0独立版本【官方】解决无法开启提示系统繁忙redirect问题
http://bbs.zhanzhangwo.com/t-29043-1-1.html
(出处: 站长窝源码论坛)
Discuz!云平台插件降为非系统级插件工具(适用于dz x3.4 x3.3 x3.2)
http://bbs.zhanzhangwo.com/t-29161-1-1.html
(出处: 站长窝)
Discuz!X3.3清除Discuz!云平台功能,QQ互联独立补丁
http://bbs.zhanzhangwo.com/t-29041-1-1.html
(出处: 站长窝)
Discuz! X3.2 清除云平台功能,QQ互联独立补丁(教程)
http://bbs.zhanzhangwo.com/t-29056-1-1.html
(出处: 站长窝)
Discuz! X3.3升级到Discuz! X3.4清除云平台相关保留QQ互联教程:
很多站长QQ互联在云平台停止维护之后任然是正常使用的,但是在X3.4版本之后DZ"官方"码云git已经去除云平台相关并独立开QQ互联了,这就使得一些能正常使用QQ互联的不想申请appid的论坛也必须独立QQ互联了,下面就这样的需求提供以X3.3 R20170401+升级到X3.4 R20170715+版本平滑升级保留QQ互联的教程:
去除影响论坛访问速度、影响发帖、打开论坛慢、dz纵横搜索停摆、dz防灌水防水墙停摆、dz云平台等各种问题造成论坛卡、发帖不了、503、500等错误,不影响原有能用的QQ互联不用单独申请appid保留QQ互联的方案:
=================================================
此版本主旨在清除云平台相关功能,由于涉及删除文件,非正常方式的更新和升级将导致运行错误,请确保您真需要升级到此版本。升级前请严格遵循升级规范,建立文件夹 old,旧程序除了 data、config、uc_client、uc_server 目录以外的程序移动进入 old 目录中后再更新新版文件。
强烈建议你手工查找修改代码!【懒人包所包含文件为X3.4 R20170715+版本的完整覆盖包!】
=================================================
【由于下面代码格式复制可能稍有凌乱,请复制首行或单独一行代码对照修改!】
基于X3.3 R20170401+【GBK】——X3.4 R20170715+ 【长期保持更新~】
**************************************************************************************
删除目录:\api\manyou;
后台——站长——数据库升级:
DELETE FROM `pre_common_cron` WHERE `pre_common_cron`.`cronid` = 14;删除目录:\source\admincp\cloud;
删除目录:\source\admincp\menu;
\source\admincp\moderate\moderate_reply.php:
查找:(264行)
$log_handler = Cloud::loadClass('Cloud_Service_SearchHelper');删除;
查找:(269行)
$log_handler->myPostLog('validate', array('pid' => $post['pid']));删除;
\source\admincp\moderate\moderate_thread.php:
查找:(2处:212行、216行)
$log_handler = Cloud::loadClass('Cloud_Service_SearchHelper');删除;
查找:(214行)
$log_handler->myThreadLog('delete', array('tid' => $thread['tid']));删除;
查找:(255行)
$log_handler->myThreadLog('validate', array('tid' => $thread['tid']));删除;
删除文件:\source\admincp\admincp_cloud.php
\source\admincp\admincp_counter.php:
查找:(181-182行)
$log_handler = Cloud::loadClass('Cloud_Service_SearchHelper'); $log_handler->myThreadLog('delete', array('tid' => $thread['tid']));
\source\admincp\admincp_forums.php
查找:(471-472行)
$log_handler = Cloud::loadClass('Cloud_Service_SearchHelper'); $log_handler->myThreadLog('mergeforum', array('fid' => $source, 'otherid' => $target));删除;
查找:(1877-1878行)
$log_handler = Cloud::loadClass('Cloud_Service_SearchHelper'); $log_handler->myThreadLog('delforum', array('fid' => $fid));删除;
\source\admincp\admincp_members.php:
查找:(1181-1182行)
$log_handler = Cloud::loadClass('Cloud_Service_SearchHelper'); $log_handler->myThreadLog($my_opt, array('uid' => $member['uid']));删除;
查找:(1530~1532行)
if($member_status) { captcha::report($member_status['lastip']); }删除;
查找:(1555~1558行)
if(!empty($my_data) && !empty($mylogtype)) { $log_handler = Cloud::loadClass('Cloud_Service_SearchHelper'); $log_handler->myThreadLog($mylogtype, $my_data); }删除;
查找:(2212行)
captcha::report($_GET['ip1new'].'.'.$_GET['ip2new'].'.'.$_GET['ip3new'].'.'.$_GET['ip4new']);删除;
查找:(3192行)
if($_GET['notifymember'] && in_array($_GET['notifymembers'], array('pm', 'notice', 'email', 'mobile'))) {修改为:
if($_GET['notifymember'] && in_array($_GET['notifymembers'], array('pm', 'notice', 'email'))) {
查找:(3214~3226行)
if($_GET['notifymembers'] == 'mobile') { $toUids = array_keys($members); if($_G['setting']['cloud_status'] && !empty($toUids)) { try { $noticeService = Cloud::loadClass('Service_Client_Notification'); $fromType = $_GET['system'] ? 1 : 2; $noticeService->addSiteMasterUserNotify($toUids, $subject, $message, $_G['uid'], $_G['username'], $fromType, TIMESTAMP); } catch (Cloud_Service_Client_RestfulException $e) { cpmsg('['.$e->getCode().']'.$e->getMessage(), '', 'error'); } } } else {删除;
查找:(3273~3275行)
} $newsletter_detail = array();修改为:
$newsletter_detail = array();
查找:(3314~3321行)
if (isset($_POST['bannew']) && $_POST['formhash'] && $cloud_apps['security']['status'] == 'normal') { $securityService = Cloud::loadClass('Service_Security'); if ($_POST['bannew']) { $securityService->logBannedMember($username, $reason); } else { $securityService->updateMemberRecover($username); } }删除;
\source\admincp\admincp_menu.php:
查找:(170行)
array('menu_safe_security', 'cloud_security'),删除;
查找:(239行)
$isfounder ? array('menu_cloud_doctor', 'cloud_doctor') : null,删除;
查找:(247行)
array('menu_patch', 'patch'),删除;
删除文件:\source\admincp\admincp_patch.php
\source\admincp\admincp_prune.php:
查找:(105行)
$log_handler = Cloud::loadClass('Cloud_Service_SearchHelper');删除;
查找:(113~118行)
} if($post['first']) { $log_handler->myThreadLog('delete', array('tid' => $post['tid'])); } else { $log_handler->myPostLog('delete', array('pid' => $post['pid']));删除:
\source\admincp\admincp_recyclebin.php:
查找:(116~120行)
$appService = Cloud::loadClass('Service_App'); $secStatus = $appService->getCloudAppStatus('security'); if($secStatus){ $security = $_GET['security']; }修改为:
$secStatus = false;
\source\admincp\admincp_recyclebinpost.php:
查找:(84~88行)
$appService = Cloud::loadClass('Service_App'); $secStatus = $appService->getCloudAppStatus('security'); if($secStatus){ $security = $_GET['security']; }修改为:
$secStatus = false;
\source\admincp\admincp_setting.php:
查找:(1669行)
showsetting('setting_sec_seccode_cloudip', 'settingnew[seccodedata][cloudip]', $setting['seccodedata']['cloudip'], 'radio');删除;
查找:(2065行)
$appService = Cloud::loadClass('Service_App');删除;
查找:(2077行)
if(!$appService->getCloudAppStatus('search')) {删除;
查找:(2085-2086行)
} if(helper_access::check_module('blog')) {修改为:
if(helper_access::check_module('blog')) {
查找:(2131行)
if (!$appService->getCloudAppStatus('search')) {删除;
查找:(2154~2156行)
} else { showtablerow('', 'colspan="10" class="lineheight"', $lang['setting_search_srchhotkeywords_disabled']); }删除;
查找:(3212~3219行)
$appService = Cloud::loadClass('Service_App'); if($appService->getCloudAppStatus('search')) { $setting['search'] = dunserialize($setting['search']); $settingnew['search']['forum']['status'] = 1; $settingnew['search']['forum']['searchctrl'] = $setting['search']['forum']['searchctrl']; $settingnew['search']['forum']['maxspm'] = $setting['search']['forum']['maxspm']; $settingnew['search']['forum']['maxsearchresults'] = $setting['search']['forum']['maxsearchresults']; }删除;
\source\admincp\admincp_threads.php:
查找:(372~375行)
$log_handler = Cloud::loadClass('Cloud_Service_SearchHelper'); foreach($_GET['tidarray'] as $tid) { $log_handler->myThreadLog('move', array('tid' => $tid, 'otherid' => $_GET['toforum'])); }删除;
查找:(403~406行)
$log_handler = Cloud::loadClass('Cloud_Service_SearchHelper'); foreach($_GET['tidarray'] as $tid) { $log_handler->myThreadLog('delete', array('tid' => $tid)); }删除;
查找:(427~430行)
$log_handler = Cloud::loadClass('Cloud_Service_SearchHelper'); foreach($_GET['tidarray'] as $tid) { $log_handler->myThreadLog($my_act, array('tid' => $tid)); }删除;
查找:(454~457行)
$log_handler = Cloud::loadClass('Cloud_Service_SearchHelper'); foreach($_GET['tidarray'] as $tid) { $log_handler->myThreadLog($my_act, array('tid' => $tid)); }删除;
查找:(465~468行)
$log_handler = Cloud::loadClass('Cloud_Service_SearchHelper'); foreach($_GET['tidarray'] as $tid) { $log_handler->myThreadLog($my_opt, array('tid' => $tid)); }删除;
删除文件:\source\admincp\admincp_upgrade.php
\source\admincp\admincp_verify.php:
查找:(15行)
$anchor = in_array($_GET['anchor'], array('base', 'edit', 'verify', 'verify1', 'verify2', 'verify3', 'verify4', 'verify5', 'verify6', 'verify7', 'authstr', 'refusal', 'pass')) ? $_GET['anchor'] : 'base';修改为:
$anchor = in_array($_GET['anchor'], array('base', 'edit', 'verify', 'verify1', 'verify2', 'verify3', 'verify4', 'verify5', 'verify6', 'authstr', 'refusal', 'pass')) ? $_GET['anchor'] : 'base';
查找:(25行)
if(!submitcheck('addverifysubmit') || $vid < 0 || $vid > 7) {修改为:
if(!submitcheck('addverifysubmit') || $vid < 0 || $vid > 6) {
查找:(207行)
$intkeys = array('uid', 'verifytype', 'flag', 'verify1', 'verify2', 'verify3', 'verify4', 'verify5', 'verify6', 'verify7');修改为:
$intkeys = array('uid', 'verifytype', 'flag', 'verify1', 'verify2', 'verify3', 'verify4', 'verify5', 'verify6');
查找:(638~639行)
for($i = 1; $i < 8; $i++) { $readonly = $i == 6 || $i == 7 ? true : false;修改为:
for($i = 1; $i < 7; $i++) { $readonly = $i == 6 ? true : false;
\source\class\block\forum\block_thread.php:
查找:(48行)
'digest' => array(
在其上行插入:
'reply' => array( 'title' => 'threadlist_reply', 'type' => 'radio' ),
查找:(191行)
'todayposts' => array('name' => lang('blockclass', 'blockclass_thread_field_todayposts'), 'formtype' => 'text',在其下行插入:
'lastposter' => array('name' => lang('blockclass', 'blockclass_thread_field_lastposter'), 'formtype' => 'string', 'datatype' => 'string'),
查找:(258行)
$orderby = isset($parameter['orderby']) ? (in_array($parameter['orderby'],array('lastpost','dateline','replies','views','heats','recommends')) ? $parameter['orderby'] : 'lastpost') : 'lastpost';在其下行插入:
$lastposter = !empty($parameter['lastposter']) ? $parameter['lastposter'] : '';
查找:(263行)
$recommend = !empty($parameter['recommend']) ? 1 : 0;在其下行插入:
$reply = !empty($parameter['reply']);
查找:(346行)
if($tagids) {在其上行插入:
if($reply) { $sql .= " AND t.replies>'0'"; }
查找:(385行)
'todayposts' => $data['todayposts'],在其下行插入:
'lastposter' => str_replace('\\\'', ''', addslashes($data['lastposter'])),
\source\class\db\db_driver_mysql.php:
查找:(215行)
return mysql_escape_string($str);
修改为:
return mysql_real_escape_string($str);
删除文件:\source\class\discuz\discuz_patch.php
\source\class\helper\helper_notification.php:
查找:(115~124行)
if($_G['setting']['cloud_status'] && !in_array($type, $banType)) { $noticeService = Cloud::loadClass('Service_Client_Notification'); if($oldnote['id']) { $noticeService->update($touid, $pkId, $setarr['from_num'], $setarr['dateline'], $note); } else { $extra = $type == 'post' ? array('pId' => $notevars['pid']) : array(); $extra['notekey'] = $note; $noticeService->add($touid, $pkId, $type, $setarr['authorid'], $setarr['author'], $setarr['from_id'], $setarr['from_idtype'], $setarr['note'], $setarr['from_num'], $setarr['dateline'], $extra); } }删除;
\source\class\helper\helper_pm.php:
查找:(42~57行)
if($_G['setting']['cloud_status']) { $msgService = Cloud::loadClass('Cloud_Service_Client_Message'); if(is_numeric($toid)) { $msgService->add($toid, $fromid, $author, $_G['timestamp']); } else { $senduids = array(); foreach(C::t('common_member')->fetch_all_by_username(explode(',', $toid)) as $touser) { $senduids[$touser['uid']] = $touser['uid']; } if($senduids) { $msgService->add($senduids, $fromid, $author, $_G['timestamp']); } } }删除;
\source\class\helper\helper_seccheck.php:
查找:(310~319行)
if(!isset($_G['cookie']['seccloud'])) { if($_G['setting']['seccodedata']['cloudip'] && !$return[0]) { $return[0] = captcha::isneed(); if($return[0]) { dsetcookie('seccloud', 1); } } } else { $return[0] = true; }删除;
\source\class\memory\memory_driver_file.php:
查找:(70行)
return @unlink(DISCUZ_ROOT.$this->path.$this->cachefile($key));修改为:
return @unlink(DISCUZ_ROOT.$this->path.$this->cachefile($key).'.php');
新增一文件:\source\class\memory\memory_driver_memcached.php 【见附件】
删除文件:\source\class\optimizer\optimizer_cloudsecurity.php
删除文件:\source\class\optimizer\optimizer_eviluser.php
删除文件:\source\class\optimizer\optimizer_patch.php
删除文件:\source\class\optimizer\optimizer_upgrade.php
删除文件:\source\class\optimizer\optimizer_white_list.php
删除文件:\source\class\class_captcha.php
删除文件:\source\class\class_cloud.php
删除文件:\source\class\class_cloudregister.php
\source\class\class_member.php:
查找:(84行)
captcha::report($_G['clientip']);
删除;
\source\function\cache\cache_relatedlink.php:
查找:(20行)
if(substr($link['url'], 0, 7) != 'http://') {修改为:
if(!(strpos($link['url'], '://'))) {
\source\function\function_core.php:
查找:(1041~1044行)
if(!defined('IN_MOBILE') && !defined('IN_ARCHIVER')) { $tipsService = Cloud::loadClass('Service_DiscuzTips'); $tipsService->show(); }删除;
\source\function\function_forum.php:
查找:(1003~1019行)
function cloud_referer_related() { global $_G; $my_search_data = $_G['setting']['my_search_data']; if (viewthread_is_search_referer() && $my_search_data['status']) { $appService = Cloud::loadClass('Service_App'); if($appService->getCloudAppStatus('search')) { $_params = array('s_site_gid' => $_G['groupid'], 'response_type' => 'js', 'referer' => $_SERVER['HTTP_REFERER'], ); $utilService = Cloud::loadClass('Service_Util'); $signUrl = $utilService->generateSiteSignUrl($_params); $my_search_se_url = 'http://search.discuz.qq.com/api/site/se?' . $signUrl . ""; } } return $my_search_se_url; }删除;
\source\include\collection\collection_view.php:
查找:(53-54行)
$cloud_apps = (array)unserialize($_G['setting']['cloud_apps']); $search_status = $cloud_apps['search']['status'] == 'normal' ? TRUE : FALSE;修改为:
$search_status = FALSE;
删除文件:\source\include\cron\cron_checkpatch_daily.php
\source\include\modcp\modcp_member.php:
查找:(102~104行)
if($member_status) { captcha::report($member_status['lastip']); }删除;
查找:(293行)
captcha::report($ip1new.'.'.$ip2new.'.'.$ip3new.'.'.$ip4new);删除;
\source\include\space\space_notice.php:
查找:(130~133行)
if($_G['setting']['cloud_status']) { $noticeService = Cloud::loadClass('Service_Client_Notification'); $noticeService->setNoticeFlag($_G['uid'], TIMESTAMP); }删除;
\source\include\space\space_pm.php:
查找:(174~177行)
if($newpm && $_G['setting']['cloud_status']) { $msgService = Cloud::loadClass('Cloud_Service_Client_Message'); $msgService->setMsgFlag($_G['uid'], $_G['timestamp']); }删除;
\source\include\spacecp\spacecp_favorite.php:
查找:(33~36行)
if($_G['setting']['cloud_status']) { $favoriteService = Cloud::loadClass('Service_Client_Favorite'); $favoriteService->remove($_G['uid'], $_GET['favorite'], TIMESTAMP); }删除;
查找:(55~58行)
if($_G['setting']['cloud_status']) { $favoriteService = Cloud::loadClass('Service_Client_Favorite'); $favoriteService->remove($_G['uid'], $favid, TIMESTAMP); }删除;
查找:(144~147行)
if($_G['setting']['cloud_status']) { $favoriteService = Cloud::loadClass('Service_Client_Favorite'); $favoriteService->add($arr['uid'], $favid, $arr['id'], $arr['idtype'], $arr['title'], $arr['description'], TIMESTAMP); }删除;
\source\language\block\lang_threadlist.php:
查找:(41行)
'threadlist_sortids_all' => '全部的分类信息',在其下行添加:
'threadlist_reply' => '无回复主题过滤',
\source\language\home\lang_template.php:
查找:(1421行)
'sex' => '性別',修改为:
'sex' => '性别',查找:(1424行)
'user_id' => '用戶 UID',修改为:
'user_id' => '用户 UID',
\source\language\lang_admincp.php:
查找:(6860行)
'optimizer_security_tips' => '<li>体检可以帮助您发现网站问题,消除安全风险</li><li>设置项安全检测</li><li>产品新版本及安全补丁检测</li><li>安装插件安全及更新检测</li>',修改为:
'optimizer_security_tips' => '<li>体检可以帮助您发现网站问题,消除安全风险</li><li>设置项安全检测</li><li>安装插件安全及更新检测</li>',
\source\language\lang_blockclass.php:
查找:(67行)
'blockclass_thread_field_todayposts' => '今日发帖数',在其下行增加:
'blockclass_thread_field_lastposter' => '最后回复作者',
\source\language\lang_seccode.php:
查找:(16行)
'chn' => '的一是在了不和有大这主中人上为们地个用工时要动国产以我到他会作来分生对于学下级就年阶义发成部民可出能方进同行面说种过命度革而多子后自社加小机也经力线本电高量长党得实家定深法表着水理化争现所二起政三好十战无农使性前等反体合斗路图把结第里正新开论之物从当两些还天资事队批如应形想制心样干都向变关点育重其思与间内去因件日利相由压员气业代全组数果期导平各基或月毛然问比展那它最及外没看治提五解系林者米群头意只明四道马认次文通但条较克又公孔领军流入接席位情运器并飞原油放立题质指建区验活众很教决特此常石强极土少已根共直团统式转别造切九您取西持总料连任志观调七么山程百报更见必真保热委手改管处己将修支识病象几先老光专什六型具示复安带每东增则完风回南广劳轮科北打积车计给节做务被整联步类集号列温装即毫知轴研单色坚据速防史拉世设达尔场织历花受求传口断况采精金界品判参层止边清至万确究书术状厂须离再目海交权且儿青才证低越际八试规斯近注办布门铁需走议县兵固除般引齿千胜细影济白格效置推空配刀叶率述今选养德话查差半敌始片施响收华觉备名红续均药标记难存测士身紧液派准斤角降维板许破述技消底床田势端感往神便贺村构照容非搞亚磨族火段算适讲按值美态黄易彪服早班麦削信排台声该击素张密害侯草何树肥继右属市严径螺检左页抗苏显苦英快称坏移约巴材省黑武培著河帝仅针怎植京助升王眼她抓含苗副杂普谈围食射源例致酸旧却充足短划剂宣环落首尺波承粉践府鱼随考刻靠够满夫失包住促枝局菌杆周护岩师举曲春元超负砂封换太模贫减阳扬江析亩木言球朝医校古呢稻宋听唯输滑站另卫字鼓刚写刘微略范供阿块某功套友限项余倒卷创律雨让骨远帮初皮播优占死毒圈伟季训控激找叫云互跟裂粮粒母练塞钢顶策双留误础吸阻故寸盾晚丝女散焊功株亲院冷彻弹错散商视艺灭版烈零室轻血倍缺厘泵察绝富城冲喷壤简否柱李望盘磁雄似困巩益洲脱投送奴侧润盖挥距触星松送获兴独官混纪依未突架宽冬章湿偏纹吃执阀矿寨责熟稳夺硬价努翻奇甲预职评读背协损棉侵灰虽矛厚罗泥辟告卵箱掌氧恩爱停曾溶营终纲孟钱待尽俄缩沙退陈讨奋械载胞幼哪剥迫旋征槽倒握担仍呀鲜吧卡粗介钻逐弱脚怕盐末阴丰编印蜂急拿扩伤飞露核缘游振操央伍域甚迅辉异序免纸夜乡久隶缸夹念兰映沟乙吗儒杀汽磷艰晶插埃燃欢铁补咱芽永瓦倾阵碳演威附牙芽永瓦斜灌欧献顺猪洋腐请透司危括脉宜笑若尾束壮暴企菜穗楚汉愈绿拖牛份染既秋遍锻玉夏疗尖殖井费州访吹荣铜沿替滚客召旱悟刺脑'修改为:
'chn' => '的一是在了不和有大这主中人上为们地个用工时要动国产以我到他会作来分生对于学下级就年阶义发成部民可出能方进同行面说种过命度革而多子后自社加小机也经力线本电高量长党得实家定深法表着水理化争现所二起政三好十战无农使性前等反体合斗路图把结第里正新开论之物从当两些还天资事队批如应形想制心样干都向变关点育重其思与间内去因件日利相由压员气业代全组数果期导平各基或月毛然问比展那它最及外没看治提五解系林者米群头意只明四道马认次文通但条较克又公孔领军流入接席位情运器并飞原油放立题质指建区验活众很教决特此常石强极土少已根共直团统式转别造切九您取西持总料连任志观调七么山程百报更见必真保热委手改管处己将修支识病象几先老光专什六型具示复安带每东增则完风回南广劳轮科北打积车计给节做务被整联步类集号列温装即毫知轴研单色坚据速防史拉世设达尔场织历花受求传口断况采精金界品判参层止边清至万确究书术状厂须离再目海交权且儿青才证低越际八试规斯近注办布门铁需走议县兵固除般引齿千胜细影济白格效置推空配刀叶率述今选养德话查差半敌始片施响收华觉备名红续均药标记难存测士身紧液派准斤角降维板许破述技消底床田势端感往神便贺村构照容非搞亚磨族火段算适讲按值美态黄易彪服早班麦削信排台声该击素张密害侯草何树肥继右属市严径螺检左页抗苏显苦英快称坏移约巴材省黑武培着河帝仅针怎植京助升王眼她抓含苗副杂普谈围食射源例致酸旧却充足短划剂宣环落首尺波承粉践府鱼随考刻靠够满夫失包住促枝局菌杆周护岩师举曲春元超负砂封换太模贫减阳扬江析亩木言球朝医校古呢稻宋听唯输滑站另卫字鼓刚写刘微略范供阿块某功套友限项余倒卷创律雨让骨远帮初皮播优占死毒圈伟季训控激找叫云互跟裂粮粒母练塞钢顶策双留误础吸阻故寸盾晚丝女散焊功株亲院冷彻弹错散商视艺灭版烈零室轻血倍缺厘泵察绝富城冲喷壤简否柱李望盘磁雄似困巩益洲脱投送奴侧润盖挥距触星松送获兴独官混纪依未突架宽冬章湿偏纹吃执阀矿寨责熟稳夺硬价努翻奇甲预职评读背协损棉侵灰虽矛厚罗泥辟告卵箱掌氧恩爱停曾溶营终纲孟钱待尽俄缩沙退陈讨奋械载胞幼哪剥迫旋征槽倒握担仍呀鲜吧卡粗介钻逐弱脚怕盐末阴丰编印蜂急拿扩伤飞露核缘游振操央伍域甚迅辉异序免纸夜乡久隶缸夹念兰映沟乙吗儒杀汽磷艰晶插埃燃欢铁补咱芽永瓦倾阵碳演威附牙芽永瓦斜灌欧献顺猪洋腐请透司危括脉宜笑若尾束壮暴企菜穗楚汉愈绿拖牛份染既秋遍锻玉夏疗尖殖井费州访吹荣铜沿替滚客召旱悟刺脑'
\source\language\lang_template.php:
查找:(37行)
'e_fontoptions' => '"宋体", "新宋体", "黑体", "微软雅黑", "Arial", "Verdana", "Mingliu", "Helvetica", "Trebuchet MS", "Tahoma", "Impact", "Times New Roman", "仿宋,仿宋_GB2312", "楷体,楷体_GB2312"',修改为:
'e_fontoptions' => '"宋体", "新宋体", "黑体", "微软雅黑", "Arial", "Verdana", "simsun", "Helvetica", "Trebuchet MS", "Tahoma", "Impact", "Times New Roman", "仿宋,仿宋_GB2312", "楷体,楷体_GB2312"',
\source\module\forum\forum_attachment.php:
查找:(169-170行)
$storageService = Cloud::loadClass('Service_Storage'); $storageService->checkAttachment($attach);删除;
\source\module\member\member_connect_register.php: 【QQ互联判断相关】
查找:(31行)
$_G['qc']['connect_is_feed'] = true;修改为:
$_G['qc']['connect_is_feed'] = false;
查找:(68~76行)
<blockquote>if(!$_G['setting']['connect']['oauth2']) {修改为:
if (!$conuintoken || !$conopenid) { showmessage('qqconnect:connect_get_request_token_failed'); }
\source\module\misc\misc_initsys.php:
查找:(32-33行)
<blockquote>$plugins = array('qqconnect', 'cloudstat', 'soso_smilies', 'security', 'mobile', 'pcmgr_url_safeguard', 'manyou', 'cloudcaptcha', 'wechat');修改为:
$plugins = array('qqconnect', 'mobile', 'wechat'); $opens = array('mobile');
查找:(36~55行)
$cloudapps = array('qqconnect' => 'connect', 'cloudstat' => 'stats', 'soso_smilies' => 'smilies', 'security' => 'security', 'manyou' => 'manyou', 'cloudcaptcha' => 'captcha'); $apps = C::t('common_setting')->fetch('cloud_apps', true); if (!$apps) { $apps = array(); } if (!is_array($apps)) { $apps = dunserialize($apps); } unset($apps[0]); if($apps) { foreach($cloudapps as $key => $appname) { if($apps[$appname]['status'] == 'normal') { $opens[] = $key; } } }删除;
查找:(108~130行)
if(!array_key_exists('security', $apps)) { Cloud::loadFile('Service_Client_Cloud'); $Cloud_Service_Client_Cloud = new Cloud_Service_Client_Cloud; $return = $Cloud_Service_Client_Cloud->appOpenWithRegister('security'); if($return['errCode']) { $plugin = C::t('common_plugin')->fetch_by_identifier('security'); C::t('common_plugin')->update($plugin['pluginid'], array('available' => 0)); } if($return['result']) { if($return['result']['sId'] && $return['result']['sKey']) { C::t('common_setting')->update_batch(array('my_siteid' => $return['result']['sId'], 'my_sitekey' => $return['result']['sKey'])); updatecache('setting'); } } } loadcache('setting', 1); if(!$_G['setting']['my_siteid']) { foreach($checkcloses as $pluginid) { $plugin = C::t('common_plugin')->fetch_by_identifier($pluginid); C::t('common_plugin')->update($plugin['pluginid'], array('available' => 0)); } }删除;
删除文件:\source\module\misc\misc_manyou.php
\source\module\misc\misc_patch.php:
查找:(14~59.5行)
if($_GET['action'] == 'checkpatch') { header('Content-Type: text/javascript'); if($_G['uid'] && $_G['member']['allowadmincp'] == 1) { $discuz_patch = new discuz_patch(); $discuz_patch->check_patch(); } exit; } elseif($_GET['action'] == 'patchnotice') { $patchlist = ''; if($_G['member']['allowadmincp'] == 1) { $discuz_patch = new discuz_patch(); $patchnotice = $discuz_patch->fetch_patch_notice(); if(!empty($patchnotice['data'])) { $lang = lang('forum/misc'); $patchlist .= '<div class="bm'.($patchnotice['fixed'] ? ' allfixed' : '').'"><div class="bm_h cl"><a href="javascript:;" onclick="$(\'patch_notice\').style.display=\'none\'" class="y" title="'.$lang['patch_close'].'">'.$lang['patch_close'].'</a><h2 class="i">'; if($patchnotice['fixed']) { $patchlist .= $lang['patch_site_have'].' '.count($patchnotice['data']).' '.$lang['patch_is_fixed']; } else { $patchlist .= $lang['patch_site_have'].' '.count($patchnotice['data']).' '.$lang['patch_need_fix']; } $patchlist .= '</h2></div><div class="bm_c"><table width="100%" class="mbm"><tr><th>'.$lang['patch_name'].'</th><th class="patchdate">'.$lang['patch_dateline'].'</th><th class="patchstat">'.$lang['patch_status'].'</th><tr>'; foreach($patchnotice['data'] as $notice) { $patchlist .= '<tr><td>'.$notice['serial'].'</td><td>'.dgmdate($notice['dateline'], 'Y-m-d').'</td><td>'; if($notice['status'] >= 1) { $patchlist .= '<span class="fixed">'.$lang['patch_fixed_status'].'<span>'; } elseif($notice['status'] < 0) { $patchlist .= '<span class="unfixed">'.$lang['patch_fix_failed_status'].'</span>'; } else { $patchlist .= '<span class="unfixed">'.$lang['patch_unfix_status'].'</span>'; } $patchlist .= '</td></tr>'; } $patchlist .= '</table><p class="cl"><a href="admin.php?action=patch" class="y pn"><strong>'.($patchnotice['fixed'] ? $lang['patch_view_fix_detail'] : $lang['patch_fix_right_now']).'</strong></a></p>'; $patchlist .= '</div></div>'; } } include template('common/header_ajax'); echo $patchlist; include template('common/footer_ajax'); exit; } else删除;
\source\module\search\search_forum.php:
查找:(66~120行)
$mySearchData = $_G['setting']['my_search_data']; if($mySearchData['status'] && !$srchfrom && !$searchid) { if (!$_G['setting']['my_siteid']) { dheader('Location: index.php'); } $appService = Cloud::loadClass('Service_App'); if($appService->getCloudAppStatus('search') && $searchparams) { $source = 'discuz'; $cloudSource = array('collectionsearch', 'hotsearch'); if(!empty($_GET['srhlocality'])) { $sourcetype = explode('::', $_GET['srhlocality']); if($sourcetype[0] == 'forum') { $source = $sourcetype[1] == 'index' ? 'forum' : ($sourcetype[1] == 'forumdisplay' ? 'forum_forum' : 'forum_thread'); } elseif($sourcetype[0] == 'portal') { $source = $sourcetype[1] == 'view' ? 'article' : ($sourcetype[1] == 'list' ? 'portal_list': 'portal'); } elseif($sourcetype[0] == 'group') { $source = $sourcetype[1] == 'viewthread' ? 'group_thread' : ($sourcetype[1] == 'group' ? 'group_forum' : 'group'); } elseif($sourcetype[0] == 'home') { $source = 'home'.(empty($sourcetype[1]) ? '' : '_'.$sourcetype[1]); } elseif($sourcetype[0] == 'misc' && $sourcetype[1] == 'ranklist') { $source = 'toplist'; } } elseif(in_array($_GET['source'], $cloudSource)) { $source = $_GET['source']; } $params = array(); $params['source'] = $source; $params['q'] = $keyword; $params['module'] = 'forum'; if($srhfid) { $params['fId'] = $srhfid; } if($_GET['adv']) { $params['isAdv'] = 1; } if(!empty($_GET['author'])) { $params['author']=$_GET['author']; } if(!empty($_GET['scope'])) { $params['scope']=$_GET['scope']; } if(!empty($_GET['orderField'])) { $params['orderField']=$_GET['orderField']; } $searchparams['params'] = array_merge($searchparams['params'], $params); $utilService = Cloud::loadClass('Service_Util'); $url = $searchparams['url'] . '?' . $utilService->httpBuildQuery($searchparams['params'], '', '&'); $utilService->redirect($url); die; } }删除;
删除文件:\source\module\search\search_my.php
删除目录:\source\plugin\cloudcaptcha
删除目录:\source\plugin\cloudstat
删除目录:\source\plugin\manyou
删除目录:\source\plugin\myapp
删除目录:\source\plugin\pcmgr_url_safeguard
删除目录:\source\plugin\security
删除目录:\source\plugin\soso_smilies
\source\discuz_version.php:
查找:(15~17行)
define('DISCUZ_VERSION', 'X3.3'); define('DISCUZ_RELEASE', '20170401'); define('DISCUZ_FIXBUG', '33000000');修改为:
define('DISCUZ_VERSION', 'X3.4'); define('DISCUZ_RELEASE', '20170701'); define('DISCUZ_FIXBUG', '34000000');
\static\js\common.js:
查找:(1756~1760行)
function patchNotice() { if($('patch_notice')) { ajaxget('misc.php?mod=patch&action=patchnotice', 'patch_notice', ''); } }删除;
\template\default\common\footer.htm:
查找:(47~49行)
<!--{if $_G['uid'] && $_G['member']['allowadmincp'] == 1 && $_G['setting']['showpatchnotice'] == 1}--> <div class="focus patch" id="patch_notice"></div> <!--{/if}-->删除;
查找:(105~107行)
<!--{if $_G[uid] && $_G['member']['allowadmincp'] == 1 && !isset($_G['cookie']['checkpatch'])}--> <script type="text/javascript" src="misc.php?mod=patch&action=checkpatch&rand=$_G[timestamp]"></script> <!--{/if}-->删除;
\template\default\common\module.css:
查找:(616行)
.tl td em { font-size: 11px; font-family: Arial, PMingliu, sans-serif; -webkit-text-size-adjust: none; }修改为:
.tl td em { font-size: 11px; font-family: Arial, Psimsun, sans-serif; -webkit-text-size-adjust: none; }
\template\default\forum\post_editor_extra.htm:
查找:(28行)
<span id="subjecthide" class="z">RE: $thread[subject] [<a href="javascript:;" onclick="display('subjecthide');display('subjectbox');$('subject').value='RE: {echo dhtmlspecialchars(str_replace('\'', '\\\'', $thread[subject]))}';display('subjectchk');strLenCalc($('subject'), 'checklen', 80);return false;">{lang modify}</a>]</span>修改为:
<span id="subjecthide" class="z">RE: $thread[subject] [<a href="javascript:;" onclick="display('subjecthide');display('subjectbox');return false;">{lang modify}</a>]</span>
\template\default\forum\post_infloat.htm:
查找:(63行)
<span id="subjecthide" class="z">RE: $thread[subject] [<a href="javascript:;" onclick="display('subjecthide');display('subjectbox');$('subject').value='RE: {echo dhtmlspecialchars(str_replace('\'', '\\\'', $thread[subject]))}'">{lang modify}</a>]</span>修改为:
<span id="subjecthide" class="z">RE: $thread[subject] [<a href="javascript:;" onclick="display('subjecthide');display('subjectbox');">{lang modify}</a>]</span>
\template\default\search\footer.htm:
查找:(33行)
<em>© 2001-2013 <a href="http://www.comsenz.com" target="_blank">Comsenz Inc.</a></em>修改为:
<em>© 2001-2017 <a href="http://www.comsenz.com" target="_blank">Comsenz Inc.</a></em>
新增文件:\uc_client\client\control\index.htm
\misc.php:
查找:(80行)
case 'manyou':删除;
\search.php:
查找:(17行)
$modarray = array('my', 'user', 'curforum', 'newthread');修改为:
$modarray = array('user', 'curforum', 'newthread');
删除目录:\source\admincp\cloud
删除目录:\source\admincp\menu
[backcolor=magenta]懒人包下载地址:【最后更新:2017.07.16】[/backcolor]
下载地址(点击数字即可下载)→:28431【GBK编码,强烈建议手工查找修改!!!】
[backcolor=magenta]推荐阅读:[/backcolor]
[发布] Comsenz 核心产品 Discuz! X3.4 版【2017-07-10】
http://bbs.zhanzhangwo.com/t-29044-1-1.html
(出处: 站长窝)
Discuz! X3.4 X3.3 X3.2 QQ互联 2.0独立版本【官方】解决无法开启提示系统繁忙redirect问题
http://bbs.zhanzhangwo.com/t-29043-1-1.html
(出处: 站长窝源码论坛)
Discuz!云平台插件降为非系统级插件工具(适用于dz x3.4 x3.3 x3.2)
http://bbs.zhanzhangwo.com/t-29161-1-1.html
(出处: 站长窝)
Discuz!X3.3清除Discuz!云平台功能,QQ互联独立补丁
http://bbs.zhanzhangwo.com/t-29041-1-1.html
(出处: 站长窝)
Discuz! X3.2 清除云平台功能,QQ互联独立补丁(教程)
http://bbs.zhanzhangwo.com/t-29056-1-1.html
(出处: 站长窝)
收藏的用户(0)
X
正在加载信息~
评论
发新帖
主题数 4876 |
帖子数 11296 |
精华数 0 |
注册排名 88 |
作者最近主题
相关贴子
- 资源链接失效
- 1314SEO内链关键字 V4.2.0 高级版 DZ学习研究交流 专业开源[1314]
- [v57模块]自动更新HTML(AutoHtml V5.7.4) For DedeCmsV53-V57(增加自动审核功能)
- 网站搜索不好用安啊
- 玩转户外/旅游模板 商业版 DZ学习研究交流(2.15更新)
- 更改用户名 高级版2.2.0-------下载地址
- 关键字排名点击工具 V3.2
- 小涴熊漫画CMS:一款不错的开源免费的漫画连载系统,带采集API
- 微信广告拼图 5.0--------下载地址
- 恩斯道城市门户-D2 商业版1.1_GBK DZ学习研究交流
- 批量注册会员 v1.5.2 商业版--------下载地址
- 已经办理了年度会员,为什么用户组还是显示步入站长窝
- Discuz! X3.4 X3.3 X3.2支付宝即时到帐接口文件与DZ论坛对接教程和接口文件
- DZ学习研究交流百度站内搜索辅助 V3.3.0 高级版
- 克米设计-19楼风格 X3.1商业版_GBK DZ学习研究交流(03-05更新)全网首发
- 站长窝大,很久没好东西了。。。
- 附件打折和附件伪装问题
- 【超人】仿天涯首页 商业版-2.3 DZ学习研究交流
- 星蓝科技经典蓝门户--------下载地址
- 织梦CMS仿模板无忧源码下载站模板 php织梦门户源码