Wednesday, 1 January 2014

Happy new year & Congrats to the LGA January 2014 winner!

Hello 2014 and happy new year to everyone!

One of the new things for this year will be the regular Linux Game Awards done by various Linux and FOSS gaming site (and which has been spearheaded by the great LGDB).

And the first winner is:

Project of the Month Winner January 2014: 0 A.D.

The votes have been quite clear, but our friends from SuperTuxKart got a very respectable 2nd place:


You can expect some further promotional news coming up this month for 0 A.D. so stay tuned :)

Tuesday, 31 December 2013

Happy New Year!


To all my readers, I wish you a happy New Year! Stay tuned, as there will be more blog posts in 2014!

The most important tips of 2013 were probably:





Stay safe folks. May you all have a great and malware-free 2014!






Sunday, 29 December 2013

Delete, change or re-format the "Showing posts with label" message.

This article explains options for deleting, or changing the content or formatting of Blogger's "Showing posts with  LABEL.  Show all posts" message and it's ugly grey box.

If your blog has a Layout or Designer template, then when a person who is reading it chooses a label value, Blogger displays a page with (a summary of) your most recent posts with that label.

If there are more posts that Blogger is willing to show on one page, then there will also be "older posts" and "newer posts" links at the bottom of the page.

And - unless you have removed it - there will also be a message at the top of the page saying "Showing posts with label yourLabel. Show all posts"





