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

แสดงกระทู้

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


แสดงหัวข้อ - chaotoob.com

หน้า: [1]
1
สุนัขไม่เคยต้องมีรถหรูหรา หรือบ้านหลังใหญ่ หรือเสื้อผ้าทันสมัย แค่กิ่งไม้สักท่อนก็ดีพอแล้ว สุนัขไม่แคร์ว่าเรารวยหรือจน..หลักแหลมหรือทึ่ม ฉลาดหรือโง่ เทใจให้มันมันจะเทใจคืน..มีกี่คนที่จะพูดได้ถึงแบบนั้น กี่คนที่ทำให้เรารู้สึกสำคัญ...โดดเด่นและพิเศษมีกี่คนที่ทำให้เราพิเศษสุดไม่เหมือนใคร......เจ้าตูบ

เจ้าตูบ ดอทคอม ชุมชนคนรักสุนัข เพื่อนที่ดีที่สุด

2
สุนัขไม่เคยต้องมีรถหรูหรา หรือบ้านหลังใหญ่ หรือเสื้อผ้าทันสมัย แค่กิ่งไม้สักท่อนก็ดีพอแล้ว สุนัขไม่แคร์ว่าเรารวยหรือจน..หลักแหลมหรือทึ่ม ฉลาดหรือโง่ เทใจให้มันมันจะเทใจคืน..มีกี่คนที่จะพูดได้ถึงแบบนั้น กี่คนที่ทำให้เรารู้สึกสำคัญ...โดดเด่นและพิเศษมีกี่คนที่ทำให้เราพิเศษสุดไม่เหมือนใคร......เจ้าตูบ

เจ้าตูบ ดอทคอม ชุมชนคนรักสุนัข เพื่อนที่ดีที่สุด

เจ้าตูบ ดอทคอม 

3
รับทำเว็บบอร์ด SMF ราคากันเอง สนใจ Msn มาคุยรายระเอียดได้ที่ [email protected]

เว็บหลักครับ http://www.chaotoob.com
เว็บบอร์ด SMF http://www.chaotoob.com/forum/index.php


4
ดาวน์โหลด SMF 1.1.10 และ SMF 2.0 RC1.2 เวอร์ชั่นล่าสุด(ภาษาไทย)พร้อม ดาวน์โหลดTheme
และ Mod Site ต่างๆมากมาย


ตัวติดตั้ง SMF 1.1.10smf_1-1-10_install.zip

ตัวติดตั้ง SMF 2.0-rc1-2smf_2-0-rc1-2_install.zip

ดาวน์โหลดภาษาไทย เวอร์ชั่น 1.1.10

smf_1-1-10_thai-utf8.zip

smf_1-1-10_thai.zip

ดาวน์โหลดภาษาไทย เวอร์ชั่น 2.0-rc1.2_

smf_2-0-rc1-2_thai-utf8.zip

smf_2-0-rc1-2_thai.zip

ดาวน์โหลด Theme
ดาวน์โหลด Theme

ดาวน์โหลด Mod Site
ดาวน์โหลด Mod Site

ท่านสามารถโหลดและติดตั้งได้ตามลิ้งค์ด้านบนนี้ครับ ;D

5
SMF Coding Discussion / มาทำ Enhanced Profile Header กัน
« เมื่อ: 10/08/09, 05:51:05 »
มาทำ Enhanced Profile Header แบบ Manual กัน
อ้างถึง
http://custom.simplemachines.org/mods/index.php?mod=1611

เริ่ม File Edits

เปิด ./Themes/default/index.template.php

หา Code นี้
โค้ด: [เลือก]
global $context, $settings, $options, $scripturl, $txt, $modSettings;

Copy Code นี้ไปวางทับที่ให้หา
โค้ด: [เลือก]
global $context, $settings, $options, $scripturl, $txt, $modSettings, $user_info;
หา Code นี้
โค้ด: [เลือก]
if (!empty($context['user']['avatar']))
echo '
<td class="windowbg" valign="middle">', $context['user']['avatar']['image'], '</td>';

echo '
<td colspan="2" width="100%" valign="top" class="windowbg2"><span class="middletext">';

// If the user is logged in, display stuff like their name, new messages, etc.
if ($context['user']['is_logged'])
{
echo '
<a href="', $scripturl, '?action=unread">', $txt['unread_since_visit'], '</a> <br />
<a href="', $scripturl, '?action=unreadreplies">', $txt['show_unread_replies'], '</a><br />';

}
// Otherwise they're a guest - send them a lovely greeting...
else
echo $txt['welcome_guest'];

