Screenshot

Thanks for using cb-Blog!

About

Software: cb-Blog
Copyright 2014
Author: chris_blues <chris@musicchris.de>
Website: http://musicchris.de

A simple blog-application, written in php and a little JavaScript. It works with MySQL.
At this time, it supports the following languages:

License

This software is released under the GPL(3)-License. For details, see LICENSE.txt.
This software comes with a jQuery-JavaScript library which is released under the MIT-license.

Installation

  1. Extract the zip.
  2. Edit the file "phpinclude/dbconnect.php" with the credentials provided by your web-host!
  3. Link the blog.
    1. First, you should link the blog's CSS-files in the head-section of your HTML. Put in the line between the <head> - tags; like this:
      <head>
      [...]
      <link rel="stylesheet" href="blog/blog.css" type="text/css">
      [...]
      </head>

    2. You can include the blog itself in different ways, depending on how you actually built your website. On my site, it's currently done via a php script. Since the blog is made to be included into existing php, you can easily add it in php via:
      <?php include("blog/blog.php"); ?>
      I've created a simple example for an "index.php". There you can see, how it is done. I've commented the important lines. Make sure you pass along a $lang: $lang=english;(see my index.php).
    3. I recommend, that you link the jQuery library. It adds some nice visual effects to the comments.
      Include the following line in your HTML's head-section:
      <script type="text/javascript" src="js/jquery-1.10.2.min.js"></script>
  4. Upload the complete folder blog to your website.
  5. Folders:

    Make sure that the directory blog/admin is protected with a password!!!! This is usually done with a .htaccess and a corresponding .htpasswd file. On some hosts this is done on the admin-interface of the server.
  6. Open the blog in a browser. Goto the following adress: https://yourdomain.com/blog/admin(I strongly advise to use https!) Now the MySQL-tables should be created automatically.
  7. Now you should be good to go! Happy blogging!
  8. Edit the .css-files in the folder blog to your liking!
Have fun!
If you should have problems or some info is missing here - contact me with the email-address provided above!



Changelog

v0.11 (2015-10-19)

v0.1 (2014-07-29)