Skip to content

Commit

Permalink
Discuz! X3.5 Thai R20221221 Rev.1
Browse files Browse the repository at this point in the history
- สนับสนุน PHP8
- สนับสนุน MYSQL8
- สนับสนุน IPV6, สนับสนุนไลบรารี IP หลายตัว, สนับสนุนการเข้าถึง IP ในโหมด CDN ต่าง ๆ และสนับสนุนโหมดการเข้าถึงข้อมูลที่เพิ่มขึ้นจากโหมดปกติ
- สนับสนุน UTF8MB4 (จงใช้อิโมจิกันโดยพลัน และสนับสนุนชุดอักขระเพิ่มเติม)
- สนับสนุน InnoDB (ฐานข้อมูลคลาวด์มีการแนะนำให้ใช้งานอย่างแพร่หลาย)
- สนับสนุน การสลับใช้งานฟังก์ชันโมดูลเต็มรูปแบบ (รวมไปถึงเว็บบอร์ด ต่อจากนี้ไป Discuz! X จะไม่ใช่แค่เว็บบอร์ดอย่างเดียว แต่เป็นระบบสร้างเว็บไซต์เต็มรูปแบบ)
- สนับสนุน HTTPS ให้มีประสิทธิภาพกว่าเดิม
- เพิ่ม ระบบชำระเงินใหม่ (ใช้ได้แค่ประเทศจีน ไม่มีไทย) มีชำระเงินด้วย WeChat, Alipay และ QQ Wallet ในตัว สนับสนุนการเชื่อมต่อการชำระเงินแพลตฟอร์มอื่น ๆ
- ปรับปรุง ฐานข้อมูลจังหวัด อำเภอ ตำบล (จาก ThepExcel ปรับปรุงปี 2022) พร้อมทั้งรายชื่อประเทศ 199 ประเทศและ 52 ดินแดน (จากสำนักงานราชบัณฑิตยสภา 29 มิถุนายน 2565)
- ปรับปรุง ตัวแปลงไอพีเป็นชื่อประเทศ (GeoIP2) จาก MaxMind's GeoLite2 City ซึ่งสามารถระบุความละเอียดตำแหน่งที่ตั้งของไอพีในระดับ เขต/อำเภอ จังหวัด และประเทศ
- ปรับปรุง BBcode Spoiler โฉมใหม่
- ปรับปรุง ระบบปกป้องขั้นพื้นฐานในตัว และสนับสนุนการเชื่อมต่อ SMS ของบุคคลที่สามโดยผ่านอินเทอร์เฟซ
- ปรับปรุง โหมดรุ่นมือถือแบบใหม่ ไฉไลกว่าเดิม
- ปรับปรุง ระบบหลังบ้าน (AdminCP) โฉมใหม่
- ปรับปรุง UX/UI ต่าง ๆ ในเว็บเพื่อให้เข้ากับสภาพแวดล้อมของประเทศไทยทั้งหมด (เช่น การสลับตำแหน่งคำภาษาจีน ให้เป็นของภาษาไทยในส่วนต่าง ๆ ของเว็บ เป็นต้น)
- ยกเลิก การใช้ Flash ถาวร และขอต้อนรับ HTML5 เต็มรูปแบบ
  • Loading branch information
jaideejung007 committed Jan 1, 2023
1 parent 8b1d106 commit a20b88b
Show file tree
Hide file tree
Showing 2,788 changed files with 63,636 additions and 58,693 deletions.
103 changes: 103 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

63 changes: 0 additions & 63 deletions guideline.html

This file was deleted.

76 changes: 76 additions & 0 deletions readme.html

Large diffs are not rendered by default.