// Now, onto our second set of info, are they logged in again?
if ($context['user']['is_logged'])
{
// Is the forum in maintenance mode?
if ($context['in_maintenance'] && $context['user']['is_admin'])
echo '
<b>', $txt[616], '</b><br />';

// Are there any members waiting for approval?
if (!empty($context['unapproved_members']))
echo '
', $context['unapproved_members'] == 1 ? $txt['approve_thereis'] : $txt['approve_thereare'], ' <a href="', $scripturl, '?action=viewmembers;sa=browse;type=approve">', $context['unapproved_members'] == 1 ? $txt['approve_member'] : $context['unapproved_members'] . ' ' . $txt['approve_members'], '</a> ', $txt['approve_members_waiting'], '<br />';

// Show the total time logged in?
if (!empty($context['user']['total_time_logged_in']))
{
echo '
', $txt['totalTimeLogged1'];

// If days is just zero, don't bother to show it.
if ($context['user']['total_time_logged_in']['days'] > 0)
echo $context['user']['total_time_logged_in']['days'] . $txt['totalTimeLogged2'];

// Same with hours - only show it if it's above zero.
if ($context['user']['total_time_logged_in']['hours'] > 0)
echo $context['user']['total_time_logged_in']['hours'] . $txt['totalTimeLogged3'];

// But, let's always show minutes - Time wasted here: 0 minutes ;).
echo $context['user']['total_time_logged_in']['minutes'], $txt['totalTimeLogged4'], '<br />';
}
echo ' </span>';
}
// Otherwise they're a guest - this time ask them to either register or login - lazy bums...

Copy Code นี้ไปวางทับที่ให้หา
โค้ด: [เลือก]
if (!empty($context['user']['avatar']))
echo '
<td class="windowbg" valign="middle"><a href="', $scripturl, '?action=profile">', $context['user']['avatar']['image'], '</a></td>';

echo '
<td colspan="2" width="30%" valign="top" class="windowbg2"><span class="middletext">';

// If the user is logged in, display stuff like their name, new messages, etc.
if ($context['user']['is_logged'])
{       
echo '
<a href="', $scripturl, '?action=unread">', $txt['unread_since_visit'], '</a> <br />
<a href="', $scripturl, '?action=unreadreplies">', $txt['show_unread_replies'], '</a><br />
<a href="'.$scripturl.'?action=profile;sa=showPosts">'.$txt['own_posts'].'</a><br />';
if ($context['allow_pm'])
        echo'
'.$txt[144].' : <a href="', $scripturl, '?action=pm">', $context['user']['messages'], ' ', $context['user']['messages'] != 1 ? $txt[471] : $txt[153], '</a>', $txt['newmessages4'], ' ', $context['user']['unread_messages'], ' ', $context['user']['unread_messages'] == 1 ? $txt['newmessages0'] : $txt['newmessages1'];
    echo'<br />';
if (!empty($user_info['last_login']))
echo '      '.$txt['last_login'].': '.timeformat($user_info['last_login']), '<br />';
}
// Otherwise they're a guest - send them a lovely greeting...
else
echo $txt['welcome_guest'];

// Now, onto our second set of info, are they logged in again?
if ($context['user']['is_logged'])
{
// Is the forum in maintenance mode?
if ($context['in_maintenance'] && $context['user']['is_admin'])
echo '
<b>', $txt[616], '</b><br />';

// Are there any members waiting for approval?
if (!empty($context['unapproved_members']))
echo '
', $context['unapproved_members'] == 1 ? $txt['approve_thereis'] : $txt['approve_thereare'], ' <a href="', $scripturl, '?action=viewmembers;sa=browse;type=approve">', $context['unapproved_members'] == 1 ? $txt['approve_member'] : $context['unapproved_members'] . ' ' . $txt['approve_members'], '</a> ', $txt['approve_members_waiting'], '<br />';

echo'<hr>
<div align="center"><a href="'.$scripturl.'?action=profile">'.$txt['your_profile'].'</a> | <a href="'.$scripturl . '?action=markasread;sa=all;sesc=' . $context['session_id'],'">'.$txt[452].'</a> | <a href="', $scripturl, '?action=logout;sesc=', $context['session_id'], '">' , $txt[108] , '</a></div>

</span>
<td colspan="2" width="100%" valign="top" class="windowbg2"><span class="middletext">
<b>'.$txt['my_stats'].':</b><br />
&raquo; '.$txt['you_have'].' <b>'.$user_info['posts'].'</b> '.$txt[21].'<br />
&raquo; ';
        // Show the total time logged in?
if (!empty($context['user']['total_time_logged_in']))
{
echo '
', $txt['totalTimeLogged1'];

// If days is just zero, don't bother to show it.
if ($context['user']['total_time_logged_in']['days'] > 0)
echo $context['user']['total_time_logged_in']['days'] . $txt['totalTimeLogged2'];

// Same with hours - only show it if it's above zero.
if ($context['user']['total_time_logged_in']['hours'] > 0)
echo $context['user']['total_time_logged_in']['hours'] . $txt['totalTimeLogged3'];

// But, let's always show minutes - Time wasted here: 0 minutes ;).
echo $context['user']['total_time_logged_in']['minutes'], $txt['totalTimeLogged4'], '<br />';
}
echo'
<hr>
<b>', $txt[645], ':</b><br />
&raquo; ', $context['common_stats']['total_posts'], ' ', $txt[95], ' ', $txt['smf88'], ' ', $context['common_stats']['total_topics'], ' ', $txt[64], ' ', $txt[525], ' ', $context['common_stats']['total_members'], ' ', $txt[19], '.<br />
&raquo; ', ($settings['show_latest_member'] ? '' . $txt[201] . ' <b>' . $context['common_stats']['latest_member']['link'] . '</b>' . $txt[581] : '');
echo '</span></td>';
}
// Otherwise they're a guest - this time ask them to either register or login - lazy bums...

