Please note: With Geeklog 2.0.0 plugins that install and/or access blocks, or access article topics, most likely will be not compatible. If you use any plugins that perform these functions please check with the plugin developer to make sure they are compatible before upgrading Geeklog. If you are not sure about 1 or more plugins and still wish to upgrade your Geeklog website then either disable the plugin(s) or uninstall it. All Core plugins have been updated and support Geeklog 2.0.0

Developers, please read more below to find out what has changed or is new in Geeklog that may affect development of themes and plugins.

Plugin Changes

In older versions of Geeklog, topic ids use to be stored with the block or article records. Since blocks and articles can now belong to more than one topic these columns have been removed from the tables and a new table called "gl_topic_assignments" has been created to handle all topic assignments. For this reason any plugin that adds/manipulates blocks in the block table will most likely be incompatible with Geeklog 2.0.0. Plugins that also use a centerblock may have a problem since a centerblock can be assigned to a topic. When updating your plugin to support Geeklog 2.0.0 we would suggest using Dynamic Blocks instead of modifying directly the blocks table. Dynamic Blocks are created on the fly and do not require storing any information in the database except for some configuration options. For more information on this please see the Dynamic Blocks wiki page. The Polls plugin also now uses Dynamic Blocks so you can use this plugin as an example.

The comment form can also now be displayed on the same page as an article and other plugin objects. If your plugin uses comments and you have the Captcha plugin installed you will need to update your code slightly for the function plugin_savecomment_foo.

You will now need to take into account the constant COMMENT_ON_SAME_PAGE. If the attempt to save a comment by a user errors out (ie due to an incorrect captcha code), if the comment is on the same page as your plugin content then you need to only return the comment form, if it is not then you need to return the whole document. You can see an example of this code change in the functions.inc file of the Polls plugin. You can search for COMMENT_ON_SAME_PAGE in the function plugin_savecomment_polls.

As of Geeklog 2.0.0 we have added a new function called COM_createHTMLDocument that will eventually completely replace COM_siteHeader and COM_siteFooter. Geeklog 2.0.0 and all of the core plugins have been converted to use COM_createHTMLDocument but COM_siteHeader and COM_siteFooter have been left in to be backwards compatible for all older plugins. The main advantage of using COM_createHTMLDocument is that it allows the plugin to create the HTML page all at once. This means that if code needs to be add to the header (say by an autotag located low in a page) it now can be if the plugin uses COM_createHTMLDocument. The Geeklog Development Team strongly suggest when upgrading your plugins that you take the time to convert all your calls to COM_siteHeader and COM_siteFooter, to COM_createHTMLDocument.

Theme Changes

With the addition of the function COM_createHTMLDocument the Geeklog theme engine has been upgraded. To use the new theme engine you must set in your theme's function.php a config variable:

CONF['supported_version_theme'] = '2.0.0';

This new theme engine now allows themes to know how many columns are going to be displayed right when the html page is created. This allows for more of a responsive web design. With that in mind the new theme Denim was created by Dengen. This theme uses a Resposive Web Design concept that allows a website using this theme to be easily readable by a visitor not only on your PC but on a device with a much smaller screen like a Smart Phone or Tablet. The theme optimizes it's layout to the device it is being displayed on.

As mentioned above 3 themes are included with this version of Geeklog. The original Professional theme is included along with the Denim and Modern Curve themes. Only Denim and Modern Curve themes support the 2.0.0 theme engine. For more information on updated theme engine please see the Theme Developers Guide wiki page.

FCKeditor

Geeklog has problems with the FCKeditor (updated in Geeklog to version 2.6.9) with the newer versions of Internet Explorer. IE 9 has problems with most of the popup windows for FCKeditor like the Add URL box. Internet Explorer 10 has the same problems plus when you switch the post mode to Advanced Editor in a story it will usually freeze up the text window.

There are ways around this but it requires you either switch the IE browser into compatibility mode or you can add the following meta tag to your theme’s header template file:

<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8"{xhtml}>

Because of these issues and the fact that there are no more updates scheduled for the FCKeditor we plan on most likely switching to the CKeditor for Geeklog 2.0.1.

From what I see, if a person replies to a story, the reply goes to the top of the list. Now if a person replies to an individual comment, then it should be posted under that comment they are replying to.

Michael---Have you seen the Geeklog Demo site? Check it out by clicking on the Demo Site link to the left under Resources - Getting started.

Michael is correct. When the article first loads the Post a Comment defaults to the article. If you want to reply to a specific comment then you need to hit Reply to This for that comment (which I failed to do on that one comment).

Okay..I think I see where your problem might be in thinking your reply would be a reply to the top. When you open a "Reply to This" on any of the comments, your comment is placed at the top of that thread of messages, not the top of all of the messages. Hence the confusion why you might think the messages are all out of date. Have a look at the top of this collection of comments and you will see "Post a comment" Above that are two dropdown boxes, look at them and see the different configurations that users can read the list of comments. Flat, Nested, No Comments and Threaded. Scroll thru them and click on refresh after each one. Then look at how the comments are placed. You should be able then understand how its setup.

Michael---Have you seen the Geeklog Demo site? Check it out by clicking on the Demo Site link to the left under Resources - Getting started.

Now if you wanted to create a new thread without replying to someone else's comment, you would have to go back to the main page and click on that message and then scroll down to the comment box past all the comment and then place your comment in the "Post a Comment" box and then click on "Submit Comment". Then your comment will be placed at the top of the comment listing according to date and time.

Michael---Have you seen the Geeklog Demo site? Check it out by clicking on the Demo Site link to the left under Resources - Getting started.

---
I'm available to customise your themes or plugins for your Geeklog CMS

After further investigation there does seem to be an issue with comments not indenting properly for the Modern Curve theme. It seems to stop indenting after the fourth level in the tree or so. (http://project.geeklog.net/tracking/v...hp?id=1581). This does work fine in the Denim theme.