Skip to main content.
Cardschat has reviews of the top online poker sites to play poker games at like Bodog.
You can also get the best online poker bonus using the Full Tilt Poker Referral Code
and the.PokerStars Marketing Code
May 13th, 2005

STBQuote

Well, I finally finished my first attempt at php. If you aren’t reading this through a feedreader, you’ll notice the quotes in the sidebar. There are a lot of random quote programs out there, but none of them gave me the flexibility I wanted.

STBQuote allows you to:

Include an image
Include a link
Style the quote, author and link individually using CSS

I’m sure this is rough, so if you have any suggestions for improvement, let me know. For example, in order to link to an image, right now you have to include the entire URL. To make things easier, I hope to figure out how to just pull the file name from the text file and let the plugin determine the folder location. Wish me luck!

Download STBQuote

Let me know what you think!

Posted by Jaxia in WordPress

This entry was posted on Friday, May 13th, 2005 at 2:53 pm and is filed under WordPress. You can follow any responses to this entry through the comments RSS 2.0 feed. You can skip to the end and leave a response. Pinging is currently not allowed.

10 Responses to “STBQuote”

  1. Gustavo says:

    Very nice the idea for the plug in, but i don´t know how to install it. Can you help me?
    tanx
    Gustavo

  2. Jaxia says:

    Glad you like it :)
    Upload it, activate it, and put this:

    somewhere in your sidebar.

    How far along are you in the install process?

  3. bagaki says:

    what code do i insert into the sidebar?? thanks for the help and the plugin

  4. Jaxia says:

    Insert this code into your sidebar:

    < ? STBquote(); ? >
    but remove the spaces between the ? and the <>.

    That’s it! Hope you like it.

  5. Neolex says:

    i think i’m doing something wrong here… i’m using the random-images theme for my wordpress 1.5.2 install and everything is looking good either in firefox or internet explorer. however, the trouble starts after i insert into my sidebar. my footer disappears. it only reappears if you’re viewing an entry without the sidebar. do you have a fix for this?

  6. Jaxia says:

    Hey Neo -
    Random images? I didn’t write that. I wrote a random quote plugin. I don’t know anything about random images. Sorry.

  7. Neoflex says:

    Where do I put the files quotes.txt and all the images? Is it in the plugin directory? Can I change make my own directory to hold these?

  8. Jaxia says:

    The quotes.txt and all the images go in the plugin directory. You can make your own directory, but you would need to edit the php file so that it knew where to look for the images.

  9. Neoflex says:

    I tried modifying the code that points to quotes.txt but I’m getting something wrong, and it only works with the default code and with quotes.txt in the plugins directory.

    If I have the plugin .php file in /public_html/wp-admin/plugins/STBquote.php and I want to reference the quotes text file that is /public_html/quotes/quotes.txt, what is the code that goes in $quote = implode(”, file(dirname(__FILE__) . ‘/quotes.txt’)); ?

    Thanks for your help

  10. WordPress Plugins Database » Plugin Details » WP-STBQuote says:

    […] Visit […]

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>