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)

nemesis01 04-05-2004 07:48 AM

Quote:

Originally Posted by PAINTBALLM
the arcade only installed the templates to PBM BLUE, which is a sub-template off of the default. I have three templates and the arcade wont work on the others. Is there a fast way of fixing this? (just duplicating the templates to other styles maybe?)

Change the boards default style, or your personal style to the style you want to install the templates in and run the first part of the arcade install again, first part only, then repeat the process for the other styles you have.

jmfemedia 04-05-2004 08:57 AM

I am having problems trying to get the trophies to show in the post bit.

when I do the alterations that it says in the zip for functions.php

I get this:


Quote:

Parse error: parse error in /home/virtual/site155/fst/var/www/html/forums/includes/functions.php on line 1864

Fatal error: Call to undefined function: is_browser() in /home/virtual/site155/fst/var/www/html/forums/global.php on line 59
the alterations that you have to do for the functions.php are:

PHP Code:

Find:
 
// get CSS width for outerdivwidth from outertablewidth
 
 
Above thisadd:
 
    
// declares the arcade image directory
    
$stylevar['imgdir_arcade'] = "images/arcade"

while the modified functions.php is installed on the server my site is 100% dead and can not be used.

I am able to use the arcade with the standard functions.php but I dont get the arcade trophies in the postbit.

can someone please help me with this.

I have attached my functions.php (removed the liscence number) so that you can see exactly what I did.

[high]You cannot attach vBulletin PHP files. Removing the license number means nothing. You have just breached your vB license agreement. Read the site rules and your vB license properly.[/high]

Erwin 04-05-2004 10:35 AM

For version 1.02 - if you want to make the games show up in ALPHABETICAL order rather than install order, do this:

Open arcade.php,

Find:

PHP Code:

    // Selects all games from the database
    
$result_allgames $DB_site->query("
        SELECT * FROM " 
TABLE_PREFIX "games $searchclause ORDER BY gameid DESC
    "
); 

Replace with:

PHP Code:

    // Selects all games from the database
    
$result_allgames $DB_site->query("
        SELECT * FROM " 
TABLE_PREFIX "games $searchclause ORDER BY shortname ASC
    "
); 

That should make things a bit more logical, if you ask me. :)

The Realist 04-05-2004 11:21 AM

Installed first time :)
And well done Erwin, as usual comes to the rescue :nervous:

Now all I have to do is find out how to upload the new games.

Laters

Quote:

Originally Posted by Erwin
For version 1.02 - if you want to make the games show up in ALPHABETICAL order rather than install order, do this:

Open arcade.php,

Find:

PHP Code:

    // Selects all games from the database
    
$result_allgames $DB_site->query("
        SELECT * FROM " 
TABLE_PREFIX "games $searchclause ORDER BY gameid DESC
    "
); 

Replace with:

PHP Code:

    // Selects all games from the database
    
$result_allgames $DB_site->query("
        SELECT * FROM " 
TABLE_PREFIX "games $searchclause ORDER BY shortname ASC
    "
); 

That should make things a bit more logical, if you ask me. :)


mharmon 04-05-2004 01:39 PM

What if you want the games to show up all on one page and not be divided into separate pages?

ConqSoft 04-05-2004 01:40 PM

Change the variable for the number to show on each page REALLY high?

John 04-05-2004 01:40 PM

Then set $perpage to 1000, or some other big number.

weaver 04-05-2004 02:22 PM

I've just installed this without incident. The arcade seems to be working fine. However, when I click to view a member profile I get this error:

Quote:

Parse error: parse error, unexpected T_DEFAULT in /home3/shb4_003/mysite.com/public_html/forums/includes/functions_online.php on line 705
ETA: Fixed... For some reason I had another "default:" where there should not have been one.

jmfemedia 04-05-2004 06:30 PM

Folks I really need help with this.

Quote:

Originally Posted by jmfemedia
I am having problems trying to get the trophies to show in the post bit.

when I do the alterations that it says in the zip for functions.php

I get this:


the alterations that you have to do for the functions.php are:

PHP Code:

Find:
 
// get CSS width for outerdivwidth from outertablewidth
 
 
Above thisadd:
 
    
// declares the arcade image directory
    
$stylevar['imgdir_arcade'] = "images/arcade"

while the modified functions.php is installed on the server my site is 100% dead and can not be used.

I am able to use the arcade with the standard functions.php but I dont get the arcade trophies in the postbit.

can someone please help me with this.

I have attached my functions.php (removed the liscence number) so that you can see exactly what I did.

[high]You cannot attach vBulletin PHP files. Removing the license number means nothing. You have just breached your vB license agreement. Read the site rules and your vB license properly.[/high]


Boofo 04-05-2004 07:42 PM

Quote:

Originally Posted by Erwin
For version 1.02 - if you want to make the games show up in ALPHABETICAL order rather than install order, do this:

Open arcade.php,

Find:

PHP Code:

    // Selects all games from the database
    
$result_allgames $DB_site->query("
        SELECT * FROM " 
TABLE_PREFIX "games $searchclause ORDER BY gameid DESC
    "
); 

Replace with:

PHP Code:

    // Selects all games from the database
    
$result_allgames $DB_site->query("
        SELECT * FROM " 
TABLE_PREFIX "games $searchclause ORDER BY shortname ASC
    "
); 

That should make things a bit more logical, if you ask me. :)

John, is there a way to maybe add an option for this for those of us that want to sort the games alphabetically instead of how the games are added? ;)


All times are GMT. The time now is 07:31 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.04381 seconds
  • Memory Usage 1,777KB
  • 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
  • (8)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