รบกวน เซียน PHP ช่วยหน่อยครับ(ภาค3)

เริ่มโดย Godfather, 20 สิงหาคม 2007, 15:43:02

หัวข้อก่อนหน้า - หัวข้อถัดไป

0 สมาชิก และ 1 ผู้มาเยือน กำลังดูหัวข้อนี้

Godfather

#240
ดันๆๆ กระทู้ตก เดี๋ยวคุณ Kennn กะ คุณ Jo  หาไม่เจอ อิอิ  8)

คุณ Kennn  ครับถ้าผมจะจัดเรียงบล๊อกใหม่ต้องทำไงอะครับ
[Color = Red]ท่านที่ ว่างงานอยู่กำลังมองหางาน หรือ ท่านที่ต้องการรายได้เสริม เชิญทางนี้ครับ [Color]http://www.thaiseoboard.com/index.php/topic,65120.0.html

Godfather

[Color = Red]ท่านที่ ว่างงานอยู่กำลังมองหางาน หรือ ท่านที่ต้องการรายได้เสริม เชิญทางนี้ครับ [Color]http://www.thaiseoboard.com/index.php/topic,65120.0.html

Jenosize

ขอบคุณคุณ god มากครับ เด๋วจะลองนำไปเล่นดูครับผม

คุณ god เริ่มโปรโมทเวปรึยังครับ?
สู้ตายโว้ย.

Godfather

เริ่มล่ะครับ เดี๋ยว 22 นี้จะลงไปสมุยล่ะ ลงไปแจกโบว์ชัวร์
[Color = Red]ท่านที่ ว่างงานอยู่กำลังมองหางาน หรือ ท่านที่ต้องการรายได้เสริม เชิญทางนี้ครับ [Color]http://www.thaiseoboard.com/index.php/topic,65120.0.html

kennn

อ้างถึง<?php

  require(DIR_WS_BOXES . 'shopping_cart.php');

  if (isset($HTTP_GET_VARS['products_id'])) include(DIR_WS_BOXES . 'manufacturer_info.php');

  if (tep_session_is_registered('customer_id')) include(DIR_WS_BOXES . 'order_history.php');

  if (isset($HTTP_GET_VARS['products_id'])) {
    if (tep_session_is_registered('customer_id')) {
      $check_query = tep_db_query("select count(*) as count from " . TABLE_CUSTOMERS_INFO . " where customers_info_id = '" . (int)$customer_id . "' and global_product_notifications = '1'");
      $check = tep_db_fetch_array($check_query);
      if ($check['count'] > 0) {
        include(DIR_WS_BOXES . 'best_sellers.php');
      } else {
        include(DIR_WS_BOXES . 'product_notifications.php');
      }
    } else {
      include(DIR_WS_BOXES . 'product_notifications.php');
    }
  } else {
    include(DIR_WS_BOXES . 'best_sellers.php');
  }


  if (isset($HTTP_GET_VARS['products_id'])) {
    if (basename($PHP_SELF) != FILENAME_TELL_A_FRIEND) include(DIR_WS_BOXES . 'tell_a_friend.php');
  } else {
    include(DIR_WS_BOXES . 'specials.php');
  }


  require(DIR_WS_BOXES . 'reviews.php');

  if (substr(basename($PHP_SELF), 0, 8 ) != 'checkout') {
    include(DIR_WS_BOXES . 'languages.php');
    include(DIR_WS_BOXES . 'currencies.php');
   require (DIR_WS_BOXES . 'cards.php');

  }

?>

ไฮไลท์แต่ละส่วนเป็นการบอกถึง บล็อคในส่วนนั้นๆนะครับ การสลับตำแหน่งของบล็อคก้อแค่ย้ายโค้ดทั้งหมดในส่วนที่ไฮไลท์สลับที่กันครับ

แต่ถ้ามีบล็อคที่เป็น HTML ที่เราสร้างขึ้นมาเอง ให้เราปิด-เปิด Tag PHP ก่อนครับ

