ติดต่อลงโฆษณา [email protected]

แสดงกระทู้

ส่วนนี้จะช่วยให้คุณสามารถดูกระทู้ทั้งหมดสมาชิกนี้ โปรดทราบว่าคุณสามารถเห็นเฉพาะกระทู้ในพื้นที่ที่คุณเข้าถึงในขณะนี้


ข้อความ - FruitCake

หน้า: [1] 2
1
ถ้าเป็นsmf1.1rc2
หา
โค้ด: [เลือก]
// Show the "Powered by" and "Valid" logos, as well as the copyright. Remember, the copyright must be somewhere!
echo '

<div id="footerarea" style="text-align: center; padding-bottom: 1ex;', $context['browser']['needs_size_fix'] && !$context['browser']['is_ie6'] ? ' width: 100%;' : '', '">
<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
function smfFooterHighlight(element, value)
{
element.src = smf_images_url + "/" + (value ? "h_" : "") + element.id + ".gif";
}
// ]]></script>';

ต่อด้วย

โค้ด: [เลือก]
/* Link navigate */
echo '
<div class="tborder">
<div class="catbg" style="padding: 6px; vertical-align: middle; text-align: center;">สนใจลงโฆณาติดต่อ webmaster</div>
<div id="upshrinkHeaderIC">

<table class="bordercolor" border="3" cellpadding="0" cellspacing="0" width="100%">
<tr><td class="windowbg2" width="100%">
                                               

      <a href="http://ที่อยู่ของแบนเนอร์" target="_blank">
<img src="http://รูปแบนเนอร์" width="88" height="31" border="0"alt="ข้อความเมื่อเลื่อนเม้าทับ"> </a>
</td></tr>

</table>
</div>
</div><br />


';


ขอบคุณที่คนครับที่มาช่วยสอน

ผมไม่มีความรู้เรื่อง php เลยอ่า ครูยังไม่สอนเลย ใช้เป้นแต่ html (อยู่ ม.3 เองง่ะ)

ผมขอถามว่า
โค้ด: [เลือก]
<a href="http://ที่อยู่ของแบนเนอร์" target="_blank">
<img src="http://รูปแบนเนอร์" width="88" height="31" border="0"alt="ข้อความเมื่อเลื่อนเม้าทับ"> </a>

ถ้าจะลง แบนเนอร์เพิ่มอีก ใส่ไงหรอครับ

งี้ปะครับ


โค้ด: [เลือก]
/* Link navigate */
echo '
<div class="tborder">
<div class="catbg" style="padding: 6px; vertical-align: middle; text-align: center;">สนใจลงโฆณาติดต่อ webmaster</div>
<div id="upshrinkHeaderIC">

<table class="bordercolor" border="3" cellpadding="0" cellspacing="0" width="100%">
<tr><td class="windowbg2" width="100%">
                                               

      <a href="http://ที่อยู่ของแบนเนอร์" target="_blank">
<img src="http://รูปแบนเนอร์" width="88" height="31" border="0"alt="ข้อความเมื่อเลื่อนเม้าทับ"> </a>

<a href="http://ที่อยู่ของแบนเนอร์" target="_blank">
<img src="http://รูปแบนเนอร์" width="88" height="31" border="0"alt="ข้อความเมื่อเลื่อนเม้าทับ"> </a>

<a href="http://ที่อยู่ของแบนเนอร์" target="_blank">
<img src="http://รูปแบนเนอร์" width="88" height="31" border="0"alt="ข้อความเมื่อเลื่อนเม้าทับ"> </a>

</td></tr>

</table>
</div>
</div><br />


';

3
ทำแบบนี้ไงอะครับ



[ไฟล์แนบถูกลบโดยผู้ดำเนินการ]

4
ผมไป ตั้งโดนอะไรรึป่าวครับทำไมเวลา โพสเสร็จแล้วมันบอกว่า

เกิดข้อผิดพลาด!
โค้ด: [เลือก]
2: mail() has been disabled for security reasons
ไฟล์: /home/hosting/fruitcake/public_html/forums/Sources/Subs-Post.php
บรรทัด: 377

