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)

Boofo 11-27-2005 03:42 AM

Quote:

Originally Posted by HC.
I just upgraded where is the allmods hack?
It is showing games that are not installed on the left
Please help

Most of it is included in the new arcade. ;)

Boofo 11-27-2005 03:43 AM

Quote:

Originally Posted by ReadOrDie
Thanks! Is there anywhere I can get more games?

Please read the last line in the first post. ;)

Boofo 11-27-2005 03:45 AM

This is what you need to put the code after then. Like this:

Quote:

<?
* code here *
;)

Quote:

Originally Posted by C_P
I cannot beleive I overlooked that BUT, there is not <?php. I have pasted a before and after of waht the VERY top of my code was before and after adding the code and still same error unless I am putting it wrong?


bonnmac 11-27-2005 03:48 AM

UPDATE!!! i did file edits seeing i could not get installer to work and the error now changed to....
PHP Code:

mySQL query errorSELECT m.useridm.usernamem.postsm.arcade_banm.times_playedm.is_arcade_mod AS is_mod,
                    
m.fav_games AS favsm.user_sortm.user_orderm.user_g_pp,
                    
m.user_s_ppm.def_g_catm.game_skinm.arcade_mod_privsm.arcade_pmactiveg.adminpermissions AS is_admin,
                    
g.arcade_accessg.p_requireg.max_playg.ppd_requireg.ibpa_cats AS allowed_categories
                    FROM user 
AS m
                    LEFT JOIN usergroup 
AS g
                    ON 
(m.usergroupid g.usergroupid)
                    
WHERE userid=1 LIMIT 01

mySQL error
Unknown column 'm.arcade_pmactive' in 'field list'
mySQL error code
DateSaturday 26th of November 2005 10:39:50 PM 

mabey this will help

C_P 11-27-2005 03:49 AM

Quote:

Originally Posted by Boofo
This is what you need to put the code after then. Like this:


;)

Thank you VERY much and I di paste the code before and after of what I did. Here is after I added the code, is this correct?
I can send you the index file to review if you wish Boofo. I know your not here to give personal one on one but I think I did do it right and still no go bud.
Quote:

<?
if($_POST['module'] == "pnFlashGames"
){
$_GET[act] = "Arcade"
;
$_GET['module'] = "arcade"
;
}
if(
$_POST['func'] == "storeScore"
){
$_GET['do'] = "pnFStoreScore"
;
}
if(
$_POST['func'] == "saveGame"
){
$_GET['do'] = "pnFSaveGame"
;
}
if(
$_POST['func'] == "loadGame"
){
$_GET['do'] = "pnFLoadGame"
;
}
$act = $_GET[act
];
$showuser= $_GET[showuser
];
if(
$act == "Arcade"
) {
include
"arcade.php"
;
exit();
}
if(!empty(
$showuser) && $showuser >= 1
) {
$u = $showuser
;
$_GET[u] = $showuser
;
include
"member.php"
;
exit();
}
/*
+--------------------------------------------------------------------------
| MkPortal
| ========================================
| by Meo aka Luponero <Amedeo de longis>
|
| (c) 2004 mkportal.it
| http://www.mkportal.it
| Email: luponero@mclink.it
|
+---------------------------------------------------------------------------
|
| > MKPortal
| > Written By Amedeo de longis
| > Date started: 9.2.2004
|
+--------------------------------------------------------------------------
*/
PHP Code:


JTyson 11-27-2005 03:58 AM

Im not sure if it's been posted yet but a workaround to the db_driver errors in mkportal you will need to find an replace db_driver with db_driver_ib in all the arcade files.

There is 6 occurences in total Here's a list of changes

In arcade.php
Find :
Code:

$DB = new db_driver;
Replace:
Code:

$DB = new db_driver_ib;
In admincp/arcade.php
Find :
Code:

$DB = new db_driver;
Replace:
Code:

$DB = new db_driver_ib;
In functions/dbclass.php
Find :
Code:

class db_driver {
Replace:
Code:

class db_driver_ib {
Now if you have 3.0.x You will need to do these changes aswell
In installer_xx.php either en or de depending on your language
Find :
Code:

$DB = new db_driver;
Replace:
Code:

$DB = new db_driver_ib;
]

In uninstaller.php Probably not needed as there will be no need to remove this wonderful hack :)
Find :
Code:

$DB = new db_driver;
Replace:
Code:

$DB = new db_driver_ib;

Boofo 11-27-2005 04:21 AM

Quote:

Originally Posted by C_P
Thank you VERY much and I di paste the code before and after of what I did. Here is after I added the code, is this correct?
I can send you the index file to review if you wish Boofo. I know your not here to give personal one on one but I think I did do it right and still no go bud.

Yes, sir, that looks right. See the post above this one as that might help you more since it is about mkportal. I wish I could be of more helop, but I don't run any portals. Hopefully, someone will come up with an answer that will help you and if I hear of anything, I will contact you immediately with a fix. ;)

Boofo 11-27-2005 04:23 AM

Quote:

Originally Posted by JTyson
Im not sure if it's been posted yet but a workaround to the db_driver errors in mkportal you will need to find an replace db_driver with db_driver_ib in all the arcade files.

There is 6 occurences in total Here's a list

JTyson, can you please help our friend above (C_P) with his mkportal problem? You seem to have a handle on it. ;)

C_P 11-27-2005 04:25 AM

Quote:

Originally Posted by JTyson
Im not sure if it's been posted yet but a workaround to the db_driver errors in mkportal you will need to find an replace db_driver with db_driver_ib in all the arcade files.

There is 6 occurences in total Here's a list

You rock my friend!
This needs to be added to the install instructions or sticky here!
I changed a total of 3 files and after finishing a game instead of the error, I received:
Your score won't be stored in Database because the Arcade only saves users top score per Game.
YES!!!!!
Boofo, you are an amzingly patient man since you have almost single handedly addressed all pages of this thread.
JTyson, I am sooo friken happy right now! Thank you!

For those of you with mkportal, please look for all 6 of the files listed above in JT's post and changed the one instance in each from:
db_driver
To:
db_driver_ib

I only had three since I just installed this on my vB 3.5.1 and followed the install instructions to the T.
The three files I changed where:

functions/dbclass.php
admincp/arcade.php
and
arcade.php

*Also, please disregard the index.php file changes posted in prior suggestions as it had no effect on my Arcade and portal.

Jenkins 11-27-2005 04:27 AM

Quote:

Originally Posted by kewl1uk
in arcade.php take out all the spaces before "<?php" and after "?>" and see if that helps.


are you serious? that's a huge file to be searching through to remove spaces.. besides shouldn't that have been something that was made that way for a reason?

i've been messing with this all day I guess I'm just going to have to un-install it. I don't know enough about PHP to make it work.


All times are GMT. The time now is 06: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.07491 seconds
  • Memory Usage 1,787KB
  • 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
  • (10)bbcode_code_printable
  • (1)bbcode_php_printable
  • (10)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