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

[eluser]davidbehler[/eluser]
I keep'em coming and coming! Dblog v1.3 is out now and has 2 great new features!

1. Support for social bookmarking services:
Below every post and page there are 4 links to some well known social bookmarking services, for now that's Digg, reddit, Stumbleupon and Delicious. If there are other services you want me to support, just drop me a commet and I will add them to the default templates.

2. Download manager:
It's now possible to offer files for download using the build in download manager. You can provide a title, description and multiple mirrors for every file. The actual file to every file is hidden so that the included download counter should always hold tell you how often a file was actually downloaded. You can add a list of the 5 newest or the 5 most downloaded files to the navigation. I know this is not a typical feature for a blog, but as I needed this one I thought I might add it to Dblog anyways and if you don't want to, you don't have to use it.

Changelog:
Added support for social bookmarks
- ALTER TABLE `config` ADD `config_show_social_bookmarking_links` BOOL NOT NULL ;
- application/models/admin/config_model.php
- application/views/*/admin/config_edit.php
- application/views/*/post_list.php
- application/views/*/post_view.php
- application/views/*/page_view.php
Added missing js files for syntax highlighting in other languages than PHP
- js/shBrushJScript.js
- js/shBrushSQL.js
- js/shBrushCss.js
- js/shBrushJava.js
- application/views/*/index.php
Fixed a problem with syntax highlighting when using the ablaze design
- application/views/ablaze/system_css.php
Added download manager
- CREATE TABLE IF NOT EXISTS `file` (
`file_id` bigint( 20 ) NOT NULL AUTO_INCREMENT ,
`file_title` varchar( 100 ) NOT NULL ,
`file_description` text NOT NULL ,
`file_date_add` datetime NOT NULL ,
`file_mirror` text NOT NULL ,
`file_download_count` bigint( 20 ) NOT NULL ,
`file_is_online` tinyint( 1 ) NOT NULL ,
`file_size` varchar( 100 ) NOT NULL ,
PRIMARY KEY ( `file_id` )
) ENGINE = MYISAM DEFAULT CHARSET = utf8;
- INSERT INTO `right` (`right_name`, `right_title`) VALUES ('can_manage_files', 'Can manage files');
- application/controllers/admin/file.php
- application/controllers/file.php
- application/models/admin/file_model.php
- application/models/file_model.php
- application/models/common_model.php
- application/config/form_validation.php
- application/views/*/admin/navigation.php
- application/views/*/admin/file_edit.php
- application/views/*/admin/file_add.php
- application/views/*/admin/file_overview.php
- application/views/*/admin/config_edit.php
- application/views/*/file_view.php
- application/views/*/file_overview.php
- application/views/*/system_css.php
Added check to avoid calling not existing methods when fetching data for navigation
- application/models/commen_model.php
Increase version number
- application/config/dblog_version.php

You can get the new version either by browsing the downloads or follow this link.

Greetz
David
#12

[eluser]iqbal_kidd[/eluser]
hi, i'm using your "dblog" now.
it's very usefull, but i have a problem
when i want to add a new post

" http://localhost/dblog/index.php/admin/post/add "
i get a message like this :

" Forbidden
You don't have permission to access /dblog/D:/wwwroot/dblog/system/application/plugins/fckeditor/editor/fckeditor.html on this server.


--------------------------------------------------------------------------------

Apache/2.0.54 (Win32) PHP/5.1.2 Server at localhost Port 80 "

i can't find out the solution
could you help me, please.
i'm a newbie one..

thanks
best regards ;-)
#13

[eluser]davidbehler[/eluser]
Hey,
nice to see someones using DBlog Smile

Now to your problem:
I've never encoutern this before, even though i've set up dblog on 2 different sites, but my first guess is, that you have a .htaccess file that prevents the access.

Did you move your application folder into your system folder? That's atleast what the path says: 'dblog/system/application'. Just curious about this...guess it's propably not related to the problem.
#14

[eluser]iqbal_kidd[/eluser]
you're right..
i moved the application folder to system folder
i have moved it back
and the problem is solved..
thank u so much..
good job bro..
nice to meet you who know CI better than me..
;-)
thanks for your help..
#15

[eluser]davidbehler[/eluser]
Ok, so it was related...who could have guessed ^^
Glad it works now!

hf
#16

[eluser]iqbal_kidd[/eluser]
yupz, you're right..
#17

[eluser]davidbehler[/eluser]
Another day, another update with some fixes and new features!

Changelog of version 1.4:
Added meta-tags to default themes
- ALTER TABLE `config` ADD `config_meta_description` VARCHAR( 255 ) NOT NULL ,
ADD `config_meta_keywords` VARCHAR( 255 ) NOT NULL ;
- application/views/*/index.php
- application/views/*/admin/config_edit.php
- application/config/form_validation.php
- application/models/admin/config_model.php
Added missing RSS link to ablaze theme
- application/views/ablaze/index.php
Added missing trackback links
- application/views/*/post_view.php
Fixed caption of several buttons in administration
- application/views/*/admin/comment_edit.php
- application/views/*/admin/config_edit.php
- application/views/*/admin/file_add.php
- application/views/*/admin/file_edit.php
- application/views/*/admin/group_add.php
- application/views/*/admin/group_edit.php
- application/views/*/admin/link_add.php
- application/views/*/admin/link_edit.php
- application/views/*/admin/page_add.php
- application/views/*/admin/page_edit.php
- application/views/*/admin/post_add.php
- application/views/*/admin/post_edit.php
- application/views/*/admin/user_edit.php
Added module system
- CREATE TABLE IF NOT EXISTS `module` (
`module_id` bigint(20) NOT NULL auto_increment,
`module_name` varchar(100) NOT NULL,
`module_description` text NOT NULL,
`module_version` varchar(10) NOT NULL,
`module_is_active` tinyint(1) NOT NULL,
`module_file_name` varchar(100) NOT NULL,
`module_url` varchar(255) NOT NULL,
PRIMARY KEY (`module_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
- application/controllers/admin/module.php
- application/models/admin/module.php
- INSERT INTO `dblog`.`right` (`right_id` ,`right_name` ,`right_title`) VALUES (NULL , 'can_manage_modules', 'Can manage modules');
- application/views/*/navigation.php
- application/views/*/module_overview.php
- application/libraries/modules.php
- application/models/post_model.php
- application/models/admin/comment_model.php
- application/views/*/admin/index.php
Changed Akismet library into a module for the new module system
- application/libraries/Akismet.php (moved to application/modules/config)
- application/config/akismet.php (deleted)
- application/modules/Akismet.php
- application/modules/config/Akismet.php
- application/models/post_model.php
- application/models/admin/comment_model.php
- application/models/admin/config_model.php
- application/config/form_validation.php
- application/controllers/admin/comment.php
- application/views/*/post_view.php
- application/views/*/admin/comment_overview.php
- application/views/*/admin/config_edit.php
- application/config/autoload.php
- ALTER TABLE `config` DROP `config_enable_akismet_spam_protection`
Updated admin css
- application/views/*/admin/system_css.php
- application/views/*/admin/index.php
Added exemplary module that shows random quotes in administration
- application/modules/Quotes.php
Added tabs to some admin views using my new javascript library Tabr
- application/libraries/View.php
- application/controllers/admin/config.php
- js/prototype.js
- js/effects.js
- js/tabr.js
- application/views/*/admin/config_edit.php
- application/views/*/admin/system_css.php
- application/views/*/admin/index.php
Increase version number
- application/config/dblog_version.php

Biggest change is the new module system! This allows for 3rd party modules that enhance/change the standard range of functions! While implementing the module system I have changed my Akismet spam protection library into a module and added another exemplary module that shows random quotes in the administration.

Throughout the system I have defined a number of hooks (so far there are only 5) that can be used by modules to call functions that add functionality like spam protection or simply change the layout like the quote module.

If you want to create a module and don't know how to get started or need additional hooks, just send me a message and I will help in whatever way I can!

Download: click here!

Greetz
waldmeister
#18

[eluser]China-cier[/eluser]
Dear waldmeister:
Thanks for yours code.
I've downed the version 1.4.
and is runing in my pc.it is wonderful.
just one suggestion in "dblog.sql" maybe you lost the table "module".
thanks
Cheers
#19

[eluser]davidbehler[/eluser]
Yeah, seems like I missed that one.

I have added the module table to the dblog.sql and uploaded the updated archive!

You don't have to get the new archive, just execute the CREATE TABLE from the changelog!
#20

[eluser]iqbal_kidd[/eluser]
thanks for your code...
it's great.. ;-)




Theme © iAndrew 2016 - Forum software by © MyBB