Ndemanga Zaku Brian: Zokonzedwa

Mmodzi mwa mapulagini omwe ndimakonda kuthamanga pa blog yanga ndi Brian's Threaded Comments. Amalola kuti kulumikizana kukhale kwachisawawa, kolinganizidwa komanso kosavuta kuwerengera ndikuyankha. Sindikudziwa chifukwa chake malingaliro sanakokeredwe pachimake pa WordPressKomabe.

Momwe ndimayang'ana komwe masamba anga adachokera, pulogalamuyo idawonjezeranso zovuta. Pulogalamuyi imayika ma Javascript ndi ma styling kuti agwire ntchito. Vuto ndiloti makonda okhala pakati ndi JavaScript akhoza kuwonjezera nthawi zolemetsa chifukwa ma fayilo olumikizidwa ndi mafayilo amtundu wa JavaScript akhoza kusungidwa kamodzi ndi msakatuli.

Popeza bots ofufuzira adalemba kuchuluka kwa tsamba 'x', nambala ngati iyi imakankhira zomwe zili pansi. Sindinamve za izi, koma ndikukhulupirira kuti izi zitha kukhudza Kukhathamiritsa Kwa Tsamba Lanu. Njira yoyenera kudyetsa injini yosakira ndikudumphadumpha ndikupereka nyama yambiri. Ndinachita izi ndikusuntha Javascript ndi CSS ku fayilo yolumikizidwa. Ndili ndi pulogalamu yowonjezera pano.

Ndalemba Brian pa pulogalamu yowonjezera, koma imelo idasokonekera. Ndinamuponyanso ndalama kuchokera kubulogu yanga kuti ndiwone ngati angadutsepo. Ngati mukufuna, mutha download ndi wokometsedwa pulogalamu yowonjezera Pano.

8 Comments

  1. 1

    Zikomo kwambiri chifukwa cholemba fayilo!
    Ine mwachidule (osakwana mphindi khumi) ndinalowetsa chala changa mu Mgwirizano Wovuta chifukwa ndemanga zomwe zidakhazikitsidwa mosavuta zidakopa .. Momwe ndimakondera kugwiritsa ntchito tsamba langa, makina awo anali ochuluka kwambiri kuti apirire nawo mwayi wokhawu.

  2. 2

    Ndimayang'ana mafayilo anu mu zip ndipo amawoneka bwino kwambiri, komabe winawake adakumenyani mpaka mu Epulo. Onani izi posachedwa.

    China chomwe mungakonzekere ndicho kukhala ndi mafano mavesi akumaloko atawayitanitsa kuchokera kunja ndi mtundu wina wachinsinsi, mwina ndi momwe zimawonekera mozungulira mizere yomwe amatcha zithunzi za png.

    Maganizo?

  3. 4

    Wawa Doug,
    Zikomo chifukwa cha izi? Ndinali pafupi kuti ndichite zomwezo, mwandipulumutsa nthawi.

    Ndinayenera kuwonjezera ntchito zingapo kuchokera ku Brian Threaded Comments 1.5 zomwe zimaphwanya kuyeserera kwanu.
    Pamwambapa btc_add_reply_id($id):

    function btc_has_avatars() {
    if( function_exists('get_avatar'))
    return true;
    else if(function_exists('MyAvatars'))
    return true;
    return false;
    }

    function btc_avatar() {
    if( function_exists('get_avatar')) {
    echo get_avatar(get_comment_author_email(), '64');
    return;
    }
    else if(function_exists('MyAvatars')) {
    MyAvatars();
    return;
    }
    }

    Ndinaonjezeranso CSS pang'ono kuchokera ku BTC 1.5 ku fayilo ya .css:

    .btc_gravatar {
    float: right;
    margin: 3px 3px 4px 4px;
    }
    .collapsed .btc_gravatar { display:none; } /* I added this, since the gravatars weren't collapsing nicely */

  4. 5

    Izi ndi zabwino, Doug! Magazini imodzi: Zikuwoneka kuti pulogalamu yowonjezera tsopano ikufuna kukhala mu briansthreadedcomments subfolder ya mapulagini, koma zochepa mwazithunzizi zimaperekedwa ndikulandila fayilo ya PHP mu chikwatu cha mapulagini (pomwe wogwiritsa ntchito adalemba nawo maimelo, mwachitsanzo). Ndinagwira ntchito mozungulira ndikukhala ndi fayilo ya PHP m'malo onsewa. Mwina amangofunika kuti ulalo usinthidwe penapake.

  5. 8

Mukuganiza chiyani?

Tsambali likugwiritsa ntchito Akismet kuchepetsa spam. Phunzirani momwe deta yanu ikufotokozera.