XF Arcade [Deleted]

Status
Not open for further replies.
So I was looking around MochiMedia's site and saw that there is no quick and painless way of integrating a leaderboard. This is going to be a pain cause we'd have to input the names of each game in the embed code for each page (wtf) I don't even know if I can do that. Have any of you done this before?
If you haven't already, post over at XFArcade.com in one of the leaderboard threads (or, if you have posted, bump the thread). I've been talking about XF Rocks and he was asking what items need to be taken care of yet in regards to fixes & new features.
 
If you haven't already, post over at XFArcade.com in one of the leaderboard threads (or, if you have posted, bump the thread). I've been talking about XF Rocks and he was asking what items need to be taken care of yet in regards to fixes & new features.
Thanks I most definitely will. It looks a lil complicated and it's actually preventing me from adding more MochiMedia games cause I want my users to be able to see their scores.
 
Timeout errors such as this are normally indicative of a slow or over loaded server. 60 seconds is more than enough time to execute the script. Try installing during off-peak times or ask your hosting company for help.


True - however this happens after around 5 seconds of trying to install the .xml file, not 60 seconds!!!
 
True - however this happens after around 5 seconds of trying to install the .xml file, not 60 seconds!!!

If you are getting a message after 5 seconds that "the maximum execution time of 60 seconds has been reached" then you may need to ask your host for help as this sounds like a misconfigured server or PHP issue.

If you want me to try and install it for you, I would be happy to try.
 
If you are getting a message after 5 seconds that "the maximum execution time of 60 seconds has been reached" then you may need to ask your host for help as this sounds like a misconfigured server or PHP issue.

If you want me to try and install it for you, I would be happy to try.


Thanks - however i have my host on the case :)

Cheers
Paul
 
I would like to see this have admin designated directory for .swf files. As it is I can't put my data directory on CDN without uninstalling the arcade.
 
I've uninstalled, reinstall, and repeated that process a few times.

I did your re-write test and passed
http://www.sociallyuncensored.eu/forums/MissingPage.php

Still can not save scores :(
My htaccess has only 4 simple customizations outside of the stock.

PHP:
#The top of your .htaccess file
IndexIgnore *

^ This keeps people / bots from indexing. It's harmless.

PHP:
    RedirectMatch 301 ^/forum/?$ /forums/
    RedirectMatch 301 ^/community/?$ /forums/
    RedirectMatch 301 ^/board/?$ /forums/
    RedirectMatch 301 ^/boards/?$ /forums/
    RedirectMatch 301 ^/beta/?$ /forums/
    RedirectMatch 301 ^/forums/members/?$ /forums/
    RewriteCond %{HTTP_HOST} !^www\.sociallyuncensored\.eu$
    RewriteRule ^(.*)$ http://www.sociallyuncensored.eu/?$1 [R=301,L]

^ This redirects our old paths to our current. And directs non-www to www. Also harmless.



PHP:
    RewriteCond %{HTTP_REFERER} !^$
    RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?sociallyuncensored.eu [NC]
    RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?sociallyuncensored.com [NC]
    RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?google.com [NC]
    RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?bing.com [NC]
    RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?yahoo.com [NC]
    RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?xenforo.com [NC]
    RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?twitter.com [NC]
    RewriteRule \.(jpg|jpeg|png|gif|svg|css|js|pdf|zip)$ http://www.sociallyuncensored.eu/hotlink.jpg [NC,R,L]

^ This prevents hot linking... ie .... bandwidth theft. Again, harmless.


And finally for a little security

PHP:
    #Block mySQL injects
    RewriteCond %{QUERY_STRING} (;|<|>|’|”|\)|%0A|%0D|%22|%27|%3C|%3E|%00).*(/\*|union|select|insert|cast|set|declare|drop|update|md5|benchmark) [NC,OR]
 
    RewriteCond %{QUERY_STRING} \.\./\.\. [OR]
 
    RewriteCond %{QUERY_STRING} (localhost|loopback|127\.0\.0\.1) [NC,OR]
    RewriteCond %{QUERY_STRING} \.[a-z0-9] [NC,OR]
    RewriteCond %{QUERY_STRING} (<|>|’|%0A|%0D|%27|%3C|%3E|%00) [NC]
    #    Note: The final RewriteCond must NOT use the [OR] flag.

^ This is to help keep out script kiddies from injecting things they shouldn't.


