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)

Elixar 06-17-2015 07:24 PM

Bump.

squidsk 06-18-2015 01:51 PM

What do you have on line 194?

stangger5 06-18-2015 03:04 PM

Quote:

Originally Posted by Elixar (Post 2547887)
Now getting the following:

PHP Code:

Parse errorsyntax errorunexpected 'new' (T_NEWin /home/science/public_html/*** REMOVED ***/arcade/modules/mod_modcp.php on line 194 


Find all instances of =& and change it to =

Elixar 06-18-2015 07:24 PM

Quote:

Originally Posted by stangger5 (Post 2548141)
Find all instances of =& and change it to =

Yay thank you! Also, am I able to get more games for the arcade from your forum in your signature? :D

Stepahnie123 08-06-2015 03:59 PM

Has anyone used this with version 5.1.8?

Is it compatible?

Thank you.

blind-eddie 08-07-2015 01:05 AM

If I ever get vb5, this has to work, it is one of my favorite addons, I may have the second best modified arcade, so I hope Mr. Zero either figures out if he is moving this addon up to vb5 or letting it rest where it is now.

stangger5 08-07-2015 10:41 PM

I think,,he`s been testing with vb5. Don`t know how much tho.

I don`t have vb5 or I would be testing too.

BTW,,, Nice looking arcade eddie..:up:

blind-eddie 08-08-2015 02:29 AM

Thanks stangger5, you would know, you did all my arcade modifications, that's why I said I had the second best arcade.... yours will always be #1!
If any of you ever need your arcade modified, stangger5 is the person to talk to, you will be very happy!

Vintum 08-10-2015 10:25 PM

Can the lists for Newest and Most Played games that show up on the arcade home screen be made to not display games from specific categories?

blind-eddie 08-10-2015 11:16 PM

Yes, pm stangger5 regarding that.

mystiksven 08-29-2015 08:35 PM

Hello,
Itried to install the arcade on my 4.2.3 board. The instruction says

Quote:

In this navbar-Template search for:

vBulletin 4.x
PHP Code:

<li><a href="calendar.php{vb:raw session.sessionurl_q}">{vb:rawphrase calendar}</a></li

Cannot find this in the template and don?t know where i shall add the following line now


Quote:

Below add:
PHP Code:

<li><a href="arcade.php{vb:raw session.sessionurl_q}">Arcade</a></li

Maybe someone can give me a hint :D

stangger5 08-30-2015 09:09 AM

Install this: ibProArcade Tab in Navbar vb4.2
https://vborg.vbsupport.ru/attachmen...3&d=1335925004

mystiksven 08-30-2015 10:54 AM

1 Attachment(s)
Many Thanks stangger5 - this fixed the problem :p

Have another prob now. It looks weird on the custom skins - see the pic. Logo / Banner aren?t shown too.

Many Thanks :D

stangger5 09-02-2015 03:05 PM

Try this:
New Template attachment (no longer need to add the contents of the ARCADE.css to Adittional.css
https://vborg.vbsupport.ru/attachmen...3&d=1335925004

mystiksven 09-02-2015 04:00 PM

Hello stangger5,

The link down?t work.

Many Thanks :D

stangger5 09-05-2015 02:32 PM

Give the link a try now..

mystiksven 09-05-2015 06:58 PM

1 Attachment(s)
Many Thanks - the link works :p

There is still one lill prob left - u see it on the screen shot.

stangger5 09-07-2015 03:54 PM

Add this to the ARCADE.css

PHP Code:

legend{color:#ffffff;} 


mystiksven 09-08-2015 01:23 PM

Many thanks. I did this but it didn?t change it :(

MIWASA 09-15-2015 06:09 PM

Hey There. Have upgraded vb from 4.2.2 to 4.2.3. Scores used to save previously. However since upgrade whenever game finishes, just takes me back to homepage, any advice appreciated

stangger5 09-16-2015 04:05 PM

Do the (INFO - vbadvanced or another Portal) edit that comes with the arcade.

Edit your index.php file..

rinkrat 09-17-2015 01:01 AM

Doing the edit on index.php to get it to save the scores brings these errors:

[Wed Sep 16 19:54:34 2015] [error] [client 71.93.XXX.XXX] PHP Notice: Undefined index: module in /var/www/html/index.php on line 3
[Wed Sep 16 19:54:34 2015] [error] [client 71.93.XXX.XXX] PHP Notice: Use of undefined constant act - assumed 'act' in /var/www/html/index.php on line 42
[Wed Sep 16 19:54:34 2015] [error] [client 71.93.XXX.XXX] PHP Notice: Undefined index: act in /var/www/html/index.php on line 42
[Wed Sep 16 19:54:34 2015] [error] [client 71.93.XXX.XXX] PHP Notice: Use of undefined constant autocom - assumed 'autocom' in /var/www/html/index.php on line 43
[Wed Sep 16 19:54:34 2015] [error] [client 71.93.XXX.XXX] PHP Notice: Undefined index: autocom in /var/www/html/index.php on line 43
[Wed Sep 16 19:54:34 2015] [error] [client 71.93.XXX.XXX] PHP Notice: Use of undefined constant showuser - assumed 'showuser' in /var/www/html/index.php on line 44
[Wed Sep 16 19:54:34 2015] [error] [client 71.93.XXX.XXX] PHP Notice: Undefined index: showuser in /var/www/html/index.php on line 44

Every user gives these errors so it fills up the error log all day. Any way to fix it?

stangger5 09-18-2015 05:35 PM

Mind if I have a look ?

rinkrat 09-18-2015 08:55 PM

Not much to see. I did the edit needed to save the scores and it triggers all of these errors. I searched google for it and it appears that a lot of people have the same problem although I can't find a fix. The program still works just gives off errors for every single user on my site.

stangger5 09-19-2015 11:11 AM

What did you edit the index.php file with ?

I`ve always have used Textpad.

blind-eddie 09-19-2015 10:33 PM

Quote:

Originally Posted by rinkrat (Post 2555180)
Doing the edit on index.php to get it to save the scores brings these errors:

[Wed Sep 16 19:54:34 2015] [error] [client 71.93.XXX.XXX] PHP Notice: Undefined index: module in /var/www/html/index.php on line 3
[Wed Sep 16 19:54:34 2015] [error] [client 71.93.XXX.XXX] PHP Notice: Use of undefined constant act - assumed 'act' in /var/www/html/index.php on line 42
[Wed Sep 16 19:54:34 2015] [error] [client 71.93.XXX.XXX] PHP Notice: Undefined index: act in /var/www/html/index.php on line 42
[Wed Sep 16 19:54:34 2015] [error] [client 71.93.XXX.XXX] PHP Notice: Use of undefined constant autocom - assumed 'autocom' in /var/www/html/index.php on line 43
[Wed Sep 16 19:54:34 2015] [error] [client 71.93.XXX.XXX] PHP Notice: Undefined index: autocom in /var/www/html/index.php on line 43
[Wed Sep 16 19:54:34 2015] [error] [client 71.93.XXX.XXX] PHP Notice: Use of undefined constant showuser - assumed 'showuser' in /var/www/html/index.php on line 44
[Wed Sep 16 19:54:34 2015] [error] [client 71.93.XXX.XXX] PHP Notice: Undefined index: showuser in /var/www/html/index.php on line 44



Every user gives these errors so it fills up the error log all day. Any way to fix it?

I have received the same errors from the time the index.php edit was added.

rinkrat 09-20-2015 12:48 AM

The worst part is that every user to your index.php triggers all these errors, not just the arcade users. Brutal. I had to disable the arcade till I can find a fix.

stangger5 11-17-2015 04:32 PM

I think,, its your redirect.. It takes out your www.

rinkrat 11-17-2015 04:43 PM

Thanks. I'll look into that! I use the redirect because VBShout won't load from www. only without it.

Is there something I could do to the redirect or to index.php to fix it?

macfan365 12-01-2015 05:51 PM

So I'm having some issues with my arcade.

My templates aren't coming out right. I took a look at my navbar and this is all I have as a template:

HTML Code:

<div id="middle_header">
<vb:if condition="$stylevar['titleimage']"><a name="top" href="{vb:link forumhome}" class="logo-image"><img src="{vb:stylevar titleimage}" alt="{vb:rawphrase x_powered_by_vbulletin, {vb:raw vboptions.bbtitle}}" /></a></vb:if>
<div id="navbar" class="navbar">
        <ul id="navtabs" class="navtabs floatcontainer<vb:if condition="$show['member'] AND $notifications_total"> notify</vb:if>">
                {vb:raw template_hook.navtab_start}
                {vb:raw navigation}
                {vb:raw template_hook.navtab_end}
        </ul>
</div>
</div>
</div>
</div><!-- closing div for above_body -->

<div class="body_wrapper">
<div id="breadcrumb" class="breadcrumb">
        <ul class="floatcontainer">
                <li class="navbithome"><a href="index.php{vb:raw session.sessionurl_q}" accesskey="1"><img src="{vb:stylevar imgdir_misc}/navbit-home.png" alt="{vb:rawphrase home}" /></a></li>
                {vb:raw navbits.breadcrumb}
                {vb:raw navbits.lastelement}
        </ul>
        <hr />
</div>

{vb:raw ad_location.ad_navbar_below}
{vb:raw ad_location.global_below_navbar}

<vb:if condition="$show['notices'] AND THIS_SCRIPT != 'register'">
        <form action="profile.php?do=dismissnotice" method="post" id="notices" class="notices">
                <input type="hidden" name="do" value="dismissnotice" />
                <input type="hidden" name="s" value="{vb:raw session.sessionurl}" />
                <input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
                <input type="hidden" id="dismiss_notice_hidden" name="dismiss_noticeid" value="" />
                <input type="hidden" name="url" value="{vb:raw return_link}" />
                <ol>
                        {vb:raw notices}
                </ol>
        </form>
</vb:if>


Anyone can help me with this?

I also installed the navtab plugin and nothing happened.

stangger5 12-02-2015 11:39 AM

Quote:

Originally Posted by macfan365 (Post 2559564)
I also installed the navtab plugin and nothing happened.

Did you look to see if its active ?
admincp >> Navigation Manager >> Arcade:
Choose "Edit" from the drop down to the right and click "Go".
Active need to be "YES".

macfan365 12-02-2015 04:14 PM

Quote:

Originally Posted by stangger5 (Post 2559604)
Did you look to see if its active ?
admincp >> Navigation Manager >> Arcade:
Choose "Edit" from the drop down to the right and click "Go".
Active need to be "YES".


Still didn't help out with my problem I'm having. Check PM on your site. :)

