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)

romeshomey 07-13-2004 03:04 AM

Quote:

Originally Posted by Deviant Mind
yes the images are in the right Dir. It's the code pasted into the Functions.php that gives me an error. And without it the images don't show up

I had the same problem.

Just put the images in your root www/ folder and then they will show up.

flstreetscene 07-13-2004 03:12 AM

wow i'm currently using vbulletin 3.0.1 and no way has I got the arcade to work neither has my host. Theres a bunch of messes in the db now with the arcade files so a clean install would be the best except even that is impossible because im getting mysql errors during the installation. This is really frustrating as members have been bugging me for the past month for the arcade being down.

(http://www.floridastreetscene.com/forums/arcade.php?)

domeen 07-13-2004 01:00 PM

Everything works fine for me, I can play games and so on, but when I want to add an comment, it says :

you do not have permission to access this page. This could be due to one of several reasons:

Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.

Have checked through the changes again and everything seems fine. Any ideas where my problem could be?

What could be wrong?
I looked twice the init and global
The only thing was in init.php
where: I had already installed the ucash and ushop script, then this looked so:
$specialtemplates = array_merge(array(
'options',
'cron',
'forumcache',
'usergroupcache',
'stylecache',
'utt_store_act'
), $specialtemplates);

now when I cahnaged it looked like this:
$specialtemplates = array_merge(array(
'options',
'cron',
'forumcache',
'usergroupcache',
'stylecache',
'utt_store_act',
'arcadesettings'
), $specialtemplates);

Is it ok?

domeen 07-14-2004 05:33 AM

Can someone help?
I did check the permissions on the usergroups, everything seems ok there.
But still I can`t post comment after game.

forum link : http://www.foorum.net

ChuanSE 07-14-2004 06:09 AM

Quote:

Originally Posted by domeen
Can someone help?
I did check the permissions on the usergroups, everything seems ok there.
But still I can`t post comment after game.

What's your board link?

ChuanSE 07-14-2004 06:11 AM

Quote:

Originally Posted by flstreetscene
wow i'm currently using vbulletin 3.0.1 and no way has I got the arcade to work neither has my host. Theres a bunch of messes in the db now with the arcade files so a clean install would be the best except even that is impossible because im getting mysql errors during the installation. This is really frustrating as members have been bugging me for the past month for the arcade being down.

(http://www.floridastreetscene.com/forums/arcade.php?)

I could help you out, but you will need to pm me some details. ;)

ChuanSE 07-14-2004 06:13 AM

Quote:

Originally Posted by romeshomey
I had the same problem.

Just put the images in your root www/ folder and then they will show up.

Images should go into /forumroot/images/arcade/

no where else ;)

I don't understand this doesn't work for you guyz, it's the easiest hack ever :x

describe your problems again from start of install...

Maybe we can help

romeshomey 07-14-2004 06:34 AM

Quote:

Originally Posted by ChuanSE
Images should go into /forumroot/images/arcade/

no where else ;)

I don't understand this doesn't work for you guyz, it's the easiest hack ever :x

describe your problems again from start of install...

Maybe we can help

I followed the instructions very well, even double and triple checked things. Everything workds great but the image directory.

Of course my images work becuase I put them in my main folder for now, but Ill explain below....

For 1. You had things in the install to edit that werent on some of our V3 files. Like this:
Code:

=================================
includes/functions_showthread.php
=================================

Find:
___________________________________________________________________________________________

// ###################### Start getreputationimage #######################

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

Above this, add:
___________________________________________________________________________________________

if ($arcadegeneral['awardson']==1) {
        // declares the arcade image directory
        $stylevar['imgdir_arcade'] = "images/arcade";
        $arcade_result = $DB_site->query("SELECT shortname,title,gamesettings,highscorerid,highscore,miniimage,gameid FROM " . TABLE_PREFIX . "games ");
        while ($arcade = $DB_site->fetch_array($arcade_result)){
                if (($arcade[gamesettings] & $_GAMESCHECK['showaward'])){
                        $awards[$arcade[shortname]]['userid'] = $arcade['highscorerid'];
                        $awards[$arcade[shortname]]['gametitle'] = $arcade['title'];
                        $awards[$arcade[shortname]]['icon'] = $arcade['miniimage'];
                        $awards[$arcade[shortname]]['highscore'] = $arcade['highscore'];
                        $awards[$arcade[shortname]]['gameid'] = $arcade['gameid'];
                }
        }
}

Some of us dont have this part in that PHP so alot of us added it here:
Code:

        // declares the arcade image directory
        $stylevar['imgdir_arcade'] = "images/arcade";
        $arcade_result = $DB_site->query("SELECT shortname,title,gamesettings,highscorerid,highscore,miniimage,gameid FROM " . TABLE_PREFIX . "games ");
        while ($arcade = $DB_site->fetch_array($arcade_result)){
                if (($arcade[gamesettings] & $_GAMESCHECK['showaward'])){
                        $awards[$arcade[shortname]]['userid'] = $arcade['highscorerid'];
                        $awards[$arcade[shortname]]['gametitle'] = $arcade['title'];
                        $awards[$arcade[shortname]]['icon'] = $arcade['miniimage'];
                        $awards[$arcade[shortname]]['highscore'] = $arcade['highscore'];
                        $awards[$arcade[shortname]]['gameid'] = $arcade['gameid'];
                }
        }
}

// ###################### Start doimicons #######################


Then for 2. This coudnt be done:
Code:

includes/functions.php
======================

Find:
___________________________________________________________________________________________

// get CSS width for outerdivwidth from outertablewidth

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

Above this, add:
___________________________________________________________________________________________

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

???????????????????????????????????????????????????????????????????????????????????????????
==============
Save and Close
==============

Everytime I did that edit I got a PHP error like this
Code:

Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/drewster/public_html/forums/includes/functions.php on line 1887

ChuanSE 07-14-2004 06:40 AM

Which OS? Which apache or ISS? Which Vb? ... are you using?

romeshomey 07-14-2004 06:49 AM

VB 3.0.3

Operating system Linux

Apache version 1.3.31 (Unix)


All times are GMT. The time now is 03:59 PM.

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.05188 seconds
  • Memory Usage 1,757KB
  • 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
  • (4)bbcode_code_printable
  • (5)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