vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Major Additions - ibProArcade - professional Arcade System (https://vborg.vbsupport.ru/showthread.php?t=101554)

edytwinky 11-05-2007 04:40 PM

What the the latest bug fix take care of? I was just wondering before I downloaded it

SVTCobraLTD 11-05-2007 06:53 PM

Quote:

Originally Posted by SVTCobraLTD (Post 1375210)
Where the arcade home page says "Arcade ? Tournaments ? Your Settings ? Your Favorites ? Your Rankings ? Leaderboard ? Arcade ModCP" I would like to add something in there. Where can I edit this?

Anyone know?

inciarco 11-05-2007 08:31 PM

Excellent Arcade System, MrZeropage!! :up:

Best Of The Best!! :up::up::up:

My Best Regards!! ;)

:)

SLY LS1 11-05-2007 09:23 PM

Ok, I have a small issue,

The scores arnt being kept..

Then I noticed in the admin section it tells me

Quote:

Notice:
Your forum's mainpage is not index.php - please make sure to adapt your /forum.php otherwise scores won't be recorded!
You will find detailed instructions in the ibProArcade-archive: INFO - vbadvanced or other Portal.txt or in this popup-window
So I followed the instructions in the pop up window "see below" (tried it in index.php and forum.php)

Open "/index.php"

Search for: (very top of file)

Code:

<?php
Below that add:

Code:

// ibProArcade
if($_POST[module] == "pnFlashGames")
{
        require_once("./global.php");

        switch($_POST[func])
        {
                case "storeScore":
                $_GET[act] = "Arcade";
                $_GET[module] = "arcade";
                $_GET[do] = "pnFStoreScore";
                break;

                case "saveGame":
                $_GET[do] = "pnFSaveGame";
                break;

                case "loadGame":
                $_GET[do] = "pnFLoadGame";
                break;

                case "loadGameScores":
                $gid = $vbulletin->input->clean_gpc("p", "gid", TYPE_NOHTML);
                $uid= $vbulletin->userinfo[userid];
                $game = $db->query_first("SELECT * FROM " . TABLE_PREFIX . "games_scores WHERE mid=$uid AND gid = $gid ORDER BY score DESC LIMIT 0,1");
                $scores = $game[score];

                if($scores != false)
                {
                        //Return true
                        print "&opSuccess=true&gameScores=$scores&endvar=1"; //send endvar to keep opSuccess separate from all other output from PostNuke
                }
                else
                {
                        print "&opSuccess=false&error=Error&endvar=1";
                }
                break;
        }
}

$act = $_GET[act];
$autocom = $_GET[autocom];
$showuser= $_GET[showuser];
if($act == "Arcade" || $autocom=="arcade") {
include "arcade.php";
exit();
}
if(!empty($showuser) && $showuser >= 1) {
$u = $showuser;
$_GET[u] = $showuser;
include "member.php";
exit();
}
// end of ibProArcade

Save and upload your forum.php back to your server.


and then got the error below

Quote:

Parse error: syntax error, unexpected T_DO, expecting ']' in /public_html/forum/forum.php on line 13
any help would be appriciated

Cheers

Oh im using version 3.6.7 and vBadvanced CMPS v3.0 RC1

Rajdeep 11-06-2007 04:54 AM

Where can i get games for this arcade.In http://www.ibparcade.com WE GET GAMES BUT THEY DONT ALLOW MUCH GAMES DOWNLOAD PER DAY.Only 2-3 games per day.

Vinyljunky 11-06-2007 07:26 AM

Quote:

Originally Posted by Rajdeep (Post 1376805)
Where can i get games for this arcade.In http://www.ibparcade.com WE GET GAMES BUT THEY DONT ALLOW MUCH GAMES DOWNLOAD PER DAY.Only 2-3 games per day.

Thats a kind of forbidden question to ask in this forum (Probabley because its asked every few days by people who dont search or read first)

Search in Google! There are quite a few sites that you can download games from. Some require membership but it is worth it.

If you use torrent you can search in there too ;)

Please support this excellent mod by donating to Mr Zero, even if its just a few dollars.

Regards

VinylJunky

paulvev 11-06-2007 12:37 PM

I have followed all instruction for 3.6.8 installation successfully and imported product. I'm nearly there but fallen at the last hurdle. When in Admincp I see Arcade settings at the side, but clicking on the submenus to set the final settings I'm getting the error :

Class 'db_driver' not found in /home/fhlinux169.....on arcade.php on line 43

Sorry...not sure what to do now. Please can anybody help. This is the first time Ive come unstuck on installing a mod. (and this is a good one too!). Thanks.

mrjefferson75 11-06-2007 12:39 PM

can any one help when a member of my site plays the arcade the scores dont submit?

Rajdeep 11-06-2007 01:52 PM

I HAVE INSTALLED IT.ITS RUUNING GREAT.Every thng is complete but i m stuck on the last step.I hv to find <td class="vbmenu_control"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td> in the navbar template.but i m unable to.I want the arcade button after calender.n after tht i hv to paste this <td class="vbmenu_control"><a href="arcade.php?$session[sessionurl_q]">Arcade</a></td>.But i m unable to find tht.Instead in navbar under navbar buttons its just written !-- / nav buttons bar -->

<br />
<if condition="$show['forumdesc']">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="alt1" width="100%"><strong>$foruminfo[title]</strong> <span class="smallfont">$foruminfo[description]</span></td>
</tr>
</table>
<br />
</if>.I m using HEXCELL FLUID THEME.Plz tell me how to add the arcade button n where.

djbaxter 11-06-2007 02:40 PM

Quote:

Originally Posted by Rajdeep (Post 1376996)
I HAVE INSTALLED IT.ITS RUUNING GREAT.Every thng is complete but i m stuck on the last step.I hv to find <td class="vbmenu_control"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td> in the navbar template.but i m unable to.I want the arcade button after calender.n after tht i hv to paste this <td class="vbmenu_control"><a href="arcade.php?$session[sessionurl_q]">Arcade</a></td>.But i m unable to find tht.Instead in navbar under navbar buttons its just written !-- / nav buttons bar -->

<br />
<if condition="$show['forumdesc']">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="alt1" width="100%"><strong>$foruminfo[title]</strong> <span class="smallfont">$foruminfo[description]</span></td>
</tr>
</table>
<br />
</if>.I m using HEXCELL FLUID THEME.Plz tell me how to add the arcade button n where.


You don't actually need to do this step at all unless you want a link to the arcade from your navigation bar.

What I did, to reduce the time required for vBulletin upgrades, is just make a subforum called "Arcade" and use the built-in vBulletin option to make that forum a link. Anyone clicking on the link goes directly to the arcade.

You can see an example of this at http://forum.psychlinks.ca - scroll down the main forum index there to The Waiting Room category and it's a subforum under "Just for Fun".


All times are GMT. The time now is 05:05 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.05037 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
  • (2)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