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 02:48 AM

Ok, people, let's stop this before it gets any further. It has gone on long enough. This thread is for IBProArcade.

No one is bashing anything here, or shouldn't be, anyway. It's a matter of opinions and nothing else. Both Arcades are equally good in their own right. And both Authors have worked hard on their Arcades. Let's try to remember that and give them both the credit due in their own threads. I retract my statement about any calling out features of any arcade as I reallt don't know for a fact if that is happening or not. And I stated IF when that post was made, by the way. Both John and Zero deserve more than this from all of us. Please, let's get back to what this thread was posted for.

Thank you. ;)

C_P 11-27-2005 02:48 AM

Quote:

Originally Posted by Danny.VBT
Please lets keep the discussion of arcade systems and there individual advantages and disadvantages somewhere else. (A thread in General Modifications forum would suit perfectly. :)) This thread is for ibProArcade only, it isn't fair for the author and other users trying to find valuable information concerning this hack to have to read through tons of posts concerning an entirely different hack.

You beat me to this post! ;)
Thank you!
I can understand the bickering but I just would like to get a step by step in reolving my issue:
Quote:

Fatal error: Cannot redeclare class db_driver in /home/cpfools/public_html/mkportal/include/mk_mySQL.php on line 7
when completing any game and it goes to update score. Post #301 has got me more baffled than help. If anyone has exact steps of the file and where to get it and what exactly to add or modify please?

ahennings 11-27-2005 02:51 AM

Fantastic job!!! I have one question though. Seems all usergroups can see the Arcade ModCP button. How do I make it so just admins can see and use it?
Keep up the great work guys!!

Xplorer4x4 11-27-2005 02:52 AM

Quote:

Warning: mysql_connect(): Access denied for user: 'xplorer4@localhost' (Using password: NO) in /arcade/functions/dbclass.php on line 42

Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /arcade/functions/dbclass.php on line 45
ERROR: Cannot find database
Warning: load_words(./arcade/lang/lang_Arcade.php): failed to open stream: No such file or directory in /arcade/functions/functions.php on line 576

Warning: load_words(./arcade/lang/lang_Arcade.php): failed to open stream: No such file or directory in /arcade/functions/functions.php on line 576

Fatal error: load_words(): Failed opening required './arcade/lang/lang_Arcade.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /public_html/forums/arcade/functions/functions.php on line 576
I stil lhave not gotten a fix for my problem on Page 11. Can I run a query of osme sort to fix this?

Boofo 11-27-2005 02:53 AM

Quote:

Originally Posted by ahennings
Fantastic job!!! I have one question though. Seems all usergroups can see the Arcade ModCP button. How do I make it so just admins can see and use it?
Keep up the great work guys!!

Have you checked it in other usergroups? The only ones who should be able to see that are staff. Check your arcade usergroup settings. ;)

Omega Prime 11-27-2005 02:54 AM

I'm gone for ONE day (due to work and whatnot) and find that 2.5.3 is posted with nearly 200 installs and 35+ pages! @_@

/me clicks install

ahennings 11-27-2005 02:57 AM

I cant seem to find anything in group permission to enable or disable this function.

puertoblack2003 11-27-2005 02:58 AM

Quote:

Originally Posted by C_P
You beat me to this post! ;)
Thank you!
I can understand the bickering but I just would like to get a step by step in reolving my issue:
when completing any game and it goes to update score. Post #301 has got me more baffled than help. If anyone has exact steps of the file and where to get it and what exactly to add or modify please?


this is the info i got from this post in the same thread hope u can understand now

Code:

Today, 11:40    #285 
micheal332001
Coder
 

Join Date: Apr 2004
Posts: 242


vB Version: 3.5.1
Style: Dark Blue  Hi there

I use CPMS as my main index.php file too and i have added this code to it to save the scores of the arcade.


PHP Code:
 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();



