Million Dollar Script 2.1 WordPress Integration Plugin

This plugin allows you to integrate Million Dollar Script 2.1 with WordPress.

How To Use

Make sure you have the latest version of Million Dollar Script 2.1. You can find the version on the bottom left of the admin screen. It should be dated on or after 2020.05.13.

In MDS admin go to the Main Config and at the bottom enable the WP integration option. Enter the URL to your WP install, without the trailing slash. For example https://milliondollarscript.com

Next download, install and activate the WP integration plugin.

This will enable some shortcodes that you can use to display MDS in your pages in WordPress.

Grid

Grid pages will display the grid image itself.

[milliondollarscript id="1" display_method="ajax" align="center" width="1000px" height="1000px" mds="https://pixels.example.com" lang="EN" type="grid"]

Users

The users page will link to the /users MDS page which allows users to login and order pixels.

[milliondollarscript id="1" display_method="ajax" align="center" width="100%" height="auto" mds="https://pixels.example.com" lang="EN" type="users"]

List

The list page shows a list of all ads on all grids.

[milliondollarscript id="1" display_method="ajax" align="center" width="100%" height="auto" mds="https://pixels.example.com" lang="EN" type="list"]

Stats

This displays a stats box showing sold and available pixels.

[milliondollarscript id="1" display_method="ajax" align="center" width="150px" height="60px" mds="https://pixels.example.com" lang="EN" type="stats"]

Thank you

This is used to thank users and complete orders properly. It is redirected to from after they come back from payment processors. The gateway parameter must be set to the appropriate payment gateway. Currently a separate page must be created for each payment gateway you use. This is only necessary if not using WooCommerce.

[milliondollarscript id="1" display_method="ajax" align="center" width="100%" height="auto" mds="https://pixels.example.com" lang="EN" type="thankyou" gateway="PayPal"]

Validate

This page is required for users to validate their account after they register.

[milliondollarscript id="1" display_method="ajax" align="center" width="100%" height="auto" mds="https://pixels.example.com" lang="EN" type="validate"]

id – The grid id # as show in the MDS admin under Manage Grids.

display_method – Controls how to display the page. Valid values are ajax or iframe. Currently AJAX only works for the grid and stats but the rest will come soon.

align – Controls the alignment. Valid values are left, right or center.

width and height – You can set these to any valid CSS values for width and height. Note that you can use auto for the height to adjust the height of the iframe automatically.

mds – This is the URL to your Million Dollar Script installation. No trailing slash.

lang – This is the language code to use for the page. The language code can be found in the MDS admin under Languages.

type – The type of page you want to display. Valid values are grid, users, list, stats, thankyou or validate.

gateway – This is only required on the thankyou type. Valid values are _2CO, authorizeNet, bank, check, CoinPayments, external, LiqPay, PayPal or VoguePay.

WooCommerce Integration

Currently this is not implemented and only offered as part of the premium install service. However I will hopefully have time to add it to this plugin eventually.