Skip to:
Content
Pages
Categories
Search
Top
Bottom

Hot Tags not updating

Viewing 4 replies - 1 through 4 (of 4 total)

  • chrishajer
    Participant

    @chrishajer

    I just added the tag “futurama” to the following 4 topics:

    http://geek.thinkunique.org/bb/topic/womanizer-cover-by-the-all-american-rejects
    http://geek.thinkunique.org/bb/topic/cowboy-mouth
    http://geek.thinkunique.org/bb/topic/new-releases-on-dvd-and-blu-ray-december-30-2008
    http://geek.thinkunique.org/bb/topic/amazon-quick-linker

    I took a look at the hottags div before and after. There were lots of changes, due to the increase in the use of the futurama tag, but here is the futurama tag information:

    Before:

    <a href='http://geek.thinkunique.org/bb/tags/futurama' title='1 topics' rel='tag' style='font-size: 8pt;'>Futurama</a>

    After:

    <a href='http://geek.thinkunique.org/bb/tags/futurama' title='5 topics' rel='tag' style='font-size: 14.2222222222pt;'>Futurama</a>

    So, the hot tags are updating. What makes you think they’re not?

    I should have tested this before asking. I just made another post using a recent tag for the second time and it now shows up in the hot tags list. So, it would appear that things are working as they should.

    Let me ask this though. What options are available for displaying tags. I would like to display more tags, or at the very least, I would like to display the most popular AND most recent tags. The sort now appears to display only a certain number of tags with only a single use, and out of those tags displayed, they are the oldest tags.


    chrishajer
    Participant

    @chrishajer

    Looks like the function bb_tag_heat_map takes some parameters. In your tags.php template file, you will find something like this:

    <?php bb_tag_heat_map( 9, 38, 'pt', 80 ); ?>

    That calls this function:

    function bb_tag_heat_map( $args = '' ) {

    $defaults = array( 'smallest' => 8, 'largest' => 22, 'unit' => 'pt', 'limit' => 45, 'format' => 'flat' );

    So, the smallest is 9pt, largest is 38pt, UOM is pt (points) and the limit, at least in my template, is to return 80 tags. That much you can control from just calling the function with different parameters. As far as most recent tags, I am uncertain how to do that, but it sounds like it would be a good plugin (not sure if this does what you want: I don’t think so):

    https://bbpress.org/plugins/topic/enhanced-tag-heat-map/

    The information is stored in the database when something is tagged, so I’m pretty sure you could grab the latest N tags by date, DESC and display them as Recent Tags.

    Thanks. I will take a look at that plugin and see how I can use it.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
Skip to toolbar