Feb 17
My Sites: My Blog | My Tech Blog | Follow me on Twitter
—-

For the uninitiated:

Shantz WP QOTD is a plugin to add quotes to your wordpress blog in a few easy clicks. It adds quotes to your posts and your sidebars with a multitude of options for sources and customization.

I made a few additions / modifications to the code and the plugin has been updated to 1.1.0. The changes are:

  • Added Custom tag support for adding quotes anywhere in your posts/pages
  • Added Custom quote separator support and multi-line quotes support

Config Screenshots:

Screenshot1 Screenshot2 Screenshot3

I recommend that you update to this new version asap, as apart from the above mentioned changes, the code is a bit more cleaner as well, which would run a bit better IMO and also help in any modification if you have in mind. For full details and downloads, go to shantz-wp-qotd page.


—-
If you liked this post, then you can Subscribe to my feed
Quote of the day: “I was going to buy a copy of The Power of Positive Thinking, and then I thought: What the hell good would that do?”

written by Shantanu Goel \\ tags: , , , , , , , , , , , , , , ,

Feb 10
My Sites: My Blog | My Tech Blog | Follow me on Twitter
—-

download

Download: shantz-wp-qotd
Version: 1.2.2
Updated: April 23, 2008
Size: 8.06 KB
Hits: 435

Shantz WP QOTD is a plugin to add quotes to your wordpress blog in a few easy clicks. It adds quotes to your posts and your sidebars with a multitude of options for sources and customization.

== Description ==

There are many quotes plugins out there. This one has been started with a view to have the best of features and options, ease of use and multiple sources to get the quotes from.

Features:

  • Add quotes to all your posts automatically.
  • Widget support - Can also have a widget in the sidebar for quotes.
  • Customize and style your quotes with your own text and tags.
  • Multiple sources for quotes (paste in admin page, get from file implemented, fetch from web/rss soon to come)
  • Multiple patterns for quotes - Random Quote, Quote of the day (all posts display quote of the day), Quote of that day (all posts display quote for their own days)
  • Pattern for widget can be different
  • Customization for widget can be different
  • Add quotes to top or bottom of posts
  • Custom template tag to add quote anywhere you want
  • Custom quote boundary decalarator tags/Multiline quote support
  • Enable/Disable the quotes without deactivating the plugin
  • Option to exclude pages from displaying quotes

Coming Soon:

  • Fetch from web/RSS support
  • Quotes Categories
  • Pics support for quotes
  • Anything else you want
  • File selection

And more…

== Installation ==

The Shantz-WP-QOTD plugin can be installed in following easy steps:

1. Unzip “shantz-wp-qotd” archive and put all files into your “plugins” folder (/wp-content/plugins/). It is advisable to create a sub directory into the plugins folder, like /wp-content/plugins/shantz-wp-qotd/

2. Activate the plugin

3. Go to Options > Shantz WP Quotes, adjust your settings and save them.

4. For adding and configuring widget to sidebar, go to Presentation > Widgets.

== Frequently Asked Questions ==

= How to add quotes anywhere in the posts/pages? =
Use the tag “<!– shantz-wp-qotd {option} –>” anywhere in your post (without the quotes).
Note:
1. {option} (including the braces) has to be replaced by the quote pattern that you want: qotd, qottd or r. qotd is quote of the day, qottd is quote of that day and r is random.
2. The tag has to be added using the code editor and not the visual editor, otherwise it will replace the <, > with their HTML equivalents.

= How to use the custom separator/multi-line quotes? =
By default, if you leave the custom separator box blank, the plugin uses a newline character as the separator. However, if you have quotes that have multiple lines, you can change this to a tag of your choice, say [quote]. Now, in your quotes file (or quotes pasted in admin panel options) add this tag at the end of each quote and you are done.

= What is the format for saving quotes? =
In text box in admin page, as well as in the file, the quotes have to be saved as one on each line. Each quote is separate by newline.

= Where is the file with quotes located =

For the get from file option, a file “quotes.txt” has to be present in the same directory where shantz-wp-qotd.php is residing. A sample quotes.txt has been given with this plugin (with some quotes from southpark, simpsons, matrix and deus ex)

= I checked the option “exclude pages” but my pages are still displaying quotes =
Check your WordPress version. This option is effective only for Version 2.1 and above

= How to upgrade to a new version =
Simply overwrite the old files with the new ones.

== Screenshots ==

Config Screens and plugin in action:

Screenshot-1 Screenshot-2 Screenshot-3

You can also see the plugin in action right here on my site (check bottom of posts and the right sidebar topmost widget)

== Version History ==

  • Version 1.2.2
    • Fixed a bug because of which quotes were blank some times. Thanks to Thom for reporting it.
  • Version 1.2.1
    • Option to exclude pages from displaying quotes is also compatible with wordpress version < 2.1
  • Version 1.2.0
    • Added option to exclude pages from displaying quotes
    • Fixed a bug that quotes source selection checkboxes always remain checked after updating settings.
    • Cosmetic: Fixed a few spelling mistakes :)
  • Version 1.1.0.1
    • Cosmetic: Changed readme.txt according to wp-extend standards
  • Version 1.1.0
    • Added Custom tag support for adding quotes anywhere in your posts/pages
    • Added Custom quote separator support and multi-line quotes support
  • Version 1.0.1
    • Fixed some styling related issues in text added before/after quote displayed in widget (especially links related issues)
  • Version 1.0.0
    • Initial version

—-
If you liked this post, then you can Subscribe to my feed

written by Shantanu Goel \\ tags: , , , , , , , , , , ,

Feb 07
My Sites: My Blog | My Tech Blog | Follow me on Twitter
—-

A few days ago, I had written about a wonderful blogging tool Blogjet. Now, if you host a wordpress blog, you’d be aware of the fact that for wordpress to be able to upload yor files (images, attachements in post etc) to the server, you have to make the upload directory writable by all. Now, this is a BIG security risk. Some people go to the lengths of CHMOD’ding their upload directory for a short while and after upload, restoring the apt file permissions back. Some upload their files separately through ftp. But Blogjet has a very cool feature. It supports uploading all your non-text content to your webspace not only by using wordpress APIs but also through ftp if wordpress doesn’t have necessary permissions to write files on your server. This saves you a lot of time, that you can then devote on writing the actual post instead of meandering around with the “technicalities”. But many a people have a heart-ache configuring the ftp with Blogjet, although it is quite simple really. This is basically due to conflicting and confusing instructions existing on the ‘net. So, here I present to you step by step, simplest instrutions to configure this. Read on.

Continue reading »


—-
If you liked this post, then you can Subscribe to my feed
Quote of the day: “Bravery is not a function of firepower.” - JC Denton

written by Shantanu Goel \\ tags: , , , , , , , , , , , , , , , , , , ,