Control your bloglist

18th Jan 2008 ¥åßßå

Order your bloglist

Finally you can control your bloglist directly from the admin area with this shiny new plugin brought to you by the AM Team. No longer do you need to hack the core files to achieve the results you require.

What does it do?

This is basically a direct replacement for the current widget except it comes with a fair few new settings. The main ones are the "Current Blog" and "Other Blog" settings which allow you to enter the html to use, either in the settings or from your skin, both settings have some replacement values to allow further customisation :

  • $blog_url$ replaced with the blogs url
  • $blog_shortname$ replaced with the blogs short name
  • $blog_name$ replaced with the blogs name
  • $blog_desc$ replaced with the blogs long description
  • $blog_ID$ replaced with the blogs ID

What about the blog order?

To achieve the rest we decided it was time to abuse the blogs *notes* field .... mainly because we don't personally use it and it's one of the few fields that you don't end up fighting later. Ordering of the blogs is done by sorting them on the blogs notes field, so depending on what text you have in there depends on where they appear in your blog list ( ours start with "blogorder:1" "blogorder:2" etc ). If you happen to be one of the rare people that actually uses the notes field then just ignore the first line when yer reading them. Since we were abusing the notes field anyway we decided to abuse it a bit more. When the blog list is being displayed the plugin looks for the text "bloglist:hide" anywhere in the notes field. If it finds it then it skips ahead to the next blog in the list.

Other abilities

As well as choosing the order of your blogs and which ones to hide you can also show logged in members blogs that they have access to, whilst not showing them to the general public. To do this you just need to untick the "display in public bloglist" checkbox in your blog settings and tick the checkbox in the plugin for "members". This effectively removes it from view unless you are logged in and a blog member. Another enhancement is the ability to add custom html before and after the bloglist so that you can keep all your menu options in one place.


Installation is a doddle, download the latest version of the Bloglist Plugin, unzip it and upload the am_bloglist_plugin folder to your blogs plugins folder. Then wander over to your Admin > Global Settings > Plugins Install tab, click the link titled "Install New" and select the plugin from the list of available settings. Thats it, it's installed and ready to be used in your skins wherever you want.



blogorder plugin is not working for me.
neither the hide function nor the order function seems to be functional. b2evo version is 2.40. installing was ok. any ideas?
15/03/08 @ 15:51
None ... I'll have to throw it on a 2.4 install to test it ;)

18/03/08 @ 11:46
Hi, I just tried this plugin with "2.4.2 released on 27/04/08" and it does nothing :-( I had a look at the code and managed to add a rather obvious error (kinda easy that bit) and that was either ignored ie not error message displayed like there usually is. So it looks like the plugin is never called.

OH well.
15/07/08 @ 17:37
Hmmm, I thought I'd fixed this for 2.4 .... guess I didn't :p

I'll have a look at it and see what I can do.

20/07/08 @ 10:56
Comment from: Brian Lemke

The ability to show logged in members blogs that they have access to,
whilst not showing them to the general public is something that I've been looking for.

I cannot seem to get this plugin to work.
I'm wondering if this plugin has been fixed based on the previous comments?

This is what I did:
Followed the Installation instructions above with b2evolution 2.4.5.
- untick the "display in public bloglist" checkbox in your blog settings
- tick the checkbox in the plugin for "Members blogs".

I login as the admin of the blog, but the blog link is not displayed in the public blog list.
Prior to making the changes the blog was being displayed in the public blog list for all users.

I also followed the notes at:

Any help is appreciated.

24/10/08 @ 23:31
Comment from: Brian Lemke
Hello ¥åßßå,

Sorry for the previous comment. I figured out what else is needed to activate your am bloglist plugin. Maybe a few more details in the Installation notes above would help other users.

Thanks much for the great plugin. I've been looking for this functionality for some time.

04/11/08 @ 23:46
Comment from: Scott
Brian - can you tell us what you did to get this active? The plugin still seems to have the same issue and although I've looked everywhere there doesn't seem to be a posted solution.

15/01/09 @ 21:43
Comment from: Randy Middleton
running 2.4.6 of B2

Installed the plug-in but...
Notice: Undefined variable: disp_params in /home/www/blogs/plugins/_am_bloglist.plugin.php on line 147

146 & 147:
if( $this->disp_params[ 'block_display_title' ] ) // container wants title
echo $disp_params[ 'block_title_start' ].$this->disp_params[ 'title' ].$this->disp_params[ 'block_title_end' ];
20/04/09 @ 19:37

Comments are closed for this post.