Triqui MochiAds Arcade plugin for WordPress official page

Welcome to Triqui MochiAds Arcade plugin for WordPress official page

This is the one and only official page for this plugin, so check it frequently!

It works with Triqui MochiAds Arcade theme for WordPress and allows you to create an arcade site based on MochiAds games.

CURRENT VERSION IS 1.2 RELEASED ON FEBRUARY 26, 2010

I suppose you know how to install and configure a WP plugin. So I will only focus on this plugins features.

MOTIVATION

This plugin is intended to turn your WP blog into a MochiAds arcade site that will allow you to earn money both with Adsense (or other kinds of web advertising) and MochiAds publisher program.

Unfortunately, there are a lot of portals and a lot of crappy games (among them, some of mine!!) so you won’t have a chance to attract a decent number of visitors if you just publish games.

That’s why in this plugin you will have to add games manually. You have to create your niche arcade site if you want some chanches. No matter if you create a racing games portal or a portal with all game names starting with “T”… you must create your niche.

Read Case history: creating a successful niche Flash arcade site for some hints.

PAGES

The plugin has four pages, but once installed and configured it, you will need only two of them.

I designed the plugin to make game management as quick and simple as I can.

MochiAds page

This is just a welcome screen, quite useless but it contains a “Donate” button, so check it frequently :)

1.2 upgrade: news and issues about the plugin will be prompted in this page by an iframe

Setup page

If you are installing the plugin for the first time, you just updated the plugin, you don’t remember if the plugin is up to date or simply you don’t know what to do and it’s raining, click on “Setup”. This page will create all necessary tables, directories and categories in order to make the plugin work.

If your configuration is up to date, this page simply does nothing.

1.1 upgrade: this page also checks for duplicate games, and purges the mochi table to keep it as light as possibile. Why should you have duplicate games? Because the unique game id code changed from uuid to game_tag during MochiAds‘s feed development.

Feed Games page

MochiAds updates the list of games in its distribution feed once a day. So you should call it once a day.

Games you already have in your database are marked in gray, while new games are marked in green.

In the upper form you can see “Looking for the first 100 games from offset 0

100 represents the number of games you are retrieving from the feed. The feed at the time of writing contains more than 8,000 games, but with numbers higher than 1000 you can stress your server. Moreover, if you run this page daily, you should never enter a number higher than 200

0 represents the offset, and can be used to retrieve old games from the feed without stressing the server.

Example: you want to retrieve the last 1,000 games… it’s preferred to run the page twice with 500-0 and 500-500 rather than asking for 1000-0.

Playing with these two numbers will allow you to grab the entire feed in a matter of minutes, step by step, offset by offset, with no stress for the server

1.1 upgrade: the plugin now supports the new feed options to enable new micro-transactions revenue share for Mochi publishers

Manage Games page

This is the page that will manage your blog

** IMPORTANT ** Never add or delete a post from the “Posts” section in your WP Dashboard or you won’t be able to manage the game linked to that post from the Manage Games page.

Each game has three status (statuses?), and all games can be previewed directly from this page clicking on “Play”.

new: the game is (guess what?) new, this means you haven’t decided yet whether to publish it or not. With this status, the game does not appear in the blog. New games are listed in gray.

You have two buttons: Publish and Don’t publish. Clicking on the first one will turn the game to published status while clicking on the second one will turn the game to unpublished status.

published: when a game is published, it means you published it on the blog. By default, when you publish a game, you leech the swf from Mochi servers so you won’t earn money as a publisher (publisher status OFF), but you can turn on this feature, and the swf game file will be copied in your directory (publisher status ON) allowing you to earn money with “MochiAds publisher program.

Then, if you turn off the feature, you will start again leeching the game from Mochi servers and the swf game file will be deleted from your game directory

With the “Delete” button you will turn the game to unpublished status and eventually delete the swf game file from your directory, if you had publisher status ON

Notice: always check the game size before turning ON the publisher status: some hosting services have limited space and limited bandwidth, and if you copy a lot of games you may run out of space and/or bandwidth. Check your hosting company for more information.

Also notice: If you are using Triqui MochiAds Arcade theme you will need to edit one line to make it work with publisher option, or you’ll continue leeching games even if their publish status are ON.

