Only fill this in if you're a spammer huh? Your name :
Your email :
Your message :
Dec
20th
2007

tinkering with the bloglist

Posted in : Plugins & Widgets

This plugin has now been released on AstonishMe ( Bloglist widget )

Controlling the blog list

Now that the evocore has stabilised a tad we decided that it was time we brought AstonishMe out of the stone age and upgraded it to 2.x. which means that we have quite a bit of custom work to redo. At the same time we decided to convert a skin we'd been playing with a while ago. In for a penny in for a pound and all that. One of the main problems we had was with the core bloglist widget, we needed it to do more than what it currently does .... so we decided to recode it and make it a tad more *flexible* and then we threw in some new bits.

The main problems we needed to overcome were :

  1. The ability to display public blogs , no problem the current widget already does this
  2. The ability to display members blogs to logged in members
  3. The ability to hide certain blogs from everybody ( including ourselves )
  4. The ability to add each blogs description to the blog list
  5. The ability to re-order the blogs to suit ourselves

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.

So where is it?

Until we finish recoding AstonishMe you can find the plugin here. Unzip it, upload it, install it, play with settings. As well as the other settings we threw a few in for Afwas although the rest of you may or may not find them useful. Once we have AstonishMe recoded you'll be able to find all our plugins on one easy page. As always, remember that this is a pre-release version of the plugin, so if you find any bugs or quirks let me know and we'll work at ironing them out.

¥

Tags: bloglist

Trackback URL (right click and copy shortcut/link location)

Trackback url for this post
Note : This trackback url is time limited so use it within 30 minutes or the SpamHound will snarl at you.

http://waffleson.co.uk/z/?k=368926026331032383afb686692beceefa9151cbab02e1587

Gary users avatar

Posts : 334

Joined : 04/04/05

Reply to comment 14440 by Gary

Replied on : 12/20/07 @ 03:52 pm #1

Sounds good, do you guys ever rest ? I will wait for the stable release version and let you talk me through it ;)

Have fun bloggin'

Have you got your tree up yet, you bah humbug ;)

All the best

Gary

Blog-a-doodle-do :D  http://garysblog.co.uk

 
 
Gary users avatar

Posts : 334

Joined : 04/04/05

Reply to comment 14441 by Gary

Replied on : 12/20/07 @ 03:53 pm #2

Hi Paul.
There's a problem in leaving a comment mate on your blog, After you send the comment it fails and if I crash out then it appears on your blog.
Just to let you know :)
Gz

Blog-a-doodle-do :D  http://garysblog.co.uk

 
 
Gary users avatar

Posts : 334

Joined : 04/04/05

Reply to comment 14442 by Gary

Replied on : 12/20/07 @ 03:53 pm #3

This is the error, if it helps you ?

Notice: Undefined variable: id in /path/html/plugins/am_subscriptions_plugin/_am_subscriptions.plugin.php on line 330

Notice: Undefined variable: id in /path/html/plugins/am_subscriptions_plugin/_am_subscriptions.plugin.php on line 333

Notice: Undefined index: comment_message in /path/html/plugins/am_subscriptions_plugin/_am_subscriptions.plugin.php on line 441

Notice: Undefined index: comment_subject in /path/html/plugins/am_subscriptions_plugin/_am_subscriptions.plugin.php on line 442
An unexpected error has occured!

If this error persits, please report it to the administrator.

Go back to home page

Blog-a-doodle-do :D  http://garysblog.co.uk

 
 
¥åßßå users avatar

Posts : 845

Joined : 10/05/05

Location : 127.0.0.1

Reply to comment 14443 by ¥åßßå

Replied on : 12/20/07 @ 04:32 pm #4

Bugger, yeah I'm half way through coding some new stuff into that plugin, hence it can either be considered half working or half broke, depending on how full your glass is ;)

I've disabled it for now so the errors should be gone.

¥

I may have opened the door, but you entered of your own free will

 
 
Gary users avatar

Posts : 334

Joined : 04/04/05

Reply to comment 14445 by Gary

Replied on : 12/21/07 @ 12:47 am #5

Lol, I am sure you will fix it, have you wrapped tinsel around your tree yet ?

Gz ;)

Blog-a-doodle-do :D  http://garysblog.co.uk

 
 
¥åßßå users avatar

Posts : 845

Joined : 10/05/05

Location : 127.0.0.1

Reply to comment 14446 by ¥åßßå

Replied on : 12/21/07 @ 01:17 am #6

and deprive the mighty V of a job!

¥

I may have opened the door, but you entered of your own free will

 
 
Gary users avatar

Posts : 334

Joined : 04/04/05

Reply to comment 14447 by Gary

Replied on : 12/21/07 @ 09:19 am #7

Happy Birthday to you, happy birthday to you, happy birthday dear Vic-tor-ia, happy birthday to you:)

Many happy returns of the day Vicky. :p

Hope you have a lovely day.

Gary

Blog-a-doodle-do :D  http://garysblog.co.uk

 
 

Replied on : 12/22/07 @ 01:48 am #8

Hey! The MIGHTY V has a day? 88|

I almost (checks watch) missed it!

Happy Birthday Victoria. May lots of electric sanders be offered, as well as a foot-rub, breakfast in bed and whatever else that you normally does that Yabba could be doing. :D
 
 
¥åßßå users avatar

Posts : 845

Joined : 10/05/05

Location : 127.0.0.1

Reply to comment 14452 by ¥åßßå

Replied on : 12/22/07 @ 10:18 am #9

*points to date*

You need a gmt watch ;)

¥

I may have opened the door, but you entered of your own free will

 
 

Replied on : 12/22/07 @ 01:48 am #10

Lurker my ass. :|
 
 
Gary users avatar

Posts : 334

Joined : 04/04/05

Reply to comment 14453 by Gary

Replied on : 12/24/07 @ 04:14 pm #11

Well its not long now until Santa pops down your chimney.

Wishing you and Vickie a very Merry Christmas, Seasons Greetings and that, all the best.

Gary

Blog-a-doodle-do :D  http://garysblog.co.uk

 
 
¥åßßå users avatar

Posts : 845

Joined : 10/05/05

Location : 127.0.0.1

Reply to comment 14455 by ¥åßßå

Replied on : 12/24/07 @ 05:18 pm #12

I'm not letting that drunken git into my house, we have loads of booze under the tree!

He can leave our pressies at the door :|

Have a fantastic Christmas Gary ;)

¥

I may have opened the door, but you entered of your own free will

 
 
Gary users avatar

Posts : 334

Joined : 04/04/05

Reply to comment 14457 by Gary

Replied on : 12/25/07 @ 08:27 am #13

MERRY CHRISTMAS

Hope you havn't drank all that booze yet !
Remember a turkeys for Christmas and not for life :)

'tis the season to be jolly, tra la la la la, la la la lah.

All the best
Gz

Blog-a-doodle-do :D  http://garysblog.co.uk

 
 

Leave a comment

Your email address will not be displayed on this site.
Your URL will be displayed.
About you

Just fill in the bits you want, none of it is required



Your email address will only be used to send you adverts for viagra and rolex watches.



(Line breaks become <br />)
Leave a comment
Code:
=> :!: :?: :idea: :) :D :p B) ;) :> :roll: :oops: :| :-/ :( >:( :'( |-| :>> ;D :)) 88| :lalala: :crazy: >:XX :o