22 พฤษภาคม 2555, 15:41:15
ยินดีต้อนรับผู้เยี่ยมชม
  • noavata
  • ยินดีต้อนรับคุณ, ผู้เยี่ยมชม กรุณา เข้าสู่ระบบ หรือ ลงทะเบียน
    เข้าสู่ระบบด้วยชื่อผู้ใช้ รหัสผ่าน และระยะเวลาในเซสชั่น
Page Rank

ทำเว็บไซต์ | แต่งบอร์ด | ออกแบบ | SMF | Joomla | Drupal | WordPress | JQuery | CMS | ECommerce | Tel. +668-08577477

ส่งหัวข้อนี้พิมพ์ หน้า: 1 
icon message ผู้เขียน หัวข้อ: User Control Panel อีกรูปแบบของข้อมูลส่วนตัว  (อ่าน 1600 ครั้ง)
0 สมาชิก และ 1 ผู้เยี่ยมชม กำลังดูหัวข้อนี้
*
*


!Personal

Germany   ชาย ผู้เริ่มต้นกระทู้นี้ ออฟไลน์544566157 DexMore DexMore DexMore
เว็บไซต์
  • ชื่อ: User Control Panel
  • ผู้เขียน: Alan S
  • นำเสนอโดย: DexMoreGroup
  • ประเภท: Feature Enhancement
  • รองรับ: SMF 1.1.xx, 2.0.xx
  • ปรับปรุงล่าสุด: 30 ตุลาคม 2551
  • ต้นฉบับ: User Control Panel

รายละเอียด
      รูปแบบของหน้าข้อมูลส่วนตัวที่แตกต่างออกไป ดูดีมีสีสรรมากขึ้นและเพิ่มความสามารถจากเดิมดังนี้
  • สามารถเพิ่มฟิลด์ในข้อมูลส่วนตัวได้
  • อนุญาตให้ผู้ใช้ส่ง e-mail ถึงผู้บริหารฟอรั่ม
  • แสดงเมนูต่างด้วยไอค่อน

ตัวอย่าง


แก้ไขไฟล์:

file $boarddir/index.php

ค้นหา -->>
โค๊ด: [Select]
'activate' => array('Register.php', 'Activate'),

เพิ่มไว้ก่อน -->>
โค๊ด: [Select]
'usercp' => array('usercp.php', 'usercp'),

file $themedir/index.template.php

