vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   ibProArcade Archive (https://vborg.vbsupport.ru/forumdisplay.php?f=174)
-   -   ibProArcade Fixes (https://vborg.vbsupport.ru/showthread.php?t=249120)

dan325ci 06-14-2012 04:48 PM

Hi

We are using NGINX and do not have any .htaccess file in the root directory of the arcade.

Also, the zip attachment you have above has nothing in it.

Our problem is half the games are not able to submit scores...


Quote:

Originally Posted by Hippy (Post 2338477)
in your postbit_legacy
change your edit from
Code:

<dd>{vb:raw post.crowns}{vb:raw post.champtext}</dd>
or
if you never fixed the typo it will like so
Code:

<dt>{vb:raw post.crowns}{vb:raw post.champtext}</dd><br />
change it to
Code:

{vb:raw post.crowns}{vb:raw post.champtext}
and you can try this as well if the above is not perfect
Code:

{vb:raw post.crowns}<dd>{vb:raw post.champtext}</dd>
now for the score not saving

no more edits in the index.php for vb4.2.0 (if you added it , remove it)
also good for anything before
if you don't want to edit your index file any longer


add this .htaccess file to your forums root dir

same place you will find your forum.php index.php and arcade.php

*note If you already have a .htaccess file there add this

add this
Code:

  # Send hardcoded ipa scores to arcade instead
  RewriteCond %{QUERY_STRING} act=Arcade [OR]
  RewriteCond %{QUERY_STRING} autocom=arcade
  RewriteRule ^index.php arcade.php [L,QSA]

under
Code:

RewriteEngine on
if you have a existing htaccess
other wise just upload this one attached


HeLLCiTo 06-15-2012 10:23 PM

Quote:

Originally Posted by Hippy (Post 2339096)
I tested the same v2 game yesterday and it saved score "Same files Same size"
Not sure why it will not save score by U
did you try to uninstall and reinstall it ?

I tried to install and gives me the same error and it is rare

I've installed it as a mirror, without removing the previous version, but now is I have two identical sets

Hippy 06-16-2012 09:42 AM

Quote:

Originally Posted by dan325ci (Post 2339569)
Hi

We are using NGINX and do not have any .htaccess file in the root directory of the arcade.

Also, the zip attachment you have above has nothing in it.

Our problem is half the games are not able to submit scores...

the file above is not empty
I do not have the time to check your OS
but you need to have your ftp client set to be able to view dot file
you can make your own .htaccess with this in it
Code:

RewriteEngine on
# Send hardcoded ipa scores to arcade instead
  RewriteCond %{QUERY_STRING} act=Arcade [OR]
  RewriteCond %{QUERY_STRING} autocom=arcade
  RewriteRule ^index.php arcade.php [L,QSA]

and up load it to your forum root dir
this goes for the others who are posting they are adding this to there arcade dir

Quote:

Originally Posted by HeLLCiTo (Post 2339917)
I tried to install and gives me the same error and it is rare

I've installed it as a mirror, without removing the previous version, but now is I have two identical sets

so both do not work..
Im not sure why this happens to some with these older v2 games
make a test site and try it there

dan325ci 06-17-2012 03:50 PM

Actually i know how to create an .htaccess file...its just that NGINX web servers do not use the .htaccess file so what could i do in it's place?

I also have a second question...seems when i add games it says that i need to CHMOD certain directories to 777. I am just curious if setting these directories to 777 will post any security risks....and the arcade directory in general should be set to 777 or 755?

Thanks.

Quote:

Originally Posted by Hippy (Post 2340006)
the file above is not empty
I do not have the time to check your OS
but you need to have your ftp client set to be able to view dot file
you can make your own .htaccess with this in it
Code:

RewriteEngine on
# Send hardcoded ipa scores to arcade instead
  RewriteCond %{QUERY_STRING} act=Arcade [OR]
  RewriteCond %{QUERY_STRING} autocom=arcade
  RewriteRule ^index.php arcade.php [L,QSA]

and up load it to your forum root dir
this goes for the others who are posting they are adding this to there arcade dir


so both do not work..
Im not sure why this happens to some with these older v2 games
make a test site and try it there


Hippy 06-17-2012 04:50 PM

Did you do the index edit ? in the archive you'll find the code

Buller 06-18-2012 09:55 AM

Hi Hippy

I uploaded your htaccess file to the root dir where arcade.php, index and forum are and then removed the index.php arcade code, I then tried a game and it would not send the score, I put the code back in the index.php did not remove the htaccess file and then replayed the game and it scored. Any ideas ?

Hippy 06-18-2012 02:43 PM

was it a .htaccess ? or htaccess with out the .

was was the issue before ?

Buller 06-18-2012 03:06 PM

Quote:

Originally Posted by Hippy (Post 2340739)
was it a .htaccess ? or htaccess with out the .

was was the issue before ?

That was it, forgot the "." Thank You Hippy

Hippy 06-18-2012 03:15 PM

Anytime

Gerry5039 06-23-2012 12:44 AM

Im so sorry but this thread has just totally confused me, Im not a programmer so I am beat and will have to install the Arcade. this line is not in my navbar template,

HTML Code:

<li><a href="calendar.php{vb:raw session.sessionurl_q}">{vb:rawphrase calendar}</a></li>
So I cant go any further.

Thanks


All times are GMT. The time now is 10:54 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.01370 seconds
  • Memory Usage 1,751KB
  • 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
  • (8)bbcode_code_printable
  • (1)bbcode_html_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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