Just put that at the top of the cmps index.php file under <?php
Then upload it and all should be fine


wcbryant 11-27-2005 02:59 AM

Quote:

Originally Posted by Boofo
Ok, people, let's stop this before it gets any further. It has gone on long enough. This thread is for IBProArcade.

No one is bashing anything here, or shouldn't be, anyway. It's a matter of opinions and nothing else. Both Arcades are equally good in their own right. And both Authors have worked hard on their Arcades. Let's try to remember that and give them both the credit due in their own threads. I retract my statement about any calling out features of any arcade as I reallt don't know for a fact if that is happening or not. And I stated IF when that post was made, by the way. Both John and Zero deserve more than this from all of us. Please, let's get back to what this thread was posted for.

Thank you. ;)


Nicely said, and entirely true. For what it's worth, your involvement with this project is largely what drew me in to check it out. Nothing personal whatsoever with my earlier comments -- like I said, I just didn't see the point of open combativeness between projects in a community site like this. As a license holder with zero coding ability, guys like you, John, Zero, even Jenta are saints in my eyes, as you bring extra functionality to our sites. All I can offer in return is my appreciation, and everyone who contributes to this site has it. I just don't like to see *any* modification or author take unnecessary shots.

C_P 11-27-2005 03:00 AM

Thank you much! However, I do not have a cmps index.php file to do this with mkportal. Where would I find that file to modify?

bonnmac 11-27-2005 03:02 AM

i need help trying to upgrade arcade for friend did all the uploads this is a 3.07 board when trying to run installer i get this error
PHP Code:

mySQL query errorINSERT INTO games_cats (c_id,cat_name,active,show_all,pos,password,num_of_gamesVALUES ('1','Default','1','0','1','','9')

mySQL errorDuplicate entry '1' for key 1
mySQL error code

DateSaturday 26th of November 2005 09:58:33 PM 

help please

nitro 11-27-2005 03:08 AM

Cool!!! Damn missed the launch day tho :/

@ MrZ thanks for the beta opportunities awsome job on getting it out :)

Ill be updating later as its now 5am ouch:

There should be no mention of v3arcade in this thread unless its to do with v3 games failing to install and vice versa for the new v3arcade thread when it arrives soon. Keep the which is best to the lunging in the lounge. ;)

@ vbportal users theres a thread for fixing certain display options within arcade pages over @ http://www.phpportals.com in the premium members section over and above what was mentioned here on page 9. Im guessing MrZ decided not to include any portal issues in the documentation due to how many there are floating around. I have not come accross any such score submit issues with vbp like I beleive I have read about here with mkportal and vba CMPS

Damn and the thread has grown 3 pages since I started reading it :D

Boofo 11-27-2005 03:14 AM

Quote:

Originally Posted by nitro
Cool!!! Damn missed the launch day tho :/

@ MrZ thanks for the beta opportunities awsome job on getting it out :)

Ill be updating later as its now 5am ouch:

There should be no mention of v3arcade in this thread unless its to do with v3 games failing to install and vice versa for the new v3arcade thread when it arrives soon. Keep the which is best to the lunging in the lounge. ;)

@ vbportal users theres a thread for fixing certain display options within arcade pages over @ http://www.phpportals.com in the premium members section over and above what was mentioned here on page 9. Im guessing MrZ decided not to include any portal issues in the documentation due to how many there are floating around. I have not come accross any such score submit issues with vbp like I beleive I have read about here with mkportal and vba CMPS

Damn and the thread has grown 3 pages since I started reading it :D

Can you get some links to some of the fixes? We will add them to the first post so everyone has a place to go to for any problems that might arise. The reason we didn't include any portal info is because we don't run portals and like you said that are a few around so it would be hard to have any fixes for them unless we installed them all and thoroughly tested them. Zero was mainly concerned on getting this out and to the users since they had waited so patiently for it. ;)

Neutral Singh 11-27-2005 03:16 AM

