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



23 responses so far ↓
Joseph Fieber
Mar 16, 2006 at 12:56 pm
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
Mar 16, 2006 at 8:49 pm
…not working for wp 2.0.2 with K2 theme (last version)..any ideia? =(
Joseph Fieber
Mar 16, 2006 at 11:32 pm
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
. See if this works for you. If not, do you see any change at all?< ?php _e('About'); ?>
Marcus
Mar 17, 2006 at 4:20 pm
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
Mar 18, 2006 at 9:08 am
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
Mar 18, 2006 at 1:04 pm
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
Mar 18, 2006 at 3:42 pm
Added “Buffy the Vampire Slayer”, “Family Guy”, “Friends”, “Futurama” and “Star Trek” quotes packages!
Marcus
Mar 18, 2006 at 11:15 pm
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
Mar 18, 2006 at 11:17 pm
*activate not active =p
Joseph Fieber
Mar 19, 2006 at 2:51 pm
Added quotes from Thomas Paine, and proverbs from the King James Bible.
delijha
Mar 27, 2006 at 3:57 pm
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
Mar 27, 2006 at 9:35 pm
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
Mar 28, 2006 at 1:49 am
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
Mar 28, 2006 at 9:23 am
Permissions adjusted, hopefully everything works now!
delijha
Mar 28, 2006 at 10:59 am
yep, everything works fine now! thx for your quick solutions and a wonderful plugin! *hug*
Lisa
May 24, 2006 at 11:34 am
Hi
Plus the quote is underlined thus blurring it.
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
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
May 27, 2006 at 5:58 am
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
May 27, 2006 at 9:53 am
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:
to:
Sam: Their are only 52 lines of code, and I don’t see an extra close anchor anywhere…
Sam
Jun 5, 2006 at 9:24 am
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
Jun 5, 2006 at 9:29 am
Ooops. My code comment didn’t work.
Joseph Fieber
Jun 5, 2006 at 10:21 am
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
Aug 6, 2006 at 10:59 am
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
Jun 1, 2008 at 6:48 am
[...] [...]
Leave a Comment