sonforum.org

Anasayfa Facebook Bugünki Mesajlar Forumları Okundu Kabul Et
Geri git   sonforum.org > İNTERNET KAFECİLER FORUM > vBulletin Destek Forumu
Kayıt ol Google Üye Listesi Market Girişi


vBulletin Destek Forumu vBulletin Hakkında Herşey.

Yeni Konu aç  Cevapla
Seçenekler Stil
Okunmamış 01-08-2008, 11:10   #1
Kullanıcı Adı
kAcAhK
Standart vBulletin Arcade Games v1.0.3 Kurulumu

alttaki kodlari bulun

Kod:
if (can_administer('canadminstyles'))
altina su kodlari ekliyin

PHP- Kodu:
[left]  [color=#000000] [color=#0000bb] construct_nav_option[/color][color=#007700]([/color][color=#dd0000]"General Settings"[/color][color=#007700], [/color][color=#dd0000]'arcadeadmin.php?do=general'[/color][color=#007700], [/color][color=#dd0000]'<br />'[/color][color=#007700]); 
[/color][color=#0000bb]construct_nav_option[/color][color=#007700]([/color][color=#dd0000]"Game Settings"[/color][color=#007700], [/color][color=#dd0000]'arcadeadmin.php?do=games'[/color][color=#007700], [/color][color=#dd0000]'<br />'[/color][color=#007700]); 
[/color][color=#0000bb]construct_nav_option[/color][color=#007700]([/color][color=#dd0000]"Score Settings"[/color][color=#007700], [/color][color=#dd0000]'arcadeadmin.php?do=scores'[/color][color=#007700], [/color][color=#dd0000]'<br />'[/color][color=#007700]); 
[/color][color=#0000bb]construct_nav_option[/color][color=#007700]([/color][color=#dd0000]"Challenges"[/color][color=#007700], [/color][color=#dd0000]'arcadeadmin.php?do=challenges'[/color][color=#007700], [/color][color=#dd0000]'<br />'[/color][color=#007700]); 
[/color][color=#0000bb]construct_nav_group[/color][color=#007700]([/color][color=#dd0000]"Arcade"[/color][color=#007700], [/color][color=#dd0000]'<hr />'[/color][color=#007700]);  
[/color] [/color]   [/left

admincp/index.php
yi kaydedip upload edin

admincp/usergroup.php ye gecin
alttaki kodlari bulun
Kod:
print_table_header($vbphrase['forum_viewing_permissions']);
bu kodlarin altina alttaki kodlari ekliyin


PHP- Kodu:
 [left]  [color=#000000] [color=#0000bb]print_table_header[/color][color=#007700]([/color][color=#dd0000]"Arcade Permissions"[/color][color=#007700]); 
    
[/color][color=#0000bb]print_yes_no_row[/color][color=#007700]([/color][color=#dd0000]"Can View the Arcade? <dfn>Allows usergroup to view the arcade, including high scores and leaderboards</dfn>"[/color][color=#007700], [/color][color=#dd0000]'usergroup[canviewarcade]'[/color][color=#007700], [/color][color=#0000bb]$ug_bitfield[/color][color=#007700][[/color][color=#dd0000]'canviewarcade'[/color][color=#007700]]); 
    
[/color][color=#0000bb]print_yes_no_row[/color][color=#007700]([/color][color=#dd0000]"Can Play Games in the Arcade? <dfn>Allows usergroup to play arcade games</dfn>"[/color][color=#007700], [/color][color=#dd0000]'usergroup[canplayarcade]'[/color][color=#007700], [/color][color=#0000bb]$ug_bitfield[/color][color=#007700][[/color][color=#dd0000]'canplayarcade'[/color][color=#007700]]); 
    
[/color][color=#0000bb]print_yes_no_row[/color][color=#007700]([/color][color=#dd0000]"Can Post Comments? <dfn>Allows usergroup to post comments when they achieve a high score</dfn>"[/color][color=#007700], [/color][color=#dd0000]'usergroup[canmakecomments]'[/color][color=#007700], [/color][color=#0000bb]$ug_bitfield[/color][color=#007700][[/color][color=#dd0000]'canmakecomments'[/color][color=#007700]]); 
    
[/color][color=#0000bb]print_yes_no_row[/color][color=#007700]([/color][color=#dd0000]"Can Edit Leaderboard Comments? <dfn>Allows usergroup to edit comments left by other members</dfn>"[/color][color=#007700], [/color][color=#dd0000]'usergroup[caneditscores]'[/color][color=#007700], [/color][color=#0000bb]$ug_bitfield[/color][color=#007700][[/color][color=#dd0000]'caneditscores'[/color][color=#007700]]); 
    
[/color][color=#0000bb]print_yes_no_row[/color][color=#007700]([/color][color=#dd0000]"Can Delete Leaderboard Scores? <dfn>Allows usergroup to delete scores and comments left by other members</dfn>"[/color][color=#007700], [/color][color=#dd0000]'usergroup[candelscores]'[/color][color=#007700], [/color][color=#0000bb]$ug_bitfield[/color][color=#007700][[/color][color=#dd0000]'candelscores'[/color][color=#007700]]); 
    
[/color][color=#0000bb]print_table_break[/color][color=#007700]();  
[/color] [/color]   [/left


dosyayı kaydedip upload edin.

includes/functions.php
ye gecin

alttaki kodlari bulun....

Kod:
// get CSS width for outerdivwidth from outertablewidth
ustune alttaki kodlari ekliyin...
PHP- Kodu:
 [left]  [color=#000000] [color=#ff8000]// declares the arcade image directory 
    
[/color][color=#0000bb]$stylevar[/color][color=#007700][[/color][color=#dd0000]'imgdir_arcade'[/color][color=#007700]] = [/color][color=#dd0000]"images/arcade"[/color][color=#007700];  
[/color] [/color]   [/left

dosyayı kaydedip upload edin.

includes/functions_showthread.php ye gecin

alttaki kodlari bulun....

Kod:
require_once('./includes/functions_reputation.php');
bu kodlarin altina alttaki kodlari ekliyin...


PHP- Kodu:
[left]  [color=#000000] [color=#007700]if ([/color][color=#0000bb]$arcadegeneral[/color][color=#007700][[/color][color=#dd0000]'awardson'[/color][color=#007700]]==[/color][color=#0000bb]1[/color][color=#007700]) { 
    
[/color][color=#ff8000]// declares the arcade image directory 
    
[/color][color=#0000bb]$stylevar[/color][color=#007700][[/color][color=#dd0000]'imgdir_arcade'[/color][color=#007700]] = [/color][color=#dd0000]"images/arcade"[/color][color=#007700]; 
    
[/color][color=#0000bb]$arcade_result [/color][color=#007700]= [/color][color=#0000bb]$DB_site[/color][color=#007700]->[/color][color=#0000bb]query[/color][color=#007700]([/color][color=#dd0000]"SELECT shortname,title,gamesettings,highscorerid,highscore,miniimage,gameid FROM " [/color][color=#007700]. [/color][color=#0000bb]TABLE_PREFIX [/color][color=#007700]. [/color][color=#dd0000]"games "[/color][color=#007700]); 
    
while ([/color][color=#0000bb]$arcade [/color][color=#007700]= [/color][color=#0000bb]$DB_site[/color][color=#007700]->[/color][color=#0000bb]fetch_array[/color][color=#007700]([/color][color=#0000bb]$arcade_result[/color][color=#007700])){ 
        
if (([/color][color=#0000bb]$arcade[/color][color=#007700][[/color][color=#0000bb]gamesettings[/color][color=#007700]] & [/color][color=#0000bb]$_GAMESCHECK[/color][color=#007700][[/color][color=#dd0000]'showaward'[/color][color=#007700]])){ 
            
[/color][color=#0000bb]$awards[/color][color=#007700][[/color][color=#0000bb]$arcade[/color][color=#007700][[/color][color=#0000bb]shortname[/color][color=#007700]]][[/color][color=#dd0000]'userid'[/color][color=#007700]] = [/color][color=#0000bb]$arcade[/color][color=#007700][[/color][color=#dd0000]'highscorerid'[/color][color=#007700]]; 
            
[/color][color=#0000bb]$awards[/color][color=#007700][[/color][color=#0000bb]$arcade[/color][color=#007700][[/color][color=#0000bb]shortname[/color][color=#007700]]][[/color][color=#dd0000]'gametitle'[/color][color=#007700]] = [/color][color=#0000bb]$arcade[/color][color=#007700][[/color][color=#dd0000]'title'[/color][color=#007700]]; 
            
[/color][color=#0000bb]$awards[/color][color=#007700][[/color][color=#0000bb]$arcade[/color][color=#007700][[/color][color=#0000bb]shortname[/color][color=#007700]]][[/color][color=#dd0000]'icon'[/color][color=#007700]] = [/color][color=#0000bb]$arcade[/color][color=#007700][[/color][color=#dd0000]'miniimage'[/color][color=#007700]]; 
            
[/color][color=#0000bb]$awards[/color][color=#007700][[/color][color=#0000bb]$arcade[/color][color=#007700][[/color][color=#0000bb]shortname[/color][color=#007700]]][[/color][color=#dd0000]'highscore'[/color][color=#007700]] = [/color][color=#0000bb]$arcade[/color][color=#007700][[/color][color=#dd0000]'highscore'[/color][color=#007700]]; 
            
[/color][color=#0000bb]$awards[/color][color=#007700][[/color][color=#0000bb]$arcade[/color][color=#007700][[/color][color=#0000bb]shortname[/color][color=#007700]]][[/color][color=#dd0000]'gameid'[/color][color=#007700]] = [/color][color=#0000bb]$arcade[/color][color=#007700][[/color][color=#dd0000]'gameid'[/color][color=#007700]]; 
        

    } 
}  
[/
color] [/color]   [/left

simdi alttaki kodlari bulun


Kod:
// sorts through all the stuff to return the postbit template
altina bunlari ekliyin


PHP- Kodu:
[left]  [color=#000000] [color=#ff8000]// arcade 
    
[/color][color=#007700]global [/color][color=#0000bb]$awards[/color][color=#007700],[/color][color=#0000bb]$arcadegeneral[/color][color=#007700];  
[/color] [/color]   [/left
simdi alttaki kodlari bulun

Kod:
$show['messageicon'] = iif($post['iconpath'], true, false);
bunun ustune alttaki kodlari ekliyin



PHP- Kodu:
[left]  [color=#000000] [color=#007700]if ([/color][color=#0000bb]$arcadegeneral[/color][color=#007700][[/color][color=#dd0000]'awardson'[/color][color=#007700]]==[/color][color=#0000bb]1[/color][color=#007700]) { 
        
foreach ([/color][color=#0000bb]$awards [/color][color=#007700]as [/color][color=#0000bb]$key [/color][color=#007700]=> [/color][color=#0000bb]$award[/color][color=#007700]) { 
            
if ([/color][color=#0000bb]$award[/color][color=#007700][[/color][color=#dd0000]'userid'[/color][color=#007700]]==[/color][color=#0000bb]$post[/color][color=#007700][[/color][color=#dd0000]'userid'[/color][color=#007700]]) { 
                
eval([/color][color=#dd0000]'$post[\'arcadeawards\'] .= "' [/color][color=#007700]. [/color][color=#0000bb]fetch_template[/color][color=#007700]([/color][color=#dd0000]'arcade_awards_bit'[/color][color=#007700]) . [/color][color=#dd0000]'";'[/color][color=#007700]); 
            

        } 
    }  
[/
color] [/color]   [/left

includes/functions_showthread.php yi kaydedip upload edin

includes/init.php ye gecin

alttaki kodlari bulun

PHP- Kodu:
[left]  [color=#000000] [color=#dd0000]'stylecache' 
            
[/color][color=#007700]), [/color][color=#0000bb]$specialtemplates[/color][color=#007700]);  
[/color] [/color]   [/left
komple alttaki kodlarla deiştirin

PHP- Kodu:
[left]  [color=#000000] [color=#dd0000]'stylecache'[/color][color=#007700], 
                
[/color][color=#dd0000]'arcadesettings' 
            
[/color][color=#007700]), [/color][color=#0000bb]$specialtemplates[/color][color=#007700]);  
[/color] [/color]   [/left
sora alttaki kodlari bulun


Kod:
// get $usergroupcache array
bu kodlarin ustune alttaki kodlari ekliyin

Kod:
// get $arcadesettings
case 'arcadesettings':

$arcadesettings = $storeitem['data'];
break;
alttaki kodlari bulun



PHP- Kodu:
 [left]  [color=#000000] [color=#ff8000]// ---------------------------------------------------------- 
// ###  END PLUGIN USERGROUP PERMISSIONS BITFIELDS HERE   ###  
[/color] [/color]   [/left
ustune alttaki kodlari ekliyin
PHP- Kodu:
 [left]  [color=#000000] [color=#0000bb] $_BITFIELD[/color][color=#007700][[/color][color=#dd0000]'usergroup'[/color][color=#007700]][[/color][color=#dd0000]'arcadepermissions'[/color][color=#007700]] = array( 
    
[/color][color=#dd0000]'canviewarcade'            [/color][color=#007700]=> [/color][color=#0000bb]1[/color][color=#007700], 
    
[/color][color=#dd0000]'canplayarcade'            [/color][color=#007700]=> [/color][color=#0000bb]2[/color][color=#007700], 
    
[/color][color=#dd0000]'caneditscores'             [/color][color=#007700]=> [/color][color=#0000bb]4[/color][color=#007700], 
    
[/color][color=#dd0000]'candelscores'             [/color][color=#007700]=> [/color][color=#0000bb]8[/color][color=#007700], 
    
[/color][color=#dd0000]'canmakecomments'        [/color][color=#007700]=> [/color][color=#0000bb]16 
[/color][color=#007700]);  
[/color] [/color]   [/left
alttaki kodlari bulun


PHP- Kodu:
[left]  [color=#000000] [color=#dd0000]'warnall'           [/color][color=#007700]=> [/color][color=#0000bb]131072 
[/color][color=#007700]);  
[/color] [/color]   [/left
bu kodlarin altina alttaki kodlari ekliyin


PHP- Kodu:
[left]  [color=#000000] [color=#0000bb] $_ARCADE [/color][color=#007700]= array( 
    
[/color][color=#dd0000]'active'            [/color][color=#007700]=> [/color][color=#0000bb]1[/color][color=#007700], 
    
[/color][color=#dd0000]'netplay'            [/color][color=#007700]=> [/color][color=#0000bb]2[/color][color=#007700], 
    
[/color][color=#dd0000]'awardson'            [/color][color=#007700]=> [/color][color=#0000bb]4[/color][color=#007700], 
    
[/color][color=#dd0000]'quickreg'            [/color][color=#007700]=> [/color][color=#0000bb]8[/color][color=#007700], 
    
[/color][color=#dd0000]'autoprune'            [/color][color=#007700]=> [/color][color=#0000bb]16[/color][color=#007700], 
    
[/color][color=#dd0000]'highonly'            [/color][color=#007700]=> [/color][color=#0000bb]32[/color][color=#007700], 
    
[/color][color=#dd0000]'vbcodeon'            [/color][color=#007700]=> [/color][color=#0000bb]64[/color][color=#007700], 
    
[/color][color=#dd0000]'imgcodeon'            [/color][color=#007700]=> [/color][color=#0000bb]128[/color][color=#007700], 
    
[/color][color=#dd0000]'smilieson'            [/color][color=#007700]=> [/color][color=#0000bb]256[/color][color=#007700], 
    
[/color][color=#dd0000]'allowemail'        [/color][color=#007700]=> [/color][color=#0000bb]512[/color][color=#007700], 
    
[/color][color=#dd0000]'challengescores'        [/color][color=#007700]=> [/color][color=#0000bb]1024 
[/color][color=#007700]); 
 
[/color][color=#0000bb]$_ARCADEUSER [/color][color=#007700]= array( 
    
[/color][color=#dd0000]'firstvisit'        [/color][color=#007700]=> [/color][color=#0000bb]1[/color][color=#007700], 
    
[/color][color=#dd0000]'settingschecked'    [/color][color=#007700]=> [/color][color=#0000bb]2[/color][color=#007700], 
    
[/color][color=#dd0000]'allowchallenges'    [/color][color=#007700]=> [/color][color=#0000bb]4[/color][color=#007700], 
    
[/color][color=#dd0000]'allowemails'        [/color][color=#007700]=> [/color][color=#0000bb]8 
[/color][color=#007700]); 
 
[/color][color=#0000bb]$_GAMESCHECK [/color][color=#007700]= array( 
    
[/color][color=#dd0000]'active'            [/color][color=#007700]=> [/color][color=#0000bb]1[/color][color=#007700], 
    
[/color][color=#dd0000]'netplay'            [/color][color=#007700]=> [/color][color=#0000bb]2[/color][color=#007700], 
    
[/color][color=#dd0000]'playpanel'            [/color][color=#007700]=> [/color][color=#0000bb]4[/color][color=#007700], 
    
[/color][color=#dd0000]'challenabled'        [/color][color=#007700]=> [/color][color=#0000bb]8[/color][color=#007700], 
    
[/color][color=#dd0000]'showaward'            [/color][color=#007700]=> [/color][color=#0000bb]16 
[/color][color=#007700]);  
[/color] [/color]   [/left

dosyayı kaydedip upload edin

includes/functions_online.php

ye gecin alttakii kodlari bulun


PHP- Kodu:
[left]  [color=#000000] [color=#007700]default: 
            
if ([/color][color=#0000bb]$permissions[/color][color=#007700][[/color][color=#dd0000]'wolpermissions'[/color][color=#007700]] & [/color][color=#0000bb]CANWHOSONLINEBAD[/color][color=#007700])  
[/color] [/color]   [/left
ustune su kodlari ekliyin

PHP- Kodu:
 [left]  [color=#000000] [color=#007700]case [/color][color=#dd0000]'arcade'[/color][color=#007700]: 
            
[/color][color=#0000bb]$userinfo[/color][color=#007700][[/color][color=#dd0000]'action'[/color][color=#007700]] = [/color][color=#dd0000]'In the Arcade'[/color][color=#007700]; 
            
[/color][color=#0000bb]$userinfo[/color][color=#007700][[/color][color=#dd0000]'where'[/color][color=#007700]] = [/color][color=#dd0000]"<a href=\"arcade.php?$session[sessionurl]\">$vboptions[bbtitle] Arcade</a>"[/color][color=#007700]; 
            
break;  
[/
color] [/color]   [/left
alttaki kodlari bulun


PHP- Kodu:
[left]  [color=#000000] [color=#007700]default: 
        
[/color][color=#0000bb]$userinfo[/color][color=#007700][[/color][color=#dd0000]'activity'[/color][color=#007700]] = [/color][color=#dd0000]'unknown'[/color][color=#007700]; 
    
}  
[/
color] [/color]   [/left

ustune sunlaari ekliyin


PHP- Kodu:
[left]  [color=#000000] [color=#007700]case [/color][color=#dd0000]'arcade.php'[/color][color=#007700]: 
        
[/color][color=#0000bb]$userinfo[/color][color=#007700][[/color][color=#dd0000]'activity'[/color][color=#007700]] = [/color][color=#dd0000]'arcade'[/color][color=#007700]; 
        
break;  
[/
color] [/color]   [/left
dosyayı kaydedip upload edin

global.php
ye gecin

alttaki kodlari bulun

PHP- Kodu:
[left]  [color=#000000] [color=#007700]echo [/color][color=#dd0000]"End call of global.php:  $aftertime\n"[/color][color=#007700]; 
    
echo [/color][color=#dd0000]"\n<hr />\n\n"[/color][color=#007700]; 
}  
[/
color] [/color]   [/left
altina alttaki kodlari ekliyin



PHP- Kodu:
[left]  [color=#000000] [color=#ff8000]// Creates general settings for the Arcade 
[/color][color=#0000bb]$arcadegeneral [/color][color=#007700]= [/color][color=#0000bb]convert_bits_to_array[/color][color=#007700]([/color][color=#0000bb]$arcadesettings[/color][color=#007700],[/color][color=#0000bb]$_ARCADE[/color][color=#007700]); 
[/color][color=#0000bb]$arcadeuser [/color][color=#007700]= [/color][color=#0000bb]convert_bits_to_array[/color][color=#007700]([/color][color=#0000bb]$bbuserinfo[/color][color=#007700][[/color][color=#dd0000]'arcadesettings'[/color][color=#007700]],[/color][color=#0000bb]$_ARCADEUSER[/color][color=#007700]); 
[/color][color=#0000bb]$arcadepermissions [/color][color=#007700]= [/color][color=#0000bb]convert_bits_to_array[/color][color=#007700]([/color][color=#0000bb]$permissions[/color][color=#007700][[/color][color=#dd0000]'arcadepermissions'[/color][color=#007700]],[/color][color=#0000bb]$_BITFIELD[/color][color=#007700][[/color][color=#dd0000]'usergroup'[/color][color=#007700]][[/color][color=#dd0000]'arcadepermissions'[/color][color=#007700]]);  
[/color] [/color]   [/left

Dosyayı kaydedip upload edin

profile.php
ye gecin

alttaki kodlari bulun

Kod:
'editavatar' => array(

altina alttaki kodlari ekliyin

PHP- Kodu:
[left]  [color=#000000] [color=#dd0000]'editarcade' [/color][color=#007700]=> array( 
        
[/color][color=#dd0000]'modifyarcade' 
    
[/color][color=#007700]),  
[/color] [/color]   [/left

sora allttaki kodlari bulun


PHP- Kodu:
[left]  [color=#000000] [color=#ff8000]// ############################################################################ 
// ############################### EDIT OPTIONS ############################### 
// ############################################################################  
[/color] [/color]   [/left
ustune alttaki kodlari ekliiyn


PHP- Kodu:
[left]  [color=#000000] [color=#ff8000]// ############################################################################ 
// ########################### ARCADE USER OPTIONS ############################ 
// ############################################################################ 
[/color][color=#007700]if ([/color][color=#0000bb]$_REQUEST[/color][color=#007700][[/color][color=#dd0000]'do'[/color][color=#007700]] == [/color][color=#dd0000]'editarcade'[/color][color=#007700]) 

    [/
color][color=#0000bb]$checked [/color][color=#007700]= array(); 
    
[/color][color=#ff8000]// current values as checked 
    
[/color][color=#007700]foreach ([/color][color=#0000bb]$arcadeuser [/color][color=#007700]as [/color][color=#0000bb]$key [/color][color=#007700]=> [/color][color=#0000bb]$value[/color][color=#007700]) { 
        
if ([/color][color=#0000bb]$value [/color][color=#007700]== [/color][color=#0000bb]1[/color][color=#007700]) { 
            
[/color][color=#0000bb]$checked[/color][color=#007700][[/color][color=#0000bb]$key[/color][color=#007700]] = [/color][color=#0000bb]HTML_CHECKED[/color][color=#007700]; 
        

    } 
    [/
color][color=#0000bb]construct_usercp_nav[/color][color=#007700](); 
    
[/color][color=#0000bb]$templatename [/color][color=#007700]= [/color][color=#dd0000]"modifyarcade"[/color][color=#007700];  
[/color] [/color]   [/left
sora alttaki kodlari bulun

Kod:
// ############################### start update options ###############################
ustune su kodlari ekliyin....


PHP- Kodu:
[left]  [color=#000000] [color=#ff8000]// ############################## start update arcade ################################# 
[/color][color=#007700]if ([/color][color=#0000bb]$_POST[/color][color=#007700][[/color][color=#dd0000]'do'[/color][color=#007700]] == [/color][color=#dd0000]'updatearcade'[/color][color=#007700]) 

require_once([/
color][color=#dd0000]'./includes/functions_misc.php'[/color][color=#007700]); 
    
[/color][color=#ff8000]// globalize here 
    
[/color][color=#0000bb]$_POST[/color][color=#007700][[/color][color=#dd0000]'arcade'[/color][color=#007700]][[/color][color=#dd0000]'firstvisit'[/color][color=#007700]] = [/color][color=#0000bb]0[/color][color=#007700]; 
    
[/color][color=#0000bb]$_POST[/color][color=#007700][[/color][color=#dd0000]'arcade'[/color][color=#007700]][[/color][color=#dd0000]'settingschecked'[/color][color=#007700]] = [/color][color=#0000bb]1[/color][color=#007700]; 
    
[/color][color=#0000bb]$userSettings [/color][color=#007700]= &[/color][color=#0000bb]$_POST[/color][color=#007700][[/color][color=#dd0000]'arcade'[/color][color=#007700]]; 
 
    
[/color][color=#0000bb]$userBits [/color][color=#007700]= [/color][color=#0000bb]convert_array_to_bits[/color][color=#007700]([/color][color=#0000bb]$userSettings[/color][color=#007700],[/color][color=#0000bb]$_ARCADEUSER[/color][color=#007700]); 
     
    
[/color][color=#0000bb]$DB_site[/color][color=#007700]->[/color][color=#0000bb]query[/color][color=#007700]([/color][color=#dd0000]" 
        
UPDATE " [/color][color=#007700]. [/color][color=#0000bb]TABLE_PREFIX [/color][color=#007700]. [/color][color=#dd0000]"user SET 
        arcadesettings 
$userBits 
        WHERE userid 
$bbuserinfo[userid
    
"[/color][color=#007700]); 
     
    [/color][color=#0000bb]
$url [/color][color=#007700]= [/color][color=#dd0000]"arcade.php?do=main"[/color][color=#007700]; 
    eval([/color][color=#0000bb]print_standard_redirect[/color][color=#007700]([/color][color=#dd0000]'redirect_updatethanks'[/color][color=#007700])); 
}  
[/color] [/color]   [/left] 


Dosyayı kaydedip upload edin

showthread.php
ye gecin

alttaki kodlari bulun

Kod:
'pollresult',

alttaki kodlarla deiştirin


PHP- Kodu:
[left]  [color=#000000] [color=#dd0000]'pollresult'[/color][color=#007700], 
    
[/color][color=#dd0000]'arcade_awards_bit'[/color][color=#007700],  
[/color] [/color]   [/left
Dosyayı kaydedip upload edin


postbit templatesine gecin

alttaki kodlari bulun

Kod:
<if condition="$show['pmlink']">

altina alttaki kodlari ekliyin


PHP- Kodu:
[left]  [color=#000000] [color=#007700]<if [/color][color=#0000bb]condition[/color][color=#007700]=[/color][color=#dd0000]"$post['arcadesettings'] & 4 AND $post[userid]!=$bbuserinfo[userid] AND $bbuserinfo[userid]!=0"[/color][color=#007700]> 
        
<[/color][color=#0000bb]tr[/color][color=#007700]><[/color][color=#0000bb]td [/color][color=#007700]class=[/color][color=#dd0000]"vbmenu_option"[/color][color=#007700]><[/color][color=#0000bb]a href[/color][color=#007700]=[/color][color=#dd0000]"arcade.php?$session[sessionurl]do=newchallenge&userid=$post[userid]" [/color][color=#0000bb]target[/color][color=#007700]=[/color][color=#dd0000]"_self"[/color][color=#007700]>[/color][color=#0000bb]Challenge $post[/color][color=#007700][[/color][color=#0000bb]username[/color][color=#007700]] [/color][color=#0000bb]in the Arcade[/color][color=#007700]</[/color][color=#0000bb]a[/color][color=#007700]></[/color][color=#0000bb]td[/color][color=#007700]></[/color][color=#0000bb]tr[/color][color=#007700]> 
    
</if>  
[/
color] [/color]   [/left
alttaki kodlari bulun



PHP- Kodu:
[left]  [color=#000000] [color=#007700]<if [/color][color=#0000bb]condition[/color][color=#007700]=[/color][color=#dd0000]"$post['rank']"[/color][color=#007700]><[/color][color=#0000bb]div [/color][color=#007700]class=[/color][color=#dd0000]"smallfont"[/color][color=#007700]>[/color][color=#0000bb]$post[/color][color=#007700][[/color][color=#0000bb]rank[/color][color=#007700]]</[/color][color=#0000bb]div[/color][color=#007700]></if>  
[/color] [/color]   [/left
alttakilerle deiştirin
Kod:
$post[arcadeawards]

navbar templates ine gecin

alttaki kodlari bulun

PHP- Kodu:
[left]  [color=#000000] [color=#007700]<[/color][color=#0000bb]td [/color][color=#007700]class=[/color][color=#dd0000]"vbmenu_control"[/color][color=#007700]><[/color][color=#0000bb]a href[/color][color=#007700]=[/color][color=#dd0000]"calendar.php?$session[sessionurl]"[/color][color=#007700]>[/color][color=#0000bb]$vbphrase[/color][color=#007700][[/color][color=#0000bb]calendar[/color][color=#007700]]</[/color][color=#0000bb]a[/color][color=#007700]></[/color][color=#0000bb]td[/color][color=#007700]>  
[/color] [/color]   [/left
altina su kodlari ekliyin


PHP- Kodu:
[left]  [color=#000000] [color=#007700]<[/color][color=#0000bb]td [/color][color=#007700]class=[/color][color=#dd0000]"vbmenu_control"[/color][color=#007700]><[/color][color=#0000bb]a href[/color][color=#007700]=[/color][color=#dd0000]"arcade.php?$session[sessionurl]"[/color][color=#007700]>[/color][color=#0000bb]Arcade[/color][color=#007700]</[/color][color=#0000bb]a[/color][color=#007700]></[/color][color=#0000bb]td[/color][color=#007700]>  
[/color] [/color]   [/left

sora alttaki kodlari bulun


PHP- Kodu:
[left]  [color=#000000] [color=#007700]</[/color][color=#0000bb]table[/color][color=#007700]> 
    
</[/color][color=#0000bb]div[/color][color=#007700]> 
    
<!-- / [/color][color=#0000bb]header quick search form [/color][color=#007700]-->  
[/color] [/color]   [/left
ustune su kodlari ekliyin



PHP- Kodu:
[left]  [color=#000000] [color=#007700]<[/color][color=#0000bb]tr[/color][color=#007700]> 
            
<[/color][color=#0000bb]td [/color][color=#007700]class=[/color][color=#dd0000]"thead"[/color][color=#007700]>[/color][color=#0000bb]Arcade Game Search[/color][color=#007700]</[/color][color=#0000bb]td[/color][color=#007700]> 
        
</[/color][color=#0000bb]tr[/color][color=#007700]> 
        
<[/color][color=#0000bb]tr[/color][color=#007700]> 
            
<[/color][color=#0000bb]td [/color][color=#007700]class=[/color][color=#dd0000]"vbmenu_option" [/color][color=#0000bb]title[/color][color=#007700]=[/color][color=#dd0000]"nohilite"[/color][color=#007700]> 
            
<[/color][color=#0000bb]form action[/color][color=#007700]=[/color][color=#dd0000]"arcade.php" [/color][color=#0000bb]method[/color][color=#007700]=[/color][color=#dd0000]"post"[/color][color=#007700]> 
                
<[/color][color=#0000bb]input type[/color][color=#007700]=[/color][color=#dd0000]"text" [/color][color=#007700]class=[/color][color=#dd0000]"bginput" [/color][color=#0000bb]name[/color][color=#007700]=[/color][color=#dd0000]"search" [/color][color=#0000bb]size[/color][color=#007700]=[/color][color=#dd0000]"20" [/color][color=#007700]/>[/color][color=#0000bb]$gobutton[/color][color=#007700]<[/color][color=#0000bb]br [/color][color=#007700]/> 
            
</[/color][color=#0000bb]form[/color][color=#007700]> 
            
</[/color][color=#0000bb]td[/color][color=#007700]> 
        
</[/color][color=#0000bb]tr[/color][color=#007700]>  
[/color] [/color]   [/left



Admincp >> Diller & Sözcükler >> Sözcük Düzenleyici >> Yeni Sözcük Ekle kısmından alttaki girdileri ekleyin.

Phrase Type: GLOBAL
Varname: arcade_cp_game_active
Text: Is Game Active? <dfn>Allows you to enable or disable the game</dfn>

Phrase Type: GLOBAL
Varname: arcade_cp_game_challenabled
Text: Challenges Enabled? <dfn>Allows challenges to be created for this game</dfn>

Phrase Type: GLOBAL
Varname: arcade_cp_game_netplay
Text: netPlay Enabled: <dfn>Live multiplayer gaming</dfn>

Phrase Type: GLOBAL
Varname: arcade_cp_game_playpanel
Text: Show Play Panel? <dfn>Enables a small navigation panel during play</dfn>

Phrase Type: GLOBAL
Varname: arcade_cp_game_showaward
Text: Show Award? <dfn>(Enable the award for the highest scorer, tournaments excluded)</dfn>

Phrase Type: GLOBAL
Varname: arcade_main_latestscorebit
Text: <b>{1}</b> scored <b>{2}</b> playing "<b>{3}</b>". <a href="arcade.php?do=play&gameid={4}">[Click here to play {3}!]

Phrase Type: Front-End Error Messages
Varname: quickreg_prompt
Text: You need to register in order to play in the Arcade. Click <a href="$vboptions[bburl]/register.php">here</a> to register.

Phrase Type: Control Panel Stop Message
Varname: arcade_cp_settingssaved
Text: <i>Arcade</i> Settings Saved Successfully

Bunları da ekledikten sonra;

Alttaki rar dosyasındaki dosyaları ordaki klasörlerine göre, forum klasörünüze upload edin. Sonra;
/admincp/install_arcade.php dosyasını çalıştırın ve next diyerek kurulumu yapın. Kurulumdan sonra "install_arcade.php" dosyasını silin.

Admincp >> Zamanlanmış Görevler >> Zamanlanmış Görev Ekle kısmından alttaki verileri girerek yeni görev ekleyin ve çalıştırın.

Başlık : Arcade Tasks
Ayın Haftası : *
Ayın Günü : *
Saat : *
Dakika : 23
İz Girdileri : Evet
Dosya Adı : ./includes/cron/arcadeupdate.php

Bunu kaydedip Zamanlanmış Görev Düzenleyici kısmından seçip çalıştırın.

eklenti ektedir...



Konu khacakch tarafından (01-08-2008 Saat 11:26 ) değiştirilmiştir..
kAcAhK isimli Üye şimdilik offline konumundadır   Alıntı ile Cevapla
Sonforum'un önerileri

Cevapla


Konuyu Toplam 2 Üye okuyor. (0 Kayıtlı üye ve 2 Misafir)
 

Yetkileriniz
Yeni Mesaj yazma yetkiniz aktif değil dir.
Mesajlara Cevap verme yetkiniz aktif değil dir.
Eklenti ekleme yetkiniz aktif değil dir.
Kendi Mesajınızı değiştirme yetkiniz aktif değil dir.

Smileler Açık
[IMG] Kodları Açık
HTML-KodlarıKapalı


Saat: 12:56


lisanslı Powered by vBulletin®
Copyright ©2000 - 2022, Jelsoft Enterprises Ltd.
Forum SEO by Zoints
SonForum.org 2007-2023

2007-2023 © SonForum lisanslı bir markadır tüm içerik hakları saklıdır ve izinsiz kopyalanamaz, dağıtılamaz.

Sitemiz bir forum sitesi olduğu için kullanıcılar her türlü görüşlerini önceden onay olmadan anında siteye yazabilmektedir.
5651 sayılı yasaya göre bu yazılardan dolayı doğabilecek her türlü sorumluluk yazan kullanıcılara aittir.
5651 sayılı yasaya göre sitemiz mesajları kontrolle yükümlü olmayıp, şikayetlerinizi ve görüşlerinizi " İletişim " kısmından bize gönderirseniz, gerekli işlemler yapılacaktır.



Bulut Sunucu Hosting ve Alan adı
webmaster blog