sw’as

Someone or something wonderful or excellent.

WP-Footnotes version 2.2

with 39 comments

In case people are keeping track here and not over at the plugin repository, WP-Footnotes has been updated to version 2.2.

There are some pretty major changes behind the scenes since the 1.x versions of the plugin, but usage is pretty much the same. Check the plugin’s page for all the usage details and a download link.

Written by Simon

September 2nd, 2007 at 1:48 pm

39 Responses to 'WP-Footnotes version 2.2'

Subscribe to comments with RSS or TrackBack to 'WP-Footnotes version 2.2'.

  1. Hello. Your plugin is exactly I need.

    Only a hint: in ‘admin_panel.php’ file, change ‘PHP_SELF’ to ‘SCRIPT_URI’ in the _SERVER var you use to create the form target. It allows your plugin to work fine also with Wordpress MU.

    Nice work! Bye bye,

    Nemo.

    Nemo

    5 Sep 07 at 7:14 pm

  2. Thanks for the tip, Nemo. I’ll add it to the bug fixes for next release.

    Simon

    9 Sep 07 at 2:10 pm

  3. Simon,

    Your plugin is absolutely fantastic, i used the latest version.

    I have looked in the options page (options->footnotes), but i can’t get an option to chunk/shorten urls in footnote so that they won’t break my blog layout :( So, can you add it to the next release? or give me a tip, i’ll edit it manually !

    Kenny

    28 Sep 07 at 9:54 am

  4. This plugin has been invaluable. For some reason, though, I can no longer get it to do a two-paragraph note as it once did. Have you any suggestions? (No, doesn’t work either. The double-paren’d passage simply sits up there with the rest of the text.)

    Thank you!

    Michael

    28 Sep 07 at 10:25 am

  5. Well, I was wrong. The new version does observe doubled <br />s. Still, if there’s a more “canonical” way to do it, I’d like to hear.

    Michael

    28 Sep 07 at 11:05 am

  6. Simon,
    What an excellent plugin. Still I think there is a bug with IE and the smooth scroll. It makes the page jump up and down which is very confusing. Have a look: http://test.aenaon.info/blog23/2007/09/28/iposimiosis/
    I use wordpress 2.3 Please let me know when you see into it.

    greekvisualarts

    28 Sep 07 at 3:34 pm

  7. Sorry, one more thing I noticed is that in IE the ↩ does not display while it does with firefox.
    Thanx again

    greekvisualarts

    28 Sep 07 at 3:37 pm

  8. [...] Although this blog isn’t about WordPress - I’m fully unqualified to talk about that -I may leave this up - somewhere - for future reference. Probably mine. aBy the exceptionally clever Simon Elvery ; instructions and links to download available here.aaaa [...]

  9. I installed the plugin and I had a problem.

    I usually write paginated posts and when I insert for example, the numbers show up correctly in the text (9, 10, 11, 12…) but at the bottom of the page, the footnotes’ numbers are 9, 0, 1, 2…

    I’d like the numbers to be 9, 10, 11, 12… maybe you could help me. And when I disable the pagination, the footnotes show up correctly again.

    Sephi

    23 Oct 07 at 11:01 pm

  10. Hi Sephi,

    Can you show me an example on your website? That error sounds very strange indeed.

    Simon.

    Simon

    24 Oct 07 at 10:00 am

  11. Sephi

    24 Oct 07 at 9:05 pm

  12. Hi again Sephi,

    The problem is with your layout, rather than with the plugin.

    There isn’t enough left margin on the footnotes list so the first digit in two digit numbers get cut off.

    If you add margin-left: 30px !important; to the ol.footnotes stylesheet directive in the footnotes options it will fix your problem.

    S.

    Simon

    24 Oct 07 at 10:11 pm

  13. Thanks to your advice, my problem is now solved ! :)

    Sephi

    25 Oct 07 at 2:00 am

  14. The “two links to the same footnote” thing doesn’t work in your example. It makes two separate footnotes (7 and 8) with the same text.

    Looking at it with Netscape 9/ OS X (essentially Firefox 2)

    Stephen Rider

    13 Nov 07 at 7:37 am

  15. Hi Stephen,

    You’re quite right. It’s a bad example. The last update included a new option to keep identical footnotes separate and I have that turned on. You can keep it turned off on your install for the described behaviour.

    Simon

    13 Nov 07 at 12:57 pm

  16. Hey Simon thanks for the great plugin. I am having the same problem Sephi was having with the footnotes list not displaying the number. I tried adding the margin-left code to my CSS options in the footnote options section in my admin page but it’s still not working properly. Any advice?

    My site is located here: http://www.sportech.info

    JD

    15 Nov 07 at 3:06 am

  17. Sorry to jump the gun. I placed the code in teh wrong spot. It’s working now!

    JD

    15 Nov 07 at 4:43 am

  18. Great, great Plugin. How can I increase the (default) space between footnotes without adding a paragraph or break tag at the end of each? I’ve tried margin-top and padding-top but the space between notes just defaults to the line height.

    Roy

    17 Nov 07 at 3:50 am

  19. Hi Roy,

    I suspect you have just added the CSS declarations incorrectly. You certainly should be able to modify the space between each note by changing the padding or margins of the LI elements.

    Simon

    18 Nov 07 at 10:29 pm

  20. You were right. It works now.

    Roy

    22 Nov 07 at 10:40 pm

  21. Hi, love this plugin, but cannot seem to adjust options. Anything other than resetting to default results in ‘a’ being placed in every option text box. Nothing I put in manages to persist. Any ideas?

    Someone else had this problem — http://wordpress.org/support/topic/130103

    Thanks, Byron

    Byron

    23 Nov 07 at 8:55 am

  22. Hi Byron,

    As you mentioned, this is a known issue which I haven’t been able to track down yet. Some people have been able to fix the issue by turning off the ’smooth scroll’ option. Give that a go, otherwise stay tuned for an update (but probably not until the new year).

    Simon

    23 Nov 07 at 10:16 am

  23. Brilliantly handy plugin thanks very much for giving this to us! I tend to use a lot of reference material so this will be very useful for me and hopefully make my posts a little richer as well.
    I only installed it today so I look forward to using it properly over the coming days and weeks. Cheers :)

    Tim

    30 Nov 07 at 8:08 am

  24. Hey. This plugin is great! Thanks so much.
    Maybe you should see with the futureofthebook institute/commentpress
    http://www.futureofthebook.org/commentpress/ if you can make the plugin run together with their template. Looks like the perfect couple (but doesn’t work together, so far).

    Roman

    30 Nov 07 at 11:23 pm

  25. Something like a fix for that pesky “a” problem

    I did the following and now have a stable (that is no “a”s magically show up) wp-footnotes running on my site.
    Hope this helps:

    1) Deactivate
    2) delete wp-footnotes folder from wp_contents/plugins
    3) [using php myadmin] delete swas_footnote_options from the SQL DB
    4) reload wp-footnotes into plugins folder
    5) activate

    So based on the above what I think is happening is that swas_footnote_options is not getting refreshed properly after a “return to defaults” command from the footnotes options page nor does it get rebuilt when the plugin is deactivated then reactivated.

    jje

    3 Jan 08 at 8:56 am

  26. Hi, I’m sorry if I missed anything but does this plugin utilize the jQuery framework/library? Thanks! It seems promising and I appreciate all the work done.

    PA

    26 Jan 08 at 4:36 pm

  27. Hi PA, No it doesn’t use jQuery.

    Simon

    28 Jan 08 at 6:55 am

  28. Simon — This is a great plugin, but I’m doing something wrong. I think. I followed the install instructions, no problems. I had the options the way I wanted them, and the first test went beautifully, perfect footnotes. I decided to turn the smooth scrolling off (long story why), which I did — and now the options are completely messed up. They look okay on the options screen, but in the post everything shows up as the letter ‘a’ — footnote numbers, everything.

    The options page shows no ‘a’s in any of the boxes, let me repeat. I tried turning scrolling back on, no luck.

    Any suggestions? And many thanks.

    Rosina Lippi

    3 Feb 08 at 5:28 am

  29. Hi Rosina,

    The ‘a’ problem has been a problem for a while and I’m still not sure what causes it. But it seems to have some relationship to the smooth scroll. Your symptoms seem to be a little different to others, so thanks for providing that info.

    Have you tried clicking the “Reset Options to Defaults” button? If you haven’t could you do that and let me know if that solves the problem.

    Simon

    4 Feb 08 at 7:35 am

  30. I did try to change back to the default values, without success.

    So I uninstalled it, made sure it was deleted from the server, and then reinstalled. This time when I went into the options page the only thing I changed was to unclick the smooth scroll — and now it’s working perfectly. It’s a great plugin. I was surprised and pleased to see that it even manages to parse the ‘more’ command, splitting the footnotes so that the show up in the right spot.

    So thanks! I’ll leave something for you in your paypal tip jar.

    Rosina Lippi

    4 Feb 08 at 8:53 am

  31. Sent you a blog-mail message recently…Wanted to make you aware of this:

    WP-Footnotes WordPress Plugin Multiple Remote Vulnerabilities

    WP-Footnotes Plugin for WordPress is prone to multiple cross-site scripting vulnerabilities because the application fails to properly sanitize user-supplied input. The plugin also insecurely exposes administrative functionality.

    An attacker may leverage these issues to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This may help the attacker steal cookie-based authentication credentials and launch other attacks.

    This issue affects WP-Footnotes Plugin 2.2; other versions may also be vulnerable.

    Source: http://www.securityfocus.com/bid/27572/discuss

    Was not able to submit this via Mantis because I have yet to receive my signup verification email from the system.

    Periapex

    4 Feb 08 at 3:50 pm

  32. Many thanks Rosina. I’m glad it has been sorted out.

    Simon

    4 Feb 08 at 7:19 pm

  33. Any update on the WP-Footnotes security issue ?

    I have disabled this plugin but I’m missing its functionality :(

    0xCAFE

    13 Feb 08 at 3:22 pm

  34. @0xCAFE: the security issue seems to arrise only if you have register_globals turned on. Which you most likely don’t have or probably shouldn’t have anyways.

    Edde

    16 Feb 08 at 2:47 am

  35. [...] L’auteur ne semble pas s’en inquiéter. [...]

  36. [...] found out, via the WP-Footnotes 2.2 post at the plugin author’s blog that the only danger with the plugin was if you had [...]

  37. I was contemplating on writing a plug-in for my blog to use footnotes. Good thing I decided to do a search for something before starting. You’re plug-in does exactly what I wanted. Thank you!

    Daniel

    26 Feb 08 at 11:05 pm

  38. For those concerned with the security issue — open footnotes.php, cut line 199. Open admin_panel.php, paste at line 20. Save both files. That’s it.

    Daniel

    27 Feb 08 at 9:02 pm

  39. Daniel,
    I can find/cut the line from footnotes.php using Wordpress’ web interface, but I can’t find admin_panel.php (to paste at line 20).

    Help. I’m using 2.3.1

    RW

    14 Mar 08 at 5:59 pm

Leave a Reply