vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   v3 Arcade - Games Arcade & Challenge System [vB 3.0.3] (https://vborg.vbsupport.ru/showthread.php?t=60377)

KTBleeding 07-19-2004 01:30 AM

Quote:

Originally Posted by sarge0087
KTBleeding, you're right, there is no line like that. Instead it's called:

###################### Start doimicons #######################

Awesome, it works adding the code above that. Thanks!

And, I have no clue on your issue. Good luck with it.. :nervous:

MissKalunji 07-19-2004 04:08 PM

heres a new game from yetis

GoTTi 07-20-2004 12:36 AM

i had to delete a user on my board and he had alot of scores on the arcade..

now where his name use to be is the name of the game, and it just shows the highscore.

how can i remove all the scores not linked to a nick?

Jesus Cranberry 07-20-2004 10:35 AM

Quote:

Originally Posted by hello
i get this error

Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /home/nrelamun/public_html/forum/includes/init.php on line 520

I get the same error, how do you fix it?

JGM007 07-20-2004 04:46 PM

Everything seems to be working for me with 303, BUT the edit to the navbar and postbit templates.
I reverted them and tried the edits and a few suggestions mentioned a ways back, but no dice on the postbit champ icon.

JGM007 07-20-2004 06:15 PM

never mind. My own lack of sleep and stupidity made me over look the fact that the arcade templates were not in the style I was editing.

flstreetscene 07-22-2004 01:24 AM

I posted this on v3arcade but no one bothered to help me out:

"Ok well here it is to those who might be able to figure out;

I've created a fresh new database and forums and placed it here;

http://www.floridastreetscene.com/testforums

I'm at the point where I'm suppose to run the arcade install script but as you can see the entire site is blank and all because of the minor modification in 'includes/functions.php':

Code:

Find:
___________________________________________________________________________________________

// get CSS width for outerdivwidth from outertablewidth

???????????????????????????????????????????????????????????????????????????????????????????

Above this, add:
___________________________________________________________________________________________

        // declares the arcade image directory
        $stylevar['imgdir_arcade'] = "images/arcade";

???????????????????????????????????????????????????????????????????????????????????????????

You can take a look at my modified 'includes/funtions.php' document here;

http://www.floridastreetscene.com/testforums/temp

Thanks for the help."

montda 07-22-2004 04:26 PM

hi ...cool hack and i have some problem after uploading files
when i go 2 my admincp homepage this error appere
Quote:

Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /home/montda/public_html/vb/includes/init.php on line 518
i chack the file 518 and i find:
PHP Code:

            $specialtemplates array_merge(array(
                
'options',
                
'cron',
                
'forumcache',
                
'usergroupcache',
                
'stylecache',
                
'utt_store_act'
                'arcadesettings'
            
), $specialtemplates); 

i have ustore at my forums

and when i want to sign in this line show on the top of my forum page
Quote:

Warning: Invalid argument supplied for foreach() in /home/montda/public_html/vb/global.php on line 639
i chck it and i find
PHP Code:

// ######################## USHOP #################################### 
// Unserialize uShop Actions. 
$storeactions unserialize($datastore['utt_store_act']); 

// Make a list of the all the actions... 
foreach ($storeactions as $actionid => $theaction) { 
    if (
$theaction['active'] == "1") { 
        
$allowed explode(","$theaction['allowedgroups']); 
        foreach (
$allowed as $allow) { 
            if (
is_member_of(array('userid'=>$bbuserinfo['userid'], 'usergroupid'=>$bbuserinfo['usergroupid'], 'membergroupids'=>$bbuserinfo['membergroupids']), $allow)) { 
                
$canenter "1"
            } 
        } 
        
$denied explode(","$theaction['deniedgroups']); 
        foreach (
$denied as $deny) { 
            if (
is_member_of(array('userid'=>$bbuserinfo['userid'], 'usergroupid'=>$bbuserinfo['usergroupid'], 'membergroupids'=>$bbuserinfo['membergroupids']), $deny)) { 
                unset(
$canenter); 
            } 
        } 
        if (!isset(
$canenter)) { 
            
$canenter "0"
        } 
        if (
THIS_SCRIPT == 'ushop') { 
            if (
$canenter == 1) { 
                
$action1[$actionid] = $theaction
            } 
            if (
$theaction['showinstore'] == 1) { 
                (isset(
$actioncount) ? $actioncount++ : $actioncount "1"); 
            } 
        } 
        if (
$canenter == && $theaction['showinstore'] == 1) { 
            eval(
'$ushop_navbar .= "' fetch_template('navbar_uttstore_actions') . '";'); 
        } 
    } 

// The end all solution. 
unset($theaction); 
unset(
$storeactions); 
if (
THIS_SCRIPT == 'ushop') { 
    
$storeactions $action1

unset(
$action1);
if (
DB_QUERIES)
{
    
$pageendtime microtime();
    
$starttime explode(' '$pagestarttime);
    
$endtime explode(' '$pageendtime);
    
$aftertime $endtime[0] - $starttime[0] + $endtime[1] - $starttime[1];
    echo 
"End call of global.php:  $aftertime\n";
    echo 
"\n<hr />\n\n";
}
// Creates general settings for the Arcade
$arcadegeneral convert_bits_to_array($arcadesettings,$_ARCADE);
$arcadeuser convert_bits_to_array($bbuserinfo['arcadesettings'],$_ARCADEUSER);
$arcadepermissions convert_bits_to_array($permissions['arcadepermissions'],$_BITFIELD['usergroup']['arcadepermissions']); 

and i can't sign in

i have ucash&ushop installed atmy forums :surprised:

Oldfart 07-22-2004 10:17 PM

Quote:

Originally Posted by montda
hi ...cool hack and i have some problem after uploading files
when i go 2 my admincp homepage this error appere

i chack the file 518 and i find:
PHP Code:

            $specialtemplates array_merge(array(
                
'options',
                
'cron',
                
'forumcache',
                
'usergroupcache',
                
'stylecache',
                
'utt_store_act'
                'arcadesettings'
            
), $specialtemplates); 

i have ustore at my forums

and when i want to sign in this line show on the top of my forum page


i chck it and i find
PHP Code:

// ######################## USHOP #################################### 
// Unserialize uShop Actions. 
$storeactions unserialize($datastore['utt_store_act']); 

// Make a list of the all the actions... 
foreach ($storeactions as $actionid => $theaction) { 
    if (
$theaction['active'] == "1") { 
        
$allowed explode(","$theaction['allowedgroups']); 
        foreach (
$allowed as $allow) { 
            if (
is_member_of(array('userid'=>$bbuserinfo['userid'], 'usergroupid'=>$bbuserinfo['usergroupid'], 'membergroupids'=>$bbuserinfo['membergroupids']), $allow)) { 
                
$canenter "1"
            } 
        } 
        
$denied explode(","$theaction['deniedgroups']); 
        foreach (
$denied as $deny) { 
            if (
is_member_of(array('userid'=>$bbuserinfo['userid'], 'usergroupid'=>$bbuserinfo['usergroupid'], 'membergroupids'=>$bbuserinfo['membergroupids']), $deny)) { 
                unset(
$canenter); 
            } 
        } 
        if (!isset(
$canenter)) { 
            
$canenter "0"
        } 
        if (
THIS_SCRIPT == 'ushop') { 
            if (
$canenter == 1) { 
                
$action1[$actionid] = $theaction
            } 
            if (
$theaction['showinstore'] == 1) { 
                (isset(
$actioncount) ? $actioncount++ : $actioncount "1"); 
            } 
        } 
        if (
$canenter == && $theaction['showinstore'] == 1) { 
            eval(
'$ushop_navbar .= "' fetch_template('navbar_uttstore_actions') . '";'); 
        } 
    } 

// The end all solution. 
unset($theaction); 
unset(
$storeactions); 
if (
THIS_SCRIPT == 'ushop') { 
    
$storeactions $action1

unset(
$action1);
if (
DB_QUERIES)
{
    
$pageendtime microtime();
    
$starttime explode(' '$pagestarttime);
    
$endtime explode(' '$pageendtime);
    
$aftertime $endtime[0] - $starttime[0] + $endtime[1] - $starttime[1];
    echo 
"End call of global.php:  $aftertime\n";
    echo 
"\n<hr />\n\n";
}
// Creates general settings for the Arcade
$arcadegeneral convert_bits_to_array($arcadesettings,$_ARCADE);
$arcadeuser convert_bits_to_array($bbuserinfo['arcadesettings'],$_ARCADEUSER);
$arcadepermissions convert_bits_to_array($permissions['arcadepermissions'],$_BITFIELD['usergroup']['arcadepermissions']); 

and i can't sign in

i have ucash&ushop installed atmy forums :surprised:

Well I can help you with the first problem, you're missing a , after 'utt_store_act' it should look like this 'utt_store_act',

As far as the other problem goes I have no idea, sorry maybe someone else can help you.

Oldfart 07-22-2004 10:24 PM

Quote:

Originally Posted by flstreetscene
I posted this on v3arcade but no one bothered to help me out:

"Ok well here it is to those who might be able to figure out;

I've created a fresh new database and forums and placed it here;

http://www.floridastreetscene.com/testforums

I'm at the point where I'm suppose to run the arcade install script but as you can see the entire site is blank and all because of the minor modification in 'includes/functions.php':

Code:

Find:
___________________________________________________________________________________________

// get CSS width for outerdivwidth from outertablewidth

???????????????????????????????????????????????????????????????????????????????????????????

Above this, add:
___________________________________________________________________________________________

        // declares the arcade image directory
        $stylevar['imgdir_arcade'] = "images/arcade";

???????????????????????????????????????????????????????????????????????????????????????????

You can take a look at my modified 'includes/funtions.php' document here;

http://www.floridastreetscene.com/testforums/temp

Thanks for the help."

Well all that line is doing is making sure that you have the arcade image directory where it's supposed to be like in your /forum/images/arcade there really shouldn't be any problems as long as thats where you put the arcade images directory at. You should check it. If it is post back here and let me know.


All times are GMT. The time now is 04:35 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05589 seconds
  • Memory Usage 1,844KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (4)bbcode_php_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (6)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete