1.Go to http://download.cnet.com/Navicat-Lit...html?tag=mncol and download Navicat Lite. (this is a free software)
2.Go to http://www.facebook.com/developers/?ref=sb and install this app if you have not already.
2A-Next below help on the right side Click "+ Set Up New Application" or use this link to go to it. http://www.facebook.com/developers/createapp.php
2B-After you create it you will be on the Edit page for that app. Now on the left side click on "Canvas".
2C-Now set your "Canvas Page URL". (This will be where users will be going to play your app on facebook)Go to the botton of the page and click "Save Changes". Now back your browser up 1 page and click on "Canvas". (We are doing this to get back to the page we were on to set the "Canvas Page URL")
2D-Now after that is set you now want to set "Canvas Callback URL"," Bookmark URL" and the "Render Method".
-Canvas Callback URL= This is the url where you are installing the app on your server. Make sure to include a trailing slash like this /. It Should look like http://www.yourwebsite.com/ instead of http://www.yourwebsite.com
-Bookmark URL= This will be the SAME full url as the "Canvas Page URL"
-Render Method= set this to FBML
2E-Click "Save Changes" at the bottom of the page. Now STAY on the page it sends you to after you clicked "Saved Changes", we will later be using the info on this page during the istall of your app.
3. Now in cpanel you will need to make a MySQL database and user then connect them with full privileges. Write down this info for later use during the install.
3A-Download the caro_make.sql file off of your server(Will be in the same folder as these instructions were found)
3B-In cpanel Go to into PhpMyAdmin. Click on the databse on the left side that you made for this install.
3C-click "import" near the top right of this page.
3D-Below where it says "import" in the "File to import" box you will want to browse for the sql file you downloaded earlier.
3E-After that go to the bottom right of the page and click "Go".
-It will automatically make you database for you.
4. Go to http://www.whatismyip.com/ and copy your ip address.
4A- in cpanel go to "Remote MySQL" ( it is in the same area as "php MyAdmin and "MySQL Databases")
4B- Below where it says "Add Access Host" paste your ip address and click "Add Host"
OK NOW SINCE THE PREP FOR THE INSTALL IS DONE WE CAN NOW MOVE ON TO THE ACTUALL INSTALL OF YOUR APP.
1. Open Navicat.(the software you installed during the PREP)
-NOTE: if at any point navicat cannot connect to your database you will have to get in touch with your host provider and let them know what you are doing and that navicat cannot connect. If you host cannot help you at all with this you will then need to pay me $10 to finish the installation.
1A-In the upper left click on the big Connection Button beside The Manage Users Button.
1B-Now Click MySQL.
-Connection Name: name this connection anything you want.
-Host name/IP address: This will be the IP address of your site.(you can find this in cpanel near the bottom left below stats)
-Username: This will be the username you made for your database.
-password: This will be the password you made for youy database.
-Now Click "Ok"
1C- Now below Connections click on the Connection Name you made.
-It will now connect to your database.
1D- Now click on the database you made Earlier.
- a new page will pop up with the list of tables related to your database.
1E- Click on setting.
-In here you will want to replace the list of things below.
-gang_name: This is the gang name such as mob, crew, gang, clan, mafia. This is NOT your app name.
-godfather_name: this is the name of your godfather such as Godfather, Boss, The Boss.
-favorpoints_name: This is the name of your favor points such as Favors, Favor points, Mafia points.
----the below info can be found on ending page explained in 2E in the PREP.
-api_key: This is the series of letters and numbers below "API Key".
-secret: This is the series of letters and numbers below "Application Secret".
-server_url: This is the Url To where to are installing the app on your server. This is the same url as "Canvas Callback URL" as explained in 2D of the prep.
-application_url: This is the web address provided below "Canvas URL".
-application_name: This is the Name of your app.
1f- Now click the check button on the bottom left. (its the eight(8) button in from the left)
2. In your file manager go to the includes/clsgeneral.php file and edit lines 4 and 5 with that info for database connection.
3. In your file manager go to the /admin/index.php and edit line 7 with your Admin password.
-NOTE: You should now be able to see your app in action at your application url, if not you have done something wrong and should review ALL of the steps prior to this to try and find what you did wrong. Agian if you run into problems and are not able to move on you will need to pay me $10 to finish the installation.
4. On your computers desktop open up Notepad.
4A-In your file manager go to the includes/lib.php file and open it up to edit it. Copy and cut the whole page.Keep this page open. ( You will find it helpful during this process to select a little bit of the text, hover over it, right click "Select All" then right click "cut")
4B-Now paste that in the notepad.
4C-Now in notepad in the menu bar in the topleft go to "Edit","Replace..."
4D-In "find What:" put replace with favorpoints name
- "In Relace With:" put the name of you favorpoints name this is the same as favorpoints_name in 1E of the instructions above.
4E-Now click "Replace All".
4f-Now copy and cut the whole page out of notpad and paste it into the blank page you had on 4A of the instructions and click save.
4G- REPEAT # 4. OF THE INSTRUCTION WITH FILE includes/libr.php
5. On your computers desktop open up Notepad.
5A-In your file manager go to the includes/process.php file and open it up to edit it. Copy and cut the whole page.Keep this page open. ( You will find it helpful during this process to select a little bit of the text, hover over it, right click "Select All" then right click "cut")
5B-Now paste that in the notepad.
5C-Now in notepad in the menu bar in the topleft go to "Edit","Replace..."
5D-In "find What:" put replace with Godfathers name
- "In Relace With:" put the name of you Godfathers name this is the same as Godfather_name in 1E of the instructions above.
5E-Now click "Replace All".
5f-Now copy and cut the whole page out of notpad and paste it into the blank page you had on 5A of the instructions and click save.
6. On your computers desktop open up Notepad.
6A-In your file manager go to the header.php file and open it up to edit it. Copy and cut the whole page.Keep this page open. ( You will find it helpful during this process to select a little bit of the text, hover over it, right click "Select All" then right click "cut")
6B-Now paste that in the notepad.
6C-Now in notepad in the menu bar in the topleft go to "Edit","Replace..."
6D-In "find What:" put http://test.mobiawars.com
- "In Relace With:" put your server url this is the same as server_url in 1E of the instructions above.(do NOT include a trailing slash like this / after .com)
6E-Now click "Replace All".
6f-Now copy and cut the whole page out of notpad and paste it into the blank page you had on 5A of the instructions and click save.
We will now need to set up cron jobs.
7. In cpanel you need to go to "Cron Jobs" (this is usually near the bottom of the page)
7a- Below "Please choose your experience level:" click on "Advanced (unix Style)"
7B- Near the bottom left of the page click "Add Cronjob" 5 times.
AAA= This Goes in the Minute Box( do not mess with the * in the other boxes, leave them be)
BBBBBBBBBBBBBBBBBBBBBBB= This goes in the "command box", replace SERVER_URL with your server url, this is the same as server_url in 1E of the instructions.
|AAA|| BBBBBBBBBBBBBBBBBBBBBBB ||
59 GET SERVER_URL/includes/cron_process_business_payout.php > /dev/null
*/5 GET SERVER_URL/includes/cron_process_health.php > /dev/null
*/5 GET SERVER_URL/includes/cron_process_stemina.php > /dev/null
*/5 GET SERVER_URL/includes/cron_process_energy.php > /dev/null
59 GET SERVER_URL/includes/cron_process_unkeep_payout.php > /dev/null
Note: Your App is now FULLY functional, Great job! Now lets move on to the great part, making you money!
1. Go to http://apps.facebook.com/offerpalmedia/ and make an account and set up your app. (it is self explainitory)
- Your reward url is SERVER_URL/reward.php
- you can also give away points by using the offerpal test option.
-After its all set up grab your links and edit footer.php(banner link) and rogue.php(at the bottom(offers page link)) with your offerpal links
2.I would also like to suggest you make an account at rockyouads.com as a publisher to bring in extra revenue from the app. I would use the Facebook Banner (short and wide). Place those codes in the very top of header.php and very bottom of footer.php
Note: All Done!!!! Admin panel info is below!
APPLICATION_URL/admin is where your admin panel is located.
when you log into your admin panel your menu wont work, you must click on the second blue link down on the left labeled "Equipment Management" then everything will work fine. This is so that if your admin panel is broken into this will spoof them.
bir scripti denicem fakat kurulumu çözemedm tam çevirebilicek varmı
R10.net Sitesine Üye olmak ister misiniz?