回家的感覺真好,今早六點開車,很快的九點十五分就到達了檳城,找了裕丰和“雞庫”吃早餐,齊齊講鳥話到十一點半再慢慢的駕回吉打。說真的,整條路大大條,如果你叫我駕110km/h是很折磨的事情,會很愛睡。。。
新年就快到來了,祝你們發大財!
這位老兄其實很“臨”矮,矮到你會怕!他被“邀請”到我的部落客來講鳥話,因爲他本人也很鬼死鳥,和他認識並不久,但這位仁兄很“臨7”照顧我,有什麽是都是他為我出頭,因爲他很矮,大多數人都不扁他。。。給個熱烈的掌聲歡迎他的加入!
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;
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: 22
while ($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!
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!!!
Mr-AZ is coming to Singapore in March, ya… Singapore! But not Malaysia, Heh… I am not sure are there people who listen to his song in our country.. Please correct me if I am wrong, if you know about The Remedy and You & I Both, then you should know who is Jason Mraz.
It’s not Jason Mraz’s concert in Singapore, is Mosaic Music Festival by Esplanade, Jason will play 25minutes accoustic set(hope to be longer!) for Mosaic Music Festival opening act on 17th March. In order to catch his live! performance, I think I’ll be going to the music festival, hard to have him come to Singpore/M’sia, may be after few years when he becomes very very popular?
Ticket is from $48 onward, meet cool musican around the world!!
….. see you soon Jason Mraz!!!