31 August 2013
Category:
News
Comments: 8

MyArcadePlugin v5.9.4 released

A few minutes ago a new MyArcadePlugin version has been released. In this release we removed Playtomic support because Playtomic closed down their game distribution API. We are sad about this step because Playtomic provided us with great games for a long time!

Here is the complete Changelog for the current MyArcadePlugin version:

  • New: Filter to change game author (myarcade_filter_post_author)
  • New: Filter to change swf embed parameters (myarcade_embed_parameters)
  • Fix: Microsoft Translator error handling
  • Fix: “No Game ID” error on some special servers
  • Playtomic support removed because they closed their distribution API

How to use new filters?

The filter ‘myarcade_filter_post_author’ allows you to manipulate the user while game publishing process. This example function will publish all games as user with the id 3:

<?php

function my_game_author_filter($user_id, $game = false) { return 3; }

add_filter( 'myarcade_filter_post_author', 'my_game_author_filter', 10, 2 ); ?>

The filter ‘myarcade_embed_parameters’ allows you to manipulate SWF embed code parameters such wmode, quality or you can add your own parameters with ease. Here is an example function which will block all external links in a flash game:

<?php function my_embed_parameters( $parameters, $post_id = false ) { return 'wmode="direct" menu="false" allowNetworking="internal"'; } add_filter( 'myarcade_embed_parameters' , 'my_embed_parameters', 10, 2);

How to update MyArcadePlugin?

MyArcadePlugin has built in automated updater. On your WordPress dashboard you should see an update notification within the next 12 hours. If you don’t want to want to wait for the update notification you can download MyArcadePlugin from “My Account” and update it manually.

 

8 responses on “MyArcadePlugin v5.9.4 released

  1. Buph says:

    Great! But I don’t know in what files we should place the filter codes. Functions.php on theme?

    • Daniel says:

      Hi,
      the easiest way is to create a simple plugin and to place the code there. Just create a php file in your wp-content/plugins folder and add the plugin header:

      < ?php /* Plugin Name: Name Of The Plugin Plugin URI: http://URI_Of_Page_Describing_Plugin_and_Updates Description: A brief description of the Plugin. Version: The Plugin's Version Number, e.g.: 1.0 Author: Name Of The Plugin Author Author URI: http://URI_Of_The_Plugin_Author */

      Then the filter will work independently from any theme.

  2. dimis says:

    after the update I got this message
    MyArcadePlugin was just updated / installed – Please visit the Plugin Options Page and setup the plugin!

    and how do you mean this with the php file. So i should insert php code and how is it are called

    is this ok?


    < ?php
    /*
    Plugin Name: Name Of The Plugin
    Plugin URI: http://URI_Of_Page_Describing_Plugin_and_Updates
    Description: A brief description of the Plugin.
    Version: The Plugin's Version Number, e.g.: 1.0
    Author: Name Of The Plugin Author
    Author URI: http://URI_Of_The_Plugin_Author
    */ - See more at: http://myarcadeplugin.com/myarcadeplugin-v5-9-4-released/#sthash.UD15fyUz.OoptfoHD.dpuf

  3. cornelesanu says:

    Hi guys, I don’t think is the best place to tell my problem, but hope here someone will answer me very fast. My hosting provider is telling me that the plugin (myarcade) + the fungames theme is eating all my server resources, and I get a 500 server eror. What do you think about this?

Leave a Reply

Read previous post:
grungyArcade
grungyARCADE – WP Arcade Theme

grungyARCADE is our newest WP Arcade Theme which suits both, users with no programming background as well as advanced developers. It will...

Close