- เครดิต
- 14
- เพื่อน
- ทักทาย
- บล็อก
- อัลบั้ม
- โพสต์
- กระทู้
- แชร์
- สำคัญ
- สิทธิ์อ่าน
- 10
- จำนวนผู้ติดตาม
- จำนวนผู้กำลังติดตาม
- เพศ
- ไม่บอก
|
modify the long word of tag
what modify files
tag.php
include/editpost.inc.php
include/newthread.inc.php
1.Go to Admincp > Tools > Database > Quary
Insert Code :- ALTER TABLE `cdb_tags` CHANGE `tagname` `tagname` CHAR( 80 ) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL;
คัดลอกไปที่คลิปบอร์ด or Go to admincp
change tablepre cdb_tag and filed "Tagname" from char(20) to char(80)
2.open tag.php in root floder
Find :- if(!preg_match('/^([\x7f-\xff_-]|\w|\s)+$/', $name) || strlen($name) > 20) {
คัดลอกไปที่คลิปบอร์ด Change To :- if(!preg_match('/^([\x7f-\xff_-]|\w|\s)+$/', $name) || strlen($name) > 80) {
คัดลอกไปที่คลิปบอร์ด 3.Open include/editpost.inc.php
Find :- if(preg_match('/^([\x7f-\xff_-]|\w|\s){3,20}$/', $tagname)) {
คัดลอกไปที่คลิปบอร์ด Change To :- if(preg_match('/^([\x7f-\xff_-]|\w|\s){3,80}$/', $tagname)) {
คัดลอกไปที่คลิปบอร์ด 4.Open include/newthread.inc.php
Find :- if(preg_match('/^([\x7f-\xff_-]|\w|\s){3,20}$/', $tagname)) {
คัดลอกไปที่คลิปบอร์ด Change To :- if(preg_match('/^([\x7f-\xff_-]|\w|\s){3,80}$/', $tagname)) {
คัดลอกไปที่คลิปบอร์ด
[ แก้ไขล่าสุด Nuknan เมื่อ 2008-12-14 22:16 ] |
คะแนน
-
ดูบันทึกคะแนน
|
|
|
|
|
|