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)

Ohiosweetheart 02-08-2006 06:58 PM

Quote:

Originally Posted by trilljester
Yeah, it's not a bad idea for hosting companies to offer mySQL to their customers. It's free and works for most of their customer's applications. Hell, I use it on my site for that very reason. I'd only go to a commercial solution if the traffic on my site got to the point where mySQL can't handle it anymore. Not that it would ever happen, but if it does, there's that option.

Can you post the full error message so we can help troubleshoot? I'm not sure what's going on, it might be a simple setup issue.

thanks sweetie, I'd love to. but right now my site is completely down. I had to uninstall this again

trilljester 02-08-2006 07:03 PM

Quote:

Originally Posted by Thieutje
Can you please give a good webhosting website who can handle heavy traffic and is superior in SQL database implementation.

Grtz
Thieutje

How big of a site are you looking at? How much traffic?

Thieutje 02-08-2006 08:30 PM

not much only a small Vbulletin, just started up, 15 members and counting,
forum open for 5 days

think i will get a small orange....

Can i ask something please ...
I have a sql problem but i can't place the code here since it's copyrighted.
Can you please add me to msn ? extremegizmo@hotmail.com.
i'm sure it's only a minor issue for something with knowledge of SQL.
It's because i need to add lines below others that i can't find.
i only find those lines in the default vb skin but not in the templates of the other skins.
would really appreciate your help !
PLease help

Grtz
Math.

Ohiosweetheart 02-08-2006 11:48 PM

well it looks like I'll have to go back to the vB arcade... what a shame...

Thieutje 02-09-2006 06:48 AM

Can someone please help me out ?

Aceman 02-09-2006 01:42 PM

I have a problem:

Files generated via a php script (un tar'n a file for example) are defaulting to the ownership "apache" on my server. However, I have set the ownership of all the files in my directories to "aceman.aceman" in my public_html folder (this includes all the arcade files).

Is there a way to configure the PHP.ini file to account for the ownership and maintain that when a script generates a file?

I realize this: PHP runs via your webserver and therefore has the same rights as your webserver. Since most webservers do not run with super-user status (root in Unix/Linux, or administrator in Windows) you will need to make sure the folders and files you want to edit allow the webserver write access.

Mine run fine.. but set the wrong ownership as (apache.apache) so I'm unable to remove files unless I login as ROOT to delete them.

Help please.
Aceman

trigon 02-09-2006 02:58 PM

installed without problems, thx to th maker from this hack. ;)

Annie^.^ 02-09-2006 04:46 PM

Quote:

Originally Posted by tuanluu
Everything work fine for me except this lil notice on top of the page. Does anyone get this or just me
Notice: Undefined index: sessdo in \forum\arcade.php on line 26

Notice: Undefined index: sessdo in \forum\arcade.php on line 33

How do I fix this?

trilljester 02-09-2006 05:50 PM

Quote:

Originally Posted by Aceman

I realize this: PHP runs via your webserver and therefore has the same rights as your webserver. Since most webservers do not run with super-user status (root in Unix/Linux, or administrator in Windows) you will need to make sure the folders and files you want to edit allow the webserver write access.

Mine run fine.. but set the wrong ownership as (apache.apache) so I'm unable to remove files unless I login as ROOT to delete them.

Help please.
Aceman

Why not run your webserver under your name? That's the easiest solution.
Edit: You could setup a virtual host directive which points to your webspace and use the "User" directive to run that virtual host under.

For example, if you're site was called www.foobar.com, and want it to run under user aceman, then you'd setup a virtual host like this:

<VirtualHost (ip address here)>
ServerAdmin webmaster@www.foobar.com
DocumentRoot /path/to/document/root
ServerName www.foobar.com
ErrorLog logs/www.foobar.com-error_log
TransferLog logs/www.foobar.com-access_log
User aceman
</VirtualHost>

That way the main server is still running under root or in your case apache and everything else for your website is handled by aceman.

trilljester 02-09-2006 06:09 PM

Quote:

Originally Posted by Annie^.^
How do I fix this?

Line 26 in arcade.php is:

Code:

if($_POST['sessdo'] == "sessionstart") {
Could be a register_globals issue. Do you have register_globals on or off?

Which version of PHP are you running?

Boofo 02-09-2006 06:34 PM

Quote:

Originally Posted by trilljester
Why not run your webserver under your name? That's the easiest solution.
Edit: You could setup a virtual host directive which points to your webspace and use the "User" directive to run that virtual host under.

For example, if you're site was called www.foobar.com, and want it to run under user aceman, then you'd setup a virtual host like this:

<VirtualHost (ip address here)>
ServerAdmin webmaster@www.foobar.com
DocumentRoot /path/to/document/root
ServerName www.foobar.com
ErrorLog logs/www.foobar.com-error_log
TransferLog logs/www.foobar.com-access_log
User aceman
</VirtualHost>

That way the main server is still running under root or in your case apache and everything else for your website is handled by aceman.

Because then that would mess up the files in my area on the server. ;)

