October 16, 2006

Peekaboo comments and Random banner hack

For KCA and all those who wanted Peekaboo comments in main page badly, Stephen has got it working! Avatar informed me about this and I thought I will inform my readers too. Instructions are in his post. There seems to be quite a few steps and so, apply the hack carefully.

Also, check out Gabriel Lau's nice hack to display a randomly chosen banner at the top in this post. This is one of the famous Wordpress plug-ins which is now doable with Blogger too!


Anonymous said...

Just a question of times^^

Gabs Lau said...

Ramani, thanks for promoting my hack, and keep up your good work of coming up new hacks!

protesto said...


I've modified Annie's code for peekabo labels on the side bar:

To hide and show labels, use the bold code below, replace [] with <> .

Working example

Find the line:

[b:widget id='Label1' locked='false' title='Labels' type='Label']

Modify the code below like this:
[b:includable id='main']
[b:if cond='data:title']
[a aiotitle='click to expand' href='javascript:togglecomments("browselabel")'][+/-] Browse Categories[/a]
[div class='commenthidden' id='browselabel']

[div class='widget-content']
[b:loop values='data:labels' var='label']
[b:if cond='data:blog.url == data:label.url']
[a expr:href='data:label.url'][data:label.name/][/a]

[b:include name='quickedit'/]

Soumyadip said...

The Peekaboo comments hack seems to override the "Author comment highlighting" hack. And there are also some spacing problems. Applied it, but had to discard it.

Danny Tuppeny said...

I've written a similar script that supports iframe and script based ads, like Google and Amazon!

The full article is here: