Talking about Monetize, Php and Users contributions.
Do you want to create your custom arcade website without using popular arcade scripts or WordPress plugins? Maybe with a Mochi integration?
That’s what Gabriel Bianconi did, and he wants to share his script with us.
It’s a simple, interesting script dedicated to all developers looking for a quick way to integrate Mochi games into their custom arcade sites.
« Hello. My name is Gabriel Bianconi. I’m a 16 years old Brazilian student and I’m interested in game and web development.
I’ve recently launched my first arcade website, PlugB.com. I decided to create my own script for two reasons: to improve my PHP skills and to have a more customizable website.
One of the features I integrated to my admin was the MochiAds ‘Post Game to my Site’ button. Since I add games manually (I don’t want to import all Mochi games), this saves me a lot of time.
When I tried to search about this feature, I realized that there is no tutorial about this online (at least, I couldn’t find one). I searched a little more and found a few scripts about this.
They were integrated to some arcade scripts, so I couldn’t just copy and paste them. But it was a start.
The script that I most used was from Timothy E. Archer.
After a few tests, I’ve created a working script:
Firstly, you’ll need a MochiAds publisher account.
After registering and adding your website, go to the Settings page.
In the bottom of the page, below ‘Auto Post Settings’, set the ‘Auto Post Method’ to ‘Custom built script’ and the ‘Auto Post URL’ to the URL of your script.
Now the PHP part:
Remember to remove the sample game tag in the final version.
Thank you for reading the tutorial. I hope this helps you. Please let me know what you think about this and visit my arcade website. »
Never miss an update! Subscribe, and I will bother you by email only when a new game or full source code comes out.