หมวดไฟฟ้า/อิเล็กทรอนิกส์/คอมพิวเตอร์ => ห้อง SMF 2.0.X => Programming => ห้องคอมพิวเตอร์ => นานาสาระ SMF => ข้อความที่เริ่มโดย: Sonchai_Music ที่ 07 ธันวาคม 2562, 07:09:55
-
การสร้าง Themes ขึ้นมาใหม่สำหรับบอร์ด SMF
http://nevikup.blogspot.com/2011/07/smf_18.html
- การสร้างธีมสำหรับ SMF 2.0 เบื้องต้น
http://www.question.in.th/answer_view.php?id_ques=65
- โครงสร้างของ SMF จะเรียกใช้ template คร่าวๆแบบนี้
ทุกหน้า (overall header, footer) --> index.template.php
หน้าแรก --> BoardIndex.template.php
หน้ากระทู้ (รวมหัวข้อกระทู้) --> MessageIndex.template.php
หน้าเนื้อหา --> Display.template.php
http://www.thaiseoboard.com/index.php/topic,401742.0.html
-
- Indy Theme
**ข้อแนะนำ: ให้ปรับรูปแบบเวลาบอร์ดใหม่ด้วยครับ เพราะปกติมันจะยาวๆ ทำให้ล้นบรรทัด ต้องปรับให้สั้นลง
โดยเข้าไปที่ ศูนย์ดำเนินการระบบ >> ปรับแต่งบอร์ด >> Features and Options
ตรงช่อง Default time format ให้เปลี่ยนเป็น %d/%m/%y
ตรงนี้มีภาพ! แต่ท่านจะมองไม่เห็น , ท่านต้อง สมัครสมาชิก หรือ ลงชื่อเข้าระบบ
https://support.indytheme.com/index.php?topic=12.0
-
คำแนะนำการติดตั้ง Theme
http://www.welovethailand.com/webboard/index.php?topic=71.0
- Dilber MC Themes
https://custom.simplemachines.org/themes/index.php?lemma=80
Features
Multi Color Theme
Theme admin options:
Logo URL
Show an information bar below the categories
Separate Sticky and Normal topics
Social buttons in header.
Enable color change in the user panel
Show your slogan in the header
Enable or disable board icons per color variant
Custom content above the linktree
Custom copyright
Custom Box in the info center
Colors
Blue (default)
Navy
Red
Green
Light Green
Violet
Purple
Pink
Turquoise
Orange
Yellow
Important
This theme uses CSS 3, so it might not look properly in old browsers.
Copyright
This theme was originally designed by Harzem, we thank him for allowing the update of his theme.
-
BLUE SHAME
ตรงนี้มีภาพ! แต่ท่านจะมองไม่เห็น , ท่านต้อง สมัครสมาชิก หรือ ลงชื่อเข้าระบบ
-
Package upload failed due to the following error:
"Although the package was downloaded to the server it appears to be empty. Please check the Packages directory, and the "temp" sub-directory are both writable. If you continue to experience this problem you should try extracting the package on your PC and uploading the extracted files into a subdirectory in your Packages directory and try again. For example, if the package was called shout.tar.gz you should:
1) Download the package to your local PC and extract it into files.
2) Using an FTP client create a new directory in your "Packages" folder, in this example you may call it "shout".
3) Upload all the files from the extracted package to this directory.
4) Go back to the package manager browse page and the package will be automatically found by SMF."
การอัปโหลดแพ็กเกจล้มเหลวเนื่องจากข้อผิดพลาดต่อไปนี้:
"แม้ว่าแพ็คเกจจะถูกดาวน์โหลดไปยังเซิร์ฟเวอร์ดูเหมือนว่าจะว่างเปล่าโปรดตรวจสอบไดเรกทอรีแพคเกจและไดเรกทอรีย่อย" temp "สามารถเขียนได้หากคุณยังพบปัญหานี้คุณควรลองแยกแพคเกจบนพีซีของคุณและ อัปโหลดไฟล์ที่คลายบีบอัดไปยังไดเรกทอรีย่อยในไดเรกทอรีแพคเกจของคุณแล้วลองอีกครั้งตัวอย่างเช่นหากแพคเกจนั้นถูกเรียกว่า shout.tar.gz คุณควร:
1) ดาวน์โหลดแพ็คเกจลงในเครื่องคอมพิวเตอร์ของคุณและแตกไฟล์เป็นไฟล์ต่างๆ
2) การใช้ไคลเอนต์ FTP สร้างไดเรกทอรีใหม่ในโฟลเดอร์ "แพคเกจ" ของคุณในตัวอย่างนี้คุณอาจเรียกว่า "ตะโกน"
3) อัปโหลดไฟล์ทั้งหมดจากแพ็คเกจที่แตกไปยังไดเรกทอรีนี้
4) กลับไปที่หน้าเรียกดูผู้จัดการแพคเกจและแพคเกจจะถูกค้นพบโดยอัตโนมัติจาก SMF "
-
ว่าจะแต่งธีมซะหน่อย แต่ว่าบอร์ดเพี้ยนเยอะ เลยใช้ตัวเดิมไปก่อน
ไม่ว่าจะเป็นฟ้อนต์ กระทู้ล่าสุด ไอค่อน ฯ
-
ก่อนการปรับแต่งธีม ได้สำรองเว็บไว้แล้วในชื่อ Backup-Dec-07-2019.tar.zip
แต่ว่าการอับโหลดไฟล์ ไม่สามารถใช้การ Browse Package แบบปกติได้ ต้องแตกไฟล์ในคอมก่อน
แล้วค่อยใช้การ FTP ขึ้นอีกที ไม่ทราบว่าตรงนี้ จะเป็นช่องโหว่ให้ติดไวรัสโทรจันไหม
สรุป... ไม่น่าจะติด เพราะว่าเว็บไม่ได้ปิดแอนตี้ไวรัสแต่อย่างใด