meta http-equiv="refresh" content="1;URL=http://www.forumzirve.net">
ForumSevgisi.Com

  ForumSevgisi.Com > ForumSevgisi Webmaster Bölümü > vBulletin > vBulletin 4.x.x


VSa Chatbox avatar ekleme


VSa Chatbox avatar ekleme

vBulletin Kategorisinde ve vBulletin 4.x.x Forumunda Bulunan VSa Chatbox avatar ekleme Konusunu Görüntülemektesiniz,Konu İçerigi Kısaca ->> VSa Chatbox avatar ekleme Kurulum ======== Adminpc >> Pluginler & Ürünler >> Plug-in Yönetimi >> VSa - ChatBox - MN ...

Kullanıcı Etiket Listesi

Yeni Konu aç  Cevapla
LinkBack Seçenekler Stil

Okunmamış 10 Mart 2017, 21:27   #1
Durumu:
Çevrimdışı
hergele
Banlı Üye
hergele - ait Kullanıcı Resmi (Avatar)
Saygin
Üyelik tarihi: 29 Mart 2016
Şehir: BURSA
Yaş: 27
Mesajlar: 1.148
Konular: 403
Beğenilen: 243
Beğendiği: 177
www.forumsevgisi.com
Standart VSa Chatbox avatar ekleme

VSa Chatbox avatar ekleme




Kurulum
========
Adminpc >> Pluginler & Ürünler >> Plug-in Yönetimi >> VSa - ChatBox - MN >> DÜZENLE

