Muhimu: Ukurasa Hii ni kwa kutumia cookies (cookies). Kutumia tovuti hii bila kugeuka mbali kuki kwenye kivinjari, ina maana kwamba unakubali kwa kutumia hiyo.
Buy Now! Features Downloads

Kupata na sisi!

Kama ungependa kuanza kupata fedha kwa vBET kujiunga na Affiliate Program.
Matokeo 1 kwa 3 ya 3

Thread: Langtitle si parsed

  1. #1
    Senior Member
    Join Date
    Nov 2009
    Posts
    168

    Default Langtitle si parsed

    Mimi muundo desturi kwamba inaonyesha posts user ya hivi karibuni katika linganisha user msingi maswali hizi mbili:

    $ Getposts = $ db-> query_read ("CHAGUA b.threadid tofauti". TABLE_PREFIX. "Posta," TABLE_PREFIX.. "Thread b WAPI a.userid =" $. VBulletin-> userinfo ['userid'] ". NA b.visible = 1 NA a.threadid = b.threadid ORDER BY kikomo a.postid DESC 5 ");

    Kisha msingi mbali ya thread id kwamba swala la,
    $ Getthreadid = $ db-> query_read (.. "SELECT * FROM" TABLE_PREFIX "thread WAPI threadid = $ TID");

    Wakati sisi magazeti jina hili thread kutoka database, tag langtitle si parsed. Je, kuna kazi naweza kuhitaji + waomba katika Plugin kichwa ili parse yake?

  2. #2
    Michał Podbielski (vBET Staff) vBET's Avatar
    Join Date
    Oktoba 2009
    Posts
    3,037

    Default

    Ambayo vBET version ni wewe kutumia? Kutolewa mwisho wa kimataifa langtitle parsing utendaji.

  3. #3
    Senior Member
    Join Date
    Nov 2009
    Posts
    168

    Default

    Latest version, 3.3.3, ambayo ni kwa nini nilikuwa puzzled.

    I figured it out, hata hivyo. Added hii Plugin yangu:

    PHP Code:
    if (strpos($rpthread['title'], '[/langtitle]')) {
    require_once(
    DIR'/includes/vbenterprisetranslator_functions_bbcode.php');
    $rpthread['title'] = vbet_parseTitle($rpthread['title']);


Tags kwa Thread hii

Posting ruhusa

  • Wewe inaweza baada ya nyuzi mpya
  • Wewe inaweza post replies
  • Wewe inaweza post attachments
  • Wewe inaweza hariri posts yako
  •