Important. Be sure that the game, supports Leaderboard widget!
If you want to show highscores of your members you can add a Leaderboard widget to your index page.
In the game catalog you'll see a special icon.
Click the Customize button and add Games widget from the top
Choose the place you wish and configure your widget
You should insert a slug of the game in the settings
Slug can be found on the game page in left corner
Set height, width and title of the widget
Download and install plugin
After installation you will have 20 pre-installed games
If you want to be entirely integrated with mochimedia and earn money from advertisements and game coins, insert leaderboard widgets and post results on the newsfeed you should register on as a publisher
After successful registration, configure plugin in the admin panel
Go to configuration page (http://your_domain/admin/mochigames/settings)
Insert your Publisher ID. You can find your Publisher ID on the Settings page of your mochimedia account
Insert your Publisher Secret Key
Your domain should be verified
Enter your domain to the field on image and click Save
Copy your verification code and insert it to the verification code field on the plugin configuration form
Save your settings in the plugin
Click the Verify Domain button
After successful verification set Autopost Settings on the bottom of the Publisher Settings page
Select Auto Post Method: Custom built script
Insert Auto Post URL: http://your_domain/mochigames/autopost
Now you'll have ability to post games to your site directly from the admin panel
Remember. If you want to be able to earn money with games you should upload the swf file to your folder and insert full path to the embed code, for example:
Upload your swf to the folder "ow_static/plugins/mochigames/swf/abc/game.swf"
<embed src="www.wallox.com/ow_static/plugins/mochigames/swf/abc/game.swf" menu="false" quality="high" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" width="320" height="240">