เป็นเฉพาะ บางหมวดด้วยนะครับ คำถามนี้ผมเคยมาถามตอนแรกๆแล้วครับ ตอนนั้นสาเหตุเป็นที่ ไมไ่ด้ปิด การส่งจดหมายไปต้อนรับสมาชิกใหม่ จึงทำให้สมาชิกที่สมัครใหม่ เจอทุกราย แต่คราวนี้มันมาเป็นบางหมวดอะครับแล้วทีนี้ มีให้ปิดอีกไหมครับ

5
Install and Upgrade Help / Re: Install SimpleDownload 1.1.1
« เมื่อ: 30/10/05, 18:44:19 »
อาจเป็นที่ themes ครับ การติดตั้ง mod ใช้ได้กับ SMF Default Theme เท่านั้นครับ

click

6
เปลี่ยน CHMOD เป็น 777 ยังครับ

7
ของผม 1.0.5 นะครับ พอกด [ บราวซ์ ]  แล้วมันไปหน้า http://mods.simplemachines.org/index.php เลยครับ

8
ไมไ่ด้อะครับ พอ เลือก [ บราวซ์ ] ที่ Simple Machines Mod Site  มันก็ไปเว็บ ให้ดาวน์โหลด mod เลย แล้ว จะคลิก [ ดาวน์โหลด ] ตรงไหนอะครับเพราะว่ามันไปที่เว็บนั้นแล้ว

9
ผม เริ่มไป หาข้อมูลจาก เว้บของ smf มาแล้วนะครับ แปล งูๆปลาๆ มา ได้ว่า ที่ไม่สามารถ ติดตั้ง mod ต่างๆได้เป็นที่ themes ครับเราต้องใช้ themes default ครับถึงจะติดตั้งได้

แต่ ผมลองหมดแล้วอะ จะ themes ไหน themes ไหน ก็ ไม่ได้หมด -*-

10
ตรง
<table width="100%" cellpadding="0" cellspacing="0" border="0"><tr>

เหมือนกันหลายอันครีบ ต่างก็คำว่า

bodyarea

แต่มัน ไม่มีเลยอ่า

ครับๆ

เดี๋ยวพรุ่งนี้จะลอง 1.1

smf_1-1-rc1_install.zip นี่ ใช้ภาษาไทย ตัว smf_1-1-beta3p_thai  ใช่ปะครับ


11
อ้าวทุกคนกำลังรอคุณติดตั้งอยู่นะเนี๊ย

ว่าแต่ติดตั้งไม่ได้เหรอครับ

งั้นเดี๋ยวจาลองเล่นให้ครับ
เจ้าหญิงมีบัญชามาแล้วนี่  ผู้น้อยอย่างเราต้องทำตามบัญชา

แต่ก็อย่างที่เจ้าหญิงว่า เราจะต้องมาอับ มด ตามไปด้วย ซึ่งบางทีก็มีปัญหา หรือต้องมานั่งไล่โค้ดกัน ปวดหัวพอสมควร

อีกอย่าง หนึ่ง ไม่ได้แปลว่า ทุก ๆ มด จะติดตั้งกับเว็บคุณ หรือ server คุณได้  มันขึ้นอยู่กับสิ่งแวดล้อมอื่นประกอบด้วย

งั้นเราก็ลองมาช่วยกันละกัน

เพื่อเจ้าหญิง เพื่อชุมชน smf ของคนไทย

ปล.  ต้องให้คุณเก่ง เพิ่มบอร์ด มด  ขึ้นมาอีกตัว
เราไม่มีอำนาจทำ  ไม่เหมือนเจ้าหญิงเค้า มีตำแหน่งเป็นถึง Global Moderator  แต่ไม่รู้หรอกว่ามันแปลว่าอาไร  แต่คาดว่าน่าจะมีอำนาจล้นเหลือ พอที่ตั้งบอร์ดมดขึ้นมาใหม่ได้

การให้คือสิ่งที่เรามีเหมือนกัน. . .



จะทำได้ยังไงอ่า ก็ยังไม่มีใครมาตอบผมเลยอ่าครับ

ว่า
ให้เราเปลี่ยนจาก
โค้ด: [เลือก]
<table width="100%" cellpadding="0" cellspacing="0" border="0"><tr>
<td id="bodyarea" style="padding: 1ex 20px 2ex 20px;">';
ของ index.template.php

เป็น