ค้นหา -->>
โค๊ด: [Select]
// Show the menu up top. Something like [home] [help] [profile] [logout]...
function template_menu()
{
global $context,

แก้เป็น -->>
โค๊ด: [Select]
// Show the menu up top. Something like [home] [help] [profile] [logout]...
function template_menu()
{
global $context, $ID_MEMBER, $modSettings,

ค้นหา -->>
โค๊ด: [Select]
if ($context['current_action'] == 'search2')

เพิ่มไว้ก่อน -->>
โค๊ด: [Select]
if ($context['current_action'] == 'usercp')
$current_action = 'profile';

ค้นหา -->>
โค๊ด: [Select]
$current_action = 'admin';
if (in_array($context['current_action'], array(

เพิ่มไว้หลัง -->>
โค๊ด: [Select]
'usercp',

ค้นหา -->>
โค๊ด: [Select]
// Edit Profile... [profile]
if ($context['allow_edit_profile'])
echo ($current_action == 'profile' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'profile' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=profile">' , $txt[79] , '</a>
</td>' , $current_action == 'profile' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';

แก้เป็น -->>
โค๊ด: [Select]
// Edit Profile... [profile] if usercp is enabled
if ($context['allow_edit_profile'] && $modSettings['usercp_enable'])
echo ($current_action == 'profile' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'profile' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=usercp;u=',$ID_MEMBER,'">' , $txt['usercp'] , '</a>
           </td>' , $current_action == 'profile' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';
    //Edit Profile... [profile] if usercp is disabled
    if ($context['allow_edit_profile'] && !$modSettings['usercp_enable'])
    echo ($current_action == 'profile' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'profile' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=profile">' , $txt[79] , '</a>
           </td>' , $current_action == 'profile' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';

file $sourcedir/ModSettings.php

ค้นหา -->>
โค๊ด: [Select]
);

// By default do the basic settings.
$_REQUEST['sa'] = isset($_REQUEST['sa']) && isset($subActions[$_REQUEST['sa']]) ? $_REQUEST['sa'] : 'basic';
$context['sub_action'] = $_REQUEST['sa'];

เพิ่มไว้ก่อน -->>
โค๊ด: [Select]
// --- Begin modification - SMFBlog ---
'usercp' => 'ModifyUserCPSettings',
// --- End modification ---

ค้นหา -->>
โค๊ด: [Select]
'karma' => array(
'title' => $txt['smf293'],
'href' => $scripturl . '?action=featuresettings;sa=karma;sesc=' . $context['session_id'],
'is_last' => true,
),

เพิ่มไว้ก่อน -->>
โค๊ด: [Select]
// --- Begin modification - UserCP ---
'usercp' => array(
'title' => $txt['usercp'],
'href' => $scripturl . '?action=featuresettings;sa=usercp;sesc=' . $context['session_id'],
),
// --- End modification ---

ค้นหา -->>
โค๊ด: [Select]
);

// Default to core (I assume)
$_REQUEST['sa'] = isset($_REQUEST['sa']) && isset($subActions[$_REQUEST['sa']]) ? $_REQUEST['sa'] : 'basic';

เพิ่มไว้ก่อน -->>
โค๊ด: [Select]
// --- Begin modification - UserCP ---
'usercp' => 'ModifyUserCPSettings',
// --- End modification ---

ค้นหา -->>
โค๊ด: [Select]
?>

เพิ่มไว้ก่อน -->>
ขออภัย! ท่านไม่สามารถเข้าถึงข้อมูลส่วนนี้ได้ กรุณาอ่าน เงื่อนไขการใช้งาน DexMore.Com

file $themedir/languages/Modifications.thai-utf8.php

เพิ่ม -->>
โค๊ด: [Select]
$txt['usercp'] = 'User CP';
$txt['usercp_account_info'] = 'My Account Information';
$txt['usercp_account_info_summary'] = 'Click here if you want to change your account related information such as username, email, password or other sensitive details.';
$txt['usercp_look_and_layout'] = 'Look & Layout Options';
$txt['usercp_look_and_layout_summary'] = 'Click here to change the way the forum looks for you, options include the look and layout for the boards and posts.';
$txt['usercp_my_theme'] = 'My Theme';
$txt['usercp_my_theme_summary'] = 'This screen will allow you to set your default theme which you wish to use every time you login.';
$txt['usercp_my_profile'] = 'My Profile';
$txt['usercp_my_profile_summary'] = 'Click here to change the way your profile looks and appears to everyone.';
$txt['usercp_my_stats'] = 'My Stats';
$txt['usercp_my_stats_summary'] = 'Here you can check how many posts you have made and other activity related info.';
$txt['usercp_my_posts'] = 'My Posts';
$txt['usercp_my_posts_summary'] = 'This option will show you all the posts you have made since you became a member of this site.';
$txt['usercp_my_notifications'] = 'My Notifications';
$txt['usercp_my_notifications_summary'] = 'This screen will allow you to change the type and frequency of notifications you get via e-mail when participating in threads.';
$txt['usercp_buddies'] = 'Buddies';
$txt['usercp_buddies_summary'] = 'This screen will allow you to select buddies to add to your list.';
$txt['usercp_message_options'] = 'My Message Options';
$txt['usercp_message_options_summary'] = 'This screen will allow you to set your preferences for PMs received on the board and also allow you to ignore people you do not wish to receive PMs from.';
$txt['usercp_search'] = 'Search';
$txt['usercp_search_summary'] = 'This screen will allow you to search for posts made in the board.';
$txt['usercp_contact_admin'] = 'Contact Admin';
$txt['usercp_contact_admin_summary'] = 'Confused? or have a quirey? Contact the admin at this screen';
$txt['usercp_guest'] = 'Sorry Guest , You are not allowed to access the User CP , Please';
$txt['usercp_login'] = 'Login';
$txt['usercp_or'] = 'or';
$txt['usercp_register'] = 'Register';
$txt['usercp_copyright'] = 'User Cp V2.0 | Created By Alan S';
$txt['usercp_welcome'] = 'Welcome ';
$txt['usercp_delete_account'] = 'Delete My Account';
$txt['usercp_delete_account_summary'] = 'Tired of the site? Use this option to delete your member account.';
$txt['usercp_error'] = 'Error!';
$txt['usercp_enable'] = 'Enable User Control Panel';
$txt['usercp_disabled'] = 'User Control Panel Disabled';
$txt['usercp_clickhere'] = 'Click Here To Go To The ';
$txt['usercp_profile'] = 'Profile Screen';
$txt['usercp_field1image'] = 'Custom UserCP Field 1 Image';
$txt['usercp_field1url'] = 'URL';
$txt['usercp_field1maintext'] = 'Main Text ( eg. My Posts )';
$txt['usercp_field1summary'] = 'Summary Text';
$txt['usercp_field1enable'] = 'Enable 1st Custom UserCP Field';
$txt['usercp_field2image'] = 'Custom UserCP Field 2 Image';
$txt['usercp_field2url'] = 'URL';
$txt['usercp_field2maintext'] = 'Main Text ( eg. My Posts )';
$txt['usercp_field2summary'] = 'Summary Text';
$txt['usercp_field2enable'] = 'Enable 2nd Custom UserCP Field';
$txt['usercp_field3image'] = 'Custom UserCP Field 3 Image';
$txt['usercp_field3url'] = 'URL';
$txt['usercp_field3maintext'] = 'Main Text ( eg. My Posts )';
$txt['usercp_field3summary'] = 'Summary Text';
$txt['usercp_field3enable'] = 'Enable 3rd Custom UserCP Field';
$txt['usercp_field4image'] = 'Custom UserCP Field 4 Image';
$txt['usercp_field4url'] = 'URL';
$txt['usercp_field4maintext'] = 'Main Text ( eg. My Posts )';
$txt['usercp_field4summary'] = 'Summary Text';
$txt['usercp_field4enable'] = 'Enable 4th Custom UserCP Field';
$txt['usercp_usepm'] = 'Use PM instead of email to contact admin';
$txt['usercp_adminid'] = 'Enter id of Admin here ( Look at a link in your profile to find it , ?action=profile;u=x )';
$txt['usercp_switchview'] = 'Allow users to switch to standard profile view';
$txt['usercp_enablecontactadmin'] = 'Enable Contacting Of Admin Via UserCP';

ดาวน์โหลด: UserCP.rar
ขออภัย! ท่านไม่สามารถเข้าถึงข้อมูลส่วนนี้ได้ กรุณาอ่าน เงื่อนไขการใช้งาน DexMore.Com

แตกไฟล์แล้วอัพโหลดไปไว้ที่
folder usercp -->> $themesdir/images
file usercp.php -->> $sourcedir
file usercp.template.php -->> $themesdir/default

การตั้งค่า: ผู้ดูแล -->> ส่วนปรับแต่งค่าการใช้งาน -->> User CP
ขออภัย! ท่านไม่สามารถเข้าถึงข้อมูลส่วนนี้ได้ กรุณาอ่าน เงื่อนไขการใช้งาน DexMore.Com

ลิงค์หัวข้อ: http://dexmore.com/topic/1951
Windows XP    Firefox 3.6.3   see ip บันทึกการเข้า
ดูรายการสิ่งของสำหรับบอกรักใครสักคน ก็ส่งไปให้เขาเลย!  สำหรับติดหมุดกระทู้ของคุณ!  เพิ่มเวลาที่อยู่ในระบบอีก 12 ชั่วโมง  น้องหมี..เอาไว้กอดนอนแทนกิ๊ก  สำหรับบอกรักใครสักคน ก็ส่งไปให้เขาเลย!  
*
*


!Personal

Germany   ชาย ผู้เริ่มต้นกระทู้นี้ ออฟไลน์544566157 DexMore DexMore DexMore
เว็บไซต์
icon message
general ความคิดเห็นที่ 1 เมื่อ: 25 มิถุนายน 2553, 13:35:04
สำหรับ SMF 2.0.xx

แก้ไขไฟล์:

file $boarddir/index.php

ค้นหา -->>
โค๊ด: [Select]
'activate' => array('Register.php', 'Activate'),

เพิ่มไว้หลัง -->>
โค๊ด: [Select]
'usercp' => array('usercp.php', 'usercp'),

file $themedir/index.template.php

ค้นหา -->>
โค๊ด: [Select]
// Initialize the template... mainly little settings.
function template_init()
{
global $context, $settings, $options, $txt;

เพิ่มไว้หลัง -->>
โค๊ด: [Select]
loadLanguage('usercp');

file $sourcedir/Subs.php

ค้นหา -->>
โค๊ด: [Select]
// Set up the menu privileges.
$context['allow_search'] = allowedTo('search_posts');
$context['allow_admin'] = allowedTo(array('admin_forum', 'manage_boards', 'manage_permissions', 'moderate_forum', 'manage_membergroups', 'manage_bans', 'send_mail', 'edit_news', 'manage_attachments', 'manage_smileys'));
$context['allow_edit_profile'] = !$user_info['is_guest'] && allowedTo(array('profile_view_own', 'profile_view_any', 'profile_identity_own', 'profile_identity_any', 'profile_extra_own', 'profile_extra_any', 'profile_remove_own', 'profile_remove_any', 'moderate_forum', 'manage_membergroups'));

แก้เป็น -->>
โค๊ด: [Select]
// Set up the menu privileges.
$context['allow_search'] = allowedTo('search_posts');
$context['allow_admin'] = allowedTo(array('admin_forum', 'manage_boards', 'manage_permissions', 'moderate_forum', 'manage_membergroups', 'manage_bans', 'send_mail', 'edit_news', 'manage_attachments', 'manage_smileys'));
$context['usercp_enable'] = !$user_info['is_guest'] && $modSettings['usercp_enable'] && allowedTo(array('profile_view_own', 'profile_view_any', 'profile_identity_own', 'profile_identity_any', 'profile_extra_own', 'profile_extra_any', 'profile_remove_own', 'profile_remove_any', 'moderate_forum', 'manage_membergroups'));
  $context['allow_edit_profile'] = !$user_info['is_guest'] && !$modSettings['usercp_enable'] && allowedTo(array('profile_view_own', 'profile_view_any', 'profile_identity_own', 'profile_identity_any', 'profile_extra_own', 'profile_extra_any', 'profile_remove_own', 'profile_remove_any', 'moderate_forum', 'manage_membergroups'));

ค้นหา -->>
โค๊ด: [Select]
'pm' => array(

เพิ่มไว้ก่อน -->>
โค๊ด: [Select]
        'usercp' => array(
'title' => $txt['usercp'],
'href' => $scripturl . '?action=usercp',
'show' => $context['usercp_enable'],
'sub_buttons' => array(
),
),

file $sourcedir/Admin.php

ค้นหา -->>
โค๊ด: [Select]
loadLanguage('Admin');

เพิ่มไว้หลัง -->>
โค๊ด: [Select]

loadLanguage('usercp');

ค้นหา -->>
โค๊ด: [Select]
// Mod Authors for a "ADD AFTER" on this line. Ensure you end your change with a comma. For example:

เพิ่มไว้ก่อน -->>
โค๊ด: [Select]
'usercp' => array($txt['usercp']),

file $sourcedir/ManageSettings.php

ค้นหา -->>
โค๊ด: [Select]
// Mod authors, once again, if you have a whole section to add do it AFTER this line, and keep a comma at the end.

เพิ่มไว้หลัง -->>
โค๊ด: [Select]
'usercp' => 'ModifyUserCPSettings',

ค้นหา -->>
โค๊ด: [Select]
?>

เพิ่มไว้ก่อน -->>
โค๊ด: [Select]
function ModifyUserCPSettings($return_config = false)
{
global $txt, $scripturl, $context, $settings, $sc;

$config_vars = array(
array('check', 'usercp_enable'),
           array('check', 'usercp_switchview'),
           array ('check', 'usercp_enablecontactadmin'),
           array('check', 'usercp_usepm'),
           array('text', 'usercp_adminid'),
           array('text', 'usercp_contact_email'),
            '',
           array ('check', 'usercp_enable_account'),
           array ('check', 'usercp_enable_layout'),
           array ('check', 'usercp_enable_theme'),
           array ('check', 'usercp_enable_profile'),
           array ('check', 'usercp_enable_stats'),
           array ('check', 'usercp_enable_contributions'),
           array ('check', 'usercp_enable_notifications'),
           array ('check', 'usercp_enable_buddies'),
           array ('check', 'usercp_enable_message_options'),
           array ('check', 'usercp_enable_search'),
           array ('check', 'usercp_enable_delete'),
           array ('check', 'usercp_enable_authentication'),
           array ('check', 'usercp_enable_group_membership'),
           array ('check', 'usercp_enable_ignore_boards'),
            '',
             array('text', 'usercp_field1image'),
             array('text', 'usercp_field1url'),
             array('text', 'usercp_field1maintext'),
             array('text', 'usercp_field1summary'),
             array('check', 'usercp_field1enable'),
             '',
             array('text', 'usercp_field2image'),
             array('text', 'usercp_field2url'),
             array('text', 'usercp_field2maintext'),
             array('text', 'usercp_field2summary'),
             array('check', 'usercp_field2enable'),
             '',
             array('text', 'usercp_field3image'),
             array('text', 'usercp_field3url'),
             array('text', 'usercp_field3maintext'),
             array('text', 'usercp_field3summary'),
             array('check', 'usercp_field3enable'),
             '',
             array('text', 'usercp_field4image'),
             array('text', 'usercp_field4url'),
             array('text', 'usercp_field4maintext'),
             array('text', 'usercp_field4summary'),
             array('check', 'usercp_field4enable'),
             '',
   
);

if ($return_config)
return $config_vars;

// Saving?
if (isset($_GET['save']))
{
checkSession();

saveDBSettings($config_vars);
redirectexit('action=admin;area=modsettings;sa=usercp');
}

$context['post_url'] = $scripturl . '?action=admin;area=modsettings;save;sa=usercp';
$context['settings_title'] = $txt['usercp'];

prepareDBSettingContext($config_vars);
}

ดาวน์โหลด: UserCP2.rar
ขออภัย! ท่านไม่สามารถเข้าถึงข้อมูลส่วนนี้ได้ กรุณาอ่าน เงื่อนไขการใช้งาน DexMore.Com

แตกไฟล์แล้วอัพโหลดไปไว้ที่
folder usercp -->> $imagesdir
file usercp.php -->> $sourcedir
file usercp.template.php -->> $themedir
file name="usercp.english.php -->> $languagedir
file name="usercp.thai-utf8.php -->> $languagedir

สร้างไฟล์: install.php เพื่อสร้างฐานข้อมูล ไว้ใน $boarddir (ที่เดียวกับไฟล์ SSI.php) รัน http://www.your_url.xxx/$boarddir/install.php -->> Enter เสร็จแล้วลบทิ้ง
โค๊ด: [Select]
<?php

function doSettings($addSettings$smf2 true)
{
   global 
$smcFunc$db_prefix;

   
$update = array();

   foreach (
$addSettings as $variable => $s)
   {
      list (
$value$overwrite) = $s;

      
$result $smcFunc['db_query']('''
         SELECT value
         FROM {db_prefix}settings
         WHERE variable = {string:variable}'
,
         array(
            
'variable' => $variable,
         )
      );

      if (
$smcFunc['db_num_rows']($result) == || $overwrite == false)
         
$update[$variable] = $value;
   }

   if (!empty(
$update))
      
updateSettings($update);
}

// USAGE
$addSettings = array(
   
'usercp_enable' => array(1false),
    
'usercp_enablecontactadmin' => array(1false),
    
'usercp_switchview' => array(1false),
    
'usecp_showadminid' => array(1false),
    
'usercp_contact_email' => array('Your Email Here'false),
    
'usercp_usepm' => array(0false),
    
'usercp_adminid' => array('1'false),
    
'usercp_enable_account' => array(1false),
    
'usercp_enable_layout' => array(1false),
    
'usercp_enable_theme' => array(1false),
    
'usercp_enable_profile' => array(1false),
    
'usercp_enable_stats' => array(1false),
    
'usercp_enable_contributions' => array(1false),
    
'usercp_enable_notifications' => array(1false),
    
'usercp_enable_buddies' => array(1false),
    
'usercp_enable_message_options' => array(1false),
    
'usercp_enable_search' => array(1false),
    
'usercp_enable_delete' => array(1false),
    
'usercp_enable_authentication' => array(1false),
    
'usercp_enable_group_membership' => array(1false),
    
'usercp_enable_ignore_boards' => array(1false),
   
'usercp_field1image' => array('Your Image Here'false),
    
'usercp_field1url' => array('Your URL Here'false),
    
'usercp_field1maintext' => array('Your Text Here'false),
    
'usercp_field1summary' => array('Your Text Here'false),
    
'usercp_field1enable' => array('0'false),
    
'usercp_field2image' => array('Your Image Here'false),
    
'usercp_field2url' => array('Your URL Here'false),
    
'usercp_field2maintext' => array('Your Text Here'false),
    
'usercp_field2summary' => array('Your Text Here'false),
    
'usercp_field2enable' => array('0'false),
    
'usercp_field3image' => array('Your Image Here'false),
    
'usercp_field3url' => array('Your URL Here'false),
    
'usercp_field3maintext' => array('Your Text Here'false),
    
'usercp_field3summary' => array('Your Text Here'false),
    
'usercp_field3enable' => array('0'false),
    
'usercp_field4image' => array('Your Image Here'false),
    
'usercp_field4url' => array('Your URL Here'false),
    
'usercp_field4maintext' => array('Your Text Here'false),
    
'usercp_field4summary' => array('Your Text Here'false),
    
'usercp_field4enable' => array('0'false),

   
// 'variable name' => array(value, overwrite)
);
doSettings($addSettings);
?>


ลิงค์หัวข้อ: http://dexmore.com/topic/1951
Windows XP    Firefox 3.6.4   see ip บันทึกการเข้า
ดูรายการสิ่งของสำหรับบอกรักใครสักคน ก็ส่งไปให้เขาเลย!  สำหรับติดหมุดกระทู้ของคุณ!  เพิ่มเวลาที่อยู่ในระบบอีก 12 ชั่วโมง  น้องหมี..เอาไว้กอดนอนแทนกิ๊ก  สำหรับบอกรักใครสักคน ก็ส่งไปให้เขาเลย!  
webpooying

icon message
general ความคิดเห็นที่ 2 เมื่อ: 28 สิงหาคม 2553, 18:31:02
ในไฟล์ index.templete.php ให้แก้จาก

โค๊ด: [Select]
$context['current_action'] == 'usercp')
$current_action = 'profile';

เป็น

โค๊ด: [Select]
if ($context['current_action'] == 'usercp')
$current_action = 'profile';

นะคะ ไม่งั้นจะ error แบบนี้ค่ะ (เผื่อคนที่ไม่รู้นะคะ)



แล้วถ้าใช้ theme อื่นๆ เมนูจะโผล่มาใหญ่ไม่สวยหรือคนละtheme ให้ลบ class maintab_active ออกนะคะ



ลิงค์หัวข้อ: http://dexmore.com/topic/1951
Windows NT 6.1    Firefox 3.6.8   see ip บันทึกการเข้า
โฮสต์ดีๆ บริการด้วยใจ
*



Thailand   ชาย ออฟไลน์
icon message
general ความคิดเห็นที่ 3 เมื่อ: 12 ธันวาคม 2554, 21:31:20
ผม ลอง ทำครบทุกเช็คถูกต้อง

แล้วพอ อินทอ มันขึ้น ว่า

Fatal error: Function name must be a string in /home/puksukne/domains/puksukneed.net/public_html/install.php on line 13

หน้านนี้อ่ะครับ  http://puksukneed.net/install.php?step=1

แล้ว ส่วนอันนี้

ผมหาโค้ด ไม่เจอนะครับผมใช้ notepad ค้นหาก้ไม่เจอ ลองหาเองก้ไม่เจอนะครับ TT ช่วยทีนะครับ

เว้ปผม puksukneed.net นะครับ  สำหรับ smf 1.0 หรือเปล่าครับ ของผม 2.0 ครับ ช่วยทีนะครับ หน้าเอ่อเร่อ คล้ายกันๆ 

ในไฟล์ index.templete.php ให้แก้จาก

โค๊ด: [Select]
$context['current_action'] == 'usercp')
$current_action = 'profile';

เป็น

โค๊ด: [Select]
if ($context['current_action'] == 'usercp')
$current_action = 'profile';

นะคะ ไม่งั้นจะ error แบบนี้ค่ะ (เผื่อคนที่ไม่รู้นะคะ)



ลิงค์หัวข้อ: http://dexmore.com/topic/1951
Windows XP    Chrome 15.0.874.121   see ip บันทึกการเข้า
โฮสต์ดีๆ บริการด้วยใจ
*
***



Thailand   ชาย ออฟไลน์
icon message
general ความคิดเห็นที่ 4 เมื่อ: 12 ธันวาคม 2554, 22:49:46
ท่าน UnclEo เขียนไว้น่าจะไม่ผิดพลาดแล้วนะครับ

ของท่าน 2.0 ก็ทำแบบ 2.0 ไปเลยครับ

ลิงค์หัวข้อ: http://dexmore.com/topic/1951
Windows NT 6.1    Firefox 8.0.1   see ip บันทึกการเข้า
โฮสต์ดีๆ บริการด้วยใจ
ส่งหัวข้อนี้พิมพ์ หน้า: 1 
กระโดดไป:  

Creative Commons License

SMF Thai Translation Powered by SMF © 2006–2012, Simple Machines LLC

WordPress Google เข้าเยี่ยมชมหน้านี้ล่าสุดเมื่อ : 17 พฤษภาคม 2555, 20:18:07

jQuery Plugin Copyright © 2551-2555 Themes Design & Hosting by DexMoreGroup

Sitemap | Thai Simple Machines Forum support SMF Thai

Web Begining | SMF Modifications | SMF Thai Translation Web Begining

Drupal | WordPress | CMS Joomla | jQuery Plugin | Web Graphics CMS Joomla