Bludit v0.1 beta5

Locked
User avatar
diego
Site Admin
Posts: 773
Joined: Sat May 16, 2015 2:53 pm
Been thanked: 1 time
Contact:

Bludit v0.1 beta5

Thanks all users who reported bugs!

Changelog:
- Multi-language support
- Dashboard changes
- Bug fixes++

Site: http://www.bludit.com
Download: http://www.bludit.com/bludit_latest.zip
Forum: http://forum.bludit.org
User avatar
Fred
Legend Bludit
Posts: 236
Joined: Wed Jun 24, 2015 2:14 pm
Location: France
Contact:

Hi Diego,

Thank for update !

For get notification login page, edit login.php by this:

Code: Select all

<!doctype html>
<html>
<head>
	<base href="<?php echo HTML_PATH_ADMIN_THEME ?>">
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <title>Bludit Login</title>

    <link rel="stylesheet" href="./css/kube.min.css">
    <link rel="stylesheet" href="./css/default.css">
    <link rel="stylesheet" href="./css/css/font-awesome.css">

	<script src="./js/jquery.min.js"></script>
	<script src="./js/kube.min.js"></script>
</head>

<body>

<!-- ALERT -->
<script>
$(document).ready(function() {
	<?php
		if( Alert::defined() ) {
			echo '$("#alert").message();';
		}
	?>
});
</script>
	<?php
		if(Alert::defined()) {
			echo '<div id="alert" class="tools-message tools-message-red">'.Alert::get().'</div>';
		}
	?>
</div>

<div id="head">
	<nav class="navbar nav-fullwidth">
		<h1>Bludit</h1>
	    <ul>
	    	<li><a href="<?php echo HTML_PATH_ROOT ?>"><?php $Language->p('Home') ?></a></li>
	    </ul>
	</nav>
</div>

<div class="units-row">

	<!-- CONTENT -->
	<div class="unit-centered unit-40" style="max-width: 500px">
	<div id="content">

	<?php
		// Load view
		if( Sanitize::pathFile(PATH_ADMIN_VIEWS, $layout['view'].'.php') ) {
			include(PATH_ADMIN_VIEWS.$layout['view'].'.php');
		}
	?>

	</div>
	</div>

</div>
<?php
echo "DEBUG: Load time: ".(microtime(true) - $loadTime).'<br>';
?>
</body>
</html>
I don't view the the display Tags in theme, is forget or feature ?
Strongly support themes for the next;)

Edit: Your Docs page is out => http://docs.bludit.com
╰☆╮Bludit╰☆╮ is a open source and community contributions are essential to project success!
You are looking for a light forum based Json? Try my project Flatboard, it is free. ;)
Sorry for my little english, i'm french :oops:
User avatar
diego
Site Admin
Posts: 773
Joined: Sat May 16, 2015 2:53 pm
Been thanked: 1 time
Contact:

Hi,
the notification on Login.php works without the javascript, but there is a problem in this line:

Code: Select all

	<?php

		if(Alert::defined()) {
			echo '<div class="tools-alert">'.Alert::get().'</div>';
		}

		// Load view
		if( Sanitize::pathFile(PATH_ADMIN_VIEWS, $layout['view'].'.php') ) {
			include(PATH_ADMIN_VIEWS.$layout['view'].'.php');
		}
	?>
You need to change for this:

Code: Select all

	<?php

		if(Alert::defined()) {
			echo '<div class="tools-alert tools-alert-red">'.Alert::get().'</div>';
		}

		// Load view
		if( Sanitize::pathFile(PATH_ADMIN_VIEWS, $layout['view'].'.php') ) {
			include(PATH_ADMIN_VIEWS.$layout['view'].'.php');
		}
	?>
I forgot add tags on the theme, I will work with themes in this days.

Docs site is up now! :D

Regards
costa
Ssr. Bludit
Posts: 18
Joined: Tue Jun 23, 2015 7:27 pm

Hi Diego, Just tried beta5 but i've some error messages in local only with Wamp & UwAmp php5.5.15 (works find in webserver):

Site & admin:

Code: Select all