Annie^.^ 02-09-2006 07:16 PM

Quote:

Originally Posted by trilljester
Line 26 in arcade.php is:

Code:

if($_POST['sessdo'] == "sessionstart") {
Could be a register_globals issue. Do you have register_globals on or off?

Which version of PHP are you running?

I use PHP Version 4.4.1 and register_globals off

I have V3 Arcade installed, but says it works with V3 Arcade ...

trilljester 02-09-2006 08:31 PM

Quote:

Originally Posted by Boofo
Because then that would mess up the files in my area on the server. ;)

How so? If it had to write out a file, it would be created with your name and group, thus solving the issue that was presented above, correct?

Coleccromos 02-09-2006 09:08 PM

Installed thank you
Could it put on in Spanish for my forum Like she could translate it?

kylek 02-09-2006 09:14 PM

Okay, something wierd today, the arcade seemed to have lost all the leaderboard scores. Leaderboard when clicked on only has two scores in it when there was tons of scores recorded. The highscore champions are working okay, just seemed to have lost all scores in leaderboard. Anyone else have this happen?

trilljester 02-09-2006 10:00 PM

Quote:

Originally Posted by kylek
Okay, something wierd today, the arcade seemed to have lost all the leaderboard scores. Leaderboard when clicked on only has two scores in it when there was tons of scores recorded. The highscore champions are working okay, just seemed to have lost all scores in leaderboard. Anyone else have this happen?

There's a fix for this somewhere buried deep in this thread, or over on the premium mods thread.

I swear, next time we upgrade our arcades, I'll keep a copy of all the after-the-fact fixes so I can help out.

Edit: here ya go:
https://vborg.vbsupport.ru/showpost....postcount=1346

kylek 02-09-2006 10:09 PM

Quote:

Originally Posted by trilljester
There's a fix for this somewhere buried deep in this thread, or over on the premium mods thread.

I swear, next time we upgrade our arcades, I'll keep a copy of all the after-the-fact fixes so I can help out.

Edit: here ya go:
https://vborg.vbsupport.ru/showpost....postcount=1346

Thanks trilljester!! Good idea of keeping a coppy off the fixes, saves time trying to search which I was doing but couldn't find it.

Thanks again.

MortysTW 02-09-2006 10:17 PM

Quote:

Originally Posted by Aceman
I have a problem:

