• 25-05-2007, 20:02:29
    #1


    Sources/Display.php 'yi aç..
    Kodu bul..
    ?>
    Bununla Değiştir...
    //Bar of Experience Mod
    function barExp()
    {
    global $txt, $db_prefix, $settings, $bar_posts, $bar_exps;
    $bar_post = $bar_posts;
    $bar_nextlevel = 50;
    $bar_backlevel = 0;
    $bar_newlevel = 50;
    $check_req = db_query("
    SELECT minPosts 
    FROM {$db_prefix}membergroups
    ORDER BY minPosts ASC", __FILE__, __LINE__);
    while($row_bar = mysql_fetch_array($check_req))
    { 
    if ($bar_posts >= $row_bar['minPosts'])
    $bar_backlevel = $row_bar['minPosts'];
    }
    $check_req = db_query("
    SELECT minPosts 
    FROM {$db_prefix}membergroups
    ORDER BY minPosts DESC", __FILE__, __LINE__);
    while($row_bar = mysql_fetch_array($check_req))
    { 
    if ($row_bar['minPosts'] > $bar_backlevel)
    $bar_newlevel = $row_bar['minPosts'];
    }
    $bar_post -= $bar_backlevel;
    $bar_nextlevel = $bar_newlevel - $bar_backlevel;
    $bar_fill = 0;
    $bar_exp = 0;
    if ($bar_post > 0)
    $bar_exp = round(sprintf(($bar_post / $bar_nextlevel) * 100),2);
    $fill = (int) $bar_exp;
        if ($fill)
    $bar_fill = '<img src="' . $settings['images_url'] . '/bar_fill.gif" width="' . $fill . '" height="11">';
    else
    $bar_fill = '';
        
    $bar_empty = 100 - $bar_exp;
        if ($bar_empty)
    $bar_empty = '<img src="' . $settings['images_url'] . '/bar_empty.gif" width="' . $bar_empty . '" height="11">';
    else
    $bar_empty = '';
        
    if ($fill >= 100 || $fill < 1) 
    $bar_exps = '<img src="' . $settings['images_url'] . '/bar_up.gif" width="106" height="5"><br><img src="' . $settings['images_url'] . '/bar_full.gif" width="106" height="11"><br><img src="' . $settings['images_url'] . '/bar_down.gif" width="106" height="5"><br>'. $txt['bar_exp_completed'];
    else
    $bar_exps = '<img src="' . $settings['images_url'] . '/bar_up.gif" width="106" height="5"><br><img src="' . $settings['images_url'] . '/bar_left.gif" width="3" height="11">' . $bar_fill . '<img src="' . $settings['images_url'] . '/bar_right.gif" width="3" height="11">' . $bar_empty . '<br><img src="' . $settings['images_url'] . '/bar_down.gif" width="106" height="5"><br>&nbsp;' . $txt['bar_exp_next'] . '<br>&nbsp;' . $bar_exp . '% ( ' . $bar_post . ' / ' . $bar_nextlevel . ' )';
    }
    ?>
    Sources/ModSettings.php 'yi aç..
    Kodu bul..
    array('check', 'who_enabled'),
    Bununla değiştir..
    array('check', 'who_enabled'),
    array('rule'),
    // Bar of Experience
    array('check', 'bar_exp_enabled'),
    Display.template.php'yi aç..
    Kodu bul..
    global $context, $settings, $options, $txt, $scripturl, $modSettings;
    Bununla Değiştir...
    global $context, $settings, $options, $txt, $scripturl, $modSettings, $bar_exps, $bar_posts;
    Kodu bul..
    // Otherwise, show the guest's email.
      elseif (empty($message['member']['hide_email']))
       echo '
    <br />
    <br />
    <a href="mailto:', $message['member']['email'], '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/email_sm.gif" alt="' . $txt[69] . '" title="' . $txt[69] . '" border="0" />' : $txt[69]), '</a>';
    Bununla değiştir..
    //Bar of Experience Mod
    $bar_posts = $message['member']['posts'];
    barExp();
    if (!empty($modSettings['bar_exp_enabled']))
    $bar_exper = '<br /><br />' . $bar_exps . '<br />';
    else
    $bar_exper = '';
    echo '
    <br /><br />', $bar_exper, '<br />';
    Modifications.turkish.php 'yi aç..
    bul..
    ?>
    Değiştir...
    //Bar of Experience Mod
    $txt['bar_exp_enabled'] = 'Level Göstergesini Aktif Et';
    $txt['bar_exp_completed'] = '100% Tamamlandi';
    $txt['bar_exp_next'] = 'Sonraki Level:';
    ?>

    Aşağıdaki rarlı dosyanın içindeki resimleri kullandığınız temanın images klasörüne atın..

    RESİMLERİ İNDİR

    Son olarak resimdeki ayarı yapın..

  • 22-07-2007, 19:28:37
    #2
    resimlerin olduğu dosyayı indiremedim. tekrar yüklermisiniz.
  • 22-07-2007, 23:16:52
    #3
    Buna Experience Bar diyoruz koçum başlığı düzeltirsen sevinirim...
  • 14-08-2007, 01:33:58
    #4
    Üyeliği durduruldu
    Alıntı
    Modifications.turkish.php 'yi aç.
    bunu bulamadim kendi tema klasörümde defaulttan alip kendi temama attım sorun cıkmaz umarim birde resimleri başka bi yere upload edebilirmisin not avaible diyor
  • 14-08-2007, 15:44:23
    #5
    izmirli_ adlı üyeden alıntı: mesajı görüntüle
    Buna Experience Bar diyoruz koçum başlığı düzeltirsen sevinirim...
    Helal olsun valla sen bunudamı bilirdin =)