โค้ด: [เลือก]
<table width="100%" cellpadding="0" cellspacing="0" border="0"><tr valign="top">
<td width="120">', smfshout(), '</td>
<td id="bodyarea" style="padding: 1ex 20px 2ex 20px;">';

แต่ปัญหา คือ  index.template.php ของผมไม่มี

โค้ด: [เลือก]
<table width="100%" cellpadding="0" cellspacing="0" border="0"><tr>
<td id="bodyarea" style="padding: 1ex 20px 2ex 20px;">';

12
ว่างไง ครับ รู้วิธีติดตั้ง กันยังครับ ผมยังติดตั้ง ไม่ได้เลยง่าาาา

13
เห็นด้วยครับ ควรเป็นภาษา ไทย เพราะในประเทศไทย นี้ผมว่าเป็นเรื่องที่ห่างมาก กับเรื่อง mod ตั้งแต่ผมรู้จักกับ SMF ผมก็ได้เคยเห็น บอร์ด SMF มาหลายแหล่งอยู่เหมือนกัน แต่ไม่เคยเห็น บอร์ด SMF ที่ไหน ใช้ mod เลยอ่า หรือว่าคนไทยไม่ใช้ mod กันเลยหรอครับ หรือว่า ผม หาไม่เจอเอง

14
อันนี้คือ code ใน  index.template.php ของผมครับ

http://s18.yousendit.com/d.aspx?id=2NUC9D1VWWN440IHJCKGBPLBUY

โพส ไมไ่ด้ครับตัวอักษร มันเกิน

15
ผม พอเข้าใจแล้วครับ

ผมลองจาก mod ชื่อ shout v1.31

ใน ไฟล์ mod ชื่อ package-info

โค้ด: [เลือก]
  <?xml version="1.0" ?>
  <!DOCTYPE package-info (View Source for full doctype...)>
- <package-info xmlns="http://www.simplemachines.org/xml/package-info" xmlns:smf="http://www.simplemachines.org/">
  <name>Ultimate Shoutbox</name>
  <id>grudge:ultimate_shout</id>
  <type>modification</type>
  <version>1.31</version>
- <install>
  <require-file name="shout.php" destination="$sourcedir" />
  <require-file name="shout.template.php" destination="$themedir" />
  <require-file name="script_shout.js" destination="$themedir" />
  <require-file name="deleteshout.gif" destination="$themedir/images" />
  <code type="file">shoutPdb.php</code>
- <readme type="inline">
- <![CDATA[
This allows you to put put a shoutbox on your forum, and via SSI anywhere on your web site.
It links in with your members database, and shouting can be limited to admins, members or guests.
The ultimate shoutbox was originally written by Greg Haase and was ported to SMF by Grudge

After installation you will need to add the shoutbox to your template. To do this just call the smfshout(); function
from somewhere within your template. You may need to add it as ', smfshout(), ' if you are inside an echo statement.

Example:
If you want to add the shoutbox to the LEFT of your web page, you could make the following change in index.template.php.
Find:
[code]
<table width="100%" cellpadding="0" cellspacing="0" border="0"><tr>
<td id="bodyarea" style="padding: 1ex 20px 2ex 20px;">';

               and replace with:
               
โค้ด: [เลือก]
<table width="100%" cellpadding="0" cellspacing="0" border="0"><tr valign="top">
<td width="120">', smfshout(), '</td>
<td id="bodyarea" style="padding: 1ex 20px 2ex 20px;">';
               This is just a basic example, but should be enough to get you started.

               Version 1.31 adds an option not to require the email address for guests, plus adds XML refresh where supported by browsers!
               IMPORTANT: if you used the shoutbox before version 1.21 you will need to setup permissions for membergroups allowed to shout!
               Note that 1.22 fixes a problem with templates in 1.21
      Written By Matthew Wolf (a.k.a Grudge) - [email protected]
      http://www.mymods.co.uk
      Copyright 2004 - Neither this package or any of it's contents may be distributed without authorisation
         

  ]]>
  </readme>
  <modification type="file" format="boardmod" reverse="false">shoutbox_v1.31.mod</modification>
  </install>
- <uninstall>
  <readme type="inline">Uninstall will remove all the changes made by the shoutbox. You must do this before upgrading!</readme>
  <modification type="file" format="boardmod" reverse="true">shoutbox_v1.31.mod</modification>
  </uninstall>
  </package-info>[/code]