120 changes: 34 additions & 86 deletions readme/license.txt

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions readme/readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,20 @@ Crossday Discuz! Board(以下简称 Discuz!,中国国家版权局著作权
)是腾讯云计算(北京)有限责任公司,即原康盛创想(北京)科技有限公司(英文简称Comsenz),
推出的一套通用的社区论坛软件系统。作为国内最大的社区软件及服务提供商,Comsenz旗下的
Discuz! 产品,无论在功能、稳定性、负载能力、安全保障等方面都居于国内外同类产品领先地位,
是全球成熟度最高、覆盖率最大的论坛软件系统之一。
是全球成熟度最高、覆盖率最大的论坛软件系统之一。目前由合肥贰道网络科技有限公司承接维护。

+----------------------------------+
Discuz! X 社区软件的下载
+----------------------------------+
您可以随时从我们的官方下载站下载到最新版本,以及各种补丁
http://www.discuz.net/
http://discuz.dismall.com/

+----------------------------------+
Discuz! X 软件的技术支持
+----------------------------------+
当您在安装、升级、日常使用当中遇到疑难,请您到以下站点获取技术支持。

Discuz! 讨论区: http://www.discuz.net
Discuz! 使用手册: https://www.discuz.net/portal.php?mod=list&catid=8
Discuz! 应用中心: http://addon.discuz.com
Discuz! 商业授权购买: http://www.discuz.net/redirect.php?service
Discuz! 讨论区: https://discuz.dismall.com
Discuz! 资料库: https://discuz.dismall.com/library/library
Discuz! 教程: https://www.dismall.com/forum-51-1.html
Discuz! 应用中心: https://addon.dismall.com
Binary file added readme/screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 13 additions & 5 deletions upload/.htaccess
Original file line number Diff line number Diff line change
@@ -1,25 +1,33 @@
# เปิดโหมด RewriteEngine
RewriteEngine On

# ถ้าไฟล์ดิสคัสไม่ได้เก็บไว้ในซับโฟลเดอร์ กรุณาลบ /discuz ถ้าไฟล์ดิสคัสถูกเก็บไว้ในซับโฟลเดอร์ กรุณาแก้ไข /discuz เป็นชื่อโฟลเดอร์ที่เก็บไฟล์ดิสคัส และหากดิสคัสถูกต้องตั้งใน Root ให้เปลี่ยนค่าเป็น "/"
# ตัวอย่าง ถ้าเว็บไซต์เป็น www.discuz.net/bbs/ จะต้องตั้งค่าเป็น RewriteBase /bbs/ หากไฟล์ดิสคัสอยู่ในโฟลเดอร์ราก (ROOT) ให้ตั้งค่าเป็น RewriteBase /
RewriteBase /

