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)

Giveit2u43 02-04-2004 11:31 PM

Quote:

Originally Posted by PET
question :

In ARCADE INTEX, all games images from the left, have border 1. The problem is that the border color is blue, and it looks badly. How can i change the color ?

in the arcade_main_games_bit template, find:

Code:

<a href="arcade.php?do=play&gameid=$game[gameid]"><img src="$stylevar[imgdir_arcade]/$game[stdimage]" border="1"></a>
and replace it with:

Code:

<a href="arcade.php?do=play&gameid=$game[gameid]"><img src="$stylevar[imgdir_arcade]/$game[stdimage]" style="border:1px dashed red;"></a>
if you look at the end of the new code, you`ll see the border="1" command has been replaced by a style command.. you can change the style at the end to either solid,dashed or dotted and you can change the colour to either one of the fixed names, or any hex colour code your require to fit in with your theme.. I just liked a dashed red effect around my games to make them stand out..

(screenshot attached for those lacking in imagination)

Zachariah 02-05-2004 12:23 AM

FYI: Change the order of the games list :surprised:

In arcade.php

Code:

LEFT JOIN " . TABLE_PREFIX . "games AS games ON gamesessions.gamename = games.shortname
                $whereclause AND $sessionclause ORDER BY gamesessions.gamename DESC
        ");

change to

Code:

LEFT JOIN " . TABLE_PREFIX . "games AS games ON gamesessions.gamename = games.shortname
                $whereclause AND $sessionclause ORDER BY gamesessions.gamename ASC
        ");

EX: http://www.gzhq.net/forums/arcade.php?

version2 02-05-2004 12:37 AM

Can we use any of those other miniclip games?

Kalakov 02-05-2004 04:09 AM

will this hack also work for "vBulletin Version 3.0.0 Release Candidate 3" or only for release candidate 2 ?

BillaBongUSA 02-05-2004 04:37 AM

Yes, it works for Release Candidate 3.

Amzadi 02-05-2004 04:50 AM

Ditto. I'm running my arcade on RC3 as a new install.

John 02-05-2004 08:44 AM

Updated, cheat proof funky pong - zip updated.

Mika 02-05-2004 09:29 AM

Ok, I have found the reason for my problem.

It's because I have phpadsnew running on my forum (banner management software)

I have this code in phpinclude_start

require ('/usr/local/apache2/htdocs/phpads/phpadsnew.inc.php');
if (!isset($phpAds_context)) $phpAds_context = array();
$phpAds_raw = view_raw ('zone:1', 0, '', '', '0', $phpAds_context);
$bann = $phpAds_raw['html'];

And then somewhere in postbit there's is that $bann where a banner should be showing.

If I remove that code Arcade works beautifully!

Now the question is... how to get those two to work together...

MrNase 02-05-2004 10:32 AM

wow, that looks great!!!

(will install it tomorrow (when rc4 is out))

theXME 02-05-2004 10:41 AM

Quote:

Originally Posted by John
Updated, cheat proof funky pong - zip updated.

Good job, thank you for this update :)


All times are GMT. The time now is 04:53 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.04327 seconds
  • Memory Usage 1,745KB
  • 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
  • (2)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