bbPress Plugin Browser »

Enhanced Tag Heat Map (1.0.2)

Download

Version: 1.0.2

Other Versions

Last Updated: 2008-4-5

Requires bbPress Version: 0.9 or higher

Compatible up to: 0.9.0.1

Author Homepage »

Plugin Homepage »

Donate to this plugin »

Average Rating

5 stars
4 stars
3 stars
2 stars
1 star
(0)

Your Rating

Author: Aditya Naik

Enhanced Tag Heat Map replaces the existing tag heat map to highlight related tags for each of the tag on mouse over. The option can set the options for the tag heat maps like the smallest size of font, largest size of font and unit for the size of font and number of tags in the heat map.

Currently the plugin works with the themes which use the tag heat map which comes with kakumei theme. i.e. The themes which have the 'hottags' div around the tag heat map. In the future versions of the plugin, this would be a configurable option.

Themes Compatibility

The themes which have the 'hottags' div like the one from the kakumei theme should be ready to work out of the box. if your theme does not have a div around the heat map with that name - add one :). in the future versions this name would be configurable.


  1. Sounds fascinating but can't activate. Direct access shows this:

    Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /forums/my-plugins/enhanced-tag-heat-map.php on line 103

    I'm on bbPress 0.9 but it's PHP 4.8 - would that matter?

    Posted: 3 years ago #
  2. I think it could be php 4..

    0.9 version you mean the 0.8 branch from the trac?

    Posted: 3 years ago #
  3. I built a plugin for my own forums that also allows to define lightest color and darkest color (to add more depth.)

    I can share the code (which sucks btw) and maybe it can be implemented.

    Posted: 3 years ago #
  4. @benbeltran

    sure.. i'll add that as a feature in future releases.

    Posted: 3 years ago #
  5. Yes it's the 0.8 branch, latest build.
    But it's much more likely a PHP 4 issue :-(

    If anyone has it up and running anywhere I'm curious to at least see a screenshot or live demo of how it looks?

    Posted: 3 years ago #
  6. benbeltran, I'd love to see the code you use to vary the colours?
    Is it just a hack of the existing code or you wrote your own?

    Posted: 3 years ago #
  7. I've now figured out how to do colour gradients across the heat map, using specified colours (with colour "waypoints" too!) You can see it at the bottom here: http://bbshowcase.org/forums/

    and here:
    http://bbshowcase.org/forums/tags/

    and here:
    http://bbshowcase.org/forums/search.php

    I need to figure out how they do the overlapping tags like I see on some WordPress sites and other blogs/CMS. Probably has to do with negative margins. Might make it look better.

    Posted: 3 years ago #
  8. the demo of the plugin on my site here..

    http://www.adityanaik.com/forums/

    Posted: 3 years ago #
  9. Nice demo. It's a shame most browsers don't support text-shadow to do a nice glow around the words instead of the dramatic block effect. I've come up with a (weak) alternative to set opacity dimmer on the links normally and then turn it off (opacity:1) when hover.

    I think if I add my coloured heat map trick to yours it will be the ultimate map.

    ps. I still get on 1.0.2 Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /public_html/forums/my-plugins/enhanced-tag-heat-map.php on line 105

    Posted: 3 years ago #
  10. I was studying how to speed up front page rendering when it dawned on me that the built-in tag heat map was using a significant amount of php time. Some benchmarking proved me correct as it takes 20ms out of 90ms total on my setup to build and render.

    However after studying your code, it also occurs to me since you call the built in bb_related_tags on each of the tags as a separate query, that's going to be at least 20-40 extra mysql calls which would be horrible. I can't run your code to prove my theory but if you use my bb-benchmark you can let me know if I am right?

    I am looking at an alternate way to cache the tags with a single mysql query and build the resulting related tags in memory via php instead. I also would like to cache the output to disk in bb-cache so that logged-out users all see a cached copy of the tags that is only rendered again when a new tag is added (or removed).

    Posted: 3 years ago #
  11. thats a good point..

    thanks for pointing it out.. i'll see what i can do to minimize that.

    Posted: 3 years ago #
  12. i have updated the plugin to 1.1.0 in trunk to retrieve the related tags all at once

    Posted: 3 years ago #
  13. musnake

    Member

    Hello,

    bbPress 1.0a2, plugin v1.0.2, PHP5, FF3

    When I try to update the parameters via the Admin back-end, I get the standard Your attempt to do this has failed. error message.

    Any ideas?

    Posted: 3 years ago #
  14. I am using this plugin but there is a problem as it breaks W3C standards. Line 397 of your code is:

    <style>

    should be

    <style type="text/css">

    Thanks.

    Posted: 3 years ago #
  15. It's a great little plugin!

    ...and pitty it won't work in v1.o1

    tag_relation[2] = new Array(
    <b>Warning</b>: Invalid argument supplied for foreach() in <b>/(...)/enhanced-tag-heat-map.php</b> on line <b>421</b>
    );

    Any chance for an upgrade?

    Posted: 2 years ago #
  16. Kar-l

    Member

    Actually version: 1.1.1 seems to generate valid JS (no above mentioned errors), yet it won't work. bb 1.01. ?

    Posted: 2 years ago #
  17. Kar-l

    Member

    OK, I managed to run it. First, get the newest version (mine is from track) and remember to add prototype script.

    Posted: 2 years ago #

RSS feed for this topic

Add a Comment

You must log in to post.