Support » Plugins and Hacks » Weighted Words 1.1

Weighted Words 1.1

  • I’ve updated the Weighted Words plugin, version 1.1 is now available for download here.

    This release fixes a validation problem with the default search URLs, adds ! to the list of stripped-out punctuation, and adds an option to use “pretty” search URLs.

    There are still character encoding problems. What I think is happening is that strtolower() is ruining everything, and using mb_strtolower() would be the most robust way to fix it. However, my server doesn’t have multibyte string functions installed. If someone could help me test this, I would be much obliged.

Viewing 15 replies - 16 through 30 (of 32 total)
  • good plugin thanks

    As i am using Weighted Words for my german blog i get QuestionMarks (?) for all german Charakters Like Ä Ö Ãœ … Could anyone tell me where to fix this issue?

    See Result: http://www.oliver-emmler.de

    = Help! My non-English characters are garbled! =

    The good news is, you’re not alone. The bad news is, there’s no fix for this problem yet.
    It will be addressed in a future version of Weighted Words.

    Just realized that I’m not a genius when it comes to plugins, and again when it comes to this one Im just not getting it.

    I unpacked, uploaded and activated the plugin. Pasted the : <?php weighted_words(); ?> code in my sidebar.php (in my case : <?php weighted_words(5,3,25,50); ? )uploaded it and there is… nothing. In the “view-source I see the :<pclass=”weightedwordlist”> code, so by reading this topic I must asume I did everything right, yet I might have done something wrong or overlooked a little thing. Can anybody help me out?
    My site can be found at http://www.seacloudies.com

    p.s. Might it be that I donot have enough words in my blog (although I set the $mincount to 5 and it appears to work for chinaman)

    TIA CaramellaMorbide

    i have no glue why i get this error on my page:
    Warning: max(): Array must contain atleast one element in /Library/WebServer/Documents/php/wordpress15/wp-content/plugins/weighted_words.php on line 54

    i use wordpress 1.5.2 und i have activated the weighted plug-in…copy some code at my sidebar…
    can someone help me! please!

    More of a general CSS/PHP refresher lesson (new to WordPress/PHP):

    Currently I use 2 separate hover styles on my site. 1 is green, 1 is orange. Currently the WW words are using the orange color, but I want them with the green.

    Generally I would do this by adding a simple “class=”GREEN”” tag, but I’m not sure the best way to do that in this setup. Additionally, I wouldn’t mind being able to have a different font setup.

    Any tips would be greatly appreciated, and I love the plug-in.

    Has anyone had any problems with the count that appears when you hover over a word and the actual number of posts being wrong? Myabe I’m not understanding what the count number is. Is it the number of occurrences of the word or the number of posts in which it is found?

    Chachee: You can add entries in your stylesheet for

    p.weightedwordlist { }
    p.weightedwordlist a { }

    … to change the whole paragraph, or just the links, respectively.

    Jwurster: The count is the number of actual occurrences of the word, not the number of posts.

    Have you ever found any scenarios when the count was wrong?

    No, but I haven’t looked very hard, either. Have you?

    for some reason i never figured out this plugin broke on 2 of my sites, and still works on 1. It was as-if I suddenly got too many posts for WeightedWords to handle, or else I posted an unallowed character, or something? Had to disable WW, cuz it was crashing my sidebar from that point on down. 🙁

    Still like the plugin tho

    One thing I did notice is that the word in the ww list can be a part of a word in your post. For example, I have “table” displayed. When I click on it and go to the posts, I see “unpredictable” in one post. Is it supposed to work this way, treating the weighted-word as a text string? If it is, that’s fine. Just need to know.

    Also, would it be possible to hi-lite the weighted-word in the post so you can easily recognize where it is referenced?

    WW uses the WordPress search engine to show where the word is used; if you want hilighting, I think Search Highlight will do it for you. That’s also why you’re getting “unpredictable” for “table” – WW doesn’t count it, but WP search does. I don’t know if Search reloaded would change that or not.

    yami, thank you for that information. The main reason I am asking is because I have ported your plugin to work with the Vanilla opensource forum software (others talked about on this support forum). I should have asked you first if you wanted to do this, but I didn’t. It seemed like a good opportunity to learn how to work with Vanilla. If you want to take a further discussion offline, email me at jwurster at comcast dot net.

    In further testing on a smaller set of posts, so that I could actually verify the word counts, I believe I have found a problem. However, this probably only applies to those of you who have Excel formulae in your posts. I found that the strip_tags() function is stripping out the entire post which contains the formula. The search when you click on the word is fine and finds all related posts.

    Any help would be appreciated.
    Thank you, jim

Viewing 15 replies - 16 through 30 (of 32 total)
  • The topic ‘Weighted Words 1.1’ is closed to new replies.