stangger5 12-03-2015 11:22 AM

Quote:

Originally Posted by macfan365 (Post 2559617)
Still didn't help out with my problem I'm having. Check PM on your site. :)

The ibProArcade Tab in Navbar is working fine..

Your problem was in the ARCADE_vB4 template.

Here`s the template edit:
https://vborg.vbsupport.ru/showthread.php?t=320968

IslamicBoard 12-03-2015 11:29 PM

Is it possible to have your own games? Or are the games preselected?

ArcadeSyndicate 12-04-2015 12:55 AM

sure you can use your own games. there are several sites you can download them.

karan2175 12-09-2015 08:36 PM

Quote:

Originally Posted by mystiksven (Post 2553869)
Hello,
Itried to install the arcade on my 4.2.3 board. The instruction says



PHP Code:

<li><a href="calendar.php{vb:raw session.sessionurl_q}">{vb:rawphrase calendar}</a></li

Cannot find this in the template and don?t know where i shall add the following line now




PHP Code:

<li><a href="arcade.php{vb:raw session.sessionurl_q}">Arcade</a></li

Maybe someone can give me a hint :D

Had same problem, figured it out.. Thanks,

mjw1205 12-29-2015 07:24 PM

None of the players high scores are saving on mine for some reason. not getting any php errors or anything of that sort. It shows the ammount of times played. Just no scores..http://usafdefender.com/arcade.php

Navi-Mann 12-31-2015 07:19 AM

Suche die index.php auf deinem Server und f?r Folgendes dr?ber ein und Speicher es wieder auf deinem Server

Find the index.php on a server and for the following over it, and store it back to your server

PHP Code:

 <?php
// 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_INT);
        
$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


Max_69 02-27-2016 08:39 AM

Hi guys, i have this error when start with a game:

Quote:

Deprecated: Assigning the return value of new by reference is deprecated in /data/vhosts/gameinvaders.it/httpdocs/forum/arcade.php on line 3191

Deprecated: Assigning the return value of new by reference is deprecated in /data/vhosts/gameinvaders.it/httpdocs/forum/arcade.php on line 4084

PHP Warning: Cannot modify header information - headers already sent by (output started at ..../arcade.php:3191) in ..../arcade.php on line 97

PHP Warning: Cannot modify header information - headers already sent by (output started at ..../arcade.php:3191) in ..../arcade.php on line 2677

PHP Warning: Cannot modify header information - headers already sent by (output started at ..../arcade.php:3191) in ..../arcade.php on line 2678

PHP Warning: Cannot modify header information - headers already sent by (output started at ..../arcade.php:3191) in ..../arcade.php on line 2679

PHP Warning: Cannot modify header information - headers already sent by (output started at ..../arcade.php:3191) in ..../arcade.php on line 2680
In the arcade.php i have this:

Quote:

Deprecated: Assigning the return value of new by reference is deprecated in /data/vhosts/gameinvaders.it/httpdocs/forum/arcade.php on line 3191

Deprecated: Assigning the return value of new by reference is deprecated in /data/vhosts/gameinvaders.it/httpdocs/forum/arcade.php on line 4084

PHP Warning: Cannot modify header information - headers already sent by (output started at ..../arcade.php:3191) in ..../arcade.php on line 97
How resolve? Thanks

blind-eddie 02-27-2016 11:40 AM

Quote:

Originally Posted by Max_69 (Post 2565730)
Hi guys, i have this error when start with a game:



In the arcade.php i have this:



How resolve? Thanks


Save a copy of the arcade.php file before you edit it.

Open arcade.php in your favorite editor.

Find all instances of =& and change it to = save

You may have to repeat these steps in other files. Remember to ALWAYS save a copy of the file before you edit it.


All times are GMT. The time now is 04:46 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.07546 seconds
  • Memory Usage 1,875KB
  • 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
  • (1)bbcode_html_printable
  • (7)bbcode_php_printable
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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