( ! ) Strict standards: Declaration of dbPosts::getDb() should be compatible with dbJSON::getDb() in A:\JOB\Prog\UwAmp\www\bludit.05\kernel\dbposts.class.php on line 292
There are others messages, If you want more details I can send you screenshots.

Thanks,
User avatar
Fred
Legend Bludit
Posts: 236
Joined: Wed Jun 24, 2015 2:14 pm
Location: France
Contact:

I have the same with Costa, the full errors logs:

Code: Select all

Strict Standards: Declaration of dbPosts::getDb() should be compatible with dbJSON::getDb() in /www/public_html/projects/bludit/kernel/dbposts.class.php on line 292

Strict Standards: Declaration of dbPages::getDb() should be compatible with dbJSON::getDb() in /www/public_html/projects/bludit/kernel/dbpages.class.php on line 353

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /www/public_html/projects/bludit/kernel/dbposts.class.php:292) in /www/public_html/projects/bludit/kernel/helpers/session.class.php on line 39

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /www/public_html/projects/bludit/kernel/dbposts.class.php:292) in /www/public_html/projects/bludit/kernel/helpers/session.class.php on line 39
╰☆╮Bludit╰☆╮ is a open source and community contributions are essential to project success!
You are looking for a light forum based Json? Try my project Flatboard, it is free. ;)
Sorry for my little english, i'm french :oops:
User avatar
diego
Site Admin
Posts: 773
Joined: Sat May 16, 2015 2:53 pm
Been thanked: 1 time
Contact:

Fixed, files on Github, I'm working on themes, when I have complete some theme I will release the version 0.1beta 6 with this bug fixed. Thanks for report it.
User avatar
Fred
Legend Bludit
Posts: 236
Joined: Wed Jun 24, 2015 2:14 pm
Location: France
Contact:

Hi Diego,

I test the new files in github and the verification of the directory 'content' that fact before it is created, so that we have an error:

Code: Select all

Writing test failure, check directory content permissions. (ERR_205)
Edit PATH_CONTENT is not create in install() ;)

Fixed with this in checkSystem() (line 46):

Code: Select all

    // 7=read,write,execute | 5=read,execute
    $dirpermissions = 0755;
    
    if(!mkdir(PATH_CONTENT, $dirpermissions, true))
    {
        $errorText = 'Error when trying to created the directory=>'.PATH_CONTENT;
        error_log($errorText, 0);
    }
Last edited by Fred on Tue Jul 07, 2015 9:50 am, edited 1 time in total.
╰☆╮Bludit╰☆╮ is a open source and community contributions are essential to project success!
You are looking for a light forum based Json? Try my project Flatboard, it is free. ;)
Sorry for my little english, i'm french :oops:
User avatar
Fred
Legend Bludit
Posts: 236
Joined: Wed Jun 24, 2015 2:14 pm
Location: France
Contact:

Possible to add french language in github ?
PS: in language file, you have 2 same strings:

Code: Select all

"html-and-markdown-code-supported": "HTML and Markdown code supported"
The string "manage-pages" and "manage-posts" is not translate.

In "Pure" theme, possible to add the homepage link?
Thx for you reactivity :)
╰☆╮Bludit╰☆╮ is a open source and community contributions are essential to project success!
You are looking for a light forum based Json? Try my project Flatboard, it is free. ;)
Sorry for my little english, i'm french :oops:
User avatar
diego
Site Admin
Posts: 773
Joined: Sat May 16, 2015 2:53 pm
Been thanked: 1 time
Contact:

Hi Fred,
I forget upload the content folder on github.
You don't need create the directory because the installer make the directory recursively when create the directory posts.

You can make a pull request to the Bludit GitHub repository, with this you can upload you owns changes to GitHub and I will accept later.

Thanks you for your help !
Abrazo
User avatar
Fred
Legend Bludit
Posts: 236
Joined: Wed Jun 24, 2015 2:14 pm
Location: France
Contact:

Ok, Thx.
╰☆╮Bludit╰☆╮ is a open source and community contributions are essential to project success!
You are looking for a light forum based Json? Try my project Flatboard, it is free. ;)
Sorry for my little english, i'm french :oops:
Locked