• 12,295 views Mar 15, 2006

    I’ve modified the Joe’s Simpsons Quotes plugin to make it work with other quotes as well. The code is cleaned up quite a bit, and should be ready to go (it’s working great for me!). The plugin currently has quotes from The Simpsons and from Seinfeld, but it’s easily customized to your liking. See the included Readme.txt file for installation instructions, and let me know what you think!

    Version 2.0 now makes it easier to add quotes of your choice as ‘packages’.

    ***NOTE*** Version 3 now available as JPF Quotes WordPress Plugin

    Tags:

  • 23 Responses

    WP_Modern_Notepad
    • Joseph Fieber Says:

      Updated download to version 1.01. Only change is to link picture and quote back to plugin page. Can easily be removed if you wish.

    • Marcus Says:

      …not working for wp 2.0.2 with K2 theme (last version)..any ideia? =(

    • Joseph Fieber Says:

      I just downloaded the K2 theme and installed it and it worked for me. I used the Theme Editor to go into the Sidebar file, and I pasted

        < ? JoesQuotes();?>


      just before the line for the About title

      < ?php _e('About'); ?>

      . See if this works for you. If not, do you see any change at all?

    • Marcus Says:

      when i try to activate the plugin it says:

      “Warning: Cannot modify header information – headers already sent by (output started at…wp-content/plugins/JoesQuotes/JoesQuotes.php:1) in…wp-admin/plugins.php on line 16″

      and if i try to update the sidebar, it says the samething, but for line 59 (as i can remember).

    • Joseph Fieber Says:

      Not sure what could be going on. Here’s a page that talkes about this error: http://codex.wordpress.org/Answers-Trouble_Shooting#Headers_already_sent
      I looked at my latest plugin code, and their aren’t any extra spaces. Perhaps you should try downloading again to make sure you have the latest one. If that doesn’t help, try a different theme just to help narrow down what might be causing the problem. I use the Alexified theme – http://www.alexallied.com/alexified, see if the plugin works with that.

    • Joseph Fieber Says:

      I’ve updated to 2.0. The plugin now loads multiple quote files, making it easier to expand with quote ‘packages’ that contain the quote file and associated pictures. See my Downloads page for the new plugin, and the three available quotes packages. If you are upgrading, delete the entire contents of the JoesQuotes directory, and replace with the new plugin download, and quote packages of your choice.

    • Joseph Fieber Says:

      Added “Buffy the Vampire Slayer”, “Family Guy”, “Friends”, “Futurama” and “Star Trek” quotes packages!

    • Marcus Says:

      I created the JoesQuotes dir in wp-content/plugins and put the gifs, txt and the joesquotes.php there (is it correct?). I clicked to active. The “headers already sent by” error showed. I hit back in browser and suddenly the plugin is active. Then i tested the deactivate. Same error, but in a different line.

      Ok, so i tried to see if the active status were ok (showing on blog) even with the error. It was…the plugin works now, but every time i hit active/deactivate the error shows and i have to hit back and refresh plugin page to change it.

      BUT, the problem now is that it prevents my Extended Live Archives to show in the Archive page =p
      And, when i hit the active/deactive button in ELA plugin, it shows the JoesQuotes error, and i have to do the same (hit back and refresh).

      So, the problem is that i have to choose which plugin to use, because i cant use both.

      Any way to solve this conflict? =)

      *ELA version: 0.10beta-r16

    • Marcus Says:

      *activate not active =p

    • Joseph Fieber Says:

      Added quotes from Thomas Paine, and proverbs from the King James Bible.

    • delijha Says:

      hi there,

      i´ve downloaded the plugin .zip, but everytime i try to open it, it says that the file is corrupt. that happens also with the different packages. have tried different browser, but it wont work. do you have any idea?

      thanx, delijha

    • Joseph Fieber Says:

      Thanks for letting me know, my download manager was corrupting the downloads. They are working now, try them and let me know what you think!

    • delijha Says:

      thx, for the quick solution – it works! but… hmm…the bush/simpsons/seinfeld package are downloadable, but now the all the others give me a “403 Forbidden by Web Configuration”, if i try to download them…. hopefully, i dont drive you crazy with that *sigh*

      deli

    • Joseph Fieber Says:

      Permissions adjusted, hopefully everything works now!

    • delijha Says:

      yep, everything works fine now! thx for your quick solutions and a wonderful plugin! *hug*

    • Lisa Says:

      Hi
      after downloading your program instead of using the simpsons quotes I attempted to make a .txt file of quotes from Rosencrantz & Guildenstern are Dead. I have the sidebarwidget installed and it works correctly with all my other plug-ins, this plug in is recognized and I activated it. But there is something in the coding not recognizing the different quotes and or .gif images that I created.
      I then loaded your unchanged files and it works fine but it is not the type of quotes I wanted :) Plus the quote is underlined thus blurring it.
      I have not changed any coding according to the gnu. But is there anyway to fix this on my end? Or do you have to host the pictures and quotes on your site?
      Thanks in advance!

    • Sam Says:

      Noticed a tiny issue with validation. It seems there may be an extra in line 60.

      Take a peek when you get a chance?

      BTW: Thanks for this plugin!

    • Joseph Fieber Says:

      Lisa: Are you putting the text file and GIF image in the “/wp-content/plugins/joesquotes” directory? This is the only location the plugin will find them unless you change the plugin coding. Also, make sure the file names are lower case, most servers seem to be case sensitive. If you want the underline to go away, you can change the link style in your style sheet for the DIV called “JoesQuotes”, or you can edit the plugin file to remove the link altogether by changing the two lines:

      
      echo "<table><tr><td valign=\"top\"><a href=\"http://sojoe.info/?p=56\" rel="nofollow">$pic</a></td>";
      echo "<td><font size=\"1\"><a href=\"http://sojoe.info/?p=56\" rel="nofollow">$pieces[1]</a></font></td></tr></table>";
      

      to:
      
      echo "<table><tr><td valign=\"top\">$pic</td>";
      echo "<td><font size=\"1\">$pieces[1]</font></td></tr></table>";
      

      Sam: Their are only 52 lines of code, and I don’t see an extra close anchor anywhere…

    • Sam Says:

      Hmm. I’m looking at jqw.php, starts with comment:
      /*
      Plugin Name: Joe’s Quotes Widget
      Description: Adds a sidebar widget to display random quotes with an image
      Author: Joseph Fieber
      Version: 1.1
      Author URI: http://sojoe.info
      */

      and it is 73 lines long. Line 60 (after my change) is:
      <a href="#" rel="nofollow"></a>

      (hope I got the code comment right)

    • Sam Says:

      Ooops. My code comment didn’t work.

    • Joseph Fieber Says:

      Ahh, you are talking about the Widget, this is the page for the plugin (which only has 52 lines). I just looked at the widget, and you’re right, their is extra code there that isn’t needed. I cleaned it up and updated the download to 1.11. Thanks!

    • Joseph Fieber Says:

      I updated the package to 2.2. The major change is in the way I look for the quotes files, now basing their location on the location of the joesquotes.php file instead of looking for the document root which was giving me problems on my new server. I also corrected a typo in the readme file that showed the wrong code to put in the webpage.

    • great deep thoughts Says:

      [...] [...]

    Leave a Comment

    Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.