Açın ve içeriğindeki kodları silip aşağıdaki ile değiştirin.
PHP- Kodu:
PHP- Kodu:
$vsatopstats_prelocs '';
        if (
$vbulletin->options['vsatopstats_script_locs']!='')
        {
            
$vsatopstats_prelocs .= 'misc,';
        }
        else
        {
            
$vsatopstats_prelocs .= 'misc';
        }
        eval(
'$vsatopstats_locs = in_array(THIS_SCRIPT, array(' $vsatopstats_prelocs $vbulletin->options['vsatopstats_script_locs'] . '));');

        if (
$vbulletin->options['vsatopstats_enable_global'] AND !is_member_of($vbulletin->userinfoexplode(','$vbulletin->options['vsatopstats_excl_groups'])) AND !isset($_POST['fromquickreply']))
        {
            if (
$vbulletin->userinfo['userid'])
            {
                if (
$vbulletin->userinfo['showvsastats']=='1')
                {
                    
$vsastats_show true;
                }
                else
                {
                    
$vsastats_show false;
                }

                if (!
$vsastats_show)
                {
                    
$vsa_topstats_turnonlink '<a href="misc.php?'.$session['sessionurl'].'do=enablestats" rel="nofollow">'.$vbphrase['vsa_afs_turnon_stats'].'</a>';                    
                    
$vsa_topstats_turnonlink_nb '<li>'.$vsa_topstats_turnonlink.'</li>';
                    
$template_hook['navbar_quick_links_menu_pos4'] .= $vsa_topstats_turnonlink_nb;
                    
                    
$vsa_topstats_turnonlinkimg '<a href="misc.php?'.$session['sessionurl'].'do=enablestats" rel="nofollow"><img src="http://i42.tinypic.com/xgboqp.jpg" border="0" height="16" width="18" style="margin-top: 5px" title="'.$vbphrase['vsa_afs_turnon_stats'].'" alt="'.$vbphrase['vsa_afs_turnon_stats'].'" /></a>';                    
                    
$vsa_topstats_turnonlink_nb '<li>'.$vsa_topstats_turnonlinkimg.'</li>';
                    
$template_hook['navbar_end'] .= $vsa_topstats_turnonlink_nb;
                }
            }
            else
            {
                
$vsastats_show true;
            }
        }

        if (
$vsastats_show AND in_array(THIS_SCRIPT, array($vsatopstats_locs)))
        {
            
$vbulletin->db->hide_errors();
            global 
$vbulletin;

            
$vsastats_latestnews_enabled false;
            
$vsastats_mostviewedthreads_enabled false;
            
$vsastats_hottestthreads_enabled false;
            
$vsastats_hottestforums_enabled false;
            
$vsastats_classifiedads_enabled false;
            
$vsastats_latestblogs_enabled false;
            
$vsastats_groupposts_enabled false;
            
$vsastats_newestmembers_enabled false;
            
$vsastats_posters_enabled false;
            
$vsastats_threadstarters_enabled false;
            
$vsastats_referrers_enabled false;
            
$vsastats_reputations_enabled false;
            
$vsastats_thanked_enabled false;
            
$vsastats_infractions_enabled false;
            
$vsastats_visitors_enabled false;
            
$vsastats_groups_enabled false;
            
$vsastats_donations_enabled false;
            
$vsastats_enabledstats '';
            
$vsastats_enabledstats '';

            
$vsastats_latestposts_enabled true;
            if (
strstr($vbulletin->options['vsatopstats_enable_items'], 'latestposts_l'))
            {
                
$vsastats_latestposts_pos 1;
            }
            else
            {
                
$vsastats_latestposts_pos 2;
            }
            if (
strstr($vbulletin->options['vsatopstats_enable_items'], 'latestnews') AND ($vbulletin->options['vsatopstats_latestnews_newsforumid']!=''))
            {
                
$vsastats_latestnews_enabled true;
                
$vsastats_enabledstats .= ',latestnews';
            }
            if (
strstr($vbulletin->options['vsatopstats_enable_items'], 'mostviewedthreads'))
            {
                
$vsastats_mostviewedthreads_enabled true;
                
$vsastats_enabledstats .= ',mostviewedthreads';
            }
            if (
strstr($vbulletin->options['vsatopstats_enable_items'], 'hottestthreads'))
            {
                
$vsastats_hottestthreads_enabled true;
                
$vsastats_enabledstats .= ',hottestthreads';
            }
            if (
strstr($vbulletin->options['vsatopstats_enable_items'], 'hottestforums'))
            {
                
$vsastats_hottestforums_enabled true;
                
$vsastats_enabledstats .= ',hottestforums';
            }
            if (
strstr($vbulletin->options['vsatopstats_enable_items'], 'classifiedads') AND ($vbulletin->options['vsatopstats_classads_forums']!=''))
            {
                
$vsastats_classifiedads_enabled true;
                
$vsastats_enabledstats .= ',classifiedads';
            }
            if (
strstr($vbulletin->options['vsatopstats_enable_items'], 'latestblogs'))
            {
                
$vsastats_latestblogs_enabled true;
                
$vsastats_enabledstats .= ',latestblogs';
            }
            if (
strstr($vbulletin->options['vsatopstats_enable_items'], 'groupposts'))
            {
                
$vsastats_groupposts_enabled true;
                
$vsastats_enabledstats .= ',groupposts';
            }
            if (
strstr($vbulletin->options['vsatopstats_enable_items'], 'newestmembers'))
            {
                
$vsastats_newestmembers_enabled true;
                
$vsastats_enabledstats .= ',newestmembers';
            }
            if (
strstr($vbulletin->options['vsatopstats_enable_items'], 'posters'))
            {
                
$vsastats_posters_enabled true;
                
$vsastats_enabledstats .= ',posters';
            }
            if (
strstr($vbulletin->options['vsatopstats_enable_items'], 'threadstarters'))
            {
                
$vsastats_threadstarters_enabled true;
                
$vsastats_enabledstats .= ',threadstarters';
            }
            if (
strstr($vbulletin->options['vsatopstats_enable_items'], 'referrers'))
            {
                
$vsastats_referrers_enabled true;
                
$vsastats_enabledstats .= ',referrers';
            }
            if (
strstr($vbulletin->options['vsatopstats_enable_items'], 'reputations'))
            {
                
$vsastats_reputations_enabled true;
                
$vsastats_enabledstats .= ',reputations';
            }
            if (
strstr($vbulletin->options['vsatopstats_enable_items'], 'thanked') AND $vbulletin->options['post_thanks_on_off'])
            {
                
$vsastats_thanked_enabled true;
                
$vsastats_enabledstats .= ',thanked';
            }
            if (
strstr($vbulletin->options['vsatopstats_enable_items'], 'infractions'))
            {
                
$vsastats_infractions_enabled true;
                
$vsastats_enabledstats .= ',infractions';
            }
            if (
strstr($vbulletin->options['vsatopstats_enable_items'], 'visitors'))
            {
                
$vsastats_visitors_enabled true;
                
$vsastats_enabledstats .= ',visitors';
            }
            if (
strstr($vbulletin->options['vsatopstats_enable_items'], 'groups'))
            {
                
$vsastats_groups_enabled true;
                
$vsastats_enabledstats .= ',groups';
            }
            if (
strstr($vbulletin->options['vsatopstats_enable_items'], 'donations') AND $vbulletin->options['vsapaypal_enable'] AND is_member_of($vbulletin->userinfoexplode(','$vbulletin->options['vsapaypal_canseelist'])))
            {
                
$vsastats_donations_enabled true;
                
$vsastats_enabledstats .= ',donations';
            }
            
$vsastats_enabledstats substr($vsastats_enabledstats1);

            if ((
$vbulletin->options['vsatopstats_switch_fdef']=='random') OR ($vbulletin->options['vsatopstats_switch_udef']=='random'))
            {
                
$vsatopstats_enabled_items explode(",",$vsastats_enabledstats);
                
$vsatopstats_enabled_ritem array_rand($vsatopstats_enabled_items,3);
            }

            if (
$vbulletin->options['vsatopstats_switch_fdef']=='random')
            {
                if (
strstr($vsastats_enabledstats','))
                {
                    
$vsatopstats_init_fstat $vsatopstats_enabled_items[$vsatopstats_enabled_ritem[0]];
                }
                else
                {
                    
$vsatopstats_init_fstat $vsastats_enabledstats;
                }
            }
            else if (
strstr($vsastats_enabledstats$vbulletin->options['vsatopstats_switch_fdef']))
            {
                
$vsatopstats_init_fstat $vbulletin->options['vsatopstats_switch_fdef'];
            }
            if (!
$vsatopstats_init_fstat)
            {
                
$vsatopstats_init_fstat "badadmin";
                
            }

            
$vsatopstats_blocksec_enabled true;
            if (
$vbulletin->options['vsatopstats_switch_udef']=='disabled')
            {
                
$vsatopstats_blocksec_enabled false;
            }

            if ((
$vbulletin->options['vsatopstats_switch_udef']=='random') AND $vsatopstats_blocksec_enabled)
            {
                if (
strstr($vsastats_enabledstats','))
                {
                    
$vsatopstats_init_ustat $vsatopstats_enabled_items[$vsatopstats_enabled_ritem[1]];
                    if (
$vsatopstats_init_ustat==$vsatopstats_init_fstat)
                    {
                        
$vsatopstats_init_ustat $vsatopstats_enabled_items[$vsatopstats_enabled_ritem[2]];
                    }
                }
                else
                {
                    
$vsatopstats_init_ustat $vsastats_enabledstats;
                }
            }
            else if (
strstr($vsastats_enabledstats$vbulletin->options['vsatopstats_switch_udef']))
            {
                
$vsatopstats_init_ustat $vbulletin->options['vsatopstats_switch_udef'];
            }
            if (!
$vsatopstats_init_ustat)
            {
                
$vsatopstats_init_ustat "badadmin";
            }

            
$vsastats_latestposts_tcenabled false;
            
$vsastats_latestnews_tcenabled false;
            
$vsastats_mostviewedthreads_tcenabled false;
            
$vsastats_hottestthreads_tcenabled false;
            
$vsastats_hottestforums_tcenabled false;
            
$vsastats_classifiedads_tcenabled false;
            
$vsastats_latestblogs_tcenabled false;
            
$vsastats_newestmembers_tcenabled false;
            
$vsastats_posters_tcenabled false;
            
$vsastats_threadstarters_tcenabled false;
            
$vsastats_referrers_tcenabled false;
            
$vsastats_reputations_tcenabled false;
            
$vsastats_thanked_tcenabled false;
            
$vsastats_infractions_tcenabled false;
            if (
$vbulletin->options['vsatopstats_timecut']>0)
            {
                
$vsatopstats_timecut_start TIMENOW - ($vbulletin->options['vsatopstats_timecut'] * 86400);
                if (
strstr($vbulletin->options['vsatopstats_enable_timecut'], 'tc_latestposts'))
                {
                    
$vsastats_latestposts_tcenabled "(".construct_phrase($vbphrase['vsastats_last_x_days'], $vbulletin->options['vsatopstats_timecut']).")";
                    
$vsatopstats_timecut_lastpost "AND thread.lastpost > $vsatopstats_timecut_start";
                }            
                if (
strstr($vbulletin->options['vsatopstats_enable_timecut'], 'tc_latestnews'))
                {
                    
$vsastats_latestnews_tcenabled "(".construct_phrase($vbphrase['vsastats_last_x_days'], $vbulletin->options['vsatopstats_timecut']).")";
                    
$vsatopstats_timecut_latestnews "AND dateline > $vsatopstats_timecut_start";
                }
                if (
strstr($vbulletin->options['vsatopstats_enable_timecut'], 'tc_mostviewedthreads'))
                {
                    
$vsastats_mostviewedthreads_tcenabled "(".construct_phrase($vbphrase['vsastats_last_x_days'], $vbulletin->options['vsatopstats_timecut']).")";
                    
$vsatopstats_timecut_mostviewed "AND dateline > $vsatopstats_timecut_start";
                }
                if (
strstr($vbulletin->options['vsatopstats_enable_timecut'], 'tc_hottestthreads'))
                {
                    
$vsastats_hottestthreads_tcenabled "(".construct_phrase($vbphrase['vsastats_last_x_days'], $vbulletin->options['vsatopstats_timecut']).")";
                    
$vsatopstats_timecut_hottest "AND dateline > $vsatopstats_timecut_start";
                }
                if (
strstr($vbulletin->options['vsatopstats_enable_timecut'], 'tc_hottestforums'))
                {
                    
$vsastats_hottestforums_tcenabled "(".construct_phrase($vbphrase['vsastats_last_x_days'], $vbulletin->options['vsatopstats_timecut']).")";
                    
$vsatopstats_timecut_topforums "AND post.dateline > $vsatopstats_timecut_start";
                }
                if (
strstr($vbulletin->options['vsatopstats_enable_timecut'], 'tc_classifiedads'))
                {
                    
$vsastats_classifiedads_tcenabled "(".construct_phrase($vbphrase['vsastats_last_x_days'], $vbulletin->options['vsatopstats_timecut']).")";
                    
$vsatopstats_timecut_classads "AND dateline > $vsatopstats_timecut_start";
                }
                if (
strstr($vbulletin->options['vsatopstats_enable_timecut'], 'tc_latestblogs'))
                {
                    
$vsastats_latestblogs_tcenabled "(".construct_phrase($vbphrase['vsastats_last_x_days'], $vbulletin->options['vsatopstats_timecut']).")";
                    
$vsatopstats_timecut_blogs "AND dateline > $vsatopstats_timecut_start";
                }
                if (
strstr($vbulletin->options['vsatopstats_enable_timecut'], 'tc_newestmembers'))
                {
                    
$vsastats_newestmembers_tcenabled "(".construct_phrase($vbphrase['vsastats_last_x_days'], $vbulletin->options['vsatopstats_timecut']).")";
                    
$vsatopstats_timecut_newmem "AND joindate > $vsatopstats_timecut_start";
                }
                if (
strstr($vbulletin->options['vsatopstats_enable_timecut'], 'tc_posters'))
                {
                    
$vsastats_posters_tcenabled "(".construct_phrase($vbphrase['vsastats_last_x_days'], $vbulletin->options['vsatopstats_timecut']).")";
                    
$vsatopstats_timecut_toppost "AND post.dateline > $vsatopstats_timecut_start";
                }
                if (
strstr($vbulletin->options['vsatopstats_enable_timecut'], 'tc_threadstarters'))
                {
                    
$vsastats_threadstarters_tcenabled "(".construct_phrase($vbphrase['vsastats_last_x_days'], $vbulletin->options['vsatopstats_timecut']).")";
                    
$vsatopstats_timecut_topstarters "AND thread.dateline > $vsatopstats_timecut_start";
                }
                if (
strstr($vbulletin->options['vsatopstats_enable_timecut'], 'tc_referrers'))
                {
                    
$vsastats_referrers_tcenabled "(".construct_phrase($vbphrase['vsastats_last_x_days'], $vbulletin->options['vsatopstats_timecut']).")";
                    
$vsatopstats_timecut_topreferrers "AND refs.joindate > $vsatopstats_timecut_start";
                }
                if (
strstr($vbulletin->options['vsatopstats_enable_timecut'], 'tc_reputations'))
                {
                    
$vsastats_reputations_tcenabled "(".construct_phrase($vbphrase['vsastats_last_x_days'], $vbulletin->options['vsatopstats_timecut']).")";
                    
$vsatopstats_timecut_rep "AND reputation.dateline > $vsatopstats_timecut_start";
                }
                if (
strstr($vbulletin->options['vsatopstats_enable_timecut'], 'tc_thanked'))
                {
                    
$vsastats_thanked_tcenabled "(".construct_phrase($vbphrase['vsastats_last_x_days'], $vbulletin->options['vsatopstats_timecut']).")";
                    
$vsatopstats_timecut_thx "AND post.dateline > $vsatopstats_timecut_start";
                }
                if (
strstr($vbulletin->options['vsatopstats_enable_timecut'], 'tc_infractions'))
                {
                    
$vsastats_infractions_tcenabled "(".construct_phrase($vbphrase['vsastats_last_x_days'], $vbulletin->options['vsatopstats_timecut']).")";
                    
$vsatopstats_timecut_infractions "AND infraction.dateline > $vsatopstats_timecut_start";
                }
            }

            
$vsastatsforumperms = array();
            if (
$vbulletin->options['apboupc_global_enable'])
            {
                
$vsastats_vsaapbouc_excgroups explode(",",$vbulletin->options['apboupc_forum_excludedgroups']);
            }
            foreach(
$vbulletin->forumcache AS $vsatsforum)
            {
                
$vsastatsforumperms[$vsatsforum["forumid"]] = fetch_permissions($vsatsforum['forumid']);
                if ((!(
$vsastatsforumperms[$vsatsforum["forumid"]] & $vbulletin->bf_ugp_forumpermissions['canview'])) OR (!($vsatsforum['options'] & $vbulletin->bf_misc_forumoptions['active']) AND !$vbulletin->options['showprivateforums'] AND !is_member_of($vbulletin->userinfo5,6,7)) OR ($vbulletin->options['apboupc_global_enable'] AND ($vsatsforum['accessf_nb']>$vbulletin->userinfo['posts']) AND !is_member_of($vbulletin->userinfo$vsastats_vsaapbouc_excgroups)))
                {
                    
$vsaexclfids .= ','.$vsatsforum['forumid'];
                }
            }
            if (
$vbulletin->options['vsatopstats_excl_forums']!='')
            {
                
$vsaexclfids .= ','.$vbulletin->options['vsatopstats_excl_forums'];
            }
            
$vsaexclfids substr($vsaexclfids1);
            if (
$vsaexclfids!='')
            {
                
$vsaexclforums_lastposts "AND thread.forumid NOT IN($vsaexclfids)";
                
$vsaexclforums_topforums "AND thread.forumid NOT IN($vsaexclfids)";
                
$vsaexclforums "AND forumid NOT IN($vsaexclfids)";
            }
            unset(
$vsatsforum);

            if (
$vbulletin->options['vsatopstats_excl_groups_listing']!='')
            {
                
$vsaexclgids ','.$vbulletin->options['vsatopstats_excl_groups_listing'];
            }            
            
$vsaexclgids substr($vsaexclgids1);
            if (
$vsaexclgids!='')
            {
                
$vsaexclgroups_user "AND user.usergroupid NOT IN ($vsaexclgids)";
                
$vsaexclgroups "AND usergroupid NOT IN ($vsaexclgids)";
            }            

            if (
$vbulletin->options['vsatopstats_excl_users_listing']!='')
            {
                
$vsaexcluids ','.$vbulletin->options['vsatopstats_excl_users_listing'];
            }            
            
$vsaexcluids substr($vsaexcluids1);
            if (
$vsaexcluids!='')
            {
                
$vsaexclusers_user "AND user.userid NOT IN ($vsaexcluids)";
                
$vsaexclusers "AND userid NOT IN ($vsaexcluids)";
            }            
            
            if (
$_REQUEST['do'] == 'vsastats')
            {
                
$vsacb_resnr $vbulletin->input->clean_gpc('r''vsacb_resnr'TYPE_UINT);

                
$vsa_rnr_options explode(','$vbulletin->options['vsatopstats_amount_more']);
                foreach (
$vsa_rnr_options AS $vsa_rnr_option)
                {
                    eval(
'$vsacb_resnrswp .= " <option value=\"'.$vsa_rnr_option.'\" " . iif($vsacb_resnr==$vsa_rnr_option," selected=\"selected\"","").">'.$vsa_rnr_option.'</option> ";');
                }
                
$vsacb_resnrsw construct_phrase($vbphrase['vsa_afs_show_x_results'], '<br /><select id="vsacb_resnr" name="vsacb_resnr" tabindex="1" onchange="vsastatsresnum.submit();">'.$vsacb_resnrswp.'</select>');

                if (
$vsacb_resnr 1)
                {
                    
$vsacb_resnr intval($vbulletin->options['vsatopstats_amount_more']);
                }
            }
            else
            {
                
$vsacb_resnr intval($vbulletin->options['vsatopstats_amount_main']);
                if (
$vsacb_resnr 1)
                {
                    
$vsacb_resnr intval($vbulletin->options['vsatopstats_amount_more']);
                }
            }

            
$vsatopstats_temptable '<table cellpadding="0" cellspacing="0" border="0" width="100%" align="center"><tr><td>'.$vbphrase['vsastats_loading'].'</td></tr>'.str_repeat('<tr><td>&nbsp;</td></tr>'$vsacb_resnr-1).'</table>';

            
$templater vB_Template::Create('vsa_topstats_menu');
            
$templater->register('vsacb_cantpost'$vsacb_cantpost);
            
$templater->register('vsastats_newestmembers_enabled'$vsastats_newestmembers_enabled);
            
$templater->register('vsastats_posters_enabled'$vsastats_posters_enabled);
            
$templater->register('vsastats_threadstarters_enabled'$vsastats_threadstarters_enabled);
            
$templater->register('vsastats_referrers_enabled'$vsastats_referrers_enabled);
            
$templater->register('vsastats_reputations_enabled'$vsastats_reputations_enabled);
            
$templater->register('vsastats_thanked_enabled'$vsastats_thanked_enabled);
            
$templater->register('vsastats_infractions_enabled'$vsastats_infractions_enabled);
            
$templater->register('vsastats_visitors_enabled'$vsastats_visitors_enabled);
            
$templater->register('vsastats_groups_enabled'$vsastats_groups_enabled);
            
$templater->register('vsastats_donations_enabled'$vsastats_donations_enabled);
            
$templater->register('vsastats_latestnews_enabled'$vsastats_latestnews_enabled);
            
$templater->register('vsastats_mostviewedthreads_enabled'$vsastats_mostviewedthreads_enabled);
            
$templater->register('vsastats_hottestthreads_enabled'$vsastats_hottestthreads_enabled);
            
$templater->register('vsastats_hottestforums_enabled'$vsastats_hottestforums_enabled);
            
$templater->register('vsastats_classifiedads_enabled'$vsastats_classifiedads_enabled);
            
$templater->register('vsastats_latestblogs_enabled'$vsastats_latestblogs_enabled);
            
$templater->register('vsastats_groupposts_enabled'$vsastats_groupposts_enabled);
            
$vsastats_menu1 $templater->render();

            
$vsastats_menu2 str_replace('\'cs_blockfir\', ','',$vsastats_menu1);
            
$vsastats_menu2 str_replace(');"',', \'cs_blocksec\');"'$vsastats_menu2);
            
$vsastats_menu2 str_replace('rtitle','ltitle',$vsastats_menu2);

            if (
$vbulletin->options['vsatopstats_layout']==1)
            {
                
$templater vB_Template::Create('vsa_topstats_stats_singlerow');
                
$templater->register('vsastats_menu1'$vsastats_menu1);
                
$templater->register('vsastats_menu2'$vsastats_menu2);
                
$templater->register('vsacb_cantpost'$vsacb_cantpost);
                
$templater->register('vsatopstats_blocksec_enabled'$vsatopstats_blocksec_enabled);
                
$templater->register('vsacb_resnr'$vsacb_resnr);
                
$templater->register('vsacb_canviewmore'$vsacb_canviewmore);
                
$templater->register('vsastats_show'$vsastats_show);
                
$templater->register('vsatopstats_temptable'$vsatopstats_temptable);
                
$templater->register('vsastats_latestposts_pos'$vsastats_latestposts_pos);
                
$templater->register('vsastats_newestmembers_enabled'$vsastats_newestmembers_enabled);
                
$templater->register('vsastats_posters_enabled'$vsastats_posters_enabled);
                
$templater->register('vsastats_threadstarters_enabled'$vsastats_threadstarters_enabled);
                
$templater->register('vsastats_referrers_enabled'$vsastats_referrers_enabled);
                
$templater->register('vsastats_reputations_enabled'$vsastats_reputations_enabled);
                
$templater->register('vsastats_thanked_enabled'$vsastats_thanked_enabled);
                
$templater->register('vsastats_infractions_enabled'$vsastats_infractions_enabled);
                
$templater->register('vsastats_visitors_enabled'$vsastats_visitors_enabled);
                
$templater->register('vsastats_groups_enabled'$vsastats_groups_enabled);
                
$templater->register('vsastats_donations_enabled'$vsastats_donations_enabled);
                
$templater->register('vsastats_latestnews_enabled'$vsastats_latestnews_enabled);
                
$templater->register('vsastats_mostviewedthreads_enabled'$vsastats_mostviewedthreads_enabled);
                
$templater->register('vsastats_hottestthreads_enabled'$vsastats_hottestthreads_enabled);
                
$templater->register('vsastats_hottestforums_enabled'$vsastats_hottestforums_enabled);
                
$templater->register('vsastats_classifiedads_enabled'$vsastats_classifiedads_enabled);
                
$templater->register('vsastats_latestblogs_enabled'$vsastats_latestblogs_enabled);
                
$templater->register('vsastats_groupposts_enabled'$vsastats_groupposts_enabled);
                
$vsastats_singlerow $templater->render();
            }

            
$vsacb_trimthreadtitle $vbulletin->options['vsatopstats_trim_titles_thread'];
            if (
$vsacb_trimthreadtitle <= 0)
            {
                
$vsacb_trimthreadtitle $vbulletin->options['lastthreadchars'];
            }
            if (
$vsacb_trimthreadtitle == 1)
            {
                
$vsacb_trimthreadtitle 300;
            }
            
$vsacb_trimusername $vbulletin->options['vsatopstats_trim_username'];
            
$vsacb_trimforumtitle $vbulletin->options['vsatopstats_trim_titles_forum'];    

            
$vsacb_prefixnew '<img class="inlineimg" src="'.vB_Template_Runtime::fetchStyleVar('imgdir_statusicon').'/post_new.gif" alt="'.$vbphrase['new'].'" border="0" /><i class="fa fa-check-circle vw-topyeni"></i>';
            
$vsacb_prefixold '<img class="inlineimg" src="'.vB_Template_Runtime::fetchStyleVar('imgdir_statusicon').'/post_old.gif" alt="'.$vbphrase['old'].'" border="0" /><i class="fa fa-check-circle vw-topeski "></i>';
            
$vsa_afs_bpar = array("<strong>","</strong>","<b>","</b>""font-weight: bold""font-weight:bold");

            if (!
is_member_of($vbulletin->userinfoexplode(','$vbulletin->options['vsatopstats_cant_viewmore'])))
            {
                
$vsacb_canviewmore true;
            }
            else
            {
                
$vsacb_canviewmore false;
            }

            
$vsaafs_load_high false;
            if ((
$vbulletin->options['vsatopstats_limit_serverload'] > 0) AND !ini_get('safe_mode'))
            {
                function 
VsaAFS_getload($windows 0) {
                    
$os strtolower(PHP_OS);
                    if (
strpos($os"win") === false)
                    {
                        if (
file_exists("/proc/loadavg"))
                        {
                            
$load file_get_contents("/proc/loadavg");
                            
$load explode(' '$load);
                            return 
$load[0];
                        }
                        elseif (
function_exists("shell_exec"))
                        {
                            
$load explode(' ', `uptime`);
                            return 
$load[count($load)-1];
                        }
                        else
                        {
                            return 
"";
                        }
                    }
                    elseif (
$windows)
                    {
                        if (
class_exists("COM"))
                        {
                            
$wmi = new COM("WinMgmts:\\\\.");
                            
$cpus $wmi->InstancesOf("Win32_Processor");
                            
$cpuload 0;
                            
$i 0;
                            while (
$cpu $cpus->Next())
                            {
                                
$cpuload += $cpu->LoadPercentage;
                                
$i++;
                            }
                            
$cpuload round($cpuload $i2);
                            return 
"$cpuload%";
                        }
                        else
                        {
                            return 
"";
                        }
                    }
                }
                
$vsaafs_load VsaAFS_getload($load);
                if (
$vsaafs_load $vbulletin->options['vsatopstats_limit_serverload'])
                {
                    
$vbulletin->options['vsatopstats_refresh_interval'] = 0;
                    
$vsaafs_load_high true;
                }
            }

            
$templater vB_Template::Create('vsa_topstats_stats');
            
$templater->register('vsastats_menu1'$vsastats_menu1);
            
$templater->register('vsastats_menu2'$vsastats_menu2);
            
$templater->register('vsacb_cantpost'$vsacb_cantpost);
            
$templater->register('vsaafs_load'$vsaafs_load);
            
$templater->register('vsaafs_load_high'$vsaafs_load_high);
            
$templater->register('vsatopstats_blocksec_enabled'$vsatopstats_blocksec_enabled);
            
$templater->register('vsacb_resnr'$vsacb_resnr);
            
$templater->register('vsacb_canviewmore'$vsacb_canviewmore);
            
$templater->register('vsastats_show'$vsastats_show);
            
$templater->register('vsastats_singlerow'$vsastats_singlerow);
            
$templater->register('vsatopstats_temptable'$vsatopstats_temptable);
            
$templater->register('vsastats_latestposts_pos'$vsastats_latestposts_pos);
            
$templater->register('vsastats_newestmembers_tcenabled'$vsastats_newestmembers_tcenabled);
            
$templater->register('vsastats_posters_tcenabled'$vsastats_posters_tcenabled);
            
$templater->register('vsastats_threadstarters_tcenabled'$vsastats_threadstarters_tcenabled);
            
$templater->register('vsastats_referrers_tcenabled'$vsastats_referrers_tcenabled);
            
$templater->register('vsastats_reputations_tcenabled'$vsastats_reputations_tcenabled);
            
$templater->register('vsastats_thanked_tcenabled'$vsastats_thanked_tcenabled);
            
$templater->register('vsastats_infractions_tcenabled'$vsastats_infractions_tcenabled);
            
$templater->register('vsastats_visitors_tcenabled'$vsastats_visitors_tcenabled);
            
$templater->register('vsastats_groups_tcenabled'$vsastats_groups_tcenabled);
            
$templater->register('vsastats_donations_tcenabled'$vsastats_donations_tcenabled);
            
$templater->register('vsastats_latestnews_tcenabled'$vsastats_latestnews_tcenabled);
            
$templater->register('vsastats_mostviewedthreads_tcenabled'$vsastats_mostviewedthreads_tcenabled);
            
$templater->register('vsastats_hottestthreads_tcenabled'$vsastats_hottestthreads_tcenabled);
            
$templater->register('vsastats_hottestforums_tcenabled'$vsastats_hottestforums_tcenabled);
            
$templater->register('vsastats_classifiedads_tcenabled'$vsastats_classifiedads_tcenabled);
            
$templater->register('vsastats_latestblogs_tcenabled'$vsastats_latestblogs_tcenabled);
            
$templater->register('vsastats_groupposts_tcenabled'$vsastats_groupposts_tcenabled);
            
$templater->register('vsatopstats_init_fstat'$vsatopstats_init_fstat);
            
$templater->register('vsatopstats_init_ustat'$vsatopstats_init_ustat);
            
$vsatopstats $templater->render();

            
$vsatopstats_man['vsatopstats'] = $templater->render();
            
vB_Template::preRegister('navbar'$vsatopstats_man);
            
vB_Template::preRegister('footer'$vsatopstats_man);
            
vB_Template::preRegister('FORUMHOME'$vsatopstats_man);
            if (
$vbulletin->options['vsatopstats_template_locs']!='')
            {
                
$vsatopstats_temlist_get explode(',',$vbulletin->options['vsatopstats_template_locs']);
                foreach (
$vsatopstats_temlist_get AS $vsatopstats_temlist_item)
                {
                    
$vsatopstats_templatelist ','.vB_Template::preRegister($vsatopstats_temlist_item$vsatopstats_man);        
                }
                
$vsatopstats_templatelist substr($vsatopstats_templatelist1);
            }

            if (
$_REQUEST['do']!='vsastats')
            {
                switch (
$vbulletin->options['vsatopstats_fhome_loc'])
                {
                    case 
0: break;
                    case 
1$ad_location['global_below_navbar'] .= $vsatopstats; break;
                    case 
2$template_hook['forumhome_below_forums'] .= $vsatopstats; break;
                    case 
3$footer $vsatopstats.$footer; break;
                }
            }
            
$vbulletin->db->show_errors();
        } 