For argument sake, I even defaulted back to the default htaccess and still could not save. :(

http://www.sociallyuncensored.eu/forums/arcade
 
just tried installing 3 games from ibpdownloads.com and get the following error...

Code:
Server Error

include_once(Archive/Tar.php): failed to open stream: No such file or directory

XenForo_Application::handlePhpError() in Zend/Loader.php at line 146
Zend_Loader::loadFile() in Zend/Loader.php at line 146
Zend_Loader::loadFile() in Zend/Loader.php at line 94
Zend_Loader::loadClass() in Zend/Filter/Compress/Tar.php at line 62
Zend_Filter_Compress_Tar->__construct() in Zend/Filter/Compress.php at line 107
Zend_Filter_Compress->getAdapter() in Zend/Filter/Decompress.php at line 47
Zend_Filter_Decompress->filter() in Arcade/Model/Import.php at line 52
Arcade_Model_Import->extract() in Arcade/ControllerAdmin/Arcade.php at line 277
Arcade_ControllerAdmin_Arcade->actionImport() in XenForo/FrontController.php at line 310
XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 132
XenForo_FrontController->run() in /home/admin/domains/yeousch.com/public_html/community/admin.php at line 13

i have Archive_Tar installed...

Code:
# pear install Archive_Tar
downloading Archive_Tar-1.3.11.tgz ...
Starting to download Archive_Tar-1.3.11.tgz (18,537 bytes)
......done: 18,537 bytes
install ok: channel://pear.php.net/Archive_Tar-1.3.11

any help is appreciated...

talked to my host again and they said

Instead of doing this in the code:

include_once(Archive/Tar.php)

It's supposed to do:

include_once("/usr/local/lib/php/Archive/Tar.php")

where can i change the path?
 
I have a small styling question, I pretty much have it looking how I want, but in the attached screen shot notice the grey text, I cant change that in the arcade.css, it is being called from xenforo.css: color: @contentText;

Code:
body
{
-webkit-text-size-adjust: 100%;
-moz-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
text-size-adjust: 100%;
@property "body";
font-family: Tahoma, 'Trebuchet MS', Helvetica, Arial, sans-serif;
color: @contentText;
background-color: @pageBackground;
word-wrap: break-word;
line-height: 1.27;
@property "/body";
}

Now if I change that to white it will naturally mess with the rest of my site, so anyone have a snippet of code I can add to extra.css to change the grey text to white?FireShot Screen Capture #393.webp
 
I have had the arcade running at my site since it was released. Never had any issues. Now all of a sudden when I try to go to my members online list I get this error message

Undefined index: slug
  1. XenForo_Application::handlePhpError() in Arcade/Route/Prefix/Arcade.php at line 56
  2. Arcade_Route_Prefix_Arcade->buildLink() in XenForo/Link.php at line 331
  3. XenForo_Link::_buildLink() in XenForo/Link.php at line 81
  4. XenForo_Link::buildPublicLink() in Arcade/ControllerPublic/Arcade.php at line 38
  5. Arcade_ControllerPublic_Arcade::getSessionActivityDetailsForList()
  6. call_user_func() in XenForo/Model/Session.php at line 312
  7. XenForo_Model_Session->addSessionActivityDetailsToList() in XenForo/ControllerPublic/Online.php at line 50
  8. XenForo_ControllerPublic_Online->actionIndex() in XenForo/FrontController.php at line 310
  9. XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 132
  10. XenForo_FrontController->run() in /home/content/88/10021788/html/index.php at line 13

I have disabled the arcade and can now access my members on line list. I have not made any changes today or prior to this happening.
 
i get this error when searching for mochi games under certain category

An exception occurred: Mysqli prepare error: MySQL server has gone away in /home/nonewbs/public_html/library/Zend/Db/Statement/Mysqli.php on line 77

  1. Zend_Db_Statement_Mysqli->_prepare() in Zend/Db/Statement.php at line 115
  2. Zend_Db_Statement->__construct() in Zend/Db/Adapter/Mysqli.php at line 381
  3. Zend_Db_Adapter_Mysqli->prepare() in Zend/Db/Adapter/Abstract.php at line 478
  4. Zend_Db_Adapter_Abstract->query() in Zend/Db/Adapter/Abstract.php at line 825
  5. Zend_Db_Adapter_Abstract->fetchOne() in XenForo/Error.php at line 48
  6. XenForo_Error::unexpectedException() in XenForo/Application.php at line 309
  7. XenForo_Application::handleException()
 
I've read this :
http://xfarcade.com/threads/no-game-scores-are-being-saved.141/

and I don't believe i'm running "Nginx" as in plesk it says "restart apache" so I assume that is what I'm running..
  • My forum is in <root>/community/
  • I have the .htaccess file in /community/ unedited, the same as the original XF package.
  • When I go to /community/missingpage.php I get an xF handled error page so it's not that.
  • crossdomain is in the root (not /community/)
What am I missing?

I'm eager to get this up and running as I was a supporter of the vB version and my users are missing their arcade fix :)

Thanks
 
It's not submitting scores for me.

Worked fine before I upgraded to 1.2.

At least I know it's not just me then, that's a relief.

Hopefully someone will take a look at it? I posted on the support forum and it looks like Kevin isn't around much :(
 
Status
Not open for further replies.
Top Bottom