Blog ahead

Detta är ett enkelt bloggsystem skrivet i PHP med vissa små delar lånade från PunBB (databasklassen för MySQL och parser.php). Systemet är licensierat under GPL och en första alphaversion är på väg. Det som behövs innan en alphaversion är släpps är ett installationsscript.

Just nu arbetar jag vidare på systemet, på de funktioneerr som kommer att komma i den andra alphareleasen. Changeloggen för detta finns längre ner på denna siden. Jag skriver även inlägg om hur utvecklingen fortgår i min blogg.

Changelog:

2007-05-16: * Fixed bugs in SQL-syntax where LEFT JOIN is used, they should now work in MySQL 5 2007-03-24: * Added support for displaying of user avatars in posts 2007-03-13: * Changed how unique visits are counted, now mysql_num_rows() is used instead of looping through the result and do $unique_visits++ 2007-03-11: * Fixed so post.php can redirect to a referer when editing a comment 2006-09-17: * Moved the position of the execution of onpost.php and oncomment.php in post.php, this makes it possible to stop insertion of posts and comments from modules * Made it possible to have modules without any menu alternative visible for them 2006-07-06: * Added trim() on all messages before they are handeled in post.php * Fixed bug in admin_links.php: when a link can't be added the form data aren't erased anymore 2006-06-13: * Fixed the statistics generation for total visits and unique visits * The function for IP bans is not working 2006-06-12: * Began wiriting the ban function, it's now possible to add a ban to the database 2006-06-11: * Changed the header in delete.php which said "delete post" even when a comment were delted 2006-03-24: * Users can now change their (or others) password if they has the correct permissions set 2006-03-22: * Changed the logout link text from "logout" to "logout: nickname" * Bug fix: edit_profile.php can now be viewed by non logged in users if their group has permission * Bug fix: display of poll results when viewing a specific post * Bug fixes: RSS generation, added to every item and changed the date format used 2006-03-20: * Bug fix: The module list should now be generated in a more correct way * Bug fix: Deletion of comments should now work as expected 2006-03-19: * Added permissions for changing own and others nicknames 2006-03-18: * Added poll support, may be buggy * Bug fix: unescaption in leftbar.php 2006-03-17: * Bug fix: RSS link is no longer displayed when RSS feeds is disabled * Bug fix: quick and dirty hack to fix escaping of database queries 2006-03-16: * Bug fix: display of latest comments * Moved the placement of module initiation in common.php, to make sure the modules has system settings, permissions, user data etc available * Began working on poll function 2006-03-14: * Added option to require login to view the system * Bug fix: several places where $db->prefix where left out in queries 2006-03-13: * Groups with just MANAGE_USERS set can not change which group a user belongs to, MANAGE_GROUPS is also needed * Added: change of uid and nick for comments and posts by a user which is beeing deleted from the system * Modified index.php to meet the requirements of the new group based permission system * Modified delete.php for same reasons as above * Rewrote post.php from scratch * Fixed: It's no longer possible to remove the groups set as "default group" and "guest group" * If logo.png or logo.jpg exists in the current style's directory it will be used as logo at the top of every page * Added viewprofile.php * Bug fix: warning when $perm_new_post where empty in post.php and common.php 2006-03-10: * Bug fix: RSS generation, posts in sections which isn't displayed on the index page are no longer added to the RSS feeds * Administration of user groups added * Added option to select which group to use for non logged in users * Added option to select which group to use for newly created users * Added option to turn off RSS feeds * Changed "Admin"->"User settings" to "Admin"->"Users", this page is now used to manage users * Added "Profile" to main menu, used to change user settings (previously "Admin"->"User settings") * Added check if the new nickname already exists in the database when changing a user's nickname * Added user management 2006-03-09: * Bagan working on support for user groups 2006-03-08: * Added character encoding to RSS feeds (ISO-8859-15 for the moment), seems like I forgot that when I added the function * Added spam control: a minimum delay between posts and comments (changeable in the admin panel) * Changed how links in the menu is displayed when the page the link links to is visible, instead of just skipping making a link as before a link is created with a different class set 2006-03-02: * Bug Fix: parsing of posts and comments in index.php (again), now it should work as expected 2006-02-26: * Added error handeling for all queries in index.php 2006-02-25: * Bug fix: removing of escape chars in posts * Extended the module interface with OnPost, OnComment, OnLogin and OnLogout events 2006-02-24: * Added option for chosing which sections to display in index.php * Added option for chosing which sections to be displayed in the section listing * New page: admin_modules.php - for administration of modules * Added loading of modules in common.php * New sub dir: modules * Basic module support * Added options for chosing which "boxes" that should be displayed * Added functions for error handeling * Using db classes from PunBB 1.2 (http://www.punbb.org) instead of classes from PunBB 1.1 Release: Blog ahead v0.1