Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation on 07/04/2017 in all areas

  1. 1 point
    Hello I've been working on a small project to create a better version of our beloved pkoSite. It's still a work in progress but just in case anyone wants to use it and help around with testing or whatever, I'm releasing a minimal version to the public. This version includes Register Login Downloads News Admin panel for both downloads and news I'll update it to include more things such as: Ranking Item Mall Credit Mall IMP Auction Credit Auction Wheel of Fortune Admin panel Logging system ( log all actions performed by admins ) If you have any feature you want , you can let me know in the comments, I'll be happy to add that! I've used the latest database libraries ( SQLSRV ) and laravel as the framework. You'll be able to run this in the latest version of any webserver you want. You can obtain the site from here. Installation guide: First off, you need SQLSRV drivers. Find out what version of PHP you're running and then download those drivers from here. Most of your webservers have thread safety enabled so you're going to want to use the _ts dll files. Take the sqlsrv pdo DLL and the normal sqlsrv dll and put them into your php( this folder will be in your webserver folder. For xampp users -> xampp/php.) -> ext folder. Now, open your php.ini which you'll find in your php folder. Search for "extension=php_" and you should come across something like this. as you can see at the end, I have the sqlsrv dlls added. Do the same for your php.ini file. Now, go here and scroll down till you see this : download the ODBC driver that corresponds to the sqlsrv driver versions you download and install them. That's all for the SQLSRV part. Now, depending on whether you just want to mess around with the website or you want to put it up for production, you have two options. You start a temporary server using artisan (it'll work on the port 8080 and won't interfere with your website) You can edit your HTTPD.CONF file to direct it to the website's public folder and the website will run directly from your browser by going to localhost or your website name. ( WARNING : No other folders on your webserver will be accessible to you if you use this method, i.e, you won't be able to use another site like http://localhost/site2. It won't work.). If you want to go the first route, open your command prompt. Direct yourself to the webserver directory and type in php artisan serve This'll start a server on the 8080 port and you can use the website as you wish. If you want to go the second route, go to your apache folder, and open the httpd.conf file. It should be in the conf folder. Search for the DocumentRoot. It'll be something like this : As you can see I've already changed my document root to the directory that my website is in. Do the same. That does it for the webserver/sqlsrv configuration. Now, adding your database configurations to the website. In the root of the website, there's a file called .env.example. Open the file. Most of the configs are self-explanatory. Change the SITE_INFO_DB_FILE to wherever you've stored your website. Go to google and check their RECAPTCHA page to obtain your RECAPTCHA PUBLIC and PRIVATE keys and just stuff those in the respective fields. IMPORTANT STEP HERE You have to remove the .example part from the .env file, i.e open your word editor and click "save as", choose the "all files" option and remove the .example from the end of the name, so the file is just called .env Open your command prompt, direct yourself to the website directory and type in php artisan key:generate This'll generate a key specific to your website. Go to the database folder(topSite/database/) and just create an empty "SiteInfo.sqlite" file. Run php artisan migrate --database=SiteInfo --path=database/migrations/SiteInfo php artisan migrate --database=GameDB --path=database/migrations/GameDB And you're done! If you want to change the title of the site or whatever, you can find the website's name in the config->app.php file. Let me know if there are any issues, I'll fix them as soon as I can. Some screenshots from the website
  2. 1 point
    Okay, so I don't have a lot of free time. I'm pretty much free barely an hour or two every day. I'd still like to work on this, so I'm just planning out what to do. I'm actually considering doing a complete revamp of the thing so it might be a while. Have learned a lot since I started this project, could probably increase code quality a million times lol. I'll post an update here in a couple of days detailing what I've decided and what I'll be doing.
  3. 1 point
    Could you please read the thread? Lol Sorry I have a tight schedule. I'll update on the status in the evening today
  • Newsletter

    Want to keep up to date with all our latest news and information?
    Sign Up
×
×
  • Create New...