728x90 AdSpace

  • Latest News

    Thứ Sáu, 30 tháng 6, 2017

    Mod BBcode Thank Johncms

    Mở forum/index.php tìm
     PHP Code:


    $text
    functions::smileys($text,$res['rights'] ? 1:0);thêm code sau vào dưới đoạn đó
    $checkthank
    mysql_query('SELECT COUNT(*) FROM `forum_thank` WHERE `userthank` = "'.$user_id.'" and `topic` = "'.$res['id'].'" and `user` = "'.$res['user_id'].'"');$thankcheckmysql_result($checkthank,0);
    if(
    $thankcheck<1&&$user_id!=$res['user_id']){$textpreg_replace('#\[thank\](.*?)\[/thank\]#si','
    hidden post
    click thanks to Unlock content

    '
    ,$text);
    }else{
    $textpreg_replace('#\[thank\](.*?)\[/thank\]#si','\1',$text);
    }

    Bỏ php đầu cuối nhé 
    Éo có đâu. Sợ vài ký tự thành icon <3

    - Cách dùng [thank]nội dung[/thank] .rất đơn giản đúng không ?
    • Blogger Comments
    • Facebook Comments

    0 nhận xét:

    Đăng nhận xét

    Item Reviewed: Mod BBcode Thank Johncms Rating: 5 Reviewed By: TĐK Writter
    Scroll to Top