เปิด ./Themes/default/languages/Modifications.english.php

หา Code นี้
โค้ด: [เลือก]
?>
Copy Code นี้ไปวางก่อนหน้าที่ให้หา
โค้ด: [เลือก]
$txt['my_stats'] = 'My Stats';
$txt['you_have'] = 'You have';
$txt['own_posts'] = 'Show Own Posts';
$txt['last_login'] = 'Last Login';
$txt['your_profile'] = 'Your Profile';

เปิด ./Themes/default/languages/Modifications.thai-utf8.php หรือ Modifications.thai.php
หา Code นี้
โค้ด: [เลือก]
?>
Copy Code นี้ไปวางก่อนหน้าที่ให้หา
โค้ด: [เลือก]
$txt['my_stats'] = 'My Stats';
$txt['you_have'] = 'You have';
$txt['own_posts'] = 'Show Own Posts';
$txt['last_login'] = 'Last Login';
$txt['your_profile'] = 'Your Profile';

เป็นอันเสร็จสิ้นก็จะได้แบบนี้

6
SMF Coding Discussion / มาทำปุ่ม YouTube BBCode กัน
« เมื่อ: 10/08/09, 03:47:41 »
มาทำปุ่ม YouTube BBCode  ติดตั้งแบบ manual
อ้างถึง
http://custom.simplemachines.org/mods/index.php?mod=936

เริ่มกันเลย

File Edits

เปิด ./Sources/Subs.php

หา Code นี้
โค้ด: [เลือก]
array(
'tag' => 'white',
'before' => '<span style="color: white;">',
'after' => '</span>',
),

Copy Code นี้ไปวางไว้หลังที่ให้หา

