ThaiSEOBoard.com

พัฒนาเว็บไซต์ => CMS & Free Script => หัวข้อเริ่มโดย: minmono ใน 29 พฤศจิกายน 2017, 20:36:57

ชื่อเรื่อง: smf ขอคำแนะนำวิธีปรับแต่งให้ตั้งชื่อหัวข้อยาวๆได้หน่อยครับ
โพสต์โดย: minmono ใน 29 พฤศจิกายน 2017, 20:36:57
สวัสดีครับ
smf ขอคำแนะนำวิธีปรับแต่งให้ตั้งชื่อหัวข้อยาวๆได้นะครับ ???
บอร์ดเทสผมเมื่อยาวเกินจะขึ้นเป็น � นะครับ
(http://upic.me/i/fg/ni011.png) (http://upic.me/show/61839274)
ชื่อเรื่อง: Re: smf ขอคำแนะนำวิธีปรับแต่งให้ตั้งชื่อหัวข้อยาวๆได้หน่อยครับ
โพสต์โดย: เด็กหลังห้อง ใน 29 พฤศจิกายน 2017, 20:48:36
http://www.thaiseoboard.com/index.php/topic,63765.0.html
ชื่อเรื่อง: Re: smf ขอคำแนะนำวิธีปรับแต่งให้ตั้งชื่อหัวข้อยาวๆได้หน่อยครับ
โพสต์โดย: minmono ใน 29 พฤศจิกายน 2017, 21:10:54
อ้างถึงจาก: sleep ใน 29 พฤศจิกายน 2017, 20:48:36
http://www.thaiseoboard.com/index.php/topic,63765.0.html
ขอบคุณครับ / ขอโทษด้วยครับที่ไม่ได้หาก่อน

:wanwan017:
อ้างถึงจาก: Alphaone ใน 24 เมษายน 2015, 19:43:47
เปิด ไฟล์  /Sources/Post.php แล้วหาบรรทัดคำสั่ง

   // Make sure the subject isn't too long - taking into account special characters.
   if ($func['strlen']($form_subject) > 100)
      $form_subject = $func['substr']($form_subject, 0, 100);

   // At this point, we want to make sure the subject isn't too long.
   if ($func['strlen']($_POST['subject']) > 100)
      $_POST['subject'] = addslashes($func['substr'](stripslashes($_POST['subject']), 0, 100));

   // Maximum number of characters.
   if ($func['strlen']($_POST['subject']) > 100)
      $_POST['subject'] = addslashes($func['substr'](stripslashes($_POST['subject']), 0, 100));

ลอง เปลี่ยนตัวเลขจาก 100 ให้เพิ่มขึ้นเป็นซัก 300 - 500 แทน