Denken24
Aus Denken24
denken24 ist ebenfalls der Projektname für ein Open Source Content Management System (CMS) basierend auf sBLOG. Viele Blogs auf der ganzen Welt basieren auf sBLOG weil es ein sehr einfaches und stabiles System für den privaten Web Log ist.Ursprünglich wurde sBLOG von Servous entwickelt und unter GPL Lizenz veröffentlicht. Leider ist die Weiterentwicklung im Jahre 2006 mit der Version 0.7.3 beta von Servous beendet worden. Zu dieser Zeit hatte ich jedoch schon mehrere Seiten basierend auf sBLOG veröffentlicht und habe mich an die Weiterentwicklung gemacht.
Inhaltsverzeichnis |
Why denken24
Development is a key part of GPL and denken24 expands sBLOG with thwe following features:
- Multi author, multi level controll
- Embedded Scheduler
- Embedded Image Gallery
- File upload
-
Simplified BBCodeWYSIWYG, based HTML - Simplified and W3C conform HTML and CSS code
- Font size switcher
- Hidden categories
- Help and security pages
Of course: There are other and more powerfull Web Log Engines like Wordpress or Nucleus, but denken24 was started years ago and why should I trash it now?
denken24 sites
Basic Concepts
Multi User & Access Level
denken24's main idea was to introduce multi user capabilities to sBLOG. Admin can create new users and assign multiple access level to them. Access Level allow user to create, edit or delete the given entities:
- Access Level 1
- Unused
- Access Level 2
- Unused
- Access Level 4
- Unused
- Access Level 8
- Unused
- Access Level 16
- Unused
- Access Level 32
- Posts, Images
- Access Level 64
- Categories, Links
- Access Level 128
- Settings, Static Posts, Topmenu, Blocks, Censor, Users
Access levels are simply added to assign a mix of different levels to a user. Access Level 1 to 16 are not used by denken24 and are available for future use.
Only users that are enabled for Access Level 32 can create, edit or delete posts (articles). Admins are enabled for Access Level 128 and are allowed to create new users! There is no way to delete users because this would cross out integrity of denken24: Recent changes to posts (articles) are tracked because a user can change a post that was written by another user. "Ownership" of posts will automatically change to the latest user because he is responsible for the content now. Only Admin can do "silent changes".
Categories
All posts (articles) are assigned to a specific category. This category will "summarize" all posts that share a common criteria or topic. You can order categories by assigning a number of position to them. denken24 navigation will list all categories except "hidden categories". Position = 0 will hide this category from being listed in the category list. Hidden categories are used for posts that are more or less internal or available by other links as there are:
- Contact information
- Legal information
- Security information
Scheduler
You can assign a date to each post if that post should be shown in the embedded scheduler or "latest dates" list. This feature can simply used to lead visitors to events or news.
Version History
Here is a history of code changes. Dates are given in yyyymmdd format:
- Build 201009xx
- Major update that really improves denken24!
- Integration of TinyMCE, the free WYSIWYG content editor
- various changes to file structure
- various changes end enhancements
- See Update to Build 201009xx for update instructions
- Build 20100726
- fixed a bug in syndication.php
- minor changes to _user_level.php
- minor changes to inc/tpl_comments_add.php. Comments default setting is "public"
- renaming of upload/logo.gif
- Build 20100725
- code correction and improvement
- script renaming
- improved file and image handling
- new feature: pruning of unused files
- Build 20100220
- some changes to styles "green", "red" and "amber" in _style/
- some changes to inc/func_bbcode.php to correct issues with [code] tag
- Build 20100215
- fixed a serious bug in img_prune_do.php (Thanks to ludwigschule.com)
- Build 20100109
- fixed a bug in js/js_quicktags.js (Thanks to ludwigschule.com)
- minor changes to styles
- minor changes to SQL dump
- deleted duplicate blocks
- Build 20080907
- fixed a bug in index.php
- Build 20080905
- fixed a bug with editing static pages
- Build 20080831
- fixed a bug with static pages
- fixed a bug in search script
- Build 20080829
- new directory naming
- international BBCode
- Build 20080617
- first version on web
Installation
sBLOG was originally written by Servous under GPL and the latest version is sBLOG 0.7.3 Beta from 03/09/2006. With respect to Servous's work, I have modified almost all scripts and made some changes to the database as well.
At this time, there is no way to upgrade other versions of sBLOG to denken24 by script, because denken24 uses another database structure! But you can easily modify you existing database to make it work with denken24! See denken24 Database Structure for more details.
To install denken24, you will need the following environment and files:
- Apache-MySQL-PHP environment. I am using XAMPP(lite)
- Administrative access to your web server (here: XAMPP) to create MySQL-Databases and Users
- A little knowledge of PHP to edit some configuration files
- Media:denken24.zip (denken24 blog engine, latest build)
- Media:denken24-sql.zip (denken24 database)
Now follow these steps to install denken24 to your web space:
Step 1: Download and Install Blog Engine
Download and extract the denken24 blog engine (Media:denken24.zip) to your htdocs root-directory. This step will create a new folder denken24 and copy all necessary files and sub-folders.
If your web server is already running, you can enter http://localhost/denken24/ or http://<domain>/denken24/ on your web browser. At this time you will see a lot of error message because there the database missing.Step 2: Create Database
If not done before, start your local Apache/MySQL engine, log into phpMyAdmin (pma) and create a new MySQL-database. If you use XAMPP on your computer, just enter http://localhost/phpmyadmin/ on your web browser.
Write down the database name for future usage.
Step 3: Create Database User
Create a new MySQL-user to access this new database. This user will need the following privileges: SELECT, INSERT, UPDATE, DELETE
Write down the database username and the database password for future usage.
Step 4: Download and Import SQL-Dump
Download denken24 database (Media:denken24-sql.zip) and import this MySQL-dump into the new database. This step will create 14 tables which all start with prefix d24_Step 5: Set Access Level
If you are using a Linux system, you have to change some privileges of the the following subdirs using a FTP-client:
- chmod(777) _upload
- chmod(777) _upload/tn
- chmod(777) _upload_file
Step 6: Modify Config File
Search for central configuration file _config.php in the htdocs/denken24 directory and assign valid information to the following variables:
- $conf_mysql_database = database name; (see Step 1)
- $conf_mysql_username = database username; (see Step 2)
- $conf_mysql_password = database password; (see Step 2)
There are two important path values in _config.php where you enter your path to two directories:
- $conf_doc_root is the relative path to your root dirrectory
- $conf_web_root is the URL to your root dirrectory
Step 7: Open denken24 and Login
Start the Web-Browser and open denken24 by entering http://localhost/denken24/. If _config.php is well configured, you will see a new website based on denken24! There is some sample content and the CSS style defaults to green.Please log in as administrator using the following credentials:
- Username: admin
- Password: nimda
You have to enter the credentials at the bottom of the denken24 web page. Please change the administrator password!
Step 8: Check it out
One registered, you should have a look in all Administrator menu options. Most settings are self-explanatory. Here is a short explanation of most important terms:
- Files
- You can upload pdf, xls, doc, txt and zip files to your web server.
- These files will be used in Posts for providing extra informations beside Images.
- You have to upload a file before referencing it in Posts, using the
[file=name]code. - Images
- You can upload jpg, png and gif images to your web server.
- These images will be shown in Posts.
- You have to upload an image before referencing it in Posts, using the
[img=name]code. - Posts
- Each text, article, blog-entry is a post (note).
- denken24 makes use of a simplified BBCode that will be replaced by an WYSIWYG-editor in future.
- Each post is assigned to a Category.
- Comments
- Every visitor of your web site can drop a comment to each post.
- To avoid misusage, visitors have to enter a captcha. Comments are filtered. See Censoring menu option.
- Categories
- Every Post is assigned to a single Category.
- One Category can be selected as Start category. See Settings menu option.
- See Categories for more details.
- Blocks
- Blocks provide additional features to our web site.
- Blocks are shown in the denken24 menu, on the right or left hand side.
Update to Build 201009xx
denken24 Build 201009xx blog engine introduces several enhancements. Main focus of this version is the implementation on an What-You-See-Is-What-You-Get (WYSIWYG) editor for pages. I decided to implement TinyMCE, the free JavaScript WYSIWYG content editor. Developed by http://www.moxiecode.com/
denken24 Build 201009xx blog engine is compatible to former denken24 database versions. If you want to update an existing installation to Build 201009xx, you have to follow these steps:
- Save all uploaded images (_upload/...) and all uploaded files (_upload_files/...)
- Rename images folder (_upload/...) to _images/...
- Rename files folder (_upload_files/...) to _files/...
- Edit the configuration file _config.php that is available on your web space home directory and insert a new line that looks like this:
$conf_language = 'de'; // 'en', 'de'
This new line is responsible for setting the language to English (en) or German (de) - Save the MySQL database that is defined by configuration file _config.php
- Delete all files and folders that don't start with an underscore(_). Your web space home directory will look like this:
_files/
_images/
_style/
_config.php
_user_level.php - Download latest version of denken24 blog engine (Media:Denken24.zip) and extract it into a temporary directory on your hard disc
- Copy all files and directories from hard disc to your web space home directory, except files and folders that start with an underscore(_)
- Open your web browser and login to your denken24 site as an administrator. This enables you to convert all articles to the new format that is based on HTML code. "Simplified BBCode" is obsolete with denken24 Build 201009xx!
- When logged in as administrator, click on Posts --> Convert Posts to start converting all posts from "simplified BBCode" to native HTML code. Some features of "simplified BBCode" are not available any more but TinyMCE will greatly improve denken24!
Now, denken24 Build 201009xx is ready to be used!
Text Editor
denken24 before Build 201009xx makes use of a simplified BBCode syntax to design and structure the posts. Simplified BBCode makes use of squared brackets like [b] to indicate bold style. Most codes are available in German and English abbreviations.Text formatting
- [f]text[/f]
- Fettschrift
- [b]text[/b]
- Bold chars
- [k]text[/k]
- Kursivschrift
- [i]text[/i]
- Italic chars
- [_]text[/_]
- underline, unterstrichen
- [-]text[/-]
- strikeout, durchgestrichen
- [farbe=col]text[/farbe]
- Farbe
- [color=col]text[/color]
- Color
- [[]
- Squared bracket open, Eckige Klammer auf
- []]
- Squared bracket closed, Eckige Klammer zu
Text structure
- [!]text[/!]
- Topic, Überschrift
- [absatz]
- Absatz
- [p]
- Paragraph
- [--]
- Line, Linie
- […]
- more, weiterlesen
- [liste]text[/liste]
- Liste
- [list]text[/liste]
- List
- * text
- List item, Listeneintrag
- [kasten]text[/kasten]
- Kasten um einen Text
- [frame]text[/frame]
- Frame around a text
- [box=title]text[/box]
- Box
- [html]text[/html]
- HTML-Code
- [code]text[/code]
- Command line code (preformatted text)
Linking
- [link=url]text[/link]
- Link (url = http://...)
- [ilink=script]text[/ilink]
- Internal Link to another (php) script
- [email=addr]text[/email]
Images
- [bild]name[/bild]
- Bild
- [bild=name]
- Bild
- [img]name[/img]
- Image
- [img=name]
- Image
- [kleinbild]name[/kleinbild]
- Vorschaubild
- [kleinbild=name]
- Vorschaubild
- [thumb]name[/thumb]
- Thumbnail image
- [thumb=name]
- Thumbnail image
- [beitrag=num]text[/beitrag]
- Verknüpfung mit einem Beitrag
- [post=num]text[/post]
- Link to another post
- [thema=num]text[/thema]
- Verknüpfung mit einem Thema
- [cat=num]text[/cat]
- Link to a category
Files
- [datei]name[/datei]
- Dateiverknüpfung
- [datei=name]
- Dateiverknüpfung
- [file]name[/file]
- File download
- [file=name]
- File download
Links and References
- opensourcecms.com Check out PHP-based Open Source Demos