โค้ด: [เลือก]
array(
'tag' => 'youtube',
'type' => 'unparsed_content',
'validate' => create_function('&$tag, &$data, $disabled', '
// Access globals
global $txt, $context;
// Determine which variable is the link
$link = !is_array($data) ? $data : $data[0] ;
// Remove linebreaks & trim
$link = trim(strtr($link, array(\'<br />\' => \'\')));
// Parse the ID of video or playlist safely
if  (preg_match(\'~^(?:http://((?:www|au|br|ca|es|fr|de|hk|ie|in|il|it|jp|kr|mx|nl|nz|pl|ru|tw|uk)\.)?youtube\.com/(?:[^"]*?)(?:(?:video_)?id=|(?:v|p)(?:/|=)))?([0-9a-f]{16}|[0-9a-z-_]{11})~i\'.($context[\'utf8\'] ? \'u\' : \'\'), $link, $matches))
{
// Localised youtube site?  If not use www.
$site = !empty($matches[1]) ? strtolower($matches[1]) : \'www.\' ;
// Video or Playlist ID?
$type = strlen($matches[2]) == 11 ? 1 : 0 ;
// Set sizes Or Normalise sizes (If sizes are <100 or > 780)
if(!is_array($data) || ($data[1] > 780 || $data[1] < 100 || $data[2] > 780 || $data[2] < 100))
$data = array(0, 425, ($type ? 350 : 355));
// Set ID in the array
$data[0] = $matches[2];
// Tidy up
unset($matches, $link);

// Set the Content (With conditions on disabled types of BBCode)
if (isset($disabled[\'url\']) && isset($disabled[\'youtube\']))
// Youtube & Url bbc disabled? (eg Printer friendly pages)
$tag[\'content\'] = "http://". $site ."youtube.com/". ($type ? "watch?v" : "view_play_list?p") ."=". $data[0];
elseif(isset($disabled[\'youtube\']))
// Only Youtube is disabled, So make an active link
$tag[\'content\'] = "<a href=\"http://". $site ."youtube.com/". ($type ? "watch?v" : "view_play_list?p") ."=". $data[0]."\" target=\"_blank\">http://". $site ."youtube.com/". ($type ? "watch?v" : "view_play_list?p") ."=". $data[0]."</a>";
else
{
// Empty content
$tag[\'content\'] = \'\';

// Build the <object> (Non-Mac IE Only)
if($context[\'browser\'][\'is_ie\'] && !$context[\'browser\'][\'is_mac_ie\'])
$tag[\'content\'] = \'<object width="\'.$data[1].\'px" height="\'.$data[2].\'px">\'
.\'<param name="movie" value="http://www.youtube.com/\'.($type ? "v" : "p").\'/\'.$data[0].\'&amp;rel=1&amp;fs=1" />\'
.\'<param name="wmode" value="transparent" /><param name="allowFullScreen" value="true" />\'
.\'<param name="allowScriptAccess" value="never" />\';
// Build the <embed>
$tag[\'content\'] .= \'<embed src="http://www.youtube.com/\'.($type ? "v" : "p").\'/\'.$data[0].\'&amp;rel=1&amp;fs=1" \'
.\'type="application/x-shockwave-flash" allowFullScreen="true" allowScriptAccess="never" \'
.\'wmode="transparent" width="\'.$data[1].\'px" height="\'.$data[2].\'px">\';
// Build the <noembed>
$tag[\'content\'] .= "<noembed><a href=\"http://". $site ."youtube.com/". ($type ? "watch?v" : "view_play_list?p" ) ."=". $data[0]."\" target=\"_blank\">http://". $site ."youtube.com/". ($type ? "watch?v" : "view_play_list?p") ."=". $data[0]."</a></noembed>";
// Closing <embed>
$tag[\'content\'] .= \'</embed>\';
// Close the <object> (Non-Mac IE Only)
if($context[\'browser\'][\'is_ie\'] && !$context[\'browser\'][\'is_mac_ie\'])
$tag[\'content\'] .= \'</object>\';
}
}
else
// Invalid link
$tag[\'content\'] = $txt[\'youtube_invalid\'];
'),
'disabled_content' => '$1',
            ),

หา Code นี้

โค้ด: [เลือก]
$disabled['email'] = true;
$disabled['flash'] = true;


Copy Code นี้ไปวางไว้หลังที่ให้หา

โค้ด: [เลือก]
// Disable youtube if on 'printer friendly page'
$disabled['youtube'] = true;

เปิด ./Themes/default/Post.template.php

หา Code นี้

โค้ด: [เลือก]
'flash' => array('code' => 'flash',
Copy Code นี้ไปวางก่อนหน้าที่ให้หา

โค้ด: [เลือก]
'youtube' => array('code' => 'youtube', 'before' => '[youtube]', 'after' => '[/youtube]', 'description' => $txt['youtube']),

เปิด ./Themes/default/languages/Modifications.english.php

หา Code นี้

โค้ด: [เลือก]
?>
Copy Code นี้ไปวางก่อนหน้าที่ให้หา

โค้ด: [เลือก]
$txt['youtube'] = 'YouTube';
$txt['youtube_invalid'] = '#Invalid YouTube Link#';

สุดท้ายCopy Icon "youtube.gif" ไปไว้ใน"./Themes/default/images/bbc ก็เป็นอันเสร็จสิ้น

ก็จะได้แบบนี้

7
สุนัขไม่เคยต้องมีรถหรูหรา หรือบ้านหลังใหญ่ หรือเสื้อผ้าทันสมัย แค่กิ่งไม้สักท่อนก็ดีพอแล้ว สุนัขไม่แคร์ว่าเรารวยหรือจน..หลักแหลมหรือทึ่ม ฉลาดหรือโง่ เทใจให้มันมันจะเทใจคืน..มีกี่คนที่จะพูดได้ถึงแบบนั้น กี่คนที่ทำให้เรารู้สึกสำคัญ...โดดเด่นและพิเศษมีกี่คนที่ทำให้เราพิเศษสุดไม่เหมือนใคร......เจ้าตูบ

เจ้าตูบ ดอทคอม ชุมชนคนรักสุนัข เพื่อนที่ดีที่สุด

เจ้าตูบ ดอทคอม

8
สุนัขไม่เคยต้องมีรถหรูหรา หรือบ้านหลังใหญ่ หรือเสื้อผ้าทันสมัย แค่กิ่งไม้สักท่อนก็ดีพอแล้ว สุนัขไม่แคร์ว่าเรารวยหรือจน..หลักแหลมหรือทึ่ม ฉลาดหรือโง่ เทใจให้มันมันจะเทใจคืน..มีกี่คนที่จะพูดได้ถึงแบบนั้น กี่คนที่ทำให้เรารู้สึกสำคัญ...โดดเด่นและพิเศษมีกี่คนที่ทำให้เราพิเศษสุดไม่เหมือนใคร......เจ้าตูบ

 เจ้าตูบ ดอทคอม ชุมชนคนรักสุนัข เพื่อนที่ดีที่สุด

9
ยังไม่ทันไร SMF 1.1.10 ก็ออกมาอีกแล้วครับท่าน ทุกท่านคงจะมีงานเข้าอีกแล้ว อะคิคิ ;D

10
สุนัขไม่เคยต้องมีรถหรูหรา หรือบ้านหลังใหญ่ หรือเสื้อผ้าทันสมัย แค่กิ่งไม้สักท่อนก็ดีพอแล้ว สุนัขไม่แคร์ว่าเรารวยหรือจน..หลักแหลมหรือทึ่ม ฉลาดหรือโง่ เทใจให้มันมันจะเทใจคืน..มีกี่คนที่จะพูดได้ถึงแบบนั้น กี่คนที่ทำให้เรารู้สึกสำคัญ...โดดเด่นและพิเศษมีกี่คนที่ทำให้เราพิเศษสุดไม่เหมือนใคร......เจ้าตูบ

http://www.chaotoob.com เจ้าตูบ ดอทคอม ชุมชนคนรักสุนัข เพื่อนที่ดีที่สุด

11
สุนัขไม่เคยต้องมีรถหรูหรา หรือบ้านหลังใหญ่ หรือเสื้อผ้าทันสมัย แค่กิ่งไม้สักท่อนก็ดีพอแล้ว สุนัขไม่แคร์ว่าเรารวยหรือจน..หลักแหลมหรือทึ่ม ฉลาดหรือโง่ เทใจให้มันมันจะเทใจคืน..มีกี่คนที่จะพูดได้ถึงแบบนั้น กี่คนที่ทำให้เรารู้สึกสำคัญ...โดดเด่นและพิเศษมีกี่คนที่ทำให้เราพิเศษสุดไม่เหมือนใคร......เจ้าตูบ

http://www.chaotoob.com เจ้าตูบ ดอทคอม ชุมชนคนรักสุนัข เพื่อนที่ดีที่สุด

12
สุนัขไม่เคยต้องมีรถหรูหรา หรือบ้านหลังใหญ่ หรือเสื้อผ้าทันสมัย แค่กิ่งไม้สักท่อนก็ดีพอแล้ว สุนัขไม่แคร์ว่าเรารวยหรือจน..หลักแหลมหรือทึ่ม ฉลาดหรือโง่ เทใจให้มันมันจะเทใจคืน..มีกี่คนที่จะพูดได้ถึงแบบนั้น กี่คนที่ทำให้เรารู้สึกสำคัญ...โดดเด่นและพิเศษมีกี่คนที่ทำให้เราพิเศษสุดไม่เหมือนใคร......

http://www.chaotoob.com

13
Showcase / เจ้าตูบ ดอทคอม Chaotoob.com
« เมื่อ: 24/06/09, 01:26:24 »
เว็บชุมชนคนรักเจ้าตูบ เว็บบอร์ดพูดคุย โชว์รูปน้องหมาที่ท่านรัก แลกเปลี่ยนความรู้เรื่องราวของเจ้าตูบ ;D

ถาม - ตอบ เรื่องต่างๆ ของเจ้าตูบ แวะมาได้ที่ http://www.chaotoob.com (จะดีอย่างยิ่งหากไม่ลืมสมัครสมาชิกน๊า)

14
Showcase / ชุมชนคนรักน้องหมา
« เมื่อ: 2/06/09, 01:15:15 »
เว็บคนรักสุนัขจ้า เปิดตัววันแรกยังไม่เรียบร้อยดีน๊า

เลยมาขอความคิดเห็น เพื่อนๆ พี่ๆ ให้คำแนะนำ เพื่อเป็นแนวทาง

ที่จะพัฒนาต่อไป หวังว่าทุกๆคนคงช่วยแนะนำด้วยน๊า

(อย่าลืมสมัครสมาชิกด้วยเน้อ http://www.chaotoob.com  เจ้าตูบจ้า)

หน้า: [1]