vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   ibProArcade Archive (https://vborg.vbsupport.ru/forumdisplay.php?f=174)
-   -   Updated Ibproarcade fixes (https://vborg.vbsupport.ru/showthread.php?t=282802)

mrspring 07-23-2013 04:19 PM

Using this: https://vborg.vbsupport.ru/attachmen...6&d=1335142146

and doing the change of "=&" to "=" (2 changes) in it fixed my install on 4.2.1

i also did the =& swap in the arcade.php in my admincp folder.

:) RESULT! :up:

Edit: then i was unable to start the arcade page from navigation in VBa, got "invalid Redirect URL" errors after being asked to log in, even though
i was logged in.. stopped using the Vba link, instead used the Navigation manager to link to it.. fixed it.

Now i have the issue with getting redirected to the 'activity stream' after a game :(

EDIT: Fixed it: needs edit to index.php _also_ in my FORUM folder, as i'm using vbadvanced, (see here: https://vborg.vbsupport.ru/showthread.php?t=279298 ) i also made the .htaccess edit in my site root, not sure
if this matters. now all is good :)

Hippy 07-23-2013 07:45 PM

Quote:

Originally Posted by mrspring (Post 2434960)
Using this: https://vborg.vbsupport.ru/attachmen...6&d=1335142146

and doing the change of "=&" to "=" (2 changes) in it fixed my install on 4.2.1

i also did the =& swap in the arcade.php in my admincp folder.

:) RESULT! :up:

Edit: then i was unable to start the arcade page from navigation in VBa, got "invalid Redirect URL" errors after being asked to log in, even though
i was logged in.. stopped using the Vba link, instead used the Navigation manager to link to it.. fixed it.

Now i have the issue with getting redirected to the 'activity stream' after a game :(

EDIT: Fixed it: needs edit to index.php _also_ in my FORUM folder, as i'm using vbadvanced, (see here: https://vborg.vbsupport.ru/showthread.php?t=279298 ) i also made the .htaccess edit in my site root, not sure
if this matters. now all is good :)

for the redirect issue you could use the htaccess rewrite
if your not on a windows server glad you got it all working

justicechick 09-29-2013 05:56 PM

I've applied all the fixes that I can find , now Im getting this: Parse error: syntax error, unexpected T_DEC, expecting T_STRING or T_VARIABLE or '$' in /home/cafeflir/public_html/index.php on line 57 can you tell me what I might need to fix to clear this so my scores will submit?

Hippy 09-29-2013 06:19 PM

Error is in the index file did u add the code toit

I prefer using the htaccess
Redirect instead.

Check the code you added to insure it was placed correctly.

justicechick 09-29-2013 07:42 PM

Quote:

Originally Posted by Hippy (Post 2448842)
Error is in the index file did u add the code toit

I prefer using the htaccess
Redirect instead.

Check the code you added to insure it was placed correctly.

Thanks hippy that fixed it!

goxy63 01-19-2014 09:56 PM

I am having trouble with saving scores, also with game load...this is for some games not all

Few months back I did mode rewrite URLS official VB code, everything worked in that time, of course I did not check every game but even in that time few users did play games on my site but were not complaining about saving scores or taht game is not loading for them...

I did try this htaccess code here, ading it under
RewriteEngine on

also did erase code in index.php file

but no, for some games its not working but for some games it is, I am confused as before those games were saving scores and also were loading now some games dont save score or dont load at all

pls help

thanks

ooooppss
I can see this is for V2.7.2 but I am using 2.7.1
Same thing or I have to upgrade arcade ?

goxy63 02-02-2014 10:13 PM

Upgraded VB to lastes version 4.2.2
Upgraded arcade to latest version V2.7.2, using main arcade.php from V2.7.1

As suggested in this thread:
in arcade.php
changed from
Code:

$ibforums->input['s_id'] = ibp_cleansql($ibforums->input['s_id']);
to
Code:

$ibforums->input['s_id'] = intval($ibforums->input['s_id']);
index.php changed as mentioned here

.htaccess also changed and added as mentioned here in this thread

also added this in .htaccess file as my admin cp has changed name:
Code:

RewriteRule .* %{DOCUMENT_ROOT}/myadminCP/arcade_admin.php?%{QUERY_STRING}
after this last change in .htaccess all games which were working but not saving score now do save scores

I am using Mod Rewrite Friendly URLs in VB adminCP options
Also default VB .htaccess file for that

My forums are in a root


Can anyone please suggest me what to do, now main problem is that some games are not working at all, just like brooken game cant start but its flickering, or frozen, blinking.. not all games, some of them while very same games on another VB forums [same versions and all] are working just fine

Did try to open games in style without modifications, did try to disable one by one modification and test all but same thing happens no mater what
Finally I try to uninstall some games with problem than do a fresh install, same problem again

ps
Issue is with me since I started to use Mod Rewrite Friendly URLs, or after my server was upgraded, after these two noticed this issue but never on all games just some

