Archive for 'ເທັກໂນໂລຢີ'
ກ່ຽວກັບ Cookie ໃນ Firefox ໓
Posted on July 10, 2008, under ເທັກໂນໂລຢີ.
ຕັ້ງແຕ່ Firefox ໓ ອອກມາກໍ່ພົບບັນຫາມາຕະຫລອດ ບັນຫານັ້ນຄື ມັນບໍ່ຍອມຈື່ຄ່າ cookie ຂອງເວັບຕ່າງ ໆ ຈັກເທື່ອ ກໍ່ເລີຍຈຳເປັນຕ້ອງໄດ້ໄປລັອກອິນໃຫມ່ ໆ ຕະຫລອດ ສ້າງຄວາມຊະເອັງເປັນຢ່າງຍິ່ງຍວດ ໃນຕອນຕົ້ນ ໆ ທີ່ມັນອອກໃຫມ່ ໆ ຕອນນັ້ນລອງຊອກຂໍ້ມູນແລ້ວ ແຕ່ຍັງບໍ່ມີຄຳຕອບ ພໍດີມື້ນີ້ຄຶ້ມ ໆ ເລີຍໄປຊອກໃຫມ່ເບິ່ງ ຄິດວ່າຫນ້າຈະມີລະວ້າຄົນທີ່ມີບັນຫາແບບເຮົາ
ແລະໂຊກຊະຕາກໍ່ເຂົ້າຂ້າງ ໃນທີ່ສຸດກໍ່ໄດ້ຄົ້ນພົບຄຳຕອບວ່າ ເປັນຍ້ອນລົງ TorButton Addon ນັ້ນເອງ ພໍ Uninstall ອອກລະກໍ່ Cookie ກັບມາໃຊ້ງານໄດ້ດັ່ງເດີມແລ້ວ ປັ້ດດດດດດດ ສຸດຍອດ ~
WordPress Mu Recent posts
Posted on June 23, 2008, under ເທັກໂນໂລຢີ.
ຈົດໄວ້ກັນລືມ
ວິທີສະແດງ recent posts ໃນຫນ້າທຳອິດ ໃຊ້ code ນີ້
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 | <?php /* Plugin Name: WordPress MU Recent Posts Plugin URI: http://atypicalhomeschool.net/wordpress-plugins/ Description: Retrieves a list of the most recent posts in a WordPress MU installation. Based on (Andrea - fill this in) Author: Ron Rennick Author URI: http://atypicalhomeschool.net/ */ /* Version: 0.31 Update Author: Sven Laqua Update Author URI: http://www.sl-works.de/ */ /* Parameter explanations $how_many: how many recent posts are being displayed $how_long: time frame to choose recent posts from (in days) $titleOnly: true (only title of post is displayed) OR false (title of post and name of blog are displayed) $begin_wrap: customise the start html code to adapt to different themes $end_wrap: customise the end html code to adapt to different themes Sample call: ah_recent_posts_mu(5,30,true, '<li>', '</li>'); >> 5 most recent entries over the past 30 days, displaying titles only */ function ah_recent_posts_mu($how_many, $how_long, $titleOnly, $begin_wrap, $end_wrap) { global $wpdb; $counter = 0; // get a list of blogs in order of most recent update $blogs = $wpdb->get_col("SELECT blog_id FROM $wpdb->blogs WHERE public = '1' AND archived = '0' AND mature = '0' AND spam = '0' AND deleted = '0' AND blog_id != '10' AND blog_id != '115' AND last_updated >= DATE_SUB(CURRENT_DATE(), INTERVAL $how_long DAY) ORDER BY last_updated DESC"); if ($blogs) { foreach ($blogs as $blog) { // we need _posts and _options tables for this to work $blogOptionsTable = "wp_".$blog."_options"; $blogPostsTable = "wp_".$blog."_posts"; $options = $wpdb->get_results("SELECT option_value FROM $blogOptionsTable WHERE option_name IN ('siteurl','blogname') ORDER BY option_name DESC"); // we fetch the title and link for the latest post $thispost = $wpdb->get_results("SELECT post_title, guid FROM $blogPostsTable WHERE post_status = 'publish' AND post_type = 'post' AND post_date >= DATE_SUB(CURRENT_DATE(), INTERVAL $how_long DAY) ORDER BY id DESC LIMIT 0,1"); // if it is found put it to the output if($thispost) { if ($titleOnly == false) { echo $begin_wrap.'<a href="'.$thispost[0]->guid .'">'.$thispost[0]->post_title.'</a> <br/> by <a href="' .$options[0]->option_value.'">' .$options[1]->option_value.'</a>'.$end_wrap; $counter++; } else { echo $begin_wrap.'<a href="'.$thispost[0]->guid .'">'.$thispost[0]->post_title.'</a>'.$end_wrap; $counter++; } } // don't go over the limit if($counter >= $how_many) { break; } } } } ?> |
ເບິ່ງແຖວທີ່ ໓໒ ບ່ອນນີ້ກຳຫນົດວ່າໃຫ້ສະແດງສະເພາະບລັອກທີ່ເປັນ public ສ່ວນ mature, spam, deleted ແມ່ນບໍ່ສະແດງ ແລະຍັງສາມາດສັ່ງ exclude ບລັອກທີ່ຕ້ອງການໄດ້ໂດຍໃຊ້ AND blog_id != ‘ໄອດີຂອງບລັອກ’
ປັບແລ້ວລະເອົາໄປໃສ່ໃນ mu-plugins ແລ້ວດຶງມາສະແດງໃນຫນ້າເວັບໂດຍໃຊ້
1 | <?php ah_recent_posts_mu(10,30,true, '<li>', '</li>'); ?> |
ກຳຫນົດປະລິມານຕາມນັ້ນໄດ້ເລີຍ
ບັກຜີ້ບ້າໃນ IE6
Posted on May 29, 2008, under ເທັກໂນໂລຢີ.
ຕ້ອງຂໍຖະແຫລງກ່ອນວ່າ ຄຳວ່າ “ບັກ” ທີ່ຂຶ້ນໃນຫົວຂໍ້ນັ້ນ ຫມາຍເຖິງ “Bug” ເດີ້ ເຂົ້າເລື່ອງເລີຍ ກໍ່ຄືໃນ IE6 (ແລະຕ່ຳກວ່າ) ຈະມີບັ໊ກອັນແປກປະຫລາດຢູ່ຫລາຍຢ່າງ ຫນຶ່ງໃນຈຳນວນນັ້ນຄື ເນື້ອຫາຈະຫາຍໄປເມື່ອໃຊ້ float: left; ແຕ່ຢ່າງໃດກໍ່ຕາມ ບັນຫານີ້ສາມາດແກ້ໄດ້ໂດຍການກຳຫນົດ position: relative; ເພີ່ມໃສ່ກໍ່ຈະເປັນການແກ້ໄຂສະເພາະຫນ້າໄດ້ແລ້ວ
ກວ່າຊິແກ້ໄຂໄດ້ ກໍ່ກິນເວລາໄປເກືອບມື້
ບໍ່ຫນ້າເລີຍ ລູກຄ້າເຮົາ ໃຊ້ IE6 ~_~)~~
ອ່ານເພີ່ມເຕີມໄດ້ໃນ http://www.positioniseverything.net/explorer/peekaboo.html
ພຕພ
Posted on April 27, 2008, under ເທັກໂນໂລຢີ.
ບໍ່ໄດ້ຂຽນເລື່ອງ ພຕພ ດອກ ແຕ່ວ່າຂຽນເລື່ອງພັນລາວ ຄືວ່າ ສັງເກດວ່າ ພັນລາວມີ keyword ພຕພ ຕິດຢູ່ໃນຜົນການຊອກຫາຂອງ google ນຳ ຊອກຫາຄຳວ່າ ພຕພ ໃນ google ກໍ່ຈະພົບກັບອັລບັ້ມພາບຂອງທ່ານພະນົມສິນໃນອັນດັບຕົ້ນ ໆ ກ່ອນເລີຍ