Files generated via a php script (un tar'n a file for example) are defaulting to the ownership "apache" on my server. However, I have set the ownership of all the files in my directories to "aceman.aceman" in my public_html folder (this includes all the arcade files).

Is there a way to configure the PHP.ini file to account for the ownership and maintain that when a script generates a file?

I realize this: PHP runs via your webserver and therefore has the same rights as your webserver. Since most webservers do not run with super-user status (root in Unix/Linux, or administrator in Windows) you will need to make sure the folders and files you want to edit allow the webserver write access.

Mine run fine.. but set the wrong ownership as (apache.apache) so I'm unable to remove files unless I login as ROOT to delete them.

Help please.
Aceman

Aceman, I had the same exact issue that I discovered about 2 weeks ago. And I discovered when messing with the arcade, but after further investigation, found out it had nothing to do with the arcade. Its the way your server is setup and so was mine.

Alright, its the way your server is setup and you need to have your Admin of your server correct this issue.

Have them log into your account with SSH and have them run the following command:

Code:

chown -R admin123:admin123 *
Admin123 being your account. This will run through ALL your files and straighten out your server so all permissions/ownership our yours and not Apache's. This issue tends to arise when the server is NOT in High Security mode. I can't help anymore than this cuz I didn't do it, I just know that's how they fixed it on my server. Discovered this issue when I was trying to back my site up to leave that server to go to a new host.

Good luck and hope that helps. Should be enough for you to give to your server admin and send them down the right road to fix this issue.

Boofo 02-09-2006 10:22 PM

Quote:

Originally Posted by trilljester
How so? If it had to write out a file, it would be created with your name and group, thus solving the issue that was presented above, correct?

But what about the other accounts on the server? There are more than just one.

MortysTW 02-09-2006 10:25 PM

Quote:

Have them log into your account with SSH ......
Keyword being YOUR account. Not the server, but your account on the server.

Boofo 02-09-2006 10:35 PM

Quote:

Originally Posted by MortysTW
Aceman, I had the same exact issue that I discovered about 2 weeks ago. And I discovered when messing with the arcade, but after further investigation, found out it had nothing to do with the arcade. Its the way your server is setup and so was mine.

Alright, its the way your server is setup and you need to have your Admin of your server correct this issue.

Have them log into your account with SSH and have them run the following command:

Code:

chown -R admin123:admin123 *
Admin123 being your account. This will run through ALL your files and straighten out your server so all permissions/ownership our yours and not Apache's. This issue tends to arise when the server is NOT in High Security mode. I can't help anymore than this cuz I didn't do it, I just know that's how they fixed it on my server. Discovered this issue when I was trying to back my site up to leave that server to go to a new host.

Good luck and hope that helps. Should be enough for you to give to your server admin and send them down the right road to fix this issue.

That is how he does it now and it only works on what is there then. When a new file is untarred on the server, it gets set to apache ownership again.

nineball 02-09-2006 10:54 PM

I had the same problem today. I went in the admin for arcade, score settings and just clicked the start button for update league and it was all back.


Quote:

Originally Posted by MortysTW
Aceman, I had the same exact issue that I discovered about 2 weeks ago. And I discovered when messing with the arcade, but after further investigation, found out it had nothing to do with the arcade. Its the way your server is setup and so was mine.

Alright, its the way your server is setup and you need to have your Admin of your server correct this issue.

Have them log into your account with SSH and have them run the following command:

Code:

chown -R admin123:admin123 *
Admin123 being your account. This will run through ALL your files and straighten out your server so all permissions/ownership our yours and not Apache's. This issue tends to arise when the server is NOT in High Security mode. I can't help anymore than this cuz I didn't do it, I just know that's how they fixed it on my server. Discovered this issue when I was trying to back my site up to leave that server to go to a new host.

Good luck and hope that helps. Should be enough for you to give to your server admin and send them down the right road to fix this issue.


trilljester 02-10-2006 05:34 AM

Quote:

Originally Posted by Boofo
But what about the other accounts on the server? There are more than just one.

If you setup a virtualhost, then only that host gets it's files written out by the user you specify. Others on the system aren't changed, they'll still be written out by the user who Apache is specified to run under.

Benedict 02-10-2006 09:42 AM

Hi, Firstly, I would just like to say that my forum members and I love this hack. :)

However, on eor two have mentioned that when playing pacman after 10 mins or so they appear to be logged out of the forum and therefore their highscores are not recorded. The thing is not everyone is effected by this. I am sure it's not the hack but something else, do you have any ideas please?

Thanks

Ben

Thieutje 02-10-2006 09:54 AM

Quote:

Originally Posted by Benedict
Hi, Firstly, I would just like to say that my forum members and I love this hack. :)

However, on eor two have mentioned that when playing pacman after 10 mins or so they appear to be logged out of the forum and therefore their highscores are not recorded. The thing is not everyone is effected by this. I am sure it's not the hack but something else, do you have any ideas please?

Thanks

Ben

You can solve that by telling your members to log in with the option "remember me?" checked !

That is the only solution for so far working !

BY the way, anyone know a place i can find more games to add ?

Grtz
Thieutje

trilljester 02-10-2006 04:51 PM

Quote:

Originally Posted by Benedict
Hi, Firstly, I would just like to say that my forum members and I love this hack. :)

However, on eor two have mentioned that when playing pacman after 10 mins or so they appear to be logged out of the forum and therefore their highscores are not recorded. The thing is not everyone is effected by this. I am sure it's not the hack but something else, do you have any ideas please?

Thanks

Ben

Sounds like a cookie issue. What's your Time-Out for Cookie setting?

I've never experienced that problem from my users, but all of them click the Remember Me option when logging in, or at least I think they do. I have a couple of games that take upwards to 30 minutes to an hour to play, and no one's complained about being logged out.

Benedict 02-10-2006 05:42 PM

Thank you guys for the great response :D

I reported straight back that they should make sure that the click "remember me" option and I have just found out that, that has done the trick. :thumb:

Thanx for your help/support, tis much appreciated :)

columbonet 02-10-2006 08:52 PM

Are there any other known skins for the arcade? I don't like all the high scores on the skin.

Ohiosweetheart 02-11-2006 01:32 AM

Problem all fixed, arcade re-installed

sitestem 02-11-2006 07:59 AM

I've tried to install the skin, but I can't make the changes reccomended in the install file. The files it says to change are marked in orange because they are customized in my style. How do I get around this?

Thanks...

username12 02-11-2006 04:41 PM

Love the arcade but have a minor issue. Is there any way to make it so all admininstrators don't have access to modify the arcade settings? I didn't see an option to do this in either administrator permissions or the arcade settings. Saying no to everything just gets ignored.

