vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=328481

HTML5 Game Mod for ibProArcade
by stangger5
01 Jan 2021 18:17

1 Attachment(s)
Version 1.2

This is for ibProArcade 2.7.6+

With this mod you can install and play HTML5 games.

Upload and overwrite:

admincp/arcade.php

arcade/modules/arcade_playgame.php
arcade/modules/arcade_playgame_full.php
arcade/modules/arcade_playtournament.php
arcade/modules/arcade_showgames.php

arcade/skins/skin_Arcade.php
arcade/skins/skin_v3Arcade.php

arcade.php

Import the product-gamesystemcheck.xml
Do the Scores.txt edit.

Priority support at: next-level-arcade.com
Note:HTML5 Games from my site will install automatically, no need to edit anything.;)

lagrace 12 Jan 2021 14:11

Hello
when i want to install html5 games i have this as error

PHP Warning: mysqli_query(): (42S22/1054): Unknown column 'system' in 'field list' in ....\arcade\functions\dbclass_mysqli.php on line 193

PHP Warning: mysqli_error() expects exactly 1 parameter, 0 given in ....\arcade\functions\dbclass_mysqli.php on line 512


There is a SQL error.
You can contact the board administrator by clicking here

Error Returned


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


shka 12 Jan 2021 14:27

MySQL Version >=8.0.3?

system is a reserved word, so you have to use it only with backticks.

So first you could change line 14 of product-gamesystemcheck.xml


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

and reinstall.

stangger5 12 Jan 2021 18:32

Quote:

Originally Posted by lagrace (Post 2605746)
Hello
when i want to install html5 games i have this as error

PHP Warning: mysqli_query(): (42S22/1054): Unknown column 'system' in 'field list' in ....\arcade\functions\dbclass_mysqli.php on line 193

PHP Warning: mysqli_error() expects exactly 1 parameter, 0 given in ....\arcade\functions\dbclass_mysqli.php on line 512


There is a SQL error.
You can contact the board administrator by clicking here

Did you Import the product-gamesystemcheck.xml

lagrace 12 Jan 2021 19:46

mariadb 10.4.17 and php 7.1.33

the column system is not created when importing the product



ps: with the shka trick it happens

the game is installed but on the game page I have this as an error the game is not displayed


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

line 658-667

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

https://www.vbulletin.org/forum/external/2021/01/1.png

in my browser I have this
http://localhost/ibphtml5/index.php?...play&gameid=21

kylek 13 Jan 2021 04:08

Just installed this on another site - fresh install of 2.7.6, get the same error on game page that lagrace has.



Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


lagrace 13 Jan 2021 10:18

in the file arcade / module / arcade.playgame.php

find this


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

replace with this


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

search

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

replace with


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

in the file arcade / module / arcade_playgame_full.php

find this


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

replace with this


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

search

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

replace with


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

in arcade.php


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

replace with


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


kylek 14 Jan 2021 18:12

Thanks lagrace, works now!

blue6995 19 Jan 2021 21:12

Will this and ibProArcade 2.7.6+ work with vBulletin 4.2.2

Thanks

kylek 20 Jan 2021 08:59

Quote:

Originally Posted by blue6995 (Post 2605858)
Will this and ibProArcade 2.7.6+ work with vBulletin 4.2.2

Thanks


Yes.

bluidktty 20 Jan 2021 10:00

Will this and ibProArcade 2.7.6+ work with vBulletin 3.8.11?

kylek 20 Jan 2021 18:37

No, this is for vb4.

stangger5 21 Jan 2021 12:34

Quote:

Originally Posted by bluidktty (Post 2605867)
Will this and ibProArcade 2.7.6+ work with vBulletin 3.8.11?

If ibProArcade 2.7.6+ works with vBulletin 3.8.11, then yes this mod will work..

blue6995 26 Jan 2021 10:13

I installed this mod the other day and I am sure I have installed it properly. However, when selecting a game to play, I get an error 404 page not found message.

The page that it is being directed to is:

https://rwf-forum.co.uk/vBulletin/ar...play&gameid=12

Grateful for any help I can get!

Thanks

stangger5 26 Jan 2021 16:03

You still had a dbtech mod_rewrite for the gamedata.

# Retrieve gamedata requests and send to new dbtech locations


All times are GMT. The time now is 07:35.

Powered by vBulletin® Version 3.8.14
Copyright © 2021, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.