Welcome Guest, Not a member yet? Register   Sign In
DBlog v1.8: Out now! - Demo and Documentation included!
#21

[eluser]davidbehler[/eluser]
It's been a while but I have finally finished version 1.5 of DBlog!
New features:
- Multi-language support
- Galleries

Changelog version 1.5:
Added support for custom 404 error (thx to louis http://ellislab.com/forums/viewthread/109430/ for providing the solution)
- application/errors/error_404.php
- application/views/*/system_404.php
- application/config/routes.php
Removed admin folder for each design, the views for administration are now in _admin folder. That way changes to the administration don't have to be done in every design
- application/models/admin/config_model.php
- application/controllers/admin/*.php
- application/views/_admin/*.php
- application/views/*/admin (deleted)
- images/styles/_admin/*
- images/styles/*/admin (deleted)
Updated some controllers to show 404 errors instead of redirecting to post/overview
- application/controllers/post.php
- application/controllers/search.php
- application/controllers/tag.php
- application/controllers/archive.php
- application/controllers/category.php
- application/controllers/file.php
- application/controllers/page.php
Fixed a typo in class name
- application/controllers/post.php
- application/controllers/search.php
- application/controllers/tag.php
- application/controllers/archive.php
- application/controllers/category.php
- application/controllers/file.php
- application/controllers/page.php
- application/controllers/start.php
- application/controllers/system.php
- application/libraries/MY_Controller.php
Fixed a potential bug that would increase download count even though the file was requested by a robot that followed the mirror link
- application/controllers/file.php
Multi-language support for the front-end
- application/views/*/*.php
- application/libraries/MY_Pagination.php
- application/libraries/MY_Language.php
- application/models/common_model.php
- application/controllers/archive.php
- application/controllers/category.php
- application/controllers/file.php
- application/controllers/page.php
- application/controllers/post.php
- application/controllers/search.php
- application/controllers/system.php
- application/controllers/tag.php
- application/config/form_validation.php
- application/config/autoload.php
- application/language/*/*.php
- available languages so far are english and german
Small changes to the admin navigation
- application/views/_admin/navigation.php
Added galleries
- application/views/_admin/navigation.php
- CREATE TABLE IF NOT EXISTS `gallery` (
`gallery_id` bigint(20) NOT NULL auto_increment,
`gallery_title` varchar(100) NOT NULL,
`gallery_is_public` tinyint(1) NOT NULL,
PRIMARY KEY (`gallery_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ;
- CREATE TABLE IF NOT EXISTS `picture` (
`picture_id` bigint(20) NOT NULL auto_increment,
`picture_title` varchar(100) NOT NULL,
`picture_file_name` varchar(255) NOT NULL,
`picture_gallery_id` bigint(20) NOT NULL,
`picture_thumb_file_name` varchar(255) NOT NULL,
PRIMARY KEY (`picture_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ;
- CREATE TABLE IF NOT EXISTS `post_gallery` (
`post_gallery_id` bigint(20) NOT NULL auto_increment,
`post_gallery_post_id` bigint(20) NOT NULL,
`post_gallery_gallery_id` bigint(20) NOT NULL,
PRIMARY KEY (`post_gallery_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ;
- INSERT INTO `right` (`right_id` ,`right_name` ,`right_title`) VALUES (NULL , 'can_manage_galleries', 'Can manage galleries');
- application/controllers/admin/gallery.php
- application/models/admin/gallery_model.php
- application/views/_admin/gallery_overview.php
- application/views/_admin/gallery_add.php
- application/views/_admin/gallery_edit.php
- application/views/_admin/picture_edit.php
- application/config/form_validation.php
- application/config/dblog_config.php
- temp
- CHMOD 777
- images/gallery
- CHMOD 777
- application/config/form_validation.php
- application/config/autoload.php
- application/views/_admin/post_edit.php
- application/views/_admin/post_add.php
- application/views/_admin/config_edit.php
- application/controllers/admin/post.php
- application/models/admin/post_model.php
- application/models/post_model.php
- application/libraries/MY_Model.php
- application/config/routes.php
- application/controllers/gallery.php
- application/models/gallery_model.php
- application/views/*/system_css.php
- application/views/*/index.php
- application/views/*/post_view.php
- js/scriptaculous.js
- js/lightwindow.js (Thanks to Kevin Miller http://stickmanlabs.com/lightwindow)
- images/styles/*/arrow-down.gif
- images/styles/*/arrow-up.gif
- images/styles/*/prevlabel.gif
- images/styles/*/nextlabel.gif
- images/styles/*/black.png
- images/styles/*/black-70.png
Added a pic of the moment (short Potm) module
- appliction/views/*/index.php
- application/modules/Potm.php
Adjusted the structure of the sidebar by changing some css styles and html for the standard design
- application/views/standard/system_css.php
- application/views/standard/sidebar.php
Increase version number
- application/config/dblog_version.php

Further info on the new features and changes can be found in my blog!

You can download the new version from here!

Greet
waldmeister
#22

[eluser]davidbehler[/eluser]
Judging by the download numbers from my website and the views this thread got quite some people are using DBlog or have atleast tried it.

Now I would like to know if there's anything you miss or that's not working as you like think it should.

Right now I'm working on a rather minor update (compared to the last ones) that will primarily enhance the usability of the admin panel, something that's really needed if you ask me Wink

I'm looking forward to your input!

waldmeister
#23

[eluser]China-cier[/eluser]
tks waldmeister so quickly !i remembered last week i was reading 1.4

some pages have this error

A PHP Error was encountered

Severity: Notice

Message: Uninitialized string offset: 1

Filename: modules/Akismet.php

Line Number: 40
#24

[eluser]davidbehler[/eluser]
Have you setup a valid Akismet API key? That might be the cause of the problem.

Anyway, I have fixed that problem and it will be included in 1.6.

To fix this for you:
Replace line 40 in application/modules/Akismet.php
Code:
$this->key_is_valid = $response[1] == 'valid';
with this
Code:
if(isset($response[1]))
{
    $this->key_is_valid = $response[1] == 'valid';
}
else
{
    $this->key_is_valid = FALSE;
}

Hope that helps
#25

[eluser]China-cier[/eluser]
tks waldmeister.
at that time i did not pay attention to Akismet.
good function
i've fixed.
#26

[eluser]iqbal_kidd[/eluser]
hi...
i tried your newest dblog..
when i open modules page, i got this..
=========================================
A PHP Error was encountered
Severity: Notice

Message: Uninitialized string offset: 1

Filename: modules/Akismet.php

Line Number: 40

A PHP Error was encountered
Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at D:\wwwroot\dblog5\system\libraries\Exceptions.php:164)

Filename: helpers/url_helper.php

Line Number: 541
=================================================
could u help me please??
thanks, you did a great job..
keep moving bro..
#27

[eluser]davidbehler[/eluser]
It's a known problem and was already reported by "China-cier".
See below for a temporary solution!

DBlog version 1.6 will be out soon!

[quote author="waldmeister" date="1243372142"]Have you setup a valid Akismet API key? That might be the cause of the problem.

Anyway, I have fixed that problem and it will be included in 1.6.

To fix this for you:
Replace line 40 in application/modules/Akismet.php
Code:
$this->key_is_valid = $response[1] == 'valid';
with this
Code:
if(isset($response[1]))
{
    $this->key_is_valid = $response[1] == 'valid';
}
else
{
    $this->key_is_valid = FALSE;
}

Hope that helps[/quote]
#28

[eluser]sigork[/eluser]
dblog.sql

Code:
CREATE TABLE IF NOT EXISTS `right` (
...
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=18 ;
...
(17, 'can_manage_files', 'Can manage files'),
(18, 'can_manage_modules', 'Can manage Modules'),
(18, 'can_manage_galleries', 'Can manage Galleries');

18 twice. Should that be so?

Thanks.
#29

[eluser]davidbehler[/eluser]
No, the id should be unique.

Just use id 19 for the last entry, I will fix it in the new release!
#30

[eluser]davidbehler[/eluser]
Another day ,another update: Version 1.6 out now!!

New features:
- Sidebar management: Managing the content of the sidebar is now much easier than before and you don't have to manually add new elements to a list. Instead DBlog offers a comfortable table that allows you to sort and de-/activate items in the sidebar on the fly!
- Module options: Modules can now create their own pages in the administration and add them to navigation in the admin panel (e.g. the new database backup module) using multiple new hooks.

Changelog:
Improved display of tabs in admin panel
- application/views/_admin/system_css.php
Moved search to sidebar in ablaze design
- application/views/ablaze/sidebar.php
- application/views/ablaze/index.php
- application/views/ablaze/index_system.php
Reworked the way the sidebar is handled
- CREATE TABLE IF NOT EXISTS `sidebar_item` (
`sidebar_item_id` bigint(20) NOT NULL auto_increment,
`sidebar_item_title` varchar(100) NOT NULL,
`sidebar_item_name` varchar(100) NOT NULL,
`sidebar_item_description` text NOT NULL,
`sidebar_item_is_active` tinyint(1) NOT NULL,
`sidebar_item_order_by` bigint(20) NOT NULL,
PRIMARY KEY (`sidebar_item_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=14 ;
- INSERT INTO `sidebar_item` (`sidebar_item_id`, `sidebar_item_title`, `sidebar_item_name`, `sidebar_item_description`, `sidebar_item_is_active`, `sidebar_item_order_by`) VALUES
(1, 'Pages', 'pages', 'A list of all pages', 1, 2),
(2, 'Archives', 'archives', 'Post archive', 1, 3),
(3, 'Categories', 'categories', 'A list of all used categories', 1, 4),
(4, 'Links', 'links', 'A list of all links', 1, 6),
(5, 'Blogs', 'blogs', 'A list of all links to blogs', 1, 7),
(6, 'Tags', 'tag_cloud', 'A cloud of all used tags', 1, 5),
(7, 'Search terms', 'search_cloud', 'A list of recently used search terms', 1, 8),
(8, 'Newest files', 'newest_files', 'A list of the 5 newest files available for download', 1, 9),
(9, 'Top file', 'top_files', 'A list of the 5 top files', 1, 10),
(10, 'Newest galleries', 'newest_galleries', 'A list of the newest galleries', 1, 11),
(11, 'Search', 'search', 'Search form', 1, 0),
(12, 'Meta', 'meta', 'Meta links', 1, 12),
(13, 'Post overview', 'post_overview', 'Link to post overview', 1, 1);
- ALTER TABLE `config`
DROP `config_navigation_items`,
DROP `config_navigation_show_search`,
DROP `config_navigation_show_meta`,
DROP `config_navigation_show_post_overview`;
- application/models/common_model.php
- application/libraries/MY_Controller.php
- application/views/*/sidebar.php
- application/language/*/dblog_lang.php
- application/views/_admin/config_edit.php
- application/config/form_validation.php
- application/models/admin/config_model.php
- application/views/_admin/navigation.php
- application/controllers/admin/sidebar.php
- application/models/admin/sidebar.php
- application/views/_admin/sidebar_overview.php
Rearragend some items in the admin navigation
- application/_admin/navigation.php
- application/_admin/system_css.php
Enhanced design selection
- application/views/_admin/config_edit.php
- images/styles/*/example.png
Enhanced comment management
- application/views/_admin/comment_overview.php
- application/views/_admin/system_css.php
- application/config/form_validation.php
- application/controllers/admin/comment.php
- application/models/admin/comment_model.php
Fixed a bug in Akismet module (Thanks to China-cier and iqbal_kidd for pointing this one out)
- application/modules/Akismet.php
Moved Google Analytics support from config to own module
- application/modules/Google_Analytics.php
- application/modules/config/Google_Analytics.php
- application/views/*/index.php
- application/views/*/google_tracker.php (deleted)
- application/views/_admin/config_edit.php
- application/config/Form_validation.php
- application/models/admin/config_model.php
- ALTER TABLE `config` DROP `config_google_tracker_id`
Moved social bookmarking from config to own module
- application/modules/Social_Bookmarking.php
- application/modules/config/Social_Bookmarking.php
- images/modules/*
- application/views/*/post_view.php
- application/views/*/page_view.php
- application/views/_admin/config_edit.php
- application/config/Form_validation.php
- application/models/admin/config_model.php
- application/libraries/View.php
- ALTER TABLE `config` DROP `config_show_social_bookmarking_links`
Fixed a bug that allowed you to delete a page even though it was set as start page
- application/views/_admin/page_overview.php
Enabled modules to add their own options page to the administration and call custom hooks
- application/libraries/Modules.php
- application/views/_admin/navigation.php
- application/controllers/admin/modules.php
- application/models/admin/module_model.php
- application/views/_admin/module_options.php
Added a module that allows you to create backups of your dblog database
- application/modules/DB_Backup.php
Added a function to module library that removes modules from the database that are no longer present in the modules folder
- application/libraries/Modules.php
Duplicate ID in right table (Thanks to sigork for this)
- UPDATE `right` SET right_id = 19 WHERE right_id = 18 and `right_name` like 'can_manage_galleries';
Increase version number
- application/config/dblog_version.php

In fact I was aiming to release this version in about a week and use the additional time to add some more modules and write some documentation to make it easier for you to develop your own modules, custom designs and translations but as there were 2 bugs pointed out to me I decided to release this version earlier to fix them as soon as possible!

Download from my website: click here




Theme © iAndrew 2016 - Forum software by © MyBB