Jump to content

Enkidu 3D Tags Cloud


Enkidu

Recommended Posts

%7Boption%7D



File Name: Enkidu 3D Tags Cloud

File Submitter: Enkidu

File Submitted: 01 Jan 2012

File Category: Other style options



If you are tired of the dull-looking default tags side block, then this hook is for you. This hook will convert your tags into a 3D sphere of tags cloud that rotates smoothly when you hover your mouse over it. It is based on the Cumulus tags cloud for WP by Roy Tanck....and it's free %7Boption%7D

note to non-Latin languages users
please follow this post to learn more about embedding your language characters in the flash movie.

features

1- SEO friendly. Poeple with no flash support or javascript will see the default IPS tag cloud instead. So you won't lose ranking because of it.
2- control the look and feel of the hook like the width, height and colours.
3- uses IPS tags framework (so no need for extra DB queries)

thanks



here to download this file

Link to comment
Share on other sites

  • Replies 67
  • Created
  • Last Reply

This is working the opposite way to it should.

Least popular tags are the biggest and most popular are the smallest.

You need to change the logic of your cumulusWeights function, so its more like this, increasing the size if the weight is larger, not if its smaller. Basically changing the less thans to great thans:


   	 $calWeight = $this->settings['cumLeast'];


        if ( $weight > 0.9 )

        {

            $calWeight = $calWeight+2;

        }


        if ( $weight > 0.8 )

        {

            $calWeight = $calWeight+2;

        }


        if ( $weight > 0.7 )

        {

            $calWeight = $calWeight+2;

        }


        if ( $weight > 0.6 )

        {

            $calWeight = $calWeight+2;

        }


        if ( $weight > 0.5 )

        {

            $calWeight = $calWeight+2;

        }


        if ( $weight > 0.4 )

        {

            $calWeight = $calWeight+2;

        }


        if ( $weight > 0.3 )

        {

            $calWeight = $calWeight+2;

        }


        return $calWeight;

Link to comment
Share on other sites


This is working the opposite way to it should.



Least popular tags are the biggest and most popular are the smallest.



You need to change the logic of your cumulusWeights function, so its more like this, increasing the size if the weight is larger, not if its smaller. Basically changing the less thans to great thans:




   	 $calWeight = $this->settings['cumLeast'];


		if ( $weight > 0.9 )

		{

			$calWeight = $calWeight+2;

		}


		if ( $weight > 0.8 )

		{

			$calWeight = $calWeight+2;

		}


		if ( $weight > 0.7 )

		{

			$calWeight = $calWeight+2;

		}


		if ( $weight > 0.6 )

		{

			$calWeight = $calWeight+2;

		}


		if ( $weight > 0.5 )

		{

			$calWeight = $calWeight+2;

		}


		if ( $weight > 0.4 )

		{

			$calWeight = $calWeight+2;

		}


		if ( $weight > 0.3 )

		{

			$calWeight = $calWeight+2;

		}


		return $calWeight;




ooops. turns out I uploaded an older version where I just stole IPS code through the good old copying and pasting. It should be fixed now. Also I made IPS code more efficient :)
Link to comment
Share on other sites

YAY! finally someone has done a decent tag cloud :smile:

Q. how can I change the width of the actual tag cloud 'ball' (not the hook width you have in the settings)
Q. How can I center the hook within it's wrapper?

I am using it full forum width (modified the hook point)

Q. How hard would it be to have it appear to the left or right of your forum messages app? if you look at our DEV forums you will see what I'm trying to do :smile:

regards
Rich

Link to comment
Share on other sites

Hi Richard

1- the width and height settings are for the flash object so I would expect increasing the width there will increase the width of the tag cloud in return.
2- as simple as CSS centering tricks. Open enkidu3dcloud which should be in other global template group, and find <div class='_sbcollapsable' id="flashcontent">

change it to


<div style="margin: 5px auto; width:yourwidth px;"  class='_sbcollapsable' id="flashcontent">



put the width you like in there.

3- if you meant notices system then it's gonna be a 'Barneys Girlfriend' to synch the view port to each notice frame

thank you :)

Link to comment
Share on other sites

1. Unfortunately not, it changes the container width, but the width of the actual flash object 'ball' remains unchanged
2. thanks
3. I didn't mean integration with the notices system, but next to it. However it sounds like a ball ache anyway so nevermind :)

regards
Rich

PS: file just got 5 stars ;)

Link to comment
Share on other sites


1. Unfortunately not, it changes the container width, but the width of the actual flash object 'ball' remains unchanged


2. thanks


3. I didn't mean integration with the notices system, but next to it. However it sounds like a ball ache anyway so nevermind :smile:



regards


Rich



PS: file just got 5 stars :wink:




did you change the height as well?

and thanks for the 5 stars :)
Link to comment
Share on other sites


aha! its round regardless of the width setting, I was hoping it would stretch like an oval :sad:



and you are most welcome :smile:



Rich




it will actually expand itself to fit whatever size you give to the flash object. but I guess it has to maintain an aspect ratio for the cloud to stay as sphere-like.
Link to comment
Share on other sites


I am probably doing something wrong but I get a blank tags block. Can someone help?



Also I dowloaded the support for other languages but I cant find tagcloud.fla.




you'll need to download the Development Version not the regular version :smile:

as for the tags not showing. I have another report about it. Most likely unsupported glyphs are causing the flash object to fail :)

I will investigate and get back to you
Link to comment
Share on other sites

great work enkidu , il rate it 5 star,

a suggestion for future, if possible;

''Right clicking'' on tag cloud , forces a revert to standard 'list view' , this has been requested by some of my members within hours of it going live.

cheers

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...