• I have WP-Cumulus 1.20 installed on my new 2.7.1 WP. I also installed tags-cloud-flash-widget that allows WP-Cumulus to be in the right sidebar rather than in a post or page. It appears to be working correctly because there are two tags floating around “Comments” and “Features” (see My site).

    Question: Is there a way to have the floating tags be words (hyperlinks) which when clicked take one to pages in one of our other domains?

    I’m using Mehmet’s WP-Showcase theme.

    Thanks

    Kerry

Viewing 15 replies - 1 through 15 (of 17 total)
  • I’m not quite sure why you’d need ‘tags-cloud-flash-widget’, since Cumulus comes with a widget.

    As for the link target URLs, the plugin gets those from WordPress by calling the wp_tag_cloud function. You can choose to use the flash movie separately (see my blog or the FAQ for details), but that means you have to manually add/remove/edit the tags in an XML file.

    Thread Starter iKerrith

    (@ikerrith)

    Re: “‘tags-cloud-flash-widget.” Me neither. I’m just trying everything.

    Re: “(see my blog or the FAQ for details)” I searched but the key words I used didn’t work. Do I install a Flash Movie widget?

    Re: “…but that means you have to manually add/remove/edit the tags in an XML file.” Sounds promising.

    Kerry

    Thread Starter iKerrith

    (@ikerrith)

    Thank you for the link.

    I downloaded and installed the developer’s version of wp-cumulus and from it placed the tagcloud.xml file at the same level as the tagcloud.swf but now I don’t know what step to take next.

    This is what it looks like https://www.managercoaching.com/wp/

    Thanks for your support.

    Kerry

    The tutorial assumes you’re not using WordPress at all. It describes how to repurpose the flash movie outside WP. You could simply integrate the movie into your theme and bypass the plugin altogether.

    But it should also be possible to comment out the line that feeds the tags to the movie in wp-cumulus.php and upload the xml file. If the tagcloud parameter is omitted the XML file should be used instead.

    Thread Starter iKerrith

    (@ikerrith)

    Thanks,

    In wp-cumulus.php I changed:
    // get some paths
    if( function_exists(‘plugins_url’) ){
    // 2.6 or better
    $movie = plugins_url(‘wp-cumulus/tagcloud.swf’);
    $path = plugins_url(‘wp-cumulus/’);
    } else {
    // pre 2.6
    $movie = get_bloginfo(‘wpurl’) . “/wp-content/plugins/wp-cumulus/tagcloud.swf”;
    $path = get_bloginfo(‘wpurl’).”/wp-content/plugins/wp-cumulus/”;
    }

    to:

    // get some paths
    if( function_exists(‘plugins_url’) ){
    // 2.6 or better
    $movie = plugins_url(‘wp-cumulus/tagcloud.xml’);
    $path = plugins_url(‘wp-cumulus/’);
    } else {
    // pre 2.6
    $movie = get_bloginfo(‘wpurl’) . “/wp-content/plugins/wp-cumulus/tagcloud.xml”;
    $path = get_bloginfo(‘wpurl’).”/wp-content/plugins/wp-cumulus/”;
    }

    but I just jet a blank cloud.

    I also tried just deleting the whole // get some paths code but the cloud was blank also.

    Is there more that I should edit in the wp-cumulus.php?

    Thanks,

    Kerry

    Actually, you should leave those lines as they were. The line you need is

    $flashtag .= $soname.'.addVariable("tagcloud", "'.urlencode('<tags>') . $tagcloud . urlencode('</tags>').'");';

    Simply put ‘//’ in front of that line and the plugin should use the xml file (which needs to be called ‘tagcloud.xml’ and has to be in the same folder as the swf.

    Thread Starter iKerrith

    (@ikerrith)

    I changed both of the instances of tagcloud.xml in wp-cumulus.php back to tagcloud.swf.

    I added the ‘//’ so that wp-cumulus.php now reads:

    // $flashtag .= $soname.’.addVariable(“tagcloud”, “‘.urlencode(‘<tags>’) . $tagcloud . urlencode(‘</tags>’).'”);’;

    }

    Does it look right?

    Nothing seems to have changed. https://www.managercoaching.com/wp

    In the Developer’s download of wp-cumulus there is a file named tagcloud.swf and a folder named flash sources in which there are two files, tagcloud.xml and tagcloud.swf. Does it matter which swf file I use? I tried both. I have both tagcloud.xml and tagcloud.swf in the wp-cumulus directory.

    When I view tagcloud.swf it reads: 4357530927F10000789CD4BA775C5359
    F7E8BD4E7A421130014451406A2862C5 etc. An unusual code.

    Kerry

    Ah, I see you’re using the ‘compatibility mode’. Is that necessary? If not, unselecting that option should do the trick.

    If you want to keep using the compatibility mode, look for this line (which does the same thing, but for the comp mode):

    $flashtag .= '&amp;tagcloud='.urlencode('<tags>') . $tagcloud . urlencode('</tags>');

    Remove or comment out that line.

    In both cases, the XML file should be in the plugin’s main folder. The Flash sources folder is just that. Source code for those who want to tinker with the flash. That folder does not need to be on your server at all.

    Both the swf files should be the same.

    Thread Starter iKerrith

    (@ikerrith)

    I had the compatability option unchecked before the last ‘//’ edit but there was nothing happening in the flash movie window on https://www.managercoaching.com/wp so I selected it and the Comments and Featured tages started to float.

    Now I’m needing to know how to replace the floating Comments and Featured tags with a key word such as Parenting which when clicked will take one to an article on our other website about parenting.

    I sure appreicate your patience. It feels like we’re getting there.

    Thank you,

    Kerry

    Did you comment out that line in my last reply? If you do that, leave the comp mode enabled and place the xml file in the plugin’s folder (not in flash sources) you should start seeing the tags from the xml instead of the ones from your xml file.

    If that does not work, try commenting out the lines that set the ‘mode’ parameter as well.

    Thread Starter iKerrith

    (@ikerrith)

    I believe I have implemented all of your suggestions. The way it is now is:

    1) Compatibility is selected
    2) The wp-cumulus.php code line 301 reads:
    // $flashtag .= ‘&tagcloud=’.urlencode(‘<tags>’) . $tagcloud . urlencode(‘</tags>’);
    3) The wp-cumulus.php code line 353 reads:
    // $flashtag .= ‘&tagcloud=’.urlencode(‘<tags>’) . $tagcloud . urlencode(‘</tags>’);
    5) There is a copy of your tagcloud.xml file in the plugins directory and in the wp-cumulus directory (I got .xml file from the flash sources folder).
    4) The flash source directory has been deleted.

    I placed ‘//’ before the following but I got errors.
    // if( $options[‘mode’] != “cats” ){ $flashtag .= urldecode($tagcloud); }
    // if( $options[‘mode’] != “tags” ){ $flashtag .= urldecode($cats); }
    but I got errors. “Unexpected }”
    so I changed it back to its original line.

    With the above changes made the flash window no longer has the floating Comments and Featured tags—just the white background.

    There are quite a few lines of code with [ ‘mode’ ] in them. Is there a mode parameter I should start the commenting out test with?

    Thanks,

    Kerry

    The line I was referring to is

    $flashtag .= '&amp;mode='.$options['mode'];

    (assuming you’re using the compatibility mode.)

    Please let me know if that helps.

    Thread Starter iKerrith

    (@ikerrith)

    Woo Woo!

    That did it. It’s so perfectly what I’ve been looking for. About 10-15 years ago someone had I believe an OS that had floating tags and I just loved the idea.

    Thanks ever so much for hanging in there with me.

    Kerry

    P.S. Can you post me a donation link for yourself?

    Thread Starter iKerrith

    (@ikerrith)

    I don’t see how to delete the Tag Cloud (see right under the Search field) https://www.managercoaching.com/wp. I’m afraid to try anything for fear of messing something up.

    Kerry

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘Can WP-Cumulus be tags (links) to other domains’ is closed to new replies.