DeeEmm

Pragmatism in code

Pragmatism in code

Waxing lyrical about life the universe and everything software related since lunchtime 2006.

EasyBlog - Display list of blog titles using the Latest Blogs module

When recently migrating the DeeEm.com site I needed a way to be able to organise the tutorials section so that each tutorial was easily accessible. This meant creating an index of blog posts so that visitors could browse through each category so see if there were any mods that applied to their site. Whilst EasyBlog makes provision for listing category titles, there is no way to list the blog posts without additionally showing an intro portion from the post itself. This is achieved using the 'Latest Blogs' module, and whilst there is a setting to control the length of text displayed, even setting this to the minimum possible value, you will still display a couple of newlines in the output.

Whilst digging though the code to see if there was a way that I could modify the CSS or core code to force the list to display as I wanted, I discovered that there is a hidden value within the administration settings for the module that hides the intro text. The solution is to manually apply this value by directly editing the database table.

The value in question is for the 'introtext' variable: (Content be taken from). This will only allow you to select between 'introtext' or 'main content'. What you cannot see is there is a third value 'Hidden'. I assume that this does not display, due to it having the value '-1', or at least it does not display in the browsers that I am using.

The solution is therefore very simple. 

Continue reading
  20057 Hits
  1 Comment
20057 Hits
1 Comment

PhpBB Blog Mod

With the recent update of a site I help manage and some discussions about a new direction for DMCMS towards the social networking side of town I stumbled across a mod for phpBB that allows users to create thier very own blog. The mod, known as 'The Blog Mod' seems to have a very chequered history and is difficult to find somewhere that currently supports it. Trawling through the phpBB mods forums I found out that the original author (Hyperion) seemed to simply dissappear, A deluge of posting then raised the concern that the mod would simply die without some kind of rescue attempt - so another topic was started to discuss the relevent merits of saving the mod. The outcome of that discussion was that yet another topic was started to support the newly ressurrected 'Blog Mod' - after the topic was blasted for not being in the specific phpBB mod style, and the original auther gracefully backed out of thier offer of support yet another thread was started and the mod lived on...That was until about February when the official development thread on phpBB was locked. In addition the official website at http://www.theblogmod.com seems to have died about August time last year.It seems a shame that there is so much beurocracy over at phpBB that what appears to have been quite a well respected mod has now had the plug pulled on it by the closure of the thread, as for what happened to the official site, who knows?A little digging has found a few links to sites still hosting 'The Blog Mod' - http://forum.khurram.ca/viewtopic.php?p=1248

http://www.outshine.com/forums/viewtopic.php?p=3438#3438

If anyonw knows what happened to this mod shoot me a message via the forums.

DM.

  18635 Hits
  0 Comments
18635 Hits
0 Comments