อ้างถึง<?php

  require(DIR_WS_BOXES . 'shopping_cart.php');

  if (isset($HTTP_GET_VARS['products_id'])) include(DIR_WS_BOXES . 'manufacturer_info.php');

  if (tep_session_is_registered('customer_id')) include(DIR_WS_BOXES . 'order_history.php');

  if (isset($HTTP_GET_VARS['products_id'])) {
    if (tep_session_is_registered('customer_id')) {
      $check_query = tep_db_query("select count(*) as count from " . TABLE_CUSTOMERS_INFO . " where customers_info_id = '" . (int)$customer_id . "' and global_product_notifications = '1'");
      $check = tep_db_fetch_array($check_query);
      if ($check['count'] > 0) {
        include(DIR_WS_BOXES . 'best_sellers.php');
      } else {
        include(DIR_WS_BOXES . 'product_notifications.php');
      }
    } else {
      include(DIR_WS_BOXES . 'product_notifications.php');
    }
  } else {
    include(DIR_WS_BOXES . 'best_sellers.php');
  }

?>

โค้ด HTML ที่เราสร้างขึ้นมาเอง

<?

  if (isset($HTTP_GET_VARS['products_id'])) {
    if (basename($PHP_SELF) != FILENAME_TELL_A_FRIEND) include(DIR_WS_BOXES . 'tell_a_friend.php');
  } else {
    include(DIR_WS_BOXES . 'specials.php');
  }

  require(DIR_WS_BOXES . 'reviews.php');

  if (substr(basename($PHP_SELF), 0, 8 ) != 'checkout') {
    include(DIR_WS_BOXES . 'languages.php');
    include(DIR_WS_BOXES . 'currencies.php');
   require (DIR_WS_BOXES . 'cards.php');

  }
?>

อ้างถึงแล้วในส่วนของบล๊อก What's New นี่ถ้าเราจะให้ภาพเปลี่ยนไปเรื่อยทำไงครับ
บล๊อก Bestsellers นี่ปรกติมันโชว์ภาพเปล่าครับ

What's New จะให้เปลี่ยนเองต้องเขียนสคริป javascript ขึ้นมาช่วยนะครับ จะให้ผมเขียนให้ต้องรอนานหน่อยนะครับ ช่วงนี้ไม่ค่อยจะว่างเลย

ส่วน Bestsellers ปกติโชว์นะครับ มีแบบเลื่อนรูปภาพตลอดเวลาด้วยครับ ผมเอาสคริปมาให้แล้วครับ โหลดไฟล์ไปก่อนนะครับ แล้วทำตามนี้ครับ

http://www.uploadtoday.com/download/?33a3dd0f55b69800f1308a4a854ab3a3

- นำไฟล์ best_sellers1.php ไปไว้ที่ include/boxes
- ใส่โค้ดเพิ่มเติมที่ไฟล์ column_right.php หรือ column_left.php แล้วแต่ว่าเอาบล็อค Bestsellers ไปไว้ที่ไฟล์ไหน เอาโค้ดไว้บนสุดเลยก้อได้

อ้างถึง<?php

if(strstr($HTTP_USER_AGENT,"MSIE"))
   {
   $bsellers ="best_sellers1.php";
   }
   else
   {
   $bsellers ="best_sellers.php";
   }


  require(DIR_WS_BOXES . 'shopping_cart.php');

  if (isset($HTTP_GET_VARS['products_id'])) include(DIR_WS_BOXES . 'manufacturer_info.php');

  if (tep_session_is_registered('customer_id')) include(DIR_WS_BOXES . 'order_history.php');

  if (isset($HTTP_GET_VARS['products_id'])) {
    if (tep_session_is_registered('customer_id')) {
      $check_query = tep_db_query("select count(*) as count from " . TABLE_CUSTOMERS_INFO . " where customers_info_id = '" . (int)$customer_id . "' and global_product_notifications = '1'");
      $check = tep_db_fetch_array($check_query);
      if ($check['count'] > 0) {
        include(DIR_WS_BOXES . 'best_sellers.php');
      } else {
        include(DIR_WS_BOXES . 'product_notifications.php');
      }
    } else {
      include(DIR_WS_BOXES . 'product_notifications.php');
    }
  } else {
    include(DIR_WS_BOXES . 'best_sellers.php');
  }

  if (isset($HTTP_GET_VARS['products_id'])) {
    if (basename($PHP_SELF) != FILENAME_TELL_A_FRIEND) include(DIR_WS_BOXES . 'tell_a_friend.php');
  } else {
    include(DIR_WS_BOXES . 'specials.php');
  }

  require(DIR_WS_BOXES . 'reviews.php');

  if (substr(basename($PHP_SELF), 0, 8 ) != 'checkout') {
    include(DIR_WS_BOXES . 'languages.php');
    include(DIR_WS_BOXES . 'currencies.php');
   require (DIR_WS_BOXES . 'cards.php');

  }