# เงื่อนไข Rewrite ไม่ควรแก้ไขค่าระบบ
# หากไม่มีความจำเป็น ไม่ควรแก้ไขค่า Rewrite
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^topic/(.+)$ portal.php?mod=topic&topic=$1&%1
RewriteRule ^topic/(.+)/$ portal.php?mod=topic&topic=$1&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^article/([0-9]+)/([0-9]+)$ portal.php?mod=view&aid=$1&page=$2&%1
RewriteRule ^article/([0-9]+)/([0-9]+)/$ portal.php?mod=view&aid=$1&page=$2&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^forum/(\w+)/([0-9]+)$ forum.php?mod=forumdisplay&fid=$1&page=$2&%1
RewriteRule ^forum/(\w+)/([0-9]+)/$ forum.php?mod=forumdisplay&fid=$1&page=$2&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^thread/([0-9]+)/([0-9]+)/([0-9]+)$ forum.php?mod=viewthread&tid=$1&extra=page\%3D$3&page=$2&%1
RewriteRule ^thread/([0-9]+)/([0-9]+)/([0-9]+)/$ forum.php?mod=viewthread&tid=$1&extra=page\%3D$3&page=$2&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^group/([0-9]+)/([0-9]+)$ forum.php?mod=group&fid=$1&page=$2&%1
RewriteRule ^group/([0-9]+)/([0-9]+)/$ forum.php?mod=group&fid=$1&page=$2&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^space/(username|uid)/(.+)$ home.php?mod=space&$1=$2&%1
RewriteRule ^space-(username|uid)-(.+)\.html$ home.php?mod=space&$1=$2&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^blog/([0-9]+)/([0-9]+)$ home.php?mod=space&uid=$1&do=blog&id=$2&%1
RewriteRule ^blog/([0-9]+)/([0-9]+)/$ home.php?mod=space&uid=$1&do=blog&id=$2&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^(fid|tid)/([0-9]+)$ archiver/index.php?action=$1&value=$2&%1
RewriteRule ^archiver/(fid|tid)/([0-9]+)$ archiver/index.php?action=$1&value=$2&%1
RewriteRule ^archiver/(fid|tid)/([0-9]+)/$ archiver/index.php?action=$1&value=$2&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^([a-z]+[a-z0-9_]*)/([a-z0-9_\-]+)$ plugin.php?id=$1:$2&%1
RewriteRule ^([a-z]+[a-z0-9_]*)/([a-z0-9_\-]+)$ plugin.php?id=$1:$2&%1
RewriteRule ^([a-z]+[a-z0-9_]*)/([a-z0-9_\-]+)/$ plugin.php?id=$1:$2&%1
8 changes: 6 additions & 2 deletions upload/admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
$admincp_actions_founder = array('templates', 'db', 'founder', 'postsplit', 'threadsplit', 'cloudaddons', 'optimizer', 'runtests');
$admincp_actions_normal = array('index', 'setting', 'members', 'admingroup', 'usergroups', 'usertag',
'forums', 'threadtypes', 'threads', 'moderate', 'attach', 'smilies', 'recyclebin', 'recyclebinpost', 'prune', 'grid',
'styles', 'addons', 'plugins', 'tasks', 'magics', 'medals', 'announce', 'faq', 'ec',
'styles', 'addons', 'plugins', 'tasks', 'magics', 'medals', 'announce', 'faq', 'ec', 'remoderate', 'smsgw',
'tradelog', 'jswizard', 'project', 'counter', 'misc', 'adv', 'logs', 'tools', 'portalperm', 'blogrecyclebin',
'checktools', 'search', 'article', 'block', 'blockstyle', 'blockxml', 'portalcategory', 'blogcategory', 'albumcategory', 'topic', 'credits',
'doing', 'group', 'blog', 'feed', 'album', 'pic', 'comment', 'share', 'click', 'specialuser', 'postsplit', 'threadsplit', 'report',
Expand Down Expand Up @@ -62,6 +62,10 @@
}
} else {
cpheader();
cpmsg('action_noaccess', '', 'error');
if($action == 'cloudaddons') {
cpmsg('cloudaddons_noaccess', '', 'error');
} else {
cpmsg('action_noaccess', '', 'error');
}
}
?>
9 changes: 9 additions & 0 deletions upload/api/addons/zendcheck.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?php

if(phpversion() >= '5.3') {
include 'zendcheck53.php';
} else {
include 'zendcheck52.php';
}

?>
3 changes: 3 additions & 0 deletions upload/api/addons/zendcheck52.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<?php @Zend;
4123;
/*
3 changes: 3 additions & 0 deletions upload/api/addons/zendcheck53.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<?php @Zend;
3074;
/*
21 changes: 21 additions & 0 deletions upload/api/avatar/index.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?php

require_once '../../source/class/class_core.php';

$discuz = C::app();
$discuz->init();
if(getgpc('m') !== 'user' || getgpc('a') !== 'rectavatar') {
exit;
}
loaducenter();
if(!UC_AVTPATH) {
$avtpath = './data/avatar/';
} else {
$avtpath = str_replace('..', '', UC_AVTPATH);
}
define('UC_UPAVTDIR', realpath(DISCUZ_ROOT.$avtpath).'/');
if(!empty($_G['uid'])) {
echo uc_rectavatar($_G['uid']);
} else {
echo uc_rectavatar(0);
}
40 changes: 0 additions & 40 deletions upload/api/connect/like.php

This file was deleted.

Loading

0 comments on commit a20b88b

Please sign in to comment.