--------------- Added [DATE]1391435972[/DATE] at [TIME]1391435972[/TIME] ---------------

my index.php file is in a root

and when saving score it looks like this

/forums/index.php?autocom=arcade&do=savescore

when saving score "/forums/" should not e there...my problem is 99% related with mode rewrite URLS just dont know how to deal with it when it comes to arcade

xxdestinyxx 02-04-2014 11:47 PM

Hey Hippy

I am getting the following error on top of my arcade since we moved to a new server last month.

Quote:

Deprecated: Assigning the return value of new by reference is deprecated in /home/kbergfor/public_html/forums/arcade.php on line 3191

Warning: Cannot modify header information - headers already sent by (output started at [path]/arcade.php:3191) in [path]arcade.php on line 97
I went through your fixes here but none of them seemed to apply to this situation. I did use the new arcade.php which fixed the first error in your post, but not these ones.

Can you help us?

EDIT: Downgrading from PHP 5.3 to 5.2 worked.

Hippy 02-08-2014 02:27 PM

Sorry guys I been busy with that thing called life
All fixes posted here are still working to date
On the lasted php sql configuration

If your having issues still shoot me a pm with details to your site and server info
And a link to your posttthat explains the issue your having and I will try to fix your issue

On the other hand If your issue has been resolved
Please post how so others may benefit from your finding
Quote:

Originally Posted by xxdestinyxx (Post 2479082)
Hey Hippy

I am getting the following error on top of my arcade since we moved to a new server last month.



I went through your fixes here but none of them seemed to apply to this situation. I did use the new arcade.php which fixed the first error in your post, but not these ones.

Can you help us?

EDIT: Downgrading from PHP 5.3 to 5.2 worked.

Quote:

Originally Posted by goxy63 (Post 2478691)
Upgraded VB to lastes version 4.2.2
Upgraded arcade to latest version V2.7.2, using main arcade.php from V2.7.1

As suggested in this thread:
in arcade.php
changed from
Code:

$ibforums->input['s_id'] = ibp_cleansql($ibforums->input['s_id']);
to
Code:

$ibforums->input['s_id'] = intval($ibforums->input['s_id']);
index.php changed as mentioned here

.htaccess also changed and added as mentioned here in this thread

also added this in .htaccess file as my admin cp has changed name:
Code:

RewriteRule .* %{DOCUMENT_ROOT}/myadminCP/arcade_admin.php?%{QUERY_STRING}
after this last change in .htaccess all games which were working but not saving score now do save scores

I am using Mod Rewrite Friendly URLs in VB adminCP options
Also default VB .htaccess file for that

My forums are in a root


Can anyone please suggest me what to do, now main problem is that some games are not working at all, just like brooken game cant start but its flickering, or frozen, blinking.. not all games, some of them while very same games on another VB forums [same versions and all] are working just fine

Did try to open games in style without modifications, did try to disable one by one modification and test all but same thing happens no mater what
Finally I try to uninstall some games with problem than do a fresh install, same problem again

ps
Issue is with me since I started to use Mod Rewrite Friendly URLs, or after my server was upgraded, after these two noticed this issue but never on all games just some

--------------- Added [DATE]1391435972[/DATE] at [TIME]1391435972[/TIME] ---------------

my index.php file is in a root

and when saving score it looks like this

/forums/index.php?autocom=arcade&do=savescore

when saving score "/forums/" should not e there...my problem is 99% related with mode rewrite URLS just dont know how to deal with it when it comes to arcade

Quote:

Originally Posted by goxy63 (Post 2475431)
I am having trouble with saving scores, also with game load...this is for some games not all

Few months back I did mode rewrite URLS official VB code, everything worked in that time, of course I did not check every game but even in that time few users did play games on my site but were not complaining about saving scores or taht game is not loading for them...

I did try this htaccess code here, ading it under
RewriteEngine on

also did erase code in index.php file

but no, for some games its not working but for some games it is, I am confused as before those games were saving scores and also were loading now some games dont save score or dont load at all

pls help

thanks

ooooppss
I can see this is for V2.7.2 but I am using 2.7.1
Same thing or I have to upgrade arcade ?


stangger5 02-08-2014 03:24 PM

Wouldnt this be for older v3arcade?
PHP Code:

RewriteRule .* %{DOCUMENT_ROOT}/myadminCP/arcade_admin.php?%{QUERY_STRING

ibProArcade should use this:
PHP Code:

RewriteRule .* %{DOCUMENT_ROOT}/myadminCP/arcade.php?%{QUERY_STRING

;)

--------------- Added [DATE]1391909093[/DATE] at [TIME]1391909093[/TIME] ---------------

Anther fix:
This one is for dark skins..

Add this to the ARCADE.css

PHP Code:

legend{color:#ffffff;} 

:D


All times are GMT. The time now is 04:54 PM.

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.01132 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
  • (6)bbcode_code_printable
  • (3)bbcode_php_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (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