傻瓜留下給我們的神奇布。
-
矮子
這位老兄其實很“臨”矮,矮到你會怕!他被“邀請”到我的部落客來講鳥話,因爲他本人也很鬼死鳥,和他認識並不久,但這位仁兄很“臨7”照顧我,有什麽是都是他為我出頭,因爲他很矮,大多數人都不扁他。。。給個熱烈的掌聲歡迎他的加入!
-
高高高高高高高矮高高高高高高高高子高高高高高的高高高高第高高高高一高高高高高高高高高次高
阿~~~好久沒有用頭腦去
說服征服電腦了, 摸索了几個小時才大概知道怎樣用這個program來寫部落……這是矮子第一次寫部落哦,禮貌上也要假假的說聲 : 如有的失之處 , 請多多包含函這也有可能是矮子最後一次寫的部落哦,因為本人的
耐心恆心是SENDIRIAN BERHAD. 自己都不知道為甚麼突然有一個想寫部落的衝動 . 寫到這裡也有點後悔為甚麼自己要開始寫了 .4了, 不知道要怎樣繼續我的部落了, 就此絕筆的話又好像不好意思 , 怎樣都說我的部落最少有一個人看的阿….部落個個主 – PAUL …….就以”常見問題” 來開始進入正題吧!!!
天阿 ! 這個是甚麼主題阿 ?
一個濫有藝術但是其實是沒有藝術的主題為甚麼我要用華語寫部落 ?
因為矮子是中國人 , 讀中國報為甚麼我會認識個主 – 保而 ?
忘記了 , 雞朋蛇友太多為甚麼會寫部落個 ?
原因 1) 感覺上跟的上潮流 , 走在網上的潮流尖端
原因 2) 今天沒有上班 =.=~~~~矮子的第一次~~~~
我很矮 , 可是我很溫柔 -
Word Press 2.0 Trackback fix revisit
After follow Ah Knight’s instruction of updating wp_posts to_ping column, it seem like I can’t perform normal trackback again. I got it fix and download the files here. Or read below for more details, there are 2 files need to be change, which is;
- wp-includes/function-posts.php
- wp-admin/execute-pings.php
file: wp-includes/function-post.php
line of code: 700
if ( empty($to_ping) )
return;Instead of doing nothing here, we replace the return; to Ah Knight’s code, become;
if ( empty($to_ping) ) {
$wpdb->query("UPDATE $wpdb->posts SET to_ping = '' WHERE ID = '$post_id'");
return;
}file: wp-admin/execute-pings.php
line of code: 22while ($trackback = $wpdb->get_row("SELECT ID FROM $wpdb->posts WHERE TRIM(to_ping) != '' AND post_status != 'draft' LIMIT 1")) {
echo "Trackback : $trackback->ID
";
do_trackbacks($trackback->ID);
}Some changes made here, make sure to_ping field is clean and make a trackbacks looping!
$trackbacks = $wpdb->get_results("SELECT ID FROM $wpdb->posts WHERE TRIM(to_ping) != '' AND post_status != 'draft'");if (is_array($trackbacks) && count($trackbacks)) {
foreach ($trackbacks as $trackback ) {
echo "Trackback : $trackback->ID
";
do_trackbacks($trackback->ID);
}
}Done, if you not sure what am I explaning above, you can download the file here in zip format, if you are worry the code is not working, backup your original file.
Happy Trackback!
-
There He Goes
After 1 year and 6 months working with Ah Chua, today is his last day in the company, heh.. kinda sad leh… nobody can have breakfast with me early morning(usually other colleagues came in quiet late) at the mamak downstair, nobody will wank about php framework with me in the office with me, nobody talking about php classes with me, less people let me kacau, less people cock with me, cannot hear someone said, “No Good la.. no money”… cannot listen chinese oldies songs… Heh.. Ah Fei Chua, when you ask him, “Hey Fatty, how are you?”, I am sure he only, always, all the time answer you, “Bad la, no money la….”. He is that kind of person, always said no money, I always tell him don’t say no money, because the more you said no money, then one day you become no money leh.. haha..
Thanks Paul,
for always argue with me. without you, i think i’m still a stupid programmer. you are the one who make me to look for new tech, alternative solution, new ideas and etc.That’s the email he sent out to tech, part for me.. LoL… ya.. neither me, nobody will argue with me on programming, and fight to read In-Tech or Computimes first.. also borrow his Personal Money to read.. Hahah.. and meet J.Lim for lunch. By the way, you don’t so humble la, you are expert programmer, what stupid…. so insulting leh you!
And I think, most of us will miss chua superb laptop towel, and his KL hokkien slang hahaha… well, all the best to you tua pui kia!!!