ผม พอเข้าใจครับว่า

ให้เปิด index.template.php

แ้ล้วหา
โค้ด: [เลือก]
<table width="100%" cellpadding="0" cellspacing="0" border="0"><tr>
<td id="bodyarea" style="padding: 1ex 20px 2ex 20px;">';

แล้วให้ใส่
โค้ด: [เลือก]
<table width="100%" cellpadding="0" cellspacing="0" border="0"><tr valign="top">
<td width="120">', smfshout(), '</td>
<td id="bodyarea" style="padding: 1ex 20px 2ex 20px;">';

ลงไปแทน

แต่ปัญหาคือ ใน  index.template.php ผมไม่มี

โค้ด: [เลือก]
<table width="100%" cellpadding="0" cellspacing="0" border="0"><tr>
<td id="bodyarea" style="padding: 1ex 20px 2ex 20px;">';

อะครับ



16
จะ set ยังไงให้ สมาชิก กับ บุคคล ทั่วไปเห็น theme คนละอัน

แบบว่าพอเข้ามาเป็น บุคคลทั่วไปเห็น theme1 พอ login ก็จะเห็นเป็น theme2

ทำได้ไหมครับ

17
ช่วยมาตอบทีครับบ

18
ช่วยหน่อยจิครับ

19
สร้างไฟล์ใหม่เป็นไฟล์ .php (เช่น showtopics.php)
แล้วใส่โค้ดตามด้านบนค่ะ
เสร็จแล้วอัพไฟล์ขึ้นโฮสต์ค่ะ


อัพไว้ในไหนครับ

/forums/showtopics.php
/forums/Packages/showtopics.php
/forums/Sources/showtopics.php

อันไหนหรอครับ

20
<?php require("board/SSI.php"); ?>
<html>
<head>
<body>
 <?php ssi_recentTopics(15); ?>
</body>
</html>
เลข15คือจำนวนกระทู้ที่ต้องการจะให้โชว์
functionอื่นๆดูที่ ssi_example.php


code นี้ให้แก้ใน ssi_example.php หรือให้ สร้างไฟล์ใหม่ครับ

21
ิอ๋อๆ เข้าใจแล้วครับ ขอบคุณครับ

22
แล้ว แก้ ตรงไหน ไฟล์ไหน บรรทัด ไหน อะครับ

23
ไม่ใช่ครับ แบบว่า หมวดใหญ่  Entertainment หมวดย่อในนั้น เพลง หมวดย่อในเพลงอีก เพลงไทย เพลงสากล

อะครับ

24
สมมุติ ว่า ชื่อหมวด เพลง พอเข้ามาจะให้เลือกอีกอะครับว่า เพลงไทย เพลงสากล อะไรพวกนี้ตั้งได้ไหมครับ

25
คือว่า การตั้งค่า การอนุญาต ถ้าเราตั้งตรงช่อง บุคคลทั่วไปไม่ได้ลงทะเบียน ผมไม่ติ๊ก บุคคลทั่วไป ก็จะเข้าหมวดนั้นไม่ได้เพราะจะมองไม่เห็นหมวดนั้นใช่ปะครับ แต่ผมอยากตั้งให้เป็นแบบ มองเห็น หมวด แต่พอกดเข้าไปแล้วให้สมัครสมาชิกอ่าครับ ทำได้ไหมครับ


26
ง่า  มาช่วยผมหน่อยซิครับ

27
ใครก็ได้มาช่วยผมทีครับ  :( :(

28
ครับ ขอบคุณครับ  ;D ;D

29
ขอ คำอธิบาย มากกว่านี้ได้ไหมครับ

ใหม่กว่า แค่นี้เองหรอ  ??? ??? ???

 ;) ;)

30
ติดตั้งไม่ได้สักตัวเลยครับ มันบอกว่า

เกิดข้อผิดพลาด!
โค้ด: [เลือก]
2: fopen(): SAFE MODE Restriction in effect. The script whose uid is 8604 is not allowed to access /home/hosting/fruitcak3/public_html/forums/Packages/temp owned by uid 33
ไฟล์: /home/hosting/fruitcak3/public_html/forums/Sources/Subs-Package.php
บรรทัด: 1476

หน้า: [1] 2