Menu

How to install

djjmz
  1. Create MYSQL database and upload db.sql file.
  2. Go to inc folder and open congig.php file.
  3. MYSQL connection details write in this lines:
    define("DB_HOST", "");
    define("DB_USER", "");
    define("DB_PASS", "");
    define("DB_NAME", "");
  4. If you want add new theme change this line name:
    DEFINE("THEMES","vine2");
  5. If you want change title, description and keywords update this lines:
    DEFINE("TITLE","Best Vine");
    DEFINE("DESCRIPTION","Click To Watch The Vine");
    DEFINE("KEYWORDS","vines, best vines, funny vines, funny videos, jokes, video, vids, interesting, humor, creative, clever");
  6. In this line you must add Facebook profile ID:
    DEFINE("FBADMINID","100002640621300");
  7. Go to https://developers.facebook.com/apps. Create new apps. In "Website with Facebook Login" write this adress: http://youdomain/admin/my.php. Now copy apps id and secret. Paste to this lines:
    DEFINE("FBID","371299886340631");
    DEFINE("FBSECRET","63ff9bbbeb3ee156bba7dde0b6155ewe");
  8. If you want to this you can add Google Analytics code:
    DEFINE("ANALYTICS","");
  9. Next three lines is used for ads code.
    DEFINE("SMALLADS","");
    DEFINE("FULLADS","");
    DEFINE("HEADERADS","");
  10. Save config. All files and folders upload to ftp.
  11. Chmod this folder and file: templates_c and sitemap.xml with 777 right.
  12. Check website, if don't get any error all is done.
  13. Go to admin panel: http://youdomain/admin
    Username: admin
    Pass: 123456

If you want create new sitemap.xml just enter in browser http://youdomain/sitemap.php or you can do this with cronjobs.
If you need RSS news go here: http://youdomain/rss.php

If you have problem or question write for me. Good day!