Firefox VS. IE
Posted on March 8, 2008, under ເທັກໂນໂລຢີ.
ເວົ້າຮອດເລື່ອງການຄຸມພາສາໃນ Firefox ແລະ IE ເບິ່ງແລ້ວ IE ຊະນະ Firefox ຂາດລອຍ ເພາະວ່າ IE ມີພາສາລາວໃຫ້ເລືອກວ່າຊິໃຊ້ຟອນຕ໌ໃດສຳຫລັບພາສາລາວ ເຊິ່ງມັນກໍ່ຈະໃຊ້ຟອນຕ໌ນັ້ນສະແດງຜົນໄດ້ຖືກຕ້ອງ ບໍ່ຄື Firefox ທີ່ບໍ່ມີພາສາລາວໃຫ້ເລືອກ ເລີຍວ່າຕ້ອງໄປເລືອກຟອນຕ໌ໃນ Other language ແທນ ເຮັດໃຫ້ພາສາອື່ນຜິດປົກກະຕິໄປນຳ


I’m 2% addicted to Apple!
Posted on March 6, 2008, under ເທັກໂນໂລຢີ.
TinyMCE ໃນ WordPress ບໍ່ເຮັດວຽກ
Posted on January 15, 2008, under ເທັກໂນໂລຢີ.
ພໍດີໄດ້ມີໂອກາດເບິ່ງບັນຫາ TinyMCE ເຊິ່ງເປັນ WYSIWYG Editor ໃນ WordPress ໃຫ້ກັບທ່ານ TANA ສະມາຊິກເວັບບອດ Zone-IT ໃຊ້ເວລາດົນເຕີບ ທຳອິດຄິດວ່າເປັນຍ້ອນ blank line ກ່ອນຫນ້າ <?php ແຕ່ຊອກແນວໃດກໍ່ບໍ່ເຫັນ ຫາກແຕ່ໃນ view source ມັນເຫັນຊ່ອງຫວ່າງກ່ອນ <?php ກໍ່ເລີຍຄິດວ່າຍ້ອນສາເຫດນີ້ ແຕ່ກໍ່ບໍ່ແມ່ນ
ຫລັງຈາກປຸກປ້ຳໄດ້ໄລຍະຫນຶ່ງຈຶ່ງໄດ້ໄປຮູ້ຈາກກະທູ້ນີ້ວ່າ ເປັນຍ້ອນ GZIP ມັນໃຊ້ບໍ່ໄດ້ໃນບາງ Server ເຮັດໃຫ້ມັນໂຫລດ TinyMCE ບໍ່ຜ່ານ ກໍ່ເລີຍວ່າໄປແກ້ຕາມເພິ່ນບອກ ໄປທີ່ /wp-includes/js/tinymce/tiny_mce_gzip.php ຈາກນັ້ນຊອກຫາ
if ((in_array('gzip', $encodings) || in_array('x-gzip', $encodings) || isset($_SERVER['---------------'])) && function_exists(’ob_gzhandler’) && !ini_get(’zlib.output_compression’) && ini_get(’output_handler’) != ‘ob_gzhandler’) {
$enc = in_array(’x-gzip’, $encodings) ? “x-gzip” : “gzip”;
$supportsGzip = true;
}
ແກ້ສ່ວນສີແດງເປັນ false ແລ້ວ save and then upload back to the host ກໍ່ເປັນອັນໃຊ້ໄດ້ດັ່ງເດີມ ![]()
9 days
Posted on January 14, 2008, under ເທັກໂນໂລຢີ.


