ทำได้แล้วครับ ผมอัพแบบพี่ไม่ได้ครับ มีปัญหานะครับเลยมีอีกวิธีีครับ วิธีแก้โค้ดเพื่อใส่ตัวเสริม-EasyUploadImageShack เวลาที่ใส่แบบปกติไม่ได้โหลด EasyUploadImageShack.zip ได้ที่ลิ้งข้างบนพี่เจ้าของบทความมาครับและแตกไฟล์ไว้ครับ
สมมุติจะแก้ธีม Themes\default ให้มี EasyUploadImageShackเปิดไฟล์นี้ขึ้นมาครับ
Themes\smf_w\Display.template.php เปิดไฟล์นี้ขึ้นมาเพื่อแก้โค้ดค้นหา
<textarea cols="75" rows="7" style="width: 95%; height: 100px;" name="message" tabindex="1"></textarea><br />
เพิ่มนี่ต่อลงไป จากที่หา
<br />
<iframe src="', $settings['images_url'], '/uploadimages.php" scrolling="no" frameborder="0" width="100%" height="50">You must have an iframe-compatable browser to view the ImageShack.us upload form.</iframe><br />
จะได้
<textarea cols="75" rows="7" style="width: 95%; height: 100px;" name="message" tabindex="1"></textarea><br />
<br />
<iframe src="', $settings['images_url'], '/uploadimages.php" scrolling="no" frameborder="0" width="100%" height="50">You must have an iframe-compatable browser to view the ImageShack.us upload form.</iframe><br />
แล้วก็เปิดไฟล์ Themes\default\Post.template.php ค้นหา
// Finally, the submit buttons.
เพิ่มนี่ต่อที่ด้านบน ของที่หา
echo '
<tr>
<td align="center" colspan="2">
<iframe src="', $settings['images_url'], '/uploadimages.php" scrolling="no" frameborder="0" width="80%" height="50">You must have an iframe-compatable browser to view the ImageShack.us upload form.</iframe>
</td>
</tr>';
จะได้
echo '
<tr>
<td align="center" colspan="2">
<iframe src="', $settings['images_url'], '/uploadimages.php" scrolling="no" frameborder="0" width="80%" height="50">You must have an iframe-compatable browser to view the ImageShack.us upload form.</iframe>
</td>
</tr>';
// Finally, the submit buttons.
ต่อมาก็ เข้าไปที่ Themes\default\imagesแล้วเอาไฟล์ uploadimages.php จาก EasyUploadImageShack.zip
ไปใส่ไว้ใน Themes\default\images
ทั้งหมดที่ได้แตกไฟล์ไว้ที่แรกครับ
และดูเหมือนไม่ต้องแต่งสีด้วยนะครับ
ต้องขอขอบคุณพี่ holytyrael ที่ทำให้ดูและแนะนำมาครับ ขอบคุณมากครับ