version history

3.6 ßeta


You can now prepend your sidebar links with "!" to force SSL (https) links. Especially handy for login links.

I switched around the tokens for admin/visitor links. Admin links are now prepended with "#", visitor-only links with "@". I kept mixing them up (I suspect becasue "#" is admin login on *nix systems. You will need to switch those around in your configuration page.

3.5 ßeta


* New scheme editor - now you can add edit, copy and generally mess around with your schemes using a neat web interface with live previews, groovy color picker and lots of other miscellaneous good stuff. Everything is dynamic. Enjoy!

NOTE: Whatever scheme you activate in the editor becomes your default scheme for viewing the blog. This is in place of any tedious "preview" feature you might be used to. it's instant, it's dynamic - you just wander around your blog as you normally would, except with your active in-editing scheme. Of course your guests still see whatever you have set as the default in your preferences. It's intuitive and more importantly, it's real. Goodbye "preview"!

If you hit the big reset button you can revert to viewing what your guests are seeing. Same story if you set a new default scheme in your admin preferences.

* You can now use {tokens} to access your scheme's colors inside your blogs. You simply replace your regular hex/rgba/whatever value with the name of one of your colors (as seen in your scheme editor) surrounded by curly brackets. e.g..

[h3]HEED MY [color={warning_color}]WARNING![/color][/h3]

Which would look like..

HEED MY WARNING!


Now you can use custom colors that will change dynamically to match whatever theme/scheme you are using (in addition to all your regular text/headers/etc., which will do that anyway). Simple, effective, handy.

* Improved admin page. Added a new preference type - the drop-down! Hardly original, but it makes setting many of the preferences easier, as well as prevents people from shooting themselves in the foot by entering wrong values. For example, you couldn't specify a non-existent theme because only valid themes will exist in the drop-down list, being created dynamically from the available themes. Same for all the other drop-downs.

* You can now pick up and drag the information panel around in the admin interface. It can also now be resized via a few cute buttons (the CSS resize: property is not well enough supported yet, but this JavaScript works all over). Note: normally the info panel is pinned to the bottom-right of your viewport, and will stay there if you move/resize your browser. As soon as you drag it somewhere else, it becomes pinned to the top-left of your viewport, which is why the buttons change position.

The info panel will remember its size and position for the entire session. It can also be set permanently in your preferences (advanced tab).

* Improved documentation and info tips (in the info panel)

* Added a couple more preferences to the admin page; enable/disable validation links, spammer diversion, info panel size/position, as well as the ability to specify any site-wide header and css files, though that may have been in the last version!

* Improved stylings - expanded dynamic stylings (the new scheme editor makes it a breeze!) as well as an improved selection of special characters and more.

* Added a new theme - "Natural". it's a beautiful, responsive, dynamic layout you can use as a working base for your own themes. It features multiple background image layers with transparencies and similar funky stuff, not to mention rounded everything! Check out a cool variation at http://indoorgrowdoctor.com Mmmm.

And don't forget, corzblog has always output standards-compliant XHTML/HTML5, so it's trivial to get it to look however you want, as you can see!


3.4 ßeta


* Valid HTML5 output. Oh yeah!

* Various style changes and fixes. In particular, <h1> is now used for the blog titles, creating a better document outline.

* Added a user preference for the RSS feeds time difference (previously you had to hack this into the code) and custom headers (so you can have corzblog insert your site's header into the pages, directly below the opening <body> tag).

* Rolled the last of the images into the theme prefs (no more orange rss buttons in the blue theme!).

* Discontinued support for Internet Explorer versions prior to IE8. No more pngfix!

* Removed browser-checking code, it's no longer required.


3.3 ßeta


* Added the side-links into the preference tabs, with a system to add more link groups later, of required. The link preferences are stored in an ini file, next to the main ini, in inc/data.

* Got the themes working pretty much the way I imagined. We now have a "themes" folder called "sometheme", inside is sometheme.css, which defines the styles, layout and such, and a sometheme.ini, which defines the color schemes to use in the auto-generated CSS. You can keep multiple color schemes inside your ini file, each scheme altering the colors and images for the individual elements.

You can still use a static CSS file, if that's your bag.

* I properly implemented the external password file. In the configuration tab, you can now enter the FULL SERVER LOCATION of a plain text password file, in place of the normal password string, e.g.. /var/www/vhosts/mysite/secret/.ht_password

* I gave all the preference items their own grouped tabindex property, enabling you to <TAB> through all the options in the correct sequence, one tab at a time, with the save at the very end, no mouse required! As well as making preference navigation easier, this should improve accessibility on a wide range of reading devices.

* For our convenience, I added an edit button to all blogs. If you are logged in, a wee pencil icon will appear at the foot of all regular (not perma-linked) blog views. This works for the current blogs, archives, and about-blog page. The edit link is still a quick way to get editing any specific blog, but the button is handier if you are already there.

* There is now a button to add a new link to the sidebar link groups, from directly within the preferences. By the way, to delete a link, simply delete its link text (the first input) and save the prefs.

* Your current preference tab is remembered when you save/load/navigate to the configuration/preferences. This means, for example, if you add a link to the links, you remain on the same tab. I did a little AJAX for this, so when you lock a tab (by clicking it) and leave the prefs, it is open on your return.

* There is now an option to delete blogs (a button will appear in the edit page when you are logged in).

* Added cute delete/move up/move down buttons to the link preferences, so you can re-order your links. These buttons require JavaScript to work properly. HOWEVER, I have (with some effort) enabled them to also function without JavaScript. Note, that when using this non-javascript functionality, the preferences are saved immediately on your change. There is no undo, though your last set of preferences will always be in the backup directory, should you need them.

The delete button works the same way, though for non-JavaScript editing, simply deleting the link text and saving the prefs would be quicker, especially if you plan to delete more than one link.

* Added an option to get to the advanced properties for all links (previously you would need to edit the ini file manually to alter these). If you have JavaScript disabled, the input will be open at all times. With JavaScript enabled, you can toggle it in and out of view by clicking a wee triangle button.


* Did a lot of work on the spell-checker, making it more user-friendly (and developer-friendly). Firstly it is now a proper php class. I also added the capability to add words to the dictionary and ignore words for a session. There are also cute AJAX-driven links for this (which fall-back to regular links if JavaScript is disabled)

By the way, the AJAX is all handled internally, all you need to do (after initializing the spelling class) is..

$spelling->check_ajax();

The spell-checker now provides preferences and methods (functions) for *everything*, from outputting the spell options controls to printing out cute lists and boxes of relevant information, e.g. make_list_of_bad_words().

* I moved a lot of the admin styles and layout around, making things more logical, more ergonomic. I kept going for the "Logout" button when I wanted to save my preferences!


* Fixed a bug where setting the default custom spell-checking list in the prefs was being ignored (it was using the setting in init.php).


3.0 - 3.2 alpha


* I didn't keep notes. I was working in a style that made that too difficult. The result is very pleasing.



v2.5 final


* The end of the road for regular corzblog. keep an eye out for corzblog pro, coming soon!


v2.4 beta 3

* More improvements to cbparser bbcode parsing engine, added a couple of new URL tags, namely [turl]pop-up title only[/url] and a(t last) [murl]let me know![/url], for inserting your (mashed) email address into the page.

* Happily discovered that you can now get off with using mashed email addresses in RSS/RDF feeds and they will still validate. Consider it done. Because those spambots will discover newsfeeds soon enough! I recommend you upgrade for this reason alone!

* och, a few other things, minor stuff.


v2.4 beta 2

* fixed a potential issue editing old blogs, on some servers, the post wouldn't work, and user is continually redirected back to the choose page.


v2.4 beta 1

* took advantage of cbparser's new balance tags functionality. now if a blogger leaves unbalanced bbcode or html tags in their post, corzblog will tell them so at the preview and post stages, offer them a chance to fix it.

* altered the rss 1.0 validation link back to un-htmlencoded. hopefully they've made up their mind now smiley for :erm:

* moved the sidebar links and titles into the preferences, easier to edit.

* after a successful edit of the about page, the link and auto-jump go directly to that page, instead of the main blog. it will, in fact, take you directly to whatever article you were editing. editing standard blogs now does the same thing. neat.

* added a preference for the font size in the edit area

* made all the documentation 100% cbparser compliant! I did most of it when cbparser was in its infancy, and just dropped raw html in where I needed it. cbparser does it all now, even the tables, so this entire page (the one you are reading right now) is created entirely with bbcode! if you edit any of these articles (or rather, attempt to), you can see the bbcode for yourself.
cbparser changes (also apply to corzblog)

* added extra cell types for the table tags. namely [c5]: 50% wide cell; [c5l]: same, aligned left [c5r]: and right [c2]: colspan="2" (takes up two columns); [c3]: or three columns; [c4]: or four columns. close them all with a standard [/c] tag.

* three new flavours of horizontal rule..
[hr] standard, 70% wide, centered spacer

[hr2] 50 pixels wide, left
[hr3] 100 pixels wide, left
[hr4] 150 pixels wide, left

I use this under the titles in the version history you are reading right now, amongst other things. I use these ones a fair bit.

* a [mid]middle tag[/mid] for putting things in the middle, i.e. centred. if you need any more tags, let me know!

* added DemiCode™. what this means is, you can use pretty much any html tag by simply replacing the "<" symbol with a "[", and the ">" with a "]", and you will get valid html. you can do [h3]type three header[/h3] tags like that now.

For instance, even though there is no [center] tag in cbparser, as such, this.. [center][b]this will be centered[b][/center] .. works just fine.

It feels like I'm opening a can of worms with this feature. we'll see. if it all works out, I can dump nice wee chunk of code from cbparser.


v2.3.9.3

* you can now edit the about page from within corzblog. multiple "entries" come up in a drop-down menu, just like the regular blog.

* fixed a few formatting foibles on some of the error pages (well, I never see 'em!)


v2.3.9.2

* improved error reporting on the edit page.

* fixed a bug where if you installed corzblog in a ~user (virtual) folder, although everything worked fine, archiving worked fine; strangely, no archives appeared in the menu. they do now.

* made some of the preferences clearer, and more flexible for folks with unusual server setups.


v2.3.9.1

* improved the css. no really, it's all fixed now.

* added an option for the length of truncation in the "blogs" menu


v2.3.9

* added a routine to determine where corzblog has been installed. you don't need to enter that manually anymore, though the option remains, just-in-case.

* removed the "real" links from the javascript buttons. since upgrading the bbcode parser to accept titles in the tag, There's really no need for this, and as much as I love raw html, it is messy looking inside your bbcode.

* some minor improvements to the bbcode parser, and it's built-in demo. I think all the tags are covered now.

* fixed a bug where if you used a different extension to .blog your archives wouldn't appear in the archive menu unless they were called "something.blog"

* fixed the slashes thing reading archives with single comments (apostrophe's) in them. works both ways now!

* finally figured out why the blue.css variation's drop-down menu was waaay slower than the orange one; it was the float: left; that did it. we don't need this for the left-hand menu styles. incredible that a wee float could make so much difference, but there ya go. Sadly, you'll still do need the float if you use the right-hand menu schemes. If anyone knows a workaround, let me know.


v2.3.8

* cleaned up and compressed some internal code, killed a few duplications

* it looks like the javascript buttons got broken somewhere, but that could just be me. I use that less and less these days, as the bbcode parser expands. At any rate, I've added an option to disable it. javascript jobs = procrastinate now! but I fixed it anyway. You can still turn off the javascript buttons, though, see config.php

* a few more additions to the bbcode parser, of course. drop caps among them, these come in five widths, from [dc1]I[/dc] up to [dc5]W[/dc] to cater for all your letter's individual needs.

* removed a confusing "legacy" comment from the css files. less trivial than you might think.

* moved the css files to their own sub-folder, which is inc/css/


v2.3.7

* improved the documentation

* fixed a bug where if you were using a different extension for your blog files, the blog archives were still being given a .blog extension. I DO recommend you use a .blog extension, however, not least because it enables corzoogle to easily search your blogs, it's also specified in the .htaccess, I mean, WHY NOT? *ahem*


v2.3.6

* Fixed a limitation in cbparser's handling of the "pre-formatted" tags. you can now have any number of [pre] blocks and they will *all* be honoured. You can put bbcode inside [pre]tags[/pre] tags too, and it will pass unmolested. (I'm adding spaces here because pre-tags have top priority and would be interpreted before anything else.)


v2.3.5

* made a preference for the stylesheet, you won't have to rename them any more, just enter the name in config.php

* some gui enhancements, I noticed (on yet another blog stripped of all my links (one for the planned rogue's gallery!) they're probably sending a payment right now, huh?) that giving your blog a really long name (the $mysite preference) can mess with the sidebar, at least make it appear rather incongruous; so the top menu has been renamed to simply "blog".

* made some more fixed text into configurable (config.php) text.

* improved the corzblog logo slightly, it now has a "powered by" on it, in the vain effort to get someone to LEAVE IT ALONE!

* Fixed a bug when using apostrophe's (single quotes) in archive titles (thank's joe!)


v2.3.4

* fixed an unclosed /p tag in the parser's reference tag (specifically, replaced the <br> tag with a </p> tag - editing old blogs will give you some lovely plain html to make into a reference again!), it's a minor html error that is "assumed" closed, but I'm trying to track down why google translation services messes around so much with my blog styling, and every wee thing must be eliminated!

* cleaned up a fair bit of internal code. it was my first project, after all. some real noob stuff in there, still is! but then, I do remember a TV programme years back, a housing estate, Canada I think it was, where the houses where real basic, but crucially, had these big old spaces you could do stuff with, extend as needed, and folks stamped their identity and their history on them. stuck in my head. my code's kinda like that.

* couple of under-the-hood security enhancements.


v2.3.3

* okay, error_reporting(E_ALL). I'm on it! first under the knife was the parser. as well as cleaning that, I added the capability to do square brackets that aren't bbcode commands. I suddenly had need of this! to get a "real" square bracket, just do it double, [like this]

* added the page generation timer starter (it's in inc/metadata.php) after seeing someone else's blog with a kaput timer. my own is started in my site's page header, not corzblog itself, well, now it is.


v2.3.1

* made the date in the footer dynamic it was stuck at 2003 (oops).

* added an extra linebreak ("\n") into the reference tag, right after the paragraph tag. add that into any old blogs (or other parser users, now). previously, when you clicked on a reference, it appeared at the very top of your browser pane (usual browser default), but I like a wee space up there, space is important.


v2.3

* improved the bbcode parser and moved it to a separate function. couple of folk asked me if I'd put out the parser on its own. while I was at it, I fixed a couple of things that were bugging me. if you find yourself editing old blogs and experiencing bbcode weirdness, try this..

replace any single-quote tag values in the news blocks with double-quotes versions. I can't handle single quotes in html anymore. specifically align='right' in the [news] tag is now, align="right" and instead of span="h6", it now uses span="news", and I removed an annoying space.

your old blogs are unaffected! but if you ever need to edit them, you will probably just want to replace old news tags with the new ones; you'll get the raw html in your edit-field.


* quashed the references bug. editing them shows the proper [ref] tag now.


v2.2.1

* corzblog is now fully corzoogle compliant! this means it can work with not only the blog archives, but the current blog too. It was annoying me. It also means the funky robot links machine can chew on them too.

* Added ability for non-javascript enabled browsers to get an "Archives" menu. It looks exactly the same as the regular one, except it's always visible, rather than dropping down on a mouseover. Also added a few other bits and bobs for non-javascript browsers, reluctantly, I might add.


v2.2

* blog archives now have a .blog extension. If you are upgrading from an earlier version, add a .blog extension to any archives you have, then they will appear in the archive menu as normal.

note: you DO NOT need to add this extension when archiving; corzblog will add this for you. it's effectively invisible, doesn't even show up in the menu's or URL's. The renaming is only if you are upgrading.

Primarily, this was so that blog archives are searchable with my corzoogle search engine, which requires specific file extensions as a security measure.

* other stuff; the sub-header archive pages now displays the name of the current archive, or whatever you are looking at, few other wee user interface things like that.

* Altered the edit.php file so that if you access it directly, it will redirect you to the choose page.

* Added another couple of variations of the css files, so now we have standard orange, left or right-hand sided, and the same for blue. I'll do more of these as time goes on.

* Fixed a bug with back-slashes entering the title area, oops.

* Updated the javascript functions to match my domain (at last!).


v2.1.3

* cleaned up some of the internal code, stuff that had started out as illustration, but was getting kinda messy *cough*

* tweaked the css for the blue theme, now the sidebar is on the right. total time, 3 seconds editing the CSS file. I suspect I'm not finished with the CSS.


v2.1.2

* fixed a small bug where if you hovered over the archives menu and there were no archives in the /arc folder, it produced a php error (which vanished again on mouseout, pretty cool) now it echoes "no archives yet"

* updated and renamed the metadata file in the distribution

* simplified the .htaccess files


v2.1.1

* slight alterations to the two css files, now we use px values for all margins and padding. Apparently some non-standard browsers get upset when you mix the values.

* Updated and improved the about file which you are reading


v2.1

* made the archiving automatic. There's a form in the "edit blogs" page; you name it, it get's archived, your current blog gets wiped. TADA! total no-brainer.

* blogs are now backed-up to the /arc/ folder at every add/edit operation. In the event of any human mistakes, your last blogs file is in /arc/blogz.bak

note: any file you put in the arc folder with a .bak extension will *not* show up in the archive menu. same goes for "index.php" files, though the hidden .htaccess file would prevent surfers from loading any index.php file, anyhow.


* knocked together an alternative CSS file (blue) you're looking at it.



2.0

corzblog II .. "now it's personal"


* This has got to be the best blogging system I've ever written!

* Spurned on by the success of the new RDF feed, and its greed for user custom user variables, I set about restructuring the internals of corzblog. I think you'll like it.

* "User" variables are now all in one central place. Like lots of other php packages, what you need is in "config.php". I might even get around to doing a form for this.

* archiving your blogs is now a trivial matter. Call the old blog what you like, drop it into the "arc" folder and bingo! it's in the archive menu. When you select an archive, its blogs are listed in the blog menu too, for easy navigation.

* There's loads more, I'll probably write up the changes after I've had a sleep


v1.6.2

* Added rss 1.0 rdf feed to the blog. I realise now that there are so many variables that a user might want to edit, I'm gonna have to move these over to a single file, one of those "config.php" things.


v1.6.1

* I switched all the linebreaks to unix linefeeds. Previously we were using a combination of both unix and mac linebreaks, unix for dynamic pages; javascript, html, etc; unix for the source files, and mac for the blogz themselves. Hopefully this should make everything clearer. It doesn't matter if you can see them or not, it's all handled internally, so long as your text editor can translate and save them - and all decent text editors can - you'll have no troubles.

After setting their password, most folk will never need to look at the source code anyhow, certainly not the raw blogs, but if they did, they would find them now quite readable, similar to the style of html I produce by hand. The blogz file being jumbly gave me sleep problems.

I use unix linebreaks for all my text these days (specifically, UTF-8 (no BOM) - unix linefeeds), mainly because OS X is "unix-based", but linux servers prefer this too. Really it doesn't matter too much, so long as your browser produces both (i.e. DOS linebreaks) inside forms, and they all do, as far as I know.


v1.6

* importantly, I changed the "end of blog" marker from a unix linebreak "\n" to an <end> tag. This is to prevent problems with unicode linefeeds, not that anyone uses them yet. You'll need to do a quick search/replace for all "\n" characters (unix linefeeds), and replace with "<end>". took about 1.2 seconds or something like that, for five months of my blogs. This will also help those who had trouble seeing unix linefeeds in their text editor. *sigh*

* improved all-over linefeed handling. Now I can make the raw blogs much easier to read and editing manually. plain carriage returns are used throughout (default on mac, but every decent text editor on every platform can handle them).

* added a few common transformations, allowing you to use bullets, degrees, plus-minus and trademark symbols in the blog, they get encoded properly now.

* added a pop-up of special symbols, this is growing all the time.

* because we're all unicode now, you can theoretically input any symbol you like and it "should" be saved just fine (most browsers have been UTF-8 compliant for years), the pop-up just makes it easier to find those symbols, and also encodes them as 'proper' &html-entities;

* widened the text edit area to 66 columns, should still be good for an 800x600 screen.

* improved the auto-scroll when you add special stuff to the blog.

* altered sidebar so that list of blogs is accessible wherever you are in the blog site.

* improved the references function. Now you can create easy-refs! Each reference section being unique to the blog (previously you could only have only one per page), and you can have up to three neat, numbered references per blog. This number could easily be increased if needed, I'm just getting itchy about the number of string transformations being performed on the blog text. och well.


v1.5

* added rss feed capabilities. very nice!

* some internal changes, wee code clean up

* added cute pop-up descriptive labels for buttons (some browsers -safari- won't show them)

* added a "quicklinks" section to the sidebar, for individual blog entries

* spruced up the quicklinks with cuteness

* fixed a few wee bugs that had cropped up


v1.4b

* added a couple of new bbtags

[block]a blockquote[/block]


* at last the < > button has a function. "[ ]" blockquote!

* also the [hr] tag, which will draw a nice thin horizontal rule.


v1.4

* got rid of add2.php moved it all to one file.

* moved all editing functions to a single file too

* rearranged the editing window a bit < > still does nothing! hah!

* previewing and editing now in one page. much better!
(I knew something was bugging me)

* previewing of edits is now possible (previously only new posts)

* minor stylistic changes

* code is pretty messy, but 100% functional! I'm happy!


v1.3

* Made the edit menu meaningful. (name of blog)

* minor stylistic changes to code box


v1.2

* couple of minor bugs in the preview worked out

* will now take you directly to the blog is add/edit was successful

* if not, you have the option to go back and fix it!

* added a few more quick-code function buttons, big, bold, italic

* made the whole thing self-contained and removed my header, for distribution.


v1.1

* Added preview function for new entries. nice.

* Added new functions, code, url, image, etc

* blog content will now appear *inside* the edit window automatically

* I'm happy now!


v1.0

* working swell! (well, so so!)

* editing possible now-ish (adds extra bits)

* added javascript functions and css in /inc folder (extensible)

* the script will now grab your "posted by" footer.php and insert it back


v0.5

* basic blogging possible

* worked into my nice pages and css

* worked out the break bugs, and a few other bugs


v0.1

My first "real" php project!
got basic entry code running.
borrowed some ideas and a couple of snippets from my unwitting guiding hand in this self-help tutorial.. Jaryd Whitem AKA: JRiderofShade, ta m8!

That online php manual is excellent too!


 ©  2024 « corz.org » 24.4.19  

Welcome to corz.org!

I'm always messing around with the back-end.. See a bug? Wait a minute and try again. Still see a bug? Mail Me!