Sai01 02-11-2006 06:10 PM

help, after i upgrade to 2.5.4+, all avatar display as "NO avatar" picture... also how do i change the "actual_Highscore_Champion" text to just Highscore Champion? i also want to take out the pop up game in new window option...

columbonet 02-11-2006 08:21 PM

Quote:

Originally Posted by username12
Love the arcade but have a minor issue. Is there any way to make it so all admininstrators don't have access to modify the arcade settings? I didn't see an option to do this in either administrator permissions or the arcade settings. Saying no to everything just gets ignored.


I had this same problem. I had both my mods set to Super Mod. I had to make them just reg mods and not give them mod abilities in the arcade.

columbonet 02-11-2006 08:29 PM

Hi,

I have a couple issues.


1- Nothing ever shows up on the leaderboard.

2- How do you install games from www.pnflashgames.com

3- When I install a V3arcade game with more than 1 .swf file, it does not install completely. What directories are all the files supposed to go in.


Thanks

Annie^.^ 02-12-2006 12:31 AM

how can I import V3 Arcades scores?

Annie^.^ 02-12-2006 10:46 AM

Tell me how this happened?
I have a played game where doesn't show any username or guest, it's blank under the username when I look at the scores. How can I fix that? I like to have only the registered users able to play.

columbonet 02-12-2006 12:14 PM

Quote:

Originally Posted by columbonet
Hi,

I have a couple issues.


1- Nothing ever shows up on the leaderboard.

2- How do you install games from www.pnflashgames.com

3- When I install a V3arcade game with more than 1 .swf file, it does not install completely. What directories are all the files supposed to go in.


Thanks

4- When you play game "a" it shows up on game "b" high score list

Annie^.^ 02-12-2006 03:26 PM

Quote:

Originally Posted by utw-Mephisto
Add this to your index.php right after <?php:

PHP Code:

// ibproarcade modification
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();
}
// end of ibproarcade modification 

So your index should look something like

PHP Code:

<?php
// ++=========================================================================++
// || vBadvanced CMPS v2.0.0 (vB 3.5) - 9656
// || ? 2003-2004 vBadvanced.com & PlurPlanet, LLC - All Rights Reserved
// || This file may not be redistributed in whole or significant part.
// || http://vbadvanced.com
// || Downloaded 03:54, Fri Dec 9th 2005
// || 
// ++ ========================================================================++


// ibproarcade modification
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();
}
// end of ibproarcade modification

error_reporting(E_ALL & ~E_NOTICE);
define('NO_REGISTER_GLOBALS'1);
define('THIS_SCRIPT''adv_index');
define('VBA_PORTAL'true);
define('VBA_SCRIPT''CMPS');

// ============================================
// Enter the full path to your forum here
// Example: /home/vbadvanced/public_html/forum
// ============================================

chdir(xxxxxx);

// ============================================
// No Further Editing Necessary!
// ============================================

$phrasegroups = array();
$globaltemplates = array();
$actiontemplates = array();
$specialtemplates = array();

require_once(
'./global.php');

print_portal_output($home);

?>

@MrZeropage: Cant you add that to the readme, I guess it must have been answered already a gazillion time but the thread is just tooo huge ;)

For me for some reason it's not working I get this error

Quote:

Notice: Undefined index: module in /var/www/vhosts/mywebsite.com/httpdocs/index.php on line 12

Notice: Undefined index: func in /var/www/vhosts/mywebsite.com/httpdocs/index.php on line 16

Notice: Undefined index: func in /var/www/vhosts/mywebsite.com/httpdocs/index.php on line 19

Notice: Undefined index: func in /var/www/vhosts/mywebsite.com/httpdocs/index.php on line 22

Notice: Use of undefined constant act - assumed 'act' in /var/www/vhosts/mywebsite.com/httpdocs/index.php on line 25

Notice: Undefined index: act in /var/www/vhosts/mywebsite.com/httpdocs/index.php on line 25

Notice: Use of undefined constant showuser - assumed 'showuser' in /var/www/vhosts/mywebsite.com/httpdocs/index.php on line 26

Notice: Undefined index: showuser in /var/www/vhosts/mywebsite.com/httpdocs/index.php on line 26[/PHP]

SuperFly 02-12-2006 03:49 PM

chdir(xxxxxx);
Your puting the server path, not the url corect?

Smiry Kin's 02-12-2006 04:11 PM

/arcade.php

its kinda messed up..

i have both left and right columns installed, and only the left one shows up? ...

thanks


All times are GMT. The time now is 05:28 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.04947 seconds
  • Memory Usage 1,896KB
  • 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
  • (5)bbcode_code_printable
  • (2)bbcode_php_printable
  • (22)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