I am preparing a new version of the theme with some interesting improvements including this one, meanwhile open index.php page into your Triqui theme folder and change line 17 (the line starting with <embed src = "... just in case you edited the theme) with

<embed src="<?php if(file_exists(WP_PLUGIN_DIR."/mochi/mochigames/".$post->ID.".swf")){echo WP_PLUGIN_URL."/mochi/mochigames/".$post->ID.".swf";}else{echo get_post_meta($post->ID, "swf_url", true);} ?>" menu="false" quality="high" width="<?php echo get_post_meta($post->ID, "width", true); ?>" height="<?php echo get_post_meta($post->ID, "height", true); ?>" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />

Notice too (last one): The “Delete” button only works on games published with the “Publish” button. You can’t delete games inserted with the old (and discontinued) version of this plugin – the one that published games automatically – If you want to delete one of such games, you must delete it from the “Post” section in the WP Dashboard.

unpublished: a game gets the unpublished status when you decide you won’t publish a new game, or when you delete a published game. An unpublished games does not appear in the blog and is listed in red. You can publish an unpublished game clicking on the “Publish” button.

In the upper form you can choose how many games you want to manage in the page, the offset (works in a similar way as the feed offset), what kind of games (new, published or unpublished ones) and a string they have to contain in their name.

1.1 upgrade: games with Mochi Coins enabled are marked with a $$ before their name (check Planet Basher 2 to have an example).
In the upper form now you can extend the search to game tags

I will add more options soon, I am open to any suggestion.

DOWNLOAD

Here we are… time to download the plugin. It’s free to use, modify, hack and so on. However, if you are making money out of it, my PayPal address is triqui@libero.it, just in case…

Also remember I won’t give support to any request if you change some code in the plugin

Download the plugin and enjoy.

I would like to hear your opinions.

165 Responses

  1. [...] you know next monday I will release the final version of the plugin to turn your WordPress blog into a MochiAds [...]

  2. [...] Due for June 22, I decided to release today the Triqui MochiAds Arcade plugin for WordPress!! [...]

  3. leandropug says:

    The most usefull and well mande code plugin ever seen! Love the way u comment! LoL

    As soon i put my new arcade wordpress i will sende a coment.

    Tks

  4. Andrew says:

    What should we put for the autopost URL on mochi? for example http://www.mysite.com/blog/wp-content/plugins/mochi or what! PLEASE HELP!!!

  5. Jay says:

    How do I add specific games to my arcade site? I’m interested in adding the best games from yesterday through to years ago.

  6. Tam Bir Blog says:

    when i clicked go i cant see any feed post/ game list…. :(((

  7. Vadersapien says:

    not working for me :(. i get the same ‘No new games at the moment…’ error as in the previous versions…even on a fresh blog. is this something to do with my provider?

  8. Bob says:

    The plugin works great, thanks, but it desperately needs the ability to do mass actions. Having to add games one by one makes me consider reverting back to the old version. I would love it if you added that in next update.

  9. Rob says:

    Great plugin. I hoped it would be just what I was looking for but sadly not. I would need something with a lot more features really. I like to have a lot more control over what I’m publishing rather than just the games such as what category to put it into, descriptions, tags etc.
    I’m sure many people will find it very useful though so nice work. I guess I’ll have to find a simple way to add games myself.

  10. Tam Bir Blog says:

    plugin wants php 5.2

  11. Wayne says:

    Hey.

    I got the plugin and it seems to be working fine. However the publish does not appear to be working it is not downloading the files on to my server.

    Any ideas?

  12. George says:

    Very nice plugin. Maybe for the next update there can be an option to schedule game posting.

  13. Alex says:

    I went successfully 3 steps of installation:
    1)Welcome screen,
    2)Setup page (Mochi Directory, Categories, Mysql table are successfully created)
    3) Feed games – I got list of 100 games

    But nothing happens on last page – Manage Games page.
    Nothing :(
    Blank page with message “No games with these search options”

    Please, help me

  14. Justin says:

    Please help! When I say feed games it says No new games at the moment…

  15. Vadersapien says:

    @Tam Bir Blog – I hav php 5.2.9 and its not working

  16. Wayne Shears says:

    Cheers man. This is awsome. I have managed to get this to work now. I just deleted my previous sql table and done a fresh install of the tables.

    Now it works a treat. Any plans on adding to the plugin to add leaderboards using the bridge?

  17. Justin says:

    ….please post instructions! or email me them :)

  18. Ivan says:

    Hi,

    when I turn on the publisher feature, i am getting an error:
    Warning: copy() [function.copy]: Unable to access http://games.mochiads.com/c/g/marble-roller/roller4.swf in /mnt/data/accounts/v/van0/data/www/hrejonlinehry/wp-content/plugins/mochi/mochi.php on line 189

    What should I do to make it work? Thanks in advance.

  19. [...] the Triqui MochiAds Arcade plugin for WordPress official page for more details. Note that this plugin was independently developed (kudos to Emanuele!) so please [...]

  20. Dr T says:

    Hmmm… this is SURPRISINGLY similar to MyArcadeBlog plugin…bit too much similarities in fact… I cannot help wondering why?
    Dr T

  21. ket says:

    where do u put the publisher key??

  22. Emanuele Feronato says:

    @ket: I don’t – I am getting the feed anyway

    @Dr T: never heard about it – but if you retrieve feeds, copy files and publish games, of course they are similar – Maybe you got inspired by tutorials I published last year :)

  23. alex says:

    Hi, i also get the ‘No new games at the moment…”
    can anyone help me? pls

  24. SantaCruze says:

    Dear Emanuele Feronato,

    Thnx for the Plugin. I just got everything working …BUT…MochiAds isnt showing anything of Impressions or that the Ads r getting counted. I made sure that the Flash Games r on my Website and also setup em for Publisher Stuff etc. but in the Dashboard of MochiAds arent displayed Page Impressions for em. Any ideas ?

  25. serhan says:

    Emanuele thanks for publishing the plug-in, recently i’m trying to built new portal your files
    i add my publisher id on line 559 (in mochi.php), it works great
    but i couldn’t understand why custom fields still shows “swf_url” section from mochi’s swf files(i turn swicth on)??

  26. serhan says:

    I checked gamepage source, they are shown from my own hosting and mochi counts impressions..
    @SantaCruze
    Open your mochi.php find 559th line and change codes from
    http://www.mochiads.com/feeds/games?format=json&limit=$_POSTlimit&offset=$_POSToffset
    to
    http://www.mochiads.com/feeds/games/PUBLISHERID/all/all?format=json&limit=$_POSTlimit&offset=$_POSToffset

  27. SantaCruze says:

    Okay i changed it. How long does it take till i can see the Page Impressions in MochiAds ?

  28. zarxan says:

    how i earn money Mochiads publisher program.

  29. SantaCruze says:

    Heya again,

    Thnx for the Help Serhan, it worked. But now ive a new Prob, i tried to insert AdSense into the Template but some of the Code like the pub-id and the channel is getting greyed out once i insert it into the template. Any1 got some suggestions how to fix that ?

  30. SJG says:

    Emanuele,

    Integration with the mochi bridge and the leaderboard seems like it would be something that is defiantly needed or desired.

    From a design standpoint I have no idea how to integrate it onto the game page. Unless the template was widened. None the less I would be more than happy to pay for this to be included. Feel free to reach me at my email address.

  31. Art says:

    Nice plugin, for the next update could you add a category filter? So its a bit easier picking out the shooters or adventure games. But great plug-in can’t wait to set up my site.

  32. Emanuele Feronato says:

    @SJG: thanks for the donation and the ideas: I am going to add them to the plugin/theme

  33. SJG says:

    @Emanuele,

    Bug Report: The RSS Feeds seem to take a date of 1999 for some reason when using the standard publishing method inside the Mochi Control Panel.

    I am not sure what it uses to trap that but it is possibly something to do with the way that it is posting the article.

    I did find that while the twitter plug ins would not work without modification to the hook that calls the post that a good way around it was to use the ping.FM plug in for automatic updates when games are posted!!!!! WOOT!

    Another suggestion, search by tags as well as category or names. What would be awesome is if we could search featured and limit to a category.. even the mochi site cant do that, but the JSON should let it :)

  34. SJG says:

    Hmmm another date issue, the date that gets used for “Latest Posts Widget” pulls the date that seems to be the date the game was approved on mochi.

  35. SJG says:

    Ahhh Rss goes off of Post Date GMT
    Ok here is the fix for the post features to post with the correct date and the gmt offset.

    function mochi_add_games($id){
    global $wpdb;
    $id = intval($id);
    $inserted = false;
    $row = $wpdb->get_row(“select * from “.$wpdb->prefix.”mochi where status != ‘published’ and id = $id”);
    if($row){
    $inserted = true;
    $cat_id = array();
    foreach($row as $varname => $varvalue) {
    $$varname = $varvalue;
    }
    $categs = explode(“,”,$categories);
    for($x=0;$xprefix.”mochi set status = ‘published’, blog_id=’$post_id’ where id = $id”;
    $wpdb->query($query);
    }
    }

  36. SJG says:

    [code]
    function mochi_add_games($id){
    global $wpdb;
    $id = intval($id);
    $inserted = false;
    $row = $wpdb->get_row("select * from ".$wpdb->prefix."mochi where status != 'published' and id = $id");
    if($row){
    $inserted = true;
    $cat_id = array();
    foreach($row as $varname => $varvalue) {
    $$varname = $varvalue;
    }
    $categs = explode(",",$categories);
    for($x=0;$xprefix."mochi set status = 'published', blog_id='$post_id' where id = $id";
    $wpdb->query($query);
    }
    }
    [/code]

  37. SJG says:

    Grrrr… wont post it correctly.

    In the add game section add and change the following lines

    $post['post_date'] = current_time(‘mysql’, 0);
    $post['post_date_gmt']= current_time(‘mysql’, 1);

  38. mel says:

    SJG, can you post the new mochi_add_games() function please?

    I don’t get what’s supposed to be changed or replaced in the code you posted.

    and thanks for your help :)

  39. SJG says:

    @Mel

    I cant post long code on the comment box. It screws up the formatting.

    But what you do is where it builds the Querry Array to enter it into mySQL you change the post_date value to current_time(‘mysql’,0); which means the current time and the GMT time is with the GMT offset. Search for $post['post_date'] and you should see what I am talking about. Prior to this change it ads the date the game was approved on mochi…

  40. SJG says:

    To randomize the front page…

    in home.php before “The Loop”
    Add

    ABOVE

  41. SJG says:

    haha ok now I cant post php tags…

    this link says what to do…
    http://codex.wordpress.org/Template_Tags/query_posts

  42. Ricardo says:

    Keep getting:
    “Fatal error: Out of memory (allocated 25952256) (tried to allocate 26285537 bytes) in /home/public_html/domain.com/games/wp-content/plugins/mochi/mochi.php on line 283″

    This happens whenever I try to “feed games” I fed the first 100 and it worked.. now it no longer works.

    Also does anyone know how to add games manually?

  43. Ricardo says:

    In a reply to my own thread above. It seemed as if I had to delete the plugin and all of it’s files then re-install the plugin and it is now working!

    Does anyone know hot to add games manually so you get credit/money from the publisher standpoint? (Download the zip from mochi ads, then upload, then what?)
    Thanks,
    Ricardo

  44. cotralis says:

    I still have an message
    No new games at the moment

    I have an userid on mochiads
    and i am using version 1

    when i use the feed link manual in internet explorer i can download the file perfectly

    Do you have an solution

  45. cotralis says:

    i keep getting this message

    No new games at the moment…

    when i manually put the url in internet explorer i can download the json file

    what can i do to resolve this problem?

  46. hhan says:

    hello… im using your theme and will using your plugin…
    but where the mochi game will downloaded?in what folder?do we need to reate the folder manualy or not?thanks

  47. [...] Triqui MochiAds Arcade plugin for WordPress official page : Emanuele Feronato This plugin is intended to turn your WP blog into a MochiAds arcade site that will allow you to earn money both with Adsense (or other kinds of web advertising) and MochiAds publisher program. (tags: Triqui Mochiads arcade Plugin For WordPress Official Page : Emanuele Feronato) [...]

  48. dean says:

    Hi, thanks for the plugin, I’ve set it up ok but when I search for games that I know mochi adds have they don’t show up. Any ideas why or how I can add them?

  49. hhan says:

    hey guys… how i can limited the game list in the footer.i just want to show 50 games list on footer.how i can do that??please

  50. Josh says:

    hhan, you’d find better help at the theme topic. This is the plug-in topic. In any case, look at the theme and edit it as needed. :P

  51. firman says:

    great,.. I have plan to create game site,… it might good choice… thank you for sharing

  52. [...] the Triqui MochiAds Arcade plugin for WordPress official page for more details. Note that this plugin was independently developed (kudos to Emanuele!) so please [...]

  53. [...] WordPress Mochiad Plugin – make a arcade site using wordpress. The best thing is it auto updates! Check out [...]

  54. Trina says:

    Hi! I would like to add a page that runs Mochi Games on it and add it to our overall site. I don’t want a full games portal, just a page that features mochi games. I’ve read the article and the comments but I’m unsure if this is what I’m looking for.

    Thank you for the help!
    Trina

  55. SJG says:

    Emanuel,

    Mochi has broken the feed.
    Here is what happened, they have added a new field to the feed called
    coins_revshare_enabled

    Since this is not in the database currently, the feed will error out, although it will not show you this unless you trace the SQL back.

    The fix is rather simple I think and that is to add the coins_revshare_enabled field right after the recomendation field. I will try to post the new sql insert that is generated but your comment system hates when I post code…

    insert into fgt_mochi (rating,author,key_mappings,height,recommendation, coins_revshare_enabled, uuid,width,thumbnail_large_url,tags,controls,swf_url,recommended,game_tag, zip_url,updated,description,author_link,swf_file_size, game_url,slug,categories,instructions, name,created,control_scheme,popularity, feed_approval_created,coins_enabled,thumbnail_url, leaderboard_enabled,resolution,status)values(‘Everyone’,'funkypear’,”,’500′,’4′,”,’317d1d39-9b73-3a72-80a0-0c20a5d1aa07′,’700′,’http://thumbs.mochiads.com/c/g/gravitee-2_v2/_thumb_200x200.jpg’,'Gravitee,Golf,Space,Planets,Worm Holes,Ball,Mouse Only,Stars’,'fire=left_mouse;jump=na;movement=arrow’,'http://games.mochiads.com/c/g/gravitee-2_v2/gravitee210.swf?affiliate_id=01f130501bb58ab5′,’1′,’2221db602d0eec6b’,'http://cdn.mochiads.com/c/g/gravitee-2_v2.zip’,’2009-08-13T21:05:29-08:00′,’Gravitee is back! Play through 40 levels of Interstellar Golf. Gravitee 2 features 4 different game play types and 90 awards to win.’,'https://www.mochimedia.com/community/profile/funkypear’,’2578951′,’http://www.mochimedia.com/games/gravitee-2_v2′,’gravitee-2_v2′,’Sports’,”,’Gravitee 2′,’2009-08-05T13:14:43-08:00′,’{“fire”: “left_mouse”, “jump”: “na”, “movement”: “arrow”}’,”,’2009-08-13T21:05:29-08:00′,”,’http://thumbs.mochiads.com/c/g/gravitee-2_v2/_thumb_100x100.jpg’,”,’700×500′,’new’)

  56. SJG says:

    coins_enabled

    needs to be added as well.

  57. [...] order to do this, MochiMedia changed the feed used for parsing games, so I upgraded the Triqui MochiAds Arcade plugin for WordPress to version 1.1 in order to make it compatible with the new [...]

  58. Emanuele Feronato says:

    Thanks for reporting it.

    Fixed and upgraded :)

  59. dean says:

    thanks for the new version, I have a couple of sites, early days but I reckon they’ll do ok – I’ll make a donation as soon as they’re making dollars rather then cents!

  60. SJG says:

    emanuele,

    I found there are about 10 fields that need to be updated. Thumbs/UrL 1-5, Alternative URL, Coins, And Video Url….

    Yikes… So I have mine updated now… Did you include my date fix in your 1.1?

  61. Emanuele Feronato says:

    At the moment I found and fixed the plugin for these ones:

    coins_enabled
    coins_revshare_enabled
    screen1_thumb
    screen1_url
    screen2_thumb
    screen2_url
    screen3_thumb
    screen3_url
    screen4_url
    thumbnail_large_url
    video_url
    alternate_url

  62. [...] by dobosbence in Games, Projects. Tagged: Mochi, RoleManager, Triqui. Leave a Comment To use Triqui wordpress plugin with more than one user i made this in my homepage [...]

  63. Albert says:

    Not working again :(

  64. more game says:

    sorry, how i upgrade from previous version?? sould i uninstall it first?or just replace the existing file?

  65. Emanuele Feronato says:

    @ALBERT: Updated to 1.11, made it compatible with the new feed

    @MORE GAME: Just replace the files

  66. Albert says:

    That was fast. You are the best. Gracie.

  67. [...] MochiMedia’s feed added a new field, making the MochiAds Arcade plugin not longer compatible with the new [...]

  68. Al says:

    Where do I put in my publisher id?

  69. Ivan says:

    umm,im a noob at this but i get the details of the game and everything but i dont get pictures there is no game….

    again ima noob so help me out alright.

    Thanks

  70. Fahad Khan says:

    I get the game feeds but when i manage the games it is empty no games. Also the SQL wp_mochi is empty no game is injected through the feeds to the sql it was working before i dont what is wrong plz help.

  71. Yanni says:

    I get the same as Fahad {#61} above.
    feeding the games shows the new ones, but when I go to manage, the new games haven’t appeared.
    Haven’t installed the new upgrade yet.
    Would this be the reason?

    TIA

  72. waiting for your new theme. :)

  73. Brady says:

    Hey I LOVE your flash game set up! Thank you so much for putting the time into to help others! I have used your site as a reference many many times!

    Here is the site I am using ur template on and will continue to improve it:
    http://gamegab.com/MoreGames

    Also, how much is a good amount to donate to you as I think it is only fair!

  74. antonio3407 says:

    Emanuele Feronato, the plug that remains is to download the version 1.1 you can hang the version 1.11 thanks …

  75. Emanuele Feronato says:

    @antonio: the link points to 1.11, where are you downloading it from?

  76. antonio3407 says:

    The discharge of the above link but when I looked inside at the head of mochi.php plugin puts it:
    Plugin Name: MochiAds Arcade Plugin
    Plugin URI: http://www.emanueleferonato.com/triqui-mochiads-arcade-plugin-for-wordpress-official-page/
    Description: Turns your blog into a MochiAds Arcade portal.
    Author: Emanuele Feronato
    Version: 1.1
    Author URI: http://www.emanueleferonato.com/

  77. NetPotion says:

    It would be cool if there were a way to supply embed codes below each game for people, so that they could put the games I host on their websites & I could get credit from Mochiads for it.

  78. felix says:

    Emanuele,congratulations to thema and plugins, I installed to http://www.wordpressgames.net best games portal

  79. Viza says:

    I installed the plugin last night, but it says “No new games at the moment…” both at the Feed games, and the Manage games page. I tried everything mentioned in the comments (deleted the wp_mochi table from the database, deactivated and activated the plugin, deleted, and reinstalled the plugin, edited the mochi.php to include my publisher id), but it is still not working.
    Is there anything else I should try to make it work?

  80. AJ says:

    All I get when I try to install is:

    Incompatible archive PCLZIP_ERR_BAD_FORMAT (-10) : Unable to find End of Central Dir Record signature

  81. LordMaX says:

    Hello Emanuele! This plugin es incredible!!!

    I try to use another theme to use de the plugin and this is the result!!!!!

    http://gamesonline.wallpworld.com

    thanks!!!

  82. HybridMind says:

    Any word on when the next update of the plugin/theme might be out? I notice that the triqui site is supporting some form of mochi highscore integration and I would love to see a tutorial on that. Thanks again for your work on these two excellent products!

  83. LingoLux.com says:

    Emanuele
    I added
    add_post_meta($post_id, ‘slug’, $slug);
    to the plugin so that it also stores the slug information so i can display the leaderboard bellow the games

    http://www.lingolux.com/2009/06/19/mazeroll/ as an example

  84. valcs says:

    I found your plugin and template after i have installed arcadem on my slovak site http://www.videohry.com . i post the new games on facebook and i have some english friends so i felt like doing an english version. so i have used your script and template and installed it on http://www.gamebot.org . now some slovaks are upset that their site is not so cool as the english one ;). thanx again for the great plug-in and template. i m not a coder and had to play with it a bit, but it rocks. I fish i could implement latest scores on my site, but maybe one day. i am not making any money from my sites yet, but i will donate.

  85. Harry says:

    how do I add game to the sidebar as displayed in the screenshot.png?

    Also, DO I still need to amend as described above?

    ———
    <embed src="ID.”.swf”)){echo WP_PLUGIN_URL.”/mochi/mochigames/”.$post->ID.”.swf”;}else{echo get_post_meta($post->ID, “swf_url”, true);} ?>” menu=”false” quality=”high” width=”ID, “width”, true); ?>” height=”ID, “height”, true); ?>” type=”application/x-shockwave-flash” pluginspage=”http://www.macromedia.com/go/getflashplayer” />
    ——————
    As per the style.css,it has “Version: 1.0″.

  86. Harry says:

    does anybody know how to add a game or Featured Game in the sidebar?

  87. Well I’m curious by nature so I had to try this. I must say everything worked perfectly. Excellent work Emanuele.

    http://www.worldsbestever.com

    By reading these comments I say 70% of these problems are because of your host. If you plan on using this, then first of all get a good hosting account. Pay those 7$/month, you’ll get them back eventualy.

  88. Hello says:

    How do i add thumbnail to the games? Please

  89. Harry says:

    @LingoLux.com,
    How did you add High Scores on your website?
    Can you share this please?
    THanks

  90. Harry says:

    @LingoLux.com,
    Did you add these custom fields individually?

    add_post_meta -> $post_id,
    add_post_meta -> ’slug’
    add_post_meta -> $slug

    Or In One line ?
    add_post_meta -> ($post_id, ’slug’, $slug);

    I tried putting them in one line but couldn’t see any output on the website?
    Can you help on this please?
    Thanks,

  91. lluent says:

    Hi, if you get “No new games at the moment” you need to edit your php5.ini in your server and turns on “allow_url_fopen = on”

  92. furious says:

    is it possible to bulk enabled and bulk publish games? or do i have to do it 1 by 1?

    is it possible to have a desired amount of games automaticly published and show on page each day?

    is it possible to have some games show randomly on your frontpage?

    for example i want one table of game to be random games and 2nd table to be new games..

    thank you, great project!

  93. LingoLux.com says:

    i added the code

    add_post_meta($post_id, ‘slug’, $slug); to the plugin mochi.php

    then

    var options = {partnerID: “xxxxxxxxxxxx”, id: “leaderboard_bridge”,globalScores:”true”,gateway : “http://www.lingolux.com/wp-content/themes/triqui/postscores.php”,callback : function (params) {document.getElementById(‘latest’).innerHTML=”Your latest score: “+params.score;}}; Mochi.addLeaderboardIntegration(options);

    in my theme…

    i also followed the instructions on creating a plug-in and added the high scores

    p.s. just finished my first game http://www.lingolux.com/2009/11/18/mr-crabbys-beach-ball-adventure/

  94. Quick says:

    I think I liked your older plugin better as the new one doesn’t have any mass features, I’m talking about publishing all games at the very least an “all checkboxes”, and “publish all” per page. Then a same feature to “Turn On” publisher revenue same as above.

    I saw you wrote about niche game sites, but for the people who would like all the games clicking and waiting for the processes to update for 24,000 clicks is just silly.

    I was just gonna go into my db and set everything from unpublished as published until i noticed there was game id and the other with empty information.

    I do like the newer panel, but think about including the mass update features, I for one don’t have time to sit there and keep clicking away for weeks at a time, but yet I want all the games available.

    Thanks, keeps up the good work your doing and is appreciated by many.

  95. Jamie says:

    I currently have a problem with publishing games. They all display but when i hit the publish button nothing happens. Any ideas?

  96. Videobukket says:

    I m getting this error – Invalid argument supplied for foreach() in /home/xxxxxx/public_html/wp-content/plugins/mochi/mochi.php on line 63

    Please help me solve this issue

  97. Albert says:

    I’m getting this warning when request feed: Warning: file_get_contents(http://www.mochiads.com/feeds/games?format=json&limit=10&offset=0) [function.file-get-contents]: failed to open stream: HTTP request failed! in …

  98. [...] Also, this arcade theme is compatible with Emanuele Feronato’s Mochiads plugin. [...]

  99. Conno says:

    The theme and plugin works great, thanks!

    One thing though… in order to get your theme compatible with the “WP-PostRatings” plugin there is a small change that is necessary:

    Add “” before the tag in the footer.php file and add “” before the tag in the header.php file.

    Before I did the above the rating stars were there but they were unclickable :)

    Check out my site if you’d like: roflninja.com. The font I used in the logo can be found here: http://www.urbanfonts.com/fonts/Sketch_Rockwell.htm I also made a few small changes…

    Thanks Emanuele!

  100. Connor says:

    oops the above comment removed the PHP.. I should’ve known :P I also spelled my name wrong -.- Well if you go here http://forums.lesterchan.net/index.php?topic=1778.0 and look at the third post by “GaMerZ” he basically says the same thing I did :)

  101. NetPotion says:

    Is anyone else experiencing problems getting games from the feed again?

    I haven’t been able to get anything for several days now. It times out and throws an error.

  102. NetPotion says:

    Nevermind. It appears to be a problem with my host – not a problem with the script.

  103. Albert says:

    I can get new games (last 100) now). But if I want games from the problematic datum (last 500 game) then I get the same error.

  104. Cristi says:

    Hi Emanuele,
    First of all,i would like to say that you made a good job and thanks for this wonderful plugin.
    Is there any modified plugin to add games manually like in a arcade script? You will make one?

    Thank you,
    Cristian

  105. In setting up te theme an the plugin. In the mochi option, when I try to feeds games the dashboard display me this error:

    Warning: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration in /homepages/7/d265535014/htdocs/juegosClaro/wp-content/plugins/mochi/mochi.php on line 286

    Warning: file_get_contents(http://www.mochiads.com/feeds/games?format=json&limit=100&offset=0) [function.file-get-contents]: failed to open stream: no suitable wrapper could be found in /homepages/7/d265535014/htdocs/juegosClaro/wp-content/plugins/mochi/mochi.php on line 286

    No new games at the moment…

    Someone have any idea to solve this problem? thanks a lot!

  106. torsak says:

    thanks for theme and plugin visit my game site http://game.freex2.com/ make with this theme and this plugin

  107. af3 says:

    Hi, would this plugin work on WPMU 2.9.1? Thanks

  108. Darf says:

    af3 this is working fine for me in wordpress 2.9. http://www.headpaingames.info/

    Thanks for this theme and plugin

  109. bfg says:

    Hi Emanuele,

    its me again, reporting the bug in the plugin I found earlier today.

    In line 331 of the mochi.php your escape the values of the mochi feed manually like this:
    $values.= “‘”.str_replace(“‘”,”\\’”,$$varname).”‘,”;
    This line of code does not escapes apostrophes correctly, which resulted in a mysql error when this character is included in the feed.

    I changed this line to:
    $values.= “‘”.mysql_real_escape_string($$varname).”‘,”;
    to fix this problem.
    Maybe you’re escaping this way in some other place too, which is potentially harmful, but I did not check for that.

    I hope this helps, and thanks again for your great work!

  110. Harry says:

    I have good traffic on my website.

    On Mochiads in my publisher report I don’t see any impression since I launched my site.

    Does anybody why is it not showing anything? Do I need to change anything in the file?
    I use , publish and ON.

    thanks in advance

  111. saparee says:

    i need some help!!
    i try follow every solution from this blog for solve my feed game. but my feed status still “No new games at the moment”.

    I really need to use this plugin. Anybody can hepl me? please.

  112. saparee says:

    i try this plugin in my localhost (appserv) and it’s work!!

    but when i try using on my real host with feed game, this text is show “No new games at the moment”.

    Why? and What i can do?

    p.s. i try to change url of “$mochi_url” and it is not work for me.

  113. Me says:

    I think they updated something today (Feb 25th) and it may have broken the feed. Am I the only one who gets the games but they don’t appear in the manage part?

  114. Umid says:

    Dear all,

    It was ok last week. I could feed games, manage them without any problem.

    But today, i see new games in green in the Feed Games page but can’t download and publish them at all.

    Does anybody knows why it is happening?

    Thanks.

  115. Me says:

    Umid, actually, it was ok this afternoon (of the 25th of February), but like I said, I think MochiAds updated something related to how they rate a game before they publish it and perhaps that may have messed up our feed.

    Hopefully Emanuele will save us all!

  116. [...] So I am releasing the new version, compatible with the new feed and tested with WordPress 2.9.2. You can find it at the official page. [...]

  117. Emanuele Feronato says:

    updated :)

  118. Umid says:

    How do we apply your update to our website? Or should we download and re-install your plugin?

  119. Emanuele Feronato says:

    just overwrite the files.

  120. Me says:

    Thanks SO much, works like a charm :)

  121. Harry says:

    I over wrote the files, I displays the games, but when I click on “Manage Game”, I get – No games with these search options. – Any clue?

    Also, a format to put in the publisher ID would be
    a helpful.

    Thanks in advance

  122. Harry says:

    worked.
    cheers

  123. [...] znalaz?em bardzo fajny plugin i theme do wordpress’a który umo?liwi? zrobienie w?asnej strony z grami flash pobieranymi [...]

  124. Hiscorer says:

    Fantastic.

    Consider making the feed url configurable. So I do not have to change the feed url everytime I update the plugin. :P

  125. Luis says:

    I get 100 games on fee games, but when I click on “Manage Game” I get No games to select to publish.
    I havent any idea, the wp theme was working good untill 4 days ago.
    Could you help me?
    Thanks

  126. PhysicsGames says:

    Finally, it is working again.
    Thank you Emanuele

  127. Umid says:

    It does not work for me :(

    Uploaded all files, when I go to feed games i see new games found text, but there are no new games in Manage page :(

  128. Umid says:

    Sorry, worked out. Forgot to run SETUP once more :)

    Thanks!

  129. Harry says:

    Has anybody noticed,after you CLICK ‘ON’ and then Download games, it doesn’t anymore.
    its started just today.
    thanks

  130. vincenzo says:

    hi, I can’t figure out why the stats on mochimedia are still at 0 visits and 0 game hosted, when i published about 20 games.

    I did put my publisherid in mochi.php and changed line 17 in index.php.

    any idea???

  131. lee hodgson says:

    no way to get the game names / descriptions translated?

  132. lee hodgson says:

    I can’t see any options to modify the theme? The header etc?

  133. [...] test web site has been built, WPArcade upon which http://www.arcadeonlinegaming.com has been built, and Emanuele Feronato’s Triqui theme based http://www.doll-games.info, a site we have created for testing purposes and then [...]

  134. Joe says:

    After much searching, and testing other plugins your is by far the best and easiest to use.

    I have an question on how we can download the thumbs and have them uploaded to the server, I need this so I may utilize the timthumb script.

    Thanks

  135. metabeta says:

    Hello everyone,
    This plugin is awesome. I have a question how to add thumbnail and description.

  136. Robby says:

    The plugin doesn’t download/feed the games correctly anymore, when i go to feed games it lists the new games. But when i want to manage/add new games they don’t appear? It’s like he discards the new feeded games.. i can’t submit new games? HELP..

    Am i the only one?

  137. NetPotion says:

    Microsoft Security Essentials, and Web page security report – show that there is a virus on this page Emmanuel.

    VirTool:JS/obfuscator.M

    Please see
    http://www.unmaskparasites.com/security-report/
    for more info.

  138. NetPotion says:

    I don’t know if that link will work. This one will though. You can also download MS Security Essentials and it will flag this page too.

    http://www.UnmaskParasites.com/security-report/?page=www.emanueleferonato.com/triqui-mochiads-arcade-plugin-for-wordpress-official-page/comment-page-3/

  139. ????? says:

    Microsoft Security Essentials, and Web page security report – show that there is a virus on this page Emmanuel.

  140. Brandon says:

    I installed this script. But why is there no sidebar? Also, I get an error whenever I try to turn the publisher feature on for the games.

  141. tmax says:

    Hello, I am using the 0.9 beta of this plugin, and the theme 1.1 i belive but i want to upgrade so i can earn….

    when i upgrade plugin games are not ther, i have found problem is that it gives url like swf=/home/thetmys1/public_html/mydomain.com/wp-content/mochiadsplugin/gamecontent/blahblahetc…..

    i got to make it get rid of /home/thetmus1/public html so its just /wp-content/plugin/game…

  142. watt says:

    The script creates posts but they’re empty. Also, can’t see them on the index page. I’m using the buddypress, not the games template.
    In the manage games section, games can be loaded using the showswf.php link, I don’t understand why the newly creaqted posts are empty instead of containing the game.
    Any idea on this?

  143. dashmi says:

    Where do you insert your Publisher ID? or we are using your Mochi Publisher’s ID?

    Thanks

  144. andy says:

    hello,

    how to add custom games?

  145. jackmartin says:

    how to increase the number of game displayed in home page

  146. [...] game creation tutorial – part 2Make a Flash game like Flash Element Tower Defense – Part 2Triqui MochiAds Arcade plugin for WordPress official pageFlash game creation tutorial – part 3Make a Flash game like Flash Element Tower Defense – Part [...]

  147. RickyG says:

    Hello,
    Using WP 3.0 and your newest theme and plugin. When I go to SETUP I get an error for category

    Fatal error: Class ‘IXR_Error’ not found in /home/XXXX/public_html/wp-content/plugins/mochi/mochi.php on line 344

  148. jeux says:

    it’s a very good Wp plugin

  149. paixnidia says:

    Hi, I test the plugin on localhost in my computer but i get no games.
    The plugin works on localhost?
    It seems to be a good plugin and i want to use on my existing site in order to add niche content but i want to be sure before mess up the live site.
    Thanks

  150. web design says:

    can you post php in WP 3.0?

  151. paixnidia says:

    Problem solved.
    It was from php.ini settings.
    Mochi feed is huge and requires memory.
    So, i changed the upload_max_filesize to 64M,
    post_max_size to 64M and memory_limit to 128M in php.ini file.
    This settings works on my localhost.
    I hope this helps if you can’t see games.
    Thanks

  152. Tony Lea says:

    Hi Emanuele,

    This is an excellent plug-in. I’ve been working on an arcade theme for themeforest using your plug-in: http://www.tonylea.com/go/wordpress/arcadepress/ I wanted to ask your permission to use the latest version of this plug-in bundled along with the theme?

    Thanks so much. You rock!

  153. valerian says:

    hi guys.

    my script started to behave weird. id does the same like riki’s 149. post and changing the mentioned vasriables did not help. but what is worse it does not show me the newly fed games in “manage games”. it feeds them, but does not show. the newest games it shows are games from january this year. any ideas? thank you

  154. valerian says:

    nobody? ok here is the other case. i have reinstalled the script. worked like charm until i was loading the set of 6000. again. it feeds it, but the manager shows no games.can anybody help? please?

  155. Albert says:

    Now the script playing the same game in manage games, doesn’t matter what link I clicked on, it playing the always the same game. May the mochi feed changed again?

  156. DrGEN says:

    Hi,
    Fantastic plugin!
    I’m trying this at localhome and i can only see 10 games/page.
    How can i set a different number? (i.e. 60 like you are showing in Triqui.com)

  157. DrGEN says:

    One last but no less important thing: where should i put my publisher ID?!?!?

    Thx!

  158. DrGEN says:

    Is there a way to hide some categories from appearing in the home page??
    For example, i want to write some text posts (under Text category) and don’t want that appear between games at home page. Is there a way to do that?

  159. DrGEN says:

    Inside MochiAds plugin (at manage games tab) is there a way to search for a specific game by name? For example, how i can find “Stunt Bike Pro”?

  160. Johnny G says:

    I am having great difficulty setting up this plugin. First problem is as follows;

    Fatal error: Class ‘IXR_Error’ not found in /home/pro1/public_html/BeatTheStreets/wp-content/plugins/mochi/mochi.php on line 344

    That’s what’s on the set-up page, how do I fix it-just for starters

  161. Johnny g. says:

    hi guys,

    there have been several correspondance’s since I left the first version of this comment.

    I get the below fatal message- what does it mean and how does it get fixed?

    Fatal error: Class ‘IXR_Error’ not found in /home/XXXX/public_html/wp-content/plugins/mochi/mochi.php on line 344

Leave a Reply