Kullanılan temada vsa_chatbox_bit isimli şablonu açın ve bulun
PHP- Kodu:
<a href="{vb:raw vboptions.bburl}/misc.php?{vb:raw session.sessionurl}ccbloc={vb:raw vsacb_msg_box_id}" style="text-decoration:none;" title="{vb:rawphrase vsacb_loc_message}">{vb:raw vsacb_msg_box_icon}</a
Hemen altına ekleyin
PHP- Kodu:
<span class="vw-chatavatar">{vb:raw user_avatar}</span
Son olarak temanızın additional.css isimli şablonu açın ve en üstüne aşağıdaki kodu ekleyin.
PHP- Kodu:
.vw-chatavatar img max-width15px;} 


Ve sonuç

Alıntı ile Cevapla
Yeni Konu aç  Cevapla

Seçenekler
Stil


Saat: 06:48

Forum Yasal Uyarı
vBulletin® ile Oluşturuldu
Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.

ForumSevgisi.Com Her Hakkı Saklıdır
Tema Tasarım:
Kronik Depresif


Sitemiz bir 'paylaşım' sitesidir. Bu yüzden sitemize kayıt olan herkes kontrol edilmeksizin mesaj/konu/resim paylaşabiliyorlar. Bu sebepten ötürü, sitemizdeki mesaj ya da konulardan doğabilecek yasal sorumluluklar o yazıyı paylaşan kullanıcıya aittir ve iletişim adresine mail atıldığı taktirde mesaj ya da konu en fazla 48 saat içerisinde silinecektir.

ankara escort bayan, ankara escort, izmir escort ankara escort, ankara escort bayan, eryaman escort, pendik escort, antalya escort,