Reader actions that cause a visitor to see this message include:
  • Clicking a label value that is displayed in your post header or footer
    (unless you have turned them off in the Layout > Blog Posts edit option).
  • Clicking a link that you have manually set up to show posts with a specific label (eg if you have used a Pages gadget to make a menu bar, and one of the options in it has a value like http://www.yourBlog.com/search/label/yourLabel?max-results=999

Unfortunately Blogger does not provide any way to customize or configure this message.
.
But it is easy enough to totally delete it, or to change the formatting, or to change the text..


How to delete the "Showing posts with LABEL" message

There are two ways that you can remove the "Showing posts with Label.   Show all posts" message.

Option 1:   Remove the code totally.   

To do this,

1  Edit your template in the usual way

2  Find the following text
<b:includable id='status-message'>
<b:if cond='data:navMessage'>
<div class='status-msg-wrap'>
<div class='status-msg-body'>
<data:navMessage/>
</div>
<div class='status-msg-border'>
<div class='status-msg-bg'>
<div class='status-msg-hidden'><data:navMessage/></div>
</div>
</div>
</div>
<div style='clear: both;'/>
</b:if>
</b:includable>

3   Delete that text and replace it with
<b:includable id='status-message'>
<b:if cond='data:navMessage'>
<div>
</div>
<div style='clear: both;'/>
</b:if>
</b:includable>

(If you just delete the text and do not put the replacement in, then it is possible that Blogger will add that section back in again later.)


Option 2:  Hiding the message using CSS

To do this, add  this CSS rule to your template in the usual way:
.status-msg-wrap,
.status-msg-body {
display: none;
}
(This approach is less risky because you do not need to edit your template, and because it's easier to change later.   But some people have reported that on their template, it has not worked.)


How to change the format of the "Showing posts with LABEL" message

Some people don't mind the actual  "Showing posts with Label.   Show all posts" message.   But they want to format it in a way that suits their blog's layout and colour scheme.

This is easily done, by adding some extra CSS rules to your template in the usual way.

To change the format of the message text, use rules like this:
.status-msg-body {
text-align: left;
line-height: 1.4;   
font-weight: bold;
color: red;
padding: 0.5em 0.3em;
width: 100%;
}

To change the grey-shaded background or the box:
.status-msg-wrap {
width: 100%;
margin: 0 auto;   /*  keep the auto statement if the width is less than 100%, so the box is centered */
position: relative;
}

There are a wide range of options - check with CSS reference guides for the options.   You may need to carry out some experiments with your template and how it looks with various options to decide on the best combination for your blog.



How to change the "Showing posts with LABEL" message

There are several ways that you can change the text in the "Showing posts with Label.   Show all posts" message.

Option 1:   Just replace it with some text

To show a sentence of your own instead of Blogger's standard message, 

1  Edit your template in the usual way

2  Find the following text
<b:includable id='status-message'>
<b:if cond='data:navMessage'>
<div class='status-msg-wrap'>
<div class='status-msg-body'>
<data:navMessage/>
</div>
<div class='status-msg-border'>
<div class='status-msg-bg'>
<div class='status-msg-hidden'><data:navMessage/></div>
</div>
</div>
</div>
<div style='clear: both;'/>
</b:if>
</b:includable>

3   Replace the line in bold (ie <data:navMessage/> ) with your own words.

For example, you might say
<b:includable id='status-message'>
<b:if cond='data:navMessage'>
<div class='status-msg-wrap'>
<div class='status-msg-body'>
Posts in this category include (use the Older Posts link to see previous posts):
</div>
<div class='status-msg-border'>
<div class='status-msg-bg'>
<div class='status-msg-hidden'><data:navMessage/></div>
</div>
</div>
</div>
<div style='clear: both;'/>
</b:if>
</b:includable>

To show the searched-for label value in your message, you need to use the   <data:blog.searchLabel/>   tag. For example, you might say
<b:includable id='status-message'>
<b:if cond='data:navMessage'>
<div class='status-msg-wrap'>
<div class='status-msg-body'>
Posts about <data:blog.searchLabel/>  include (use the Older Posts link to see previous posts):
</div>
<div class='status-msg-border'>
<div class='status-msg-bg'>
<div class='status-msg-hidden'><data:navMessage/></div>
</div>
</div>
</div>
<div style='clear: both;'/>
</b:if>
</b:includable>

Note:  if you are going to use this tag, then you need to choose your label values very carefully, so that they all make sense.   For example, in one blog I have some posts labelled "For quiz organizers" and others labelled "Finance", "Organisation" etc.    There is no way that I can write a sentence including the labels that makes sense for both of these.




Related Articles:





Friday, 27 December 2013

Torque3D seems to finally get a Linux port!

Following the release of the Torque3D engine under the MIT license (latest release 3.5 here), there was a lot of back and forth regarding a port to Linux (the engine actually used to have a good Linux port, but that one was dropped a few years back). At some point there was even an official Kickstarter crowed-funding attempt, which however failed to reach the estimated funds (but nether the less more than US$10k were pledged). After that things quited down, but several people continued developing a OpenGL renderer and Linux port.

Now it seems like all these efforts seem to be near a somewhat usable Linux port or at least that's what I understand by following this forum thread.

Torque3D running on Xubuntu 12.10

In the short term the most interesting application of this Linux port is probably that the creator of RotC has announced on his currently running indigogo campaign to liberate (and update) the game, that now there will also be a Linux port.

Great news if you ask me, so don't forget to pledge some of that Christmas money you got towards reaching the funding goal (currently $388 out of $1500, with 36 days left). Let's make this happen!

Edit (nearly forgot): these two projects related to Torque3D might be interesting to follow: Project GREED and Zentense.

Wednesday, 25 December 2013

December RTS updates

Merry Christmas from FreeGamer!

As a nice present from the 0 A.D. team, the new Alpha 15 Osiris was released today:



Lots of great new features and especially multiplayer games should be now much easier to do with hosting improvements and a lobby for browsing available games.

Another open-source RTS engine (using Mono/C# though) has also released a new version: OpenRA. Currently it is still geared toward running an assortment of older Command & Conquer based games, so you need to own these for the data. But this release adds lua scripting for the creation of custom missions, so maybe someone will come up with a libre game to run on this engine.

Last but not least, a new version of Warzone2100 was released about a week ago. This one actually includes some higher resolution textures, which is hopefully the first step to officially integrate all the awesome new art assets from the art revolution project.
Speaking of WZ mods: There is also an interesting new tower-defense mod currently being developed.