?>

แค่นี้ก้อได้ Bestsellers ที่ไม่อยู่นิ่งแล้วครับ

อ้างถึงเริ่มล่ะครับ เดี๋ยว 22 นี้จะลงไปสมุยล่ะ ลงไปแจกโบว์ชัวร์

ไม่ได้โปรโมทแบบ SEO หรอครับ เช่น Sumbit url


[direct=https://www.strikeprofx.com/th/]StrikeProFx โบรกเกอร์ Forex ฝาก-ถอนรวดเร็ว[/direct]
[direct=https://www.strikeprofx.com/]StrikeProFx Best Forex Broker Fast Deposit&Withdraw[/direct]

Godfather

อ้างถึง<?php

  require(DIR_WS_BOXES . 'shopping_cart.php');

  if (isset($HTTP_GET_VARS['products_id'])) include(DIR_WS_BOXES . 'manufacturer_info.php');

  if (tep_session_is_registered('customer_id')) include(DIR_WS_BOXES . 'order_history.php');

  if (isset($HTTP_GET_VARS['products_id'])) {
    if (tep_session_is_registered('customer_id')) {
      $check_query = tep_db_query("select count(*) as count from " . TABLE_CUSTOMERS_INFO . " where customers_info_id = '" . (int)$customer_id . "' and global_product_notifications = '1'");
      $check = tep_db_fetch_array($check_query);
      if ($check['count'] > 0) {
        include(DIR_WS_BOXES . 'best_sellers.php');
      } else {
        include(DIR_WS_BOXES . 'product_notifications.php');
      }
    } else {
      include(DIR_WS_BOXES . 'product_notifications.php');
    }
  } else {
    include(DIR_WS_BOXES . 'best_sellers.php');
  }


  if (isset($HTTP_GET_VARS['products_id'])) {
    if (basename($PHP_SELF) != FILENAME_TELL_A_FRIEND) include(DIR_WS_BOXES . 'tell_a_friend.php');
  } else {
    include(DIR_WS_BOXES . 'specials.php');
  }


  require(DIR_WS_BOXES . 'reviews.php');

  if (substr(basename($PHP_SELF), 0, 8 ) != 'checkout') {
    include(DIR_WS_BOXES . 'languages.php');
    include(DIR_WS_BOXES . 'currencies.php');
   require (DIR_WS_BOXES . 'cards.php');

  }

?>

อ้างถึงไฮไลท์แต่ละส่วนเป็นการบอกถึง บล็อคในส่วนนั้นๆนะครับ การสลับตำแหน่งของบล็อคก้อแค่ย้ายโค้ดทั้งหมดในส่วนที่ไฮไลท์สลับที่กันครับ

ผมงงกับโค๊ด ตรงส่วนนี้อะครับ
อ้างถึง<?php

  require(DIR_WS_BOXES . 'shopping_cart.php');

  if (isset($HTTP_GET_VARS['products_id'])) include(DIR_WS_BOXES . 'manufacturer_info.php');

  if (tep_session_is_registered('customer_id')) include(DIR_WS_BOXES . 'order_history.php');

  if (isset($HTTP_GET_VARS['products_id'])) {
    if (tep_session_is_registered('customer_id')) {
      $check_query = tep_db_query("select count(*) as count from " . TABLE_CUSTOMERS_INFO . " where customers_info_id = '" . (int)$customer_id . "' and global_product_notifications = '1'");
      $check = tep_db_fetch_array($check_query);
      if ($check['count'] > 0) {
        include(DIR_WS_BOXES . 'best_sellers.php');
      } else {
        include(DIR_WS_BOXES . 'product_notifications.php');
      }
    } else {
      include(DIR_WS_BOXES . 'product_notifications.php');
    }
  } else {
    include(DIR_WS_BOXES . 'best_sellers.php');
  }


แยกไม่ออกว่า 'product_notifications.php' เป็นบล๊อกอะไร เห็นมันมีซ้ำกัน 2 ที่
อ้างถึง

ไฟล์ best_sellers1.php
นี่ต้องแก้ เอาเลข 1 ออกเปล่าครับ

อ้างถึงไม่ได้โปรโมทแบบ SEO หรอครับ เช่น Sumbit url

ผม Sumbit ที่ Google และก็ Yahoo และก็ที่อื่นอีก แต่ SEO นี่คืออะไรผมยังไม่รู้เลยครับ รบกวนช่วยอธิบายหน่อยครับ ไม่ต้องรีบก็ได้ครับ ถ้าคุณ Kennn งานยุ่งก็เครียล์งานก่อนก็ได้ครับ
[Color = Red]ท่านที่ ว่างงานอยู่กำลังมองหางาน หรือ ท่านที่ต้องการรายได้เสริม เชิญทางนี้ครับ [Color]http://www.thaiseoboard.com/index.php/topic,65120.0.html

kennn

ผมยกตัวอย่างสั้นๆนะครับ สมมุติโค้ดคุณเป็นแบบนี้ โค้ดส่วนบล็อคนึงผมจะไฮไลท์ 1 สี คราวนี้ผมใส่ตัวเลขให้ด้วย ใช้ตัวเลขในการแยกบล็อค

อ้างถึง<?php

1.  require(DIR_WS_BOXES . 'shopping_cart.php');

2.  if (isset($HTTP_GET_VARS['products_id'])) include(DIR_WS_BOXES . 'manufacturer_info.php');

3.  if (tep_session_is_registered('customer_id')) include(DIR_WS_BOXES . 'order_history.php');

4.  if (isset($HTTP_GET_VARS['products_id'])) {
    if (tep_session_is_registered('customer_id')) {
      $check_query = tep_db_query("select count(*) as count from " . TABLE_CUSTOMERS_INFO . " where customers_info_id = '" . (int)$customer_id . "' and global_product_notifications = '1'");
      $check = tep_db_fetch_array($check_query);
      if ($check['count'] > 0) {
        include(DIR_WS_BOXES . 'best_sellers.php');
      } else {
        include(DIR_WS_BOXES . 'product_notifications.php');
      }
    } else {
      include(DIR_WS_BOXES . 'product_notifications.php');
    }
  } else {
    include(DIR_WS_BOXES . 'best_sellers.php');
  }



ผมจะทำการย้าย 1. ไปไว้ข้างล่างบล็อค 4. จะได้เป็น

อ้างถึง<?php

2.  if (isset($HTTP_GET_VARS['products_id'])) include(DIR_WS_BOXES . 'manufacturer_info.php');

3.  if (tep_session_is_registered('customer_id')) include(DIR_WS_BOXES . 'order_history.php');

4.  if (isset($HTTP_GET_VARS['products_id'])) {
    if (tep_session_is_registered('customer_id')) {
      $check_query = tep_db_query("select count(*) as count from " . TABLE_CUSTOMERS_INFO . " where customers_info_id = '" . (int)$customer_id . "' and global_product_notifications = '1'");
      $check = tep_db_fetch_array($check_query);
      if ($check['count'] > 0) {
        include(DIR_WS_BOXES . 'best_sellers.php');
      } else {
        include(DIR_WS_BOXES . 'product_notifications.php');
      }
    } else {
      include(DIR_WS_BOXES . 'product_notifications.php');
    }
  } else {
    include(DIR_WS_BOXES . 'best_sellers.php');
  }


1.  require(DIR_WS_BOXES . 'shopping_cart.php');




อ้างถึงแยกไม่ออกว่า 'product_notifications.php' เป็นบล๊อกอะไร เห็นมันมีซ้ำกัน 2 ที่

ตรงนี้ไม่ต้องไปสนใจครับ มันเป็นคำสั่งแบบมีเงื่อนไขครับ ประมาณว่า ถ้าไม่เจอ product_id ให้ใช้ไฟล์นั้น ถ้าเจอให้ใช้ไฟล์นี้ ประมาณเนี้ยอะครับ ที่เห็นไฮไลท์สีแดงไว้เพราะอยากให้ดูว่าส่วนนั้นเป็นโค้ดส่วนเดียวกันหรือ 1 บล็อค

ส่วนไฟล์ best_sellers1.php ไม่ต้องเอา 1 ออกครับ นำไฟล์ไปวางไว้เลยครับ

ส่วนคำว่า SEO ย่อมาจาก Search Engine Optimize เป็นการปรับแต่งเว็ปไซด์ให้ Search Engine รู้จัก เช่น ใส่ KW ที่คิดว่าจะเรียกทราฟฟิคคนดูและเป็น KW ที่เกี่ยวกับเว็ปเรา ในส่วน Tag Title กับ Tag เน้นข้อความต่างๆนะครับ เช่น ในส่วน Welcome to .. เราก้อจะเปลี่ยนมาใส่ KW แทนและใส่ Tag H1 ให้กับข้อความนี้ การหา Back link มาให้เว็ปเรา การ Submit url ในที่ต่างๆที่มีเป็นร้อยเจ้า ประมาณนี้แหละครับ

[direct=https://www.strikeprofx.com/th/]StrikeProFx โบรกเกอร์ Forex ฝาก-ถอนรวดเร็ว[/direct]
[direct=https://www.strikeprofx.com/]StrikeProFx Best Forex Broker Fast Deposit&Withdraw[/direct]

Godfather

[Color = Red]ท่านที่ ว่างงานอยู่กำลังมองหางาน หรือ ท่านที่ต้องการรายได้เสริม เชิญทางนี้ครับ [Color]http://www.thaiseoboard.com/index.php/topic,65120.0.html

Jenosize

SEO แบบอย่างที่คุณ kenn ว่าครับ หา link มาที่เวปเราเยอะๆ หรือปรับแต่ง on pages factor
(ปรับให้เวปมี keyword ที่เราต้องการเยอะๆ แต่ไม่ควรเกิน 7% มีมากโดนแบนครับ) เพื่อให้อันดับดีขึ้น สำคัญที่ keyword ครับ
แนะนำคุณ god ลองเช็ค keyword ที่น่าสนใจดูที่

www.truehits.net ก่อนก็ได้ครับว่าตัวไหนพอจะน่าทำ seo บ้าง
หรือสมัครสมาชิกของเขาก็ได้ครับรายปี ได้ทั้ง backlink ได้ทั้ง analysis เวป

- เป็นการเช็คปริมาณคนค้นแบบรายวัน แบบรายเดือนลองดูที่
https://adwords.google.com/select/KeywordToolExternal






สู้ตายโว้ย.

Godfather

คุณ Kennn ครับใน Box What's New นี่ถ้าใส่โค๊ดนี้เข้าไป

<marquee id="marquee1" onMouseOver="marquee1.stop();" onMouseOut="marquee1.start()" bgcolor="#FFFFCC" direction="left" scrollAmount="10" style="height:65" style="wight:65">ข้อความหรือรูปภาพ</marquee>

จะทำให้รูปเลื่อน ใช่มั้ยครับ
แล้วผมจะแทรกตรงไหนของโค๊ดดีครับดีครับ

<?php
/*
  $Id: whats_new.php,v 1.31 2003/02/10 22:31:09 hpdl Exp $

  osCommerce, Open Source E-Commerce Solutions
  http://www.oscommerce.com

  Copyright (c) 2003 osCommerce

  Released under the GNU General Public License
*/

  if ($random_product = tep_random_select("select products_id, products_image, products_tax_class_id, products_price from " . TABLE_PRODUCTS . " where products_status = '1' order by products_date_added desc limit " . MAX_RANDOM_SELECT_NEW)) {
?>
<!-- whats_new //-->
          <tr>
            <td>
<?php
    $random_product['products_name'] = tep_get_products_name($random_product['products_id']);
    $random_product['specials_new_products_price'] = tep_get_products_special_price($random_product['products_id']);

    $info_box_contents = array();
    $info_box_contents[] = array('text' => BOX_HEADING_WHATS_NEW);

    new infoBoxHeading($info_box_contents, false, false, tep_href_link(FILENAME_PRODUCTS_NEW));

    if (tep_not_null($random_product['specials_new_products_price'])) {
      $whats_new_price = '<s>' . $currencies->display_price($random_product['products_price'], tep_get_tax_rate($random_product['products_tax_class_id'])) . '</s><br>';
      $whats_new_price .= '<span class="productSpecialPrice">' . $currencies->display_price($random_product['specials_new_products_price'], tep_get_tax_rate($random_product['products_tax_class_id'])) . '</span>';
    } else {
      $whats_new_price = $currencies->display_price($random_product['products_price'], tep_get_tax_rate($random_product['products_tax_class_id']));
    }

    $info_box_contents = array();
    $info_box_contents[] = array('align' => 'center',
                                 'text' => '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $random_product['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $random_product['products_image'], $random_product['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a><br><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $random_product['products_id']) . '">' . $random_product['products_name'] . '</a><br>' . $whats_new_price);

    new infoBox($info_box_contents);
?>
            </td>
          </tr>
<!-- whats_new_eof //-->
<?php
  }
?>

นอกจากการทำให้ภาพเลื่อนขึ้นลงนี่มีแอฟเฟล็กอย่างอื่นอีกมั้ยครับที่ไม่ใช่การเลื่อนขึ่นลง เช่น เบลอแล้วเปลี่ยนเป็นภาพอื่น
แล้วตรงส่วนที่เป็นสีแดงนี่ผมสามารถลบได้มั้ย (เห็นมีเกือบทุกไฟล์ที่เป็น PHP เลย)

ไม่ต้องรีบตอบนะครับ งานยุ่งก็ทำงานก่อนก็ได้นะครับ เพราะผมเองก็ไม่อยู่ 4-5 วัน ไว้กลับมาเดี๋ยวค่อยมาดู (พอดีตอนนี้นึกออกก็เลยถามทิ้งไว้ก่อน คิดว่าจะถามหลายทีล่ะแต่นึกไม่ออกพอดีนึกออกเลยถาม) เดี๋ยวกลับมาว่าจะไปจดทะเบียนการค้าล่ะ เดี๋ยวคงได้ทำ Trustmark อีก

[Color = Red]ท่านที่ ว่างงานอยู่กำลังมองหางาน หรือ ท่านที่ต้องการรายได้เสริม เชิญทางนี้ครับ [Color]http://www.thaiseoboard.com/index.php/topic,65120.0.html

Godfather

ไปแล้วครับ เจอกันเสาร์หน้าครับ
ช่วงนี้อากาศเปลี่ยนรักษาสุขภาพกันด้วยนะครับ
[Color = Red]ท่านที่ ว่างงานอยู่กำลังมองหางาน หรือ ท่านที่ต้องการรายได้เสริม เชิญทางนี้ครับ [Color]http://www.thaiseoboard.com/index.php/topic,65120.0.html

Godfather

[Color = Red]ท่านที่ ว่างงานอยู่กำลังมองหางาน หรือ ท่านที่ต้องการรายได้เสริม เชิญทางนี้ครับ [Color]http://www.thaiseoboard.com/index.php/topic,65120.0.html

alcoholik

ตรงที่เป็นสีแดงเป็นส่วน comment ครับ ลบออกก็ได้ไม่มีผลกะตัวสคริป

ส่วนตัว marquee ก็ไม่ค่อยรู้เหมือนกัน  :P
คนเจ้าปัญญา : พอพบปัญหาอะไรก็วางก่อน พอเป็นอิสระมีอำนาจเหนือกว่าปัญหาแล้ว จึงจัดการกับปัญหานั้นอย่างเหนือชั้น

Godfather

[Color = Red]ท่านที่ ว่างงานอยู่กำลังมองหางาน หรือ ท่านที่ต้องการรายได้เสริม เชิญทางนี้ครับ [Color]http://www.thaiseoboard.com/index.php/topic,65120.0.html

Godfather

เงียบจัง งานยุ่งกันหรอครับ (เหงา)
[Color = Red]ท่านที่ ว่างงานอยู่กำลังมองหางาน หรือ ท่านที่ต้องการรายได้เสริม เชิญทางนี้ครับ [Color]http://www.thaiseoboard.com/index.php/topic,65120.0.html

Godfather

#255
คุณ Kennn ครับ ผมรบกวนถามวิธีทำ

1.บล๊อก Special Promotion ภายในบล๊อก จะเป็น ข้อความโปรโมชั่น(ตัวหนังสือ เลื่อนขึ้น)ทำได้แล้ว แต่ขึ้นบรรทัดใหม่ ต้องทำไงครับ
2.วิธีที่ทำให้ภาพในบล๊อก What's New เปลี่ยนภาพไปเรื่อยๆ

หน่อยครับ
ถ้าว่างก็มาตอบนะครับ
[Color = Red]ท่านที่ ว่างงานอยู่กำลังมองหางาน หรือ ท่านที่ต้องการรายได้เสริม เชิญทางนี้ครับ [Color]http://www.thaiseoboard.com/index.php/topic,65120.0.html

kennn

ช่วงนี้ ซุ่มทำโปรเจคหาตังค์อยู่ครับ ตอนนี้แนะนำให้คุณ God แก้ไขรูปภาพสินค้า หรือ Optimize รูปภาพให้มี Size และ Dimention น้อยลงอีกหน่อยนะครับ เพื่อให้เว็ปเปิดได้เร็วขึ้นอีก เท่าที่จำได้คุณ God บอกว่าเช่าโฮสของไทยไว้ แค่ผมเปิดเว็ปคุณ God ผมก้อเปิดได้ช้ามากแล้ว ถ้าเป็นแบบนี้ Traffic ที่อยู่ต่างประเทศกว่าจะเปิดได้คงกินเวลานาน เพราะฉะนั้นอย่างแรกเลยต้อง Optimize ความเร็วในการเปิดเว็ปก่อนครับ โดยการแก้ไขรูปภาพก่อนเลยครับ

วิธีแก้ไขรูปภาพลองค้นดูกระทู้ก่อนหน้านี้นะครับ รูปภาพที่จะอัพโหลดขึ้นไปหรือรูปขนาดใหญ่ ที่ผมเห็นในเว็ปตอนนี้มีขนาดใหญ่เกินไปครับ และมี 2 แบบ คือ รูปใหญ่ไปทางแนวตั้ง และใหญ่ไปตามแนวนอน ถ้าเป็นไปได้รูปที่ใช้กับเว็ปที่ทำด้วย OSC ควรมี Dimention ที่เป็นขนาดเดียวกันครับ ประมาณ 600X450(ใน Photoshop ปรับ Resolution ที่ 72 นะครับ) เมื่อ Optimize ตามขนาดดังกล่าวแล้ว Size อาจจะลดลงเหลือ 50KB จากเดิมที่มี Size ประมาณ 100KB ผมมีตัวอย่างมาให้ดูครับ

รูปที่ 1 - Size 185 KB Dimention 600X450

รูปนี้จะมี Size เยอะถึง 185 KB เมื่อเทียบกับภาพที่ 3 แล้วแทบไม่ต่างกันสักเท่าไหร่แต่รูปที่ 3 กลับมี Size น้อยกว่า


รูปที่ 2 - Size 52 KB Dimention 600X450

รูปนี้ไม่ปรับสีเลยเพียงแค่ Optimize รูปภาพให้มี Size น้อยลง โดยที่ Dimention เท่ากับรูปที่ 1


รูปที่ 3 - Size 55 KB Dimention 600X450

รูปนี้ปรับสีด้วยและ Optimize ด้วย Size เพิ่มมาแค่ 2 KB เอง ดูไม่ต่างจากรูปที่ 1 เลย


รูปที่ 4 - Size 46 KB Dimention 450X338

ถ้าลดขนาด Dimention ลงอีก ก้อจะทำให้ Size ลดลงด้วย Dimention 450X338 ก้อน่าจะยังรับได้อยู่


รูปที่ 5 - Size 66 KB Dimention 600X450

รูปนี้มีขนาด Dimention ของเดิมกว้างไปทางแนวนอน ผมใช้วิธีปรับขนาดความกว้างให้พอดีกับ 600 ก่อน(ลดขนาดแบบกด Shift ค้าง) แล้วค่อยขยาย ความสูงให้พอดีกับ 450(ไม่กด Shift)



รูปที่ 6 - Size 8 KB Dimention 135X100

อันนี้จะบอกว่า ถ้าใช้ Dimention ตามรูปด้านบน 600X450 หรือ 500X375 หรือ 450X338 แล้วไปปรับขนาดของรูป Small Image ในส่วนของ Admin Config เป็น 135X100 รูปที่แสดงในหน้าเว็ปจะแสดงออกมาไม่ดูเหมือนภาพถูกบีบไว้

ลองทำ ลองปรับเล่นดูนะครับ เพิ่มข้อความในเว็ป หรือส่วน Welcome ให้เยอะด้วยครับ ในส่วนของการ Payment และ Shipping ด้วยครับ ว่ามีข้อแม้ยังไงบ้าง ส่วนเรื่อง What's New ขอค้างไว้ก่อนครับ

[direct=https://www.strikeprofx.com/th/]StrikeProFx โบรกเกอร์ Forex ฝาก-ถอนรวดเร็ว[/direct]
[direct=https://www.strikeprofx.com/]StrikeProFx Best Forex Broker Fast Deposit&Withdraw[/direct]

Godfather

#257
อ้างถึงลองทำ ลองปรับเล่นดูนะครับ เพิ่มข้อความในเว็ป หรือส่วน Welcome ให้เยอะด้วยครับ ในส่วนของการ Payment และ Shipping ด้วยครับ ว่ามีข้อแม้ยังไงบ้าง ส่วนเรื่อง What's New ขอค้างไว้ก่อนครับ

ได้ครับจะลองปรับดูนะครับ

ตอนนี้ผมสร้างบล็อก Special Promotion ขึ้นมาอะครับ แต่ข้อความในบล๊อก ผมอยากจะจัดให้มันเป็นระเบียบ อะครับ ช่วยแนะนำด้วยครับได้และครับ แต่รบกวนคุณ Kennn ช่วยวิจารณ์หน่อย
[Color = Red]ท่านที่ ว่างงานอยู่กำลังมองหางาน หรือ ท่านที่ต้องการรายได้เสริม เชิญทางนี้ครับ [Color]http://www.thaiseoboard.com/index.php/topic,65120.0.html

kennn

#258
โอเคดีครับ เลือกปรับสีได้ดีครับ ลองปรับเพิ่มแบบนี้ดูนะครับ

อ้างถึงOffer 1. Order Now Free Shipping Untill 31 December 2007
Offer 2. Buy Now 5 Items get Premium Items

ไฮไลท์สีแดงลองปรับเป็น icon เล็กๆสวยๆใสๆ แทนดีมัยครับ แล้วแต่ละ Special ก้อคั่นด้วยเส้นอีกทีนึง แบบนี้ครับ

อ้างถึง:: Order Now Free Shipping
Untill 31 December 2007
. . . . . . . . . . . . . . . . . .
:: Buy Now 5 Items
get Premium Items
. . . . . . . . . . . . . . . . . .


เค้าเตอร์ตรงส่วนของ Foot 13016 requests since Monday 12 March, 2007  ปรับค่าตัวเลขให้ตรงกับ Total ของ Statistic ด้วยครับ

[direct=https://www.strikeprofx.com/th/]StrikeProFx โบรกเกอร์ Forex ฝาก-ถอนรวดเร็ว[/direct]
[direct=https://www.strikeprofx.com/]StrikeProFx Best Forex Broker Fast Deposit&Withdraw[/direct]

Godfather

[Color = Red]ท่านที่ ว่างงานอยู่กำลังมองหางาน หรือ ท่านที่ต้องการรายได้เสริม เชิญทางนี้ครับ [Color]http://www.thaiseoboard.com/index.php/topic,65120.0.html