Flawless !! Amazing Work !! THANKS !!

C_P 11-27-2005 03:34 AM

I did find a cmps index.php file in my root but added the above suggestion code all over the file and no go. same error. Also, ther is not <?php section anywhere in the file. I can send you this file to review nievesidenshop if you would like?

Boofo 11-27-2005 03:36 AM

Quote:

Originally Posted by C_P
I did find a cmps index.php file in my root but added the above suggestion code all over the file and no go. same error. Also, ther is not <?php section anywhere in the file. I can send you this file to review nievesidenshop if you would like?

The <?php is at the very top of the file on the first line. ;)

HC. 11-27-2005 03:40 AM

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

C_P 11-27-2005 03:42 AM

Quote:

Originally Posted by Boofo
The <?php is at the very top of the file on the first line. ;)

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?

BEFORE:
PHP Code:

 <?
/*
+--------------------------------------------------------------------------
| 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:

AFTER:
PHP Code:

<?
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:


ReadOrDie 11-27-2005 03:42 AM

Thanks! Is there anywhere I can get more games?

bonnmac 11-27-2005 03:42 AM

Quote:

Originally Posted by bonnmac
i need help trying to upgrade arcade for friend did all the uploads this is a 3.07 board when trying to run installer i get this error
PHP Code:

mySQL query errorINSERT INTO games_cats (c_id,cat_name,active,show_all,pos,password,num_of_gamesVALUES ('1','Default','1','0','1','','9')

mySQL errorDuplicate entry '1' for key 1
mySQL error code

DateSaturday 26th of November 2005 09:58:33 PM 

help please

can anyone please help me????

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.

ConqSoft 11-27-2005 04:30 AM

Quote:

Originally Posted by Jenkins
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.

It's only two places. Read it again. ;)

JTyson 11-27-2005 04:32 AM

Quote:

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


Looks like he's got it working. :)

Moncal 11-27-2005 04:33 AM

Easy installation and working great! Thanks a lot.

*Moncal clicks install*

Jenkins 11-27-2005 04:38 AM

Quote:

Originally Posted by ConqSoft
It's only two places. Read it again. ;)

ahh.. i see.. but that puts me back in the same boat, there are no spaces at the begining or end of the file???

Boofo 11-27-2005 04:40 AM

Quote:

Originally Posted by Jenkins
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.

Not between those 2, but BEFORE the first one and AFTER the second one. ;)

Boofo 11-27-2005 04:41 AM

Quote:

Originally Posted by JTyson
Looks like he's got it working. :)

Thank you, kind sir. All is well for another soul in arcade-land tonight. ;)

Boofo 11-27-2005 04:43 AM

Quote:

Originally Posted by Jenkins
ahh.. i see.. but that puts me back in the same boat, there are no spaces at the begining or end of the file???

Ok, here's what I can do. If you want to make a test account, I can try and see if I can see what is going on for you. PM me the details and we can go from there. ;)

JTyson 11-27-2005 04:44 AM

Quote:

Originally Posted by Boofo
Thank you, kind sir. All is well for another soul in arcade-land tonight. ;)

This thread is getting hard to keep track of what errors have been solved and what havent. I'll try my best to help out those with portal issues ;)

Is anyone still having issues with mkportal?

dieselpowered 11-27-2005 04:45 AM

Well I have tried the solutions posted and the scores will not record....therefore, there must be something else wrong.

Any thought would be great!

Jenkins 11-27-2005 04:48 AM

Quote:

Originally Posted by Boofo
Ok, here's what I can do. If you want to make a test account, I can try and see if I can see what is going on for you. PM me the details and we can go from there. ;)


sweet! now this is what I call support :P


All times are GMT. The time now is 04:43 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.04147 seconds
  • Memory Usage 1,929KB
  • 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
  • (11)bbcode_code_printable
  • (5)bbcode_php_printable
  • (28)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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