Notebook ຍີ່ຫໍ້ Acer 5052ANWXMi ເປີດແບບບໍ່ເຄີຍປິດ ໄປນອນກໍ່ເປີດໄວ້ ຕື່ນມາກໍ່ເປີດໄວ້ ຖ້າໄຟບໍ່ດັບຫຼື Battery ຫມົດແມ່ນບໍ່ເຄີຍປິດໄວ້ ໃຊ້ຫນັກຫລາຍເຄື່ອງນີ້ ບໍ່ຮູ້ມັນຈະຍືນຍາວພຽງໃດ ຫວັງວ່າຈະໄດ້ເງິນຈາກ GG ມາຊື້ເຄື່ອງໃຫມ່ກ່ອນເຄື່ອງນີ້ຈະເພ 555
ທີ່ຈິງເປີດຕິດຕໍ່ກັນເກີນ 9 ມື້ແລ້ວ ແຕ່ວ່າມີບາງຊ່ວງທີ່ Connection ມັນຫລຸດ ເລີຍເລີ່ມນັບໃຫມ່
Invision Board Nulled Detection…
Posted on January 5, 2008, under ເທັກໂນໂລຢີ.
Simply go to any forum that is powered by invision board and add this to the end of there forum URL
?ipscheck=true&key=ipscheck$1@@
For instance here is lavasofts…
http://www.lavasoftsupport.com/?ipscheck=true&key=ipscheck$1@@
If it retuns a valid customer number and order number instead of blanks
and zeros then its a valid board. Now this will only work on peeps who
have not changed the key from ipscheck$1@@ to something else.
ເຜື່ອໄດ້ໃຊ້
Migrating to semi-dedicated!
Posted on December 30, 2007, under ເທັກໂນໂລຢີ.
ຊ່ວງນີ້ຖືກ host ໄລ່ເຕະອອກມາຕະຫລອດ ກ່ອນຫນ້ານີ້ກໍ່ຖືກ HostMonster ເຕະ ແລະຫລ້າສຸດກໍ່ຖືກ CirtexHosting ໄລ່ໃຫ້ໄປໃຊ້ Semi-Dedicated ອີກ (ຫຼືບໍ່ກໍ່ໄປໃຊ້ Dedicated ເລີຍ :D) ກໍ່ເລີຍຕົກລົງວ່າ ແນວໃດກໍ່ຄົງຕ້ອງເລືອກລະຫວ່າງ
- ຍ້າຍອອກໄປໃຊ້ Host ອື່ນ ເຊິ່ງກໍ່ອາດຈະຖືກເຕະອີກ
- ຍ້າຍໄປໃຊ້ Semi-Dedicated
- ຍ້າຍໄປໃຊ້ Dedicated
- ຫຼືເຊົາເຮັດ
ຂໍ້ 1 ເຖິງຍ້າຍໄປໃຊ້ຂອງລາຍອື່ນກໍ່ອາດຈະຖືກເຕະຄືເກົ່າ ດັ່ງນັ້ນຕັດບັນຫາຂໍ້ນີ້ອອກໄດ້ເລີຍ ຕໍ່ມາຄື Semi-dedicated ອາດຈະຕ້ອງໄດ້ໃຊ້ ເພາະວ່າລາຄາປະຫຍັດແລະມີຄວາມສາມາດພໍຕົວ ແຕ່ວ່າ Dedicated ນັ້ນ ແພງເກີນ ບໍ່ໄຫວ ແລະຖ້າຈະໃຫ້ເຊົາເຮັດ ກໍ່ຈະລຳບາກເພາະວ່າຕອນນີ້ເວັບຕ່າງ ໆ ກໍ່ດຳເນີນການມາໄດ້ໄລຍະຫນຶ່ງແລ້ວ
to be continued…



