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.3 RELEASED ON JANUARY 21, 2011

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.3 upgrade: the plugin has been fixed to store the new “languages” field introduced by Mochi guys.

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

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.

  • Pingback: MochiAds Arcade Plugin Teaser : Emanuele Feronato()

  • Pingback: Triqui MochiAds Arcade plugin for WordPress Released!! : Emanuele Feronato()

  • leandropug

    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

  • 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!!!

  • Jay

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

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

  • Vadersapien

    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?

  • Bob

    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.

  • Pingback: Theme y Plugin para el Sitio de Arcades con WordPress | Summarg()

  • Rob

    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.

  • plugin wants php 5.2

  • 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?

  • George

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

  • 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

  • Justin

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

  • Vadersapien

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

  • 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?

  • Justin

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

  • Ivan

    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.

  • Pingback: MochiLand » Blog Archive » Triqui’s Wordpress Plugin for MochiAds Released!()

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

  • ket

    where do u put the publisher key??

  • Emanuele Feronato

    @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 :)

  • alex

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

  • 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 ?

  • 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)??

  • 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=$_POST%5Blimit%5D&offset=$_POST%5Boffset%5D
    to
    http://www.mochiads.com/feeds/games/PUBLISHERID/all/all?format=json&limit=$_POST%5Blimit%5D&offset=$_POST%5Boffset%5D

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

  • zarxan

    how i earn money Mochiads publisher program.

  • 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 ?

  • SJG

    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.

  • Art

    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.

  • Emanuele Feronato

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

  • SJG

    @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 :)

  • SJG

    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.

  • SJG

    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);
    }
    }

  • SJG

    [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]

  • SJG

    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);

  • mel

    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 :)

  • SJG

    @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…

  • SJG

    To randomize the front page…

    in home.php before “The Loop”
    Add

    ABOVE

  • SJG

    haha ok now I cant post php tags…

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

  • Ricardo

    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?

  • Ricardo

    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

  • 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

  • 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?

  • 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

  • Pingback: links for 2009-07-21 « Free Open Source Directory()

  • 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?

  • 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

  • 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

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

  • Pingback: Triqui’s Wordpress Plugin for MochiAds Released! « Blam Yo!()

  • Pingback: The 5 Must Have Wordpress Plugins! | Webmaster Blog!()

  • 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

  • SJG

    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’)

  • SJG

    coins_enabled

    needs to be added as well.

  • Pingback: Triqui MochiAds Arcade plugin for WordPress upgraded to 1.1 : Emanuele Feronato()

  • Emanuele Feronato

    Thanks for reporting it.

    Fixed and upgraded :)

  • 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!

  • SJG

    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?

  • Emanuele Feronato

    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

  • Pingback: Triqui modifications « Dobos Bence()

  • Not working again :(

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

  • Emanuele Feronato

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

    @MORE GAME: Just replace the files

  • That was fast. You are the best. Gracie.

  • Pingback: Triqui MochiAds Arcade plugin 1.11 released : Emanuele Feronato()

  • Al

    Where do I put in my publisher id?

  • 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

  • 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.

  • 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

  • waiting for your new theme. :)

  • 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!

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

  • Emanuele Feronato

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

  • 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/

  • 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.

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

  • Viza

    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?

  • AJ

    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

  • 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!!!

  • 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!

  • 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

  • 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.

  • 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”.

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

  • 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.

  • Hello

    How do i add thumbnail to the games? Please

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

  • @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,

  • lluent

    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”

  • please help me! not working.

    http://www.fatihcamci.com/category/games

  • 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!

  • 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/

  • 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.

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

  • 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

  • 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 …

  • Pingback: Wordpress Arcade Theme released | Wordpress tutorials, Wordpress themes, PHP Tips()

  • 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!

  • 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 :)

  • 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.

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

  • 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.

  • 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

  • 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!

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

  • af3

    Hi, would this plugin work on WPMU 2.9.1? Thanks

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

    Thanks for this theme and plugin

  • bfg

    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!

  • Harry

    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

  • saparee

    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.

  • saparee

    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.

  • Me

    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?

  • 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.

  • Me

    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!

  • Pingback: Triqui MochiAds Arcade plugin for WordPress upgraded to 1.2 : Emanuele Feronato - italian geek and PROgrammer()

  • Emanuele Feronato

    updated :)

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

  • Emanuele Feronato

    just overwrite the files.

  • Me

    Thanks SO much, works like a charm :)

  • Harry

    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

  • Harry

    worked.
    cheers

  • Pingback: Mój nowy projekt – online.zielok.com | zielok.com - gry to ja!()

  • Fantastic.

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

  • 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

  • Finally, it is working again.
    Thank you Emanuele

  • 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 :(

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

    Thanks!

  • Harry

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

  • vincenzo

    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???

  • lee hodgson

    no way to get the game names / descriptions translated?

  • lee hodgson

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

  • Pingback: Build your own Arcade Game Site and make Money! | Startup Scripts - Start your own site with a script()

  • Joe

    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

  • metabeta

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

  • 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?

  • 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.

  • 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/

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

  • 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.

    • you have to login to your wp-admin then go to themes, click widgets..from there you can drop widgets

  • 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…

  • 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?

  • dashmi

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

    Thanks

  • hello,

    how to add custom games?

  • jackmartin

    how to increase the number of game displayed in home page

  • Pingback: WordPress 3.0 “Thelonious” released - Emanuele Feronato()

  • RickyG

    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

  • it’s a very good Wp plugin

  • 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

  • can you post php in WP 3.0?

  • 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

  • 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!

  • 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

  • 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?

  • 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?

  • 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)

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

    Thx!

  • Thx for plugin.

    http://www.alieren.eu/oyun

    Thanks so much.

  • 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?

  • 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”?

  • 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

    • Hi, I get the same error and this block the script execution… the only solution I found was add this to the scrip in mochi.php

      include_once(ABSPATH . WPINC . ‘/class-IXR.php’);

      This seems to solve the problem … at least there is no more errors, and the script is running as it should be.

      Thanks Emanuele

      • yanni

        Where exactly do you add this line?

        TIA

  • 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

  • hello, i´ve downloaded and activated, tried several times, but i dont get any list of games or any function whatsoever, the plugin just stands there activated but does nothing :( , help please

    • I ran into the same issues as you while trying to get the plugin to work. There are several issues with paths when using WP 3.0 multisite. I don’t know if this applies when using WP as a single site though.
      Anyhow I did some quick and dirty changes and got the plugin to run as expected. Or at least I think. I have no experience with the plugin before yesterday. I will say I do love this plugin and I have the highest respect for the author. I’m sure he’s busy as heck not to resolve this issue. I tried posting my edited file on pastebin and the code kept getting munged up. So I’ll host a text file on my site until the author updates the plugin or asks me to remove it.
      Just download this .txt file and rename the extension to .php
      Note…. I haven’t resolve the SQL date issue because I don’t have the time nor desire to do so. But the plugin works a treat.
      The file: http://www.everparent.com/mochi.php.txt

      • yanni

        Thanks Lee H.

        It worked fine ;]

  • He estado probando el plugin con WTB Flash Games WordPress Theme y despues de modificarlo un poquillo funciona bastante bien. http://www.espaciojuegos.com.
    Enhorabuena por tu aportación.

  • Mohamed

    can i add games manually ? or must from moshiads ?

  • Hello all, i cant feed games anymore, i update the plugin and still nothing going on. I go to Manage Games, and i cant see new games feeded. Any solution???

  • Hi
    I have done some modifications to the theme, just trying to understand how can we download the thumbnail to our server, that we have under thumbnail_url. I think it will be great for SEO purpose. Also once i saw an issue where in none of the game image was loading(could be issue with Mochi for some time)even when the game was loading fine.

  • Oh year I have got to use the mochi feeds for my games on http://www.dichthuatsv.com. Really good.

    However, if I want to grab game and thumbs links from http://www.game.ezfun.net, may be the CDN is for that function. Can you guys show me how to use the CDN?

  • I cannot see any thumbnails on my homepage can you help me please?

    Also, on the setup page I get this error. ‘Class ‘IXR_Error’ not found in /home/admin247/public_html/wp-content/plugins/mochi/mochi.php on line 344′

    Can you please help?

  • It is an excellent plug-in I’ve activated on my new game site. Using Triqui Theme this plugin work well without any problem. I also try to activate on other theme, in order to work, some “custom field” should be changed: thumbnail, swf url, game url, etc. So I can publish game from mochi, and also post some game reviews. My wordpress is 2.9.1 version.

  • help getting this message when trying to load Triqui… Unpacking the package…

    Installing the theme…

    Theme installed successfully.

    Warning: fopen(/home/diarcade/public_html/wp-content/themes/wp-content/style.css) [function.fopen]: failed to open stream: No such file or directory in /home/diarcade/public_html/wp-includes/functions.php on line 4165

    Warning: fread(): supplied argument is not a valid stream resource in /home/diarcade/public_html/wp-includes/functions.php on line 4168

    Warning: fclose(): supplied argument is not a valid stream resource in /home/diarcade/public_html/wp-includes/functions.php on line 4171

  • Now I am getting this error message…

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

  • Hi! i’m getting two different errors, first when i’m trying to get the feed.
    “Warning: file_get_contents(http://www.mochimedia.com/feeds/games/7098dea856ddf888) [function.file-get-contents]: failed to open stream: Connection timed out in /home/kukuxumu/public_html/wp-content/plugins/mochi/mochi.php on line 287″
    and the other one in the setup “Fatal error: Class ‘IXR_Error’ not found in /home/kukuxumu/public_html/wp-content/plugins/mochi/mochi.php on line 344”

    your help is really appreciated ^^

  • Thanks Lee H.
    It worked fine.

  • Its working only with mochi feed, or we can set another website games?

  • Hi,
    1) The theme is fantastic but it has no option to allow the no. of games to be displayed or select a particular game to be displayed.
    how can i make the number of games to display correctly as triqui official site. please help.

    2) how can i remove the uncategorised in the site and it is constant movement. please check my site.
    my site address is http://www.torrified.com
    please email me the solution maddytheguy@yahoo.com

  • Pingback: Who deserves more credit? – Emanuele Feronato - Tony Lea()

  • Univega

    No longer working for me, I can feed games bo there is nothing in manage games section

  • Pingback: Quickest way to add games to wp blog - Talk Arcades()

  • I’ve got the same problem as in the previous post. Any solution to this?

  • ale

    Also for me the same… feed games ok, but not new games in manage games section…

  • lau

    Hi! thanks for sharing this plug-in, it is awesome, I’m already using it in: http://www.flashoodles.com/

    But I have the same problem as in the previous posts, I can feed games but there are no new games in the manage games section…

  • Emanuele Feronato

    found the problem… on january 21st I’ll publish the patch

  • For me too :(
    help help!!!

  • Eddie

    Same problem as above people, waiting for fix. Thank you Emanuele.

  • Emanuele Feronato

    fixed. You can download it

  • Thunder-man

    Hey Emanuele,
    can you please tell us the changes?
    I have modified the plugin and must change it
    myself …

    Greeting
    Thunder-man

    • Emanuele Feronato

      sure: I only added a text column to wp_mochi (the table with all games) called “languages”

      The code is

      $query = “ALTER TABLE $table_name ADD languages TEXT NOT NULL AFTER screen1_thumb;”;
      $wpdb->query($query);

  • ale

    Thank you! Now is all right.

  • Thunder-man

    @Emanuele

    Tanks.

    I think, that is a good idea from mochi, that
    we can filter now the language.

  • @Emanuele Feronato
    Thanks for the fix, and stating the changes. I too have a heavily modified plugin so upgrade wasn’t a easy option. I didn’t notice the new “languages” field.

  • found the problem

  • I have try in WordPress 3.1 on my blog http://playgamesfun.org. It’s work, but at admin area to manage the games, the preview of games to be a tile preview, not only one at left side. But overall it’s OKE, great. Actually I made a tutorial book but still in my language, perhaps I can translate in English later

  • The post for the game is created when I pressed the publish button but there is no game published in the post. What can I do to resolve this.

    when I click on the ‘turn on’ button this error is generated

    Warning: copy(/home/techtiku/public_html/wp-content/plugins/mochi/mochigames/566.swf) [function.copy]: failed to open stream: No such file or directory in /home/techtiku/public_html/wp-content/plugins/mochi_plugin_13/mochi.php on line 193

    I think maybe this is the cause on why there is no game published in the post. Could help me resolve this problem. A thousand thank yous in advance.

  • Pingback: Looking for someone with talent to build a custom wp arcade - Talk Arcades()

  • Lhurey

    How do i integrate the mochi leaderboard?

  • ccs

    If I am use this plugin , I need to download from mochimedia and upload to my own server to earn money ?
    or
    I am no need to upload to own server, just using this plugin game feed ( it’s mochimedia server) also can earn money ?

    I’m a publishers….

    another question is : This plugin is match for other theme ?

    thanks…..
    sorry for my poor english….

  • Hello,
    I just installed version 1.3 and I have two problems

    The first is on the manage games page i get thumbnails of the game all the way acros the page and have a hard time reading the text that is under neat the thumbnails.

    The second is on the site featured games page when I try to get the next group of games i get the same group it seems stuck on page 1

  • i am sorry to add more problems but i cannot play the games at all.

    also the tags and catagory links do not work.

    and yes all games are loded and turned on.

  • Hello again I managed to fix all but one of the problems.that is the one on the manage games page i get thumbnails of the game all the way acros the page and have a hard time reading the text that is under neat the thumbnails.

    The other problems were a daya base problem which has been fixed.

    my other question is has any one installed the Mochi API package yet if so how gig you do it?

  • hi, emanuel..
    Why my site game, cannot be rated? help me.. thanks..

  • when I try to get new games I get

    Warning: file_get_contents(http://www.mochiads.com/feeds/games/xxxxxidxxxxxxx/all/all?format=json&limit=100&offset=0): failed to open stream: Connection timed out in /usr/local/pem/vhosts/260029/webspace/httpdocs/wplilowlgames/wp-content/plugins/mochi_plugin_13/mochi.php on line 287

    any idea on how I can fix this

  • Hi,

    I am working on a fresh site with no other plugins.

    When I open setup I get the error message
    “Warning: mkdir() [function.mkdir]: No such file or directory in /homepages/32/d109506319/htdocs/Kidsgames/wp-content/plugins/mochi_plugin_13/mochi.php on line 166

    Mochi Directory not created – try again”

    Any advice would be appreciated

  • Hi

    I ve just got the plugin but I get the following error message on the set up page

    mkdir() [function.mkdir]: No such file or directory in /home/wwwgames/public_html/wp-content/plugins/mochi_plugin_13/mochi.php on line 166

    Any idea?

  • Hi! When I go to set up, mochi directory, it return error file not found /home/etc/.. does not exist.

    Yes, thats because the site got moved. So how can I update this without reinstalling everything?

  • CD

    Hi,

    I got this error message after installing the plugin – “Warning: mkdir() [function.mkdir]: No such file or directory in /home/cosmetol/public_html/onlinefreegamestoplay.org/wp-content/plugins/Mochi_WP_plugin_13/mochi.php on line 166
    Mochi Directory not created – try again” – How do I try again?

    The games have been posted but when I click on them no games are showing and the game titles (which should be linked to the games) are not clickable.

    I then tried to manually insert the embedded code for published game into its post but still no game is showing. How does this work anyway?

    Thanks for the plugin though.

  • The error from mochi.php on 166 is caused because the plugin directory name should be “mochi” and not the zip file name of “mochi_plugin_13”.

    Just rename the directory before activating the plugin. You may have to deactivate, delete and reinstall.

    Also some servers do not allow the mkdir function, so you may also have to create a directory inside the “mochi” directory called “mochigames”.

    Now if I only knew how to enter my mochi ID so I could earn revenue?

  • Lee

    I think you should edit the line in mochi.php
    I’ll show you how,
    In line 286.
    Edit:
    http://www.mochiads.com/feeds/games?format=json

    and change it to:
    http://www.mochimedia.com/feeds/games/XXXX/?format=json

    where XXXX denotes your publisher ID. Let me know if you still need help, you can contact me via email.

  • I have been trying to make it work…

  • Pedro

    hy, i still can´t get this plugin, to work, it says all the time no games at the moment, can anyone help me?

  • Z

    Lee, I have seen your message, but your links are broken.
    Can u upload them again? It will be very helpfull for my arcade site.

    Sincerely thanks.

  • hi, i downloaded and installed triqui MochiAds Arcade plugin. everything went fine, but when i wanted to play any of those games, it wouldn’t start. can you help?
    thanks
    martin

  • i was try your plugin, but the problem same as martin, games wouldn’t start. anyway thanks for this great free plugin, i hope i can fix it.

  • hi very good ,BUT the page shows only 8 games at maximum how can I increase them
    tks

  • I cant use your plugin,cause the turn on button dont work..
    thaanks

  • this error apper to me when i enter on “setup”

    Mochi Directory

    Mochi Directory already created at /home/games600/public_html/wp-content/plugins/mochi/mochigames
    Categories

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

  • TheMario

    Can you help me

    i receive this error on “setup” page;

    Mochi Directory

    Warning: mkdir() [function.mkdir]: Unable to access /home/ysn/public_html/blog/wp-content/plugins/mochi/mochigames in /home/ysn/public_html/blog/wp-content/plugins/mochi_plugin_13/mochi.php on line 166

    Mochi Directory not created – try again

  • @Mohamed Fayed
    @TheMario

    …you two work to rush i think so…

    Hint: plugins files to plugins folder /wp-content/plugins
    themes files to themes folder /wp-content/themes

    mochi_plugin_13 mochi –> plugins
    triqui themes folder

    Good luck!

  • I found error, when I feed the games “50 new games found” but when I manage the games “No games with these search options” It is already marked as NEW.

    Can you help me..what is wrong with it?

  • StiLL no feed i reinstalled a million time and still there is no feed “no new games at the moment” I am useing byethost id there is any mather

  • I think the mochi feed reader broken again.

  • breakerNews

    I think mochi changed their feeds, how do we update it?

  • breakerNews

    Hello, I encounter a problem. As of august 17.
    I tried to get the mochi game feeds and found new and old games but when I go to manage games, it is not showing any games to install.

    how do we fix this?

    thanks

  • The mochi game feed structure was changed, again.
    Do this, again:

    And a text column to wp_mochi (the table with all games) called “achievements_enabled”

    The code is

    $query = “ALTER TABLE $table_name ADD achievements_enabled TEXT NOT NULL AFTER languages;”;
    $wpdb->query($query);

    Cheers

  • Dominik Zoyke: Thanks, it works!

  • Doing what “Lee” and “Dominik Zoyke” said, it will work.

    Thank you!

  • Hello! Please help me.

    I have correctly setup your mochi plagin(no errors in setup page). In “Feed Games” page I have 100 new game and 0 old every time. And in “Manage Games” I have nothing(

    what I must do?

  • on my page manage game, there is a message “No games with these search options” please help me…

  • Its Works!
    Thanks Emanuel Thanks Dominik Zoyke

  • For Error

    ### Mochi Directory ###

    Warning: mkdir() [function.mkdir]: Unable to access /home/ysn/public_html/blog/wp-content/plugins/mochi/mochigames in /home/ysn/public_html/blog/wp-content/plugins/mochi_plugin_13/mochi.php on line 166

    Change Code in file (mochi.php)
    $creation = mkdir($dir,0777);
    with
    $creation = $old = umask(0); mkdir($dir,0777); umask($old);

  • Can you help me for publiser your games on my site? please email me if you can its

  • Hi, Emanuele Feronato

    All initially went fine, after doing a few times and managed updates, now that happens only post game are updated, while the swf files it did not participate,

    games that can last updated at check in my web: http://www.topgame.web.id

    help me, what should I do ….

    thanks before ..

  • Dan

    I must be missing something about how to add games for posting to my website. When I use the Feed Games menu, all game titles are displayed in green, meaning they are considered “new”. I’m unable to select any to ad, and if I go into the Manage Games window, I do see games that the status is set as new, but they don’t aren’t the same as the ones on the Feed Games that I just loaded. Also any attempt to load from an offset other than 0 in the Manage Games form give a result of no game s found.

    Anyone have some insight they can share with me?

  • Dan

    My issue is resolved once I read over the post by Lee on May 27, 2011. He said and I Quote:

    I think you should edit the line in mochi.php
    I’ll show you how,
    In line 286.
    Edit:
    http://www.mochiads.com/feeds/games?format=json

    and change it to:
    http://www.mochimedia.com/feeds/games/XXXX/?format=json

  • Dominik Zoyke >>> how i can do it??? where?

  • Billy

    Just thought I’d help…

    Instead of doing what Dominik Zoyke posted, since he left no other specific instructions,

    You can run the following as a SQL query in PHPMYADMIN:

    ALTER TABLE wp_mochi ADD achievements_enabled TEXT NOT NULL AFTER languages

    Tested and works (for me at least)

  • Thanks Billy. That worked for me.
    I tried to run Dominik Zoyke it throwed me some error.

  • ardi

    ardi2000-online.tk ………No duplicated games found

  • @Alex
    I wrote the lines into the mochi.php file, function mochi_table(), before the last line ‘echo “Table “.$wpdb->prefix.”mochi…’. After that I klicked on ‘Setup’ of the MochiAds Arcade Plugin.

    @Tommy
    What kind of error did you get?

  • yanni

    @ Dominik Zoyke

    I tried your fix and I get a syntax error:

    Parse error: syntax error, unexpected T_STRING in /home/yanni1/public_html/xn--mxafcqbvt1d.com/wp-content/plugins/mochi/mochi.php on line 432

    any ideas on how to fix this?

    TIA

  • Please, help me

    I have the same problem

    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”

  • I have the same problem for triqui 1.3 version.

    this is my error code::

    Unpacking the package…

    Installing the theme…

    The package could not be installed. The theme is missing the style.css stylesheet.

    Theme install failed

    can you please help me

  • Hi,

    I wanted to know how I can put out more games per page? I only have 10 hours every page I would like to put more.

    Thank you.

  • I solved thanks anyway.

  • Francesca

    Buonasera Emanuele, chiedo scusa ma so’ scrivere solo in italiano.. :-(

    Purtroppo, come altri sopra, non riesco a far scaricare il files dei giochi e non riesco a capire cosa sbaglio, potresti darmi qualche dritta? Grazie, Francesca

  • Pingback: Cara mudah membuat situs games Online dengan Wordpress | Situs Wacana Pendidikan dan Teknologi Informasi()

  • jason

    I have the same problem for triqui 1.3 version.
    nothing happens on last page – Manage Games page.
    just “No games with these search options”
    who can help me Thanks

  • I’ve just set up an arcade site, and I had the same problem as jason, Dave, and many others had (no games on the “Manage Games” page).

    What solved my problem is the post from Dominik Zoyke on August 21, 2011 at 4:09 pm. Thanks! :)

    Before, I also did what Lee suggested on May 27, 2011 at 10:13 pm. I’m not sure if that made a change at all, I didn’t notice.

  • Bob

    I have the same problem for triqui 1.3 version.
    nothing happens on last page – Manage Games page.
    just “No games with these search options”
    who can help me Thanks

    Same as jason. What do I do?

  • Cannot redeclare handle_mochi() (previously declared in D:\Website\htdocs\demo\wp-content\plugins\mochi\mochi.php:16) in D:\Website\htdocs\demo\wp-content\plugins\mochi_plugin_13\mochi.php on line 34

    I get this error when i click active this plugin

  • when i click on Feed Games.
    i loaded 100 games and then i click manage game, i get note ” No games with these search options ”

    i don’t know what happen ? please help me

    thank you

  • Will this work on WordPress 3.3.2?

  • To all those who cant find games in “Manage Games” menu.

    Run Sql query in phpMyAdmin query window as stated by Billy

    Here is the command:
    ALTER TABLE wp_mochi ADD achievements_enabled TEXT NOT NULL AFTER languages

    Credits goes to Billy

    (I have just tested it and it works!!)

  • I keep on getting this line when i want to turn the publisher on.

    Warning: copy(/home/playonli/public_html/play/play/wp-content/plugins/mochi/mochigames/4.swf) [function.copy]: failed to open stream: Permission denied in /home/playonli/public_html/play/play/wp-content/plugins/mochi/mochi.php on line 193

    publisher feature: OFF (you aren’t getting publisher revenue from this game)

    can anyone help me?

  • Hello,

    The plugin isn’t working, how can I fix it? I’m getting this error message: Warning: mkdir() [function.mkdir]: No such file or directory in /hermes/web06/b646/moo.jarojaro/tests/game/wp2/wp-content/plugins/mochi_plugin_13/mochi.php on line 166

  • I have done Edit Theme Inline 17 and then upload this plugin but when activated i got mesages

    Fatal error: Cannot redeclare mt_toplevel_page() (previously declared in /home/warpage/public_html/gamezone/wp-content/plugins/mochi/mochi.php:47) in /home/warpage/public_html/gamezone/wp-content/plugins/mochi_plugin_13/mochi.php on line 61

  • Pingback: WordPress - Triqui MochiAds Arcade Plugin for WordPress()

  • Billy

    @Melawe
    go to /wp-content/plugins/mochi_plugin_13/ and create a directory there named mochigames. Please note that the files in 1.3 were meant to override the existing plugin. I would recommend renaming mochi_plugin_13 to just mochi

    @Syera
    Same issue. You’re using both 1.2 and 1.3 of the plugin. Replace the files in /mochi/ with the files in /mochi_plugin_13/ and remove /mochi_plugin_13/

    I’m still having some issues with this plugin myself. I really wish the author would step in. You have a lot of people willing to support this plugin/theme project of yours.

  • Hi There

    I had the same issues, it wouldnt feed new games, i fixed that by changing the mochi feed from the default/current (mochimedia.com/feeds/games..) to: http://feedmonger.mochimedia.com/feeds/query/?q=&limit=25&offset=0

    Than manage wouldn’t update, it needed to have ‘stage3d’ in the mochi table.
    Go to PHP my admin, click on the right database, click on wp_mochi, click on structure then scroll down to the bottom where you can add a column.

    I added 1 column at the end,

    name = stage3d
    type = text

    then press start, it will add the column to wp_mochi and it should work again.

    This fixed it for me, hope it will for you!

  • My website can not feed morethan 100 games.

  • Max

    Insaf, Hi There, thank you, guys! It’s working!

  • Disciplyne

    Does anyone know how to change this script so that it uses cURL instead of fopen to grap the feed? I tried, but haven’t figured out how to pass the parameters ‘limit’ and ‘offset’ using cURL.

  • Disciplyne

    Also when using cURL, because it creates a file to be read from, I’d think parsing it into an xml file would be the best, but not sure how to get that done either so that the rest of the mochiads plugin can read from it.

  • if find this problem

    Warning: file_get_contents(http://www.mochiads.com/feeds/games?format=json&limit=99&offset=0) [function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.0 403 Forbidden in /membri/onlinegamer/wp-content/plugins/mochi/mochi.php on line 287
    No new games at the moment…

  • Excellent article. I’m dealing with a few of these issues as well..

  • Daniyal Ahmad

    i’ve upgrade my host to php 5.5 and MySQL: MariaDB-server-10.0.22-1.el6.x86_64.

    and now my site was displayed error 500.

    is there any way to fix it ?

    thank you

  • big thanks bro, my wordpress problem was solved now. once again , big thanks,
    sorry for my bad english :)

  • Hello,

    The plugin isn’t working, how can I fix it? I’m getting this error message: Warning: mkdir() [function.mkdir]: No such file or directory in /hermes/web06/b646/moo.jarojaro/tests/game/wp2/wp-content/plugins/mochi_plugin_13/mochi.php on line 166