Update:  Now hosted at http://wordpress.org/extend/plugins/stock-quote-sidebar/ - please rate the plugin there if you like it!  This page will still be updated, and comments are welcome here.

This is a WordPress plugin that allows you to put a list of stock quotes in your sidebar (or anywhere you want, really). This should be considered beta software, although I’ve been using it without problems for a while, as you can see in my sidebar. I have a different plugin that allows inline stock quote tooltips - check that out here.

Usage:
Unzip into your WordPress plugins directory, which should result in a directory called sqsidebar. Enable the StockQuoteSB plugin in the Admin page. Configure the plugin under WordPress Options, Stock Quote Sidebar.

Then, wherever you want the quotes to appear, put in code like the following, depending on what quotes you want:
<?php get_stock_quote(); ?>

You can also override the symbols configured in WordPress options by explicitly calling get_stock_quote with the symbols as parameters:

<?php get_stock_quote("NOVL,PFE,INTC"); ?>

The options allow you to specify the following:

  • Yahoo URLs to use for quotes and charts
  • Chart range (1 day, 5 day, etc)
  • Date and time format
  • Number of randomly selected quotes to display
  • Whether to display the symbol or the company name

A chart is displayed in a tooltip when you mouse-over the day’s change.

As of version 1.2, cURL is used to download quote data.  Accordingly, cURL must be available and enabled in your PHP environment.

Version 1.3 fixes the issue caused by Yahoo changing the URL for stock data downloads. Existing users will need to download version 1.3 or later, and change the URLs in the plugin’s options to NOT include the “http://” portion. For example, enter finance.yahoo.com and NOT http://finance.yahoo.com

Versions 1.4 and later use a different plugin directory, due to the way the SVN downloads work from Wordpress.org.

This plugin has been tested with WordPress 1.5 and 2.x.
Please leave feedback or let me know of any problems below.

This is free software, but donations are accepted in the sidebar.

Download here

Change Log

106 Responses to “Stock Quote Sidebar”


  1. 1 Andy@Hillhome.org - Andrew Hill » WordPress Plugins

    [...] Stock Quote Sidebar [...]

  2. 2 Dennis Au

    Hi Andrew, great work on the plug-in. I’m using it on my site as we speak.

    There’s a small technical error with the way the plugin forms tags, which means that the resulting code isn’t strict XML.

    Where the plugin provides output as:

    table border=0

    for example, to make it comply with strict XML, it should be

    table border=”0″

    The only reason this came up was because I was trying to get some MathML to display on my blog, and ended up getting some XML parsing errors from my browser. It’s an easy to fix, minor bug, and it shouldn’t effect too many users.

    I’d submit a modified version of the script, only I don’t know php very well, so there are probably more quotation marks, literal quotation marks and echo statements in the modified version that I’ve got running than strictly required.

  3. 3 Jon

    Just FYI, line 50 of the Stock Quote Sidebar “fclose($fp);” returned an invalid stream resource error. Once I removed the line, everything worked fine.

    I’m using the same theme you are, but I’m manually editing a lot of stuff, so I can’t be sure what caused the error. Just thought you might want to know.

  4. 4 Mike

    Well, that is more or less just what I have been looking for for quite a while.

    The question for me is: Is this stripping of Yahoo stock quote information legally sound?

    The reason for this question is, that I want to build a German speaking virtual investment community build on individual portfolios and discussions of them. It would be nice to have those stock quotes with this kind of site, too.
    But I am really worried about staying legal (in fact my master thesis will build on this kind of web site).

    Thx for listening in.

  5. 5 Seth

    Andy,

    What about showing only one stock’s price and one of the charts that Yahoo creates? Is there any way to include a graph?

  6. 6 Jonathan

    Any ideas why the tooltip isn’t showing all the way and if you could add some code to fix it for ANY theme?

    My link is here

  7. 7 Mike

    man it doesn’t work =(

    I down’t know how to do it, can you help me?

    my page http://thebest.net.ru/

  8. 8 Nathan

    Fatal error: Cannot redeclare insert_sqsb_header_code() (previously declared in C:\apachefriends\xampp\htdocs\LOCALHOST\TheNewStandard\wp-content\plugins\sqsidebar\stockquote.php:40) in C:\apachefriends\xampp\htdocs\LOCALHOST\TheNewStandard\wp-content\plugins\sqsidebar\stockquote.php on line 47

    Not sure why I’m getting this error when I attempt to access the Stock Quote Sidebar tab under the options menu…

  9. 9 PJ Brunet

    Beautiful plugin–everyone should use it.

    I have it running right now on my site.

  10. 10 Bruce

    I am getting the same error as Nathan above.

    Fatal error: Cannot redeclare insert_sqsb_header_code() (previously declared in C:\ApacheFriends\xampp\htdocs\wp-content\plugins\sqsidebar\stockquote.php:40) in C:\ApacheFriends\xampp\htdocs\wp-content\plugins\sqsidebar\stockquote.php on line 47

    I am running WP 1.5.2 Any ideas what is going on?

  11. 11 PJ Brunet

    Works for me in 1.5.2

    Maybe you just need a real operating system ;)

  12. 12 Kevin

    I tried to use your stock quote plugin, but it appears it doesn’t support working behind a firewall. I see $url = sprintf(”%s/d/quotes.csv?s=%s&f=snl1d1t1c1ohgv”, $yahoosite, $stocksymbols); in your code, then $fp = fopen($url, “r”); afterward. I don’t see a method to specify a proxy. Suggestions?

  13. 13 Kevin

    Ah - I did a little more research and found out that the user has to be running PHP 5.0.0 or greater to support fopen($url, …). With a little more reading of http://us3.php.net/manual/en/function.fopen.php, I learned even more…

    rafaelbc at matrix dot com dot br
    23-May-2005 10:23
    pflaume dot NOSPAM at NOSPAM dot gmx dot de’s proxy_url() was very helpful to me!
    Although, I still had a problem: proxy authentication.

    So I added some code to enable http get through a proxy with user authentication.

  14. 14 Kevin

    Follow-up to above: since the <?php ?> section got cut out from above, here is just that section again…

    <?php
    function proxy_url($proxy_url)
    {
    $proxy_name = ‘127.0.0.1′;
    $proxy_port = 4001;
    $proxy_user = “user”; // added
    $proxy_pass = “password”; // added
    $proxy_cont = ”;

    $proxy_fp = fsockopen($proxy_name, $proxy_port);
    if (!$proxy_fp) {return false;}
    fputs($proxy_fp, “GET $proxy_url HTTP/1.0\r\nHost: $proxy_name\r\n”);
    fputs($proxy_fp, “Proxy-Authorization: Basic ” . base64_encode (”$proxy_user:$proxy_pass”) . “\r\n\r\n”); // added
    while(!feof($proxy_fp)) {$proxy_cont .= fread($proxy_fp,4096);}
    fclose($proxy_fp);
    $proxy_cont = substr($proxy_cont, strpos($proxy_cont,”\r\n\r\n”)+4);
    return $proxy_cont;
    }
    ?>

  15. 15 Shawn

    This is a great plugin! Thank you. I am using it on my site.

  16. 16 Orlando

    Amazing plugin! I was having a problem though: Whenever I rollover the +/- prices, the small charts don’t come up. Is there anything else I need to do to show that?

    Currently, in my script, I am using the following code:

    Help please! I’ve linked my blog site to it. Thanks again! (worst comes to worse, just leave a response in a comment (which I’ll moderate), and I’ll try to fix it.

    Once again, GREAT plugin.

  17. 17 Shawn

    Orlando,
    Make sure you have the chart display set for 5 days. Otherwise you wont see it on the roll over at first. I think by default it is not on that. Once I changed mine to 5 days they showed up.

  18. 18 Peekj

    I had been using this plugin successfully in WP 2.0 until I moved my site to a new server. Now, whenever I activate the plugin and put the code in my sidebar, my page won’t load. The whole page just comes up blank with no errors at all.
    The only difference I can tell between my old host and my new server is that the new one runs php as cgi. Any ideas? Please shoot me an email if you have any suggestions. Thanks!

  19. 19 Michael

    I changed mine to 5d and the charts still don’t show up. Any ideas?

  20. 20 Jason

    Ok…

    For everyone having the issue of no charts showing up on rollover.

    When the plugin is first enabled it stores the wrong value in the database.

    On initialization of the plugin it will modify an array named ‘$options’ then store the values of ‘$options’ into the database.

    See Line 69.
    It initializes one of the values to:
    $options['yahoochartrange'] = ‘1d’;

    When it should be:
    $options['yahoochartrange'] = ‘/t?s=’;

    Unfortunately you can change the value in the php file, but it won’t be reflected in the database, since it’s already been stored in the database on initialization.

    You have two options.
    The first option is to change the value in the script to 5-day or 1-year and save the changes. This will overwrite the default value of ‘1d’ to something else. If you want 1-day, then change it back to 1-day in the options and save changes. The value should be now ‘/t?s=’.

    Unfortunately I can’t verify if this works, since I have another error in the script, which I haven’t started to debug yet. #10 in this post. The one that Bruce has documented.

    The second option is easy if you know how to modify a table in a database.

    To modify the value in the database directly open up your MySql table editor of choice (I use phpMyAdmin). The value is the last (or one of the last) entries in the ‘wp_options’ table.

    My value is as follows:
    a:9:{s:15:”sqsbstatsymbols”;a:3:{i:0;s:4:”^DJI”;i:1;s:5:”^IXIC”;i:2;s:5:”^GSPC”;}s:11:”sqsbsymbols”;a:5:{i:0;s:4:”NOVL”;i:1;s:4:”MSFT”;i:2;s:4:”INTC”;i:3;s:3:”PFE”;i:4;s:4:”GOOG”;}s:9:”yahoosite”;s:24:”http://finance.yahoo.com”;s:14:”yahoochartsite”;s:31:”http://ichart.finance.yahoo.com”;s:15:”yahoochartrange”;s:2:”1d”;s:8:”dateform”;s:5:”Y-m-d”;s:8:”timeform”;s:3:”H:i”;s:11:”displayname”;s:6:”symbol”;s:19:”randomquotequantity”;i:0;}

    Find where it says:
    “yahoochartrange”;s:2:”1d”

    Change it to:
    “yahoochartrange”;s:5:”/t?s=”

    Hope this helps.

    Check out my working charts here:
    http://jjfresh.homeip.net/blog/

  21. 21 Don

    Hello,

    Great plug in, and I’m using it, but it has an interesting twist here. As you will see (if you go here) I have the code in, but instead of having the graphs show up from hoverings, they are up all the time. (At least on my computers.)

    What did I do wrong? Just downloaded and installed per the instructions here.

  22. 22 Stuart

    I’ve got the plugin working and displaying the quotes and charts fine, but I seem to be having a problem where it is slowing my site right down - sometimes up to 9 seconds to load, compared to 0.3 if I disable it. I’m assuming this is because my server is taking this time to download the relevant entries from Yahoo (I’m just displaying 3 indices). Is there a way to put a timeout on it, or any other ways to speed it up?

  23. 23 Ray Marotta

    Hello;

    Problem with the plugin; When installed;
    My site won’t load at all. Using wordpress 2.01.

    If I remove the ?php call, the site will load.

    Would really like to use your plugin !!!

    ; Ray

  24. 24 DieHard

    On version 0.9, you forgot to update the version number reported in “plugins” page.

  25. 25 Buzzkill

    Hi,
    Got it. Loaded it. It works… sort of. I can use the get_stock_quote(”^DJI,^IXIC,^GSPC,NOVL,ko,pfe,intc”) method just fine. But I am actually tracking mutual funds for our 401k. I get no chart data. Is that a function of some update interval? Also, on the options page I cannot add the stocks or mutual funds. When I click on update, I get a blank white page. When I bring up the options for the plugin the changes I made are gone. The install isn’t rocket science, and the dir permissions are correct. Can you think of anything else it might be? Thanks!

  26. 26 sujan

    Fatal error: Cannot redeclare insert_sqsb_header_code() (previously declared in c:\domains\eternalprofits.net\wwwroot\wp-content\plugins\sqsidebar\stockquote.php:44) in c:\domains\eternalprofits.net\wwwroot\wp-content\plugins\sqsidebar\stockquote.php on line 42

    How can i overcome this error.
    My Page at http://www.eternalprofits.net
    Please Help me. I really want ot use it on my site.

  27. 27 Buzzkill

    Hi,

    Is there a way to hard set the interval for the chart in the “stand-alone” version of the script? The default is the 1day view. I am tracking mutual funds for my 401k and the minimum seems to be 3 month.

    Thanks!

  28. 28 Davy

    Hi:
    I installed this plugin, but had some issues. Here they are (btw: I’m pointing to fr.finance.yahoo.com):
    1) the CSV2Array conversion didn’t work because of the separator. I changed it from “,” to “;”.
    2) the getStockQuote didn’t send back correct values for “last” and “change”, so I took out the sprintf statements and now it works fine.
    Is this normal? Do other people have the same issues or is this because I’m pointing to a “European” site?

  29. 29 Matt

    Thanks for the stock sidebar plugin. It works very well on my fairly new site.

    I wanted to ask you also, how did you get your header to randomize since in the theme its in the css file? Thanks for you help in advance.

    -MM

  30. 30 jamie

    I so want to be able to use this but I am using dreamhost and they do not allow the fopen call. I have been reading up on using CURL instead but I am really not very good at programming.

    Any help in adapting this program to use CURL?

    Thanks!

  31. 31 Mike in LA

    Great plug in! Easy, too. Just wondering if you’ve got a theory as to why the S&P 500 shows no current trading level or trend, even though the links to Yahoo function and the tooltip chart works.

    Seems to be doing the same thing on this page, as well as mine.

    Now, if we oculd only show futures trading for crude oil and gold! ;-)

    Cheers!
    M

  32. 32 Gary Allen

    On mouse hover, the stock chart appears, centered underneath the cursor. But my Web page style put the stock quote on the right-hand side of the page, so the stock chart box floats off the right side of the page–only about half is visible. Any way to make the stock box pop up left-justified so it’s all visible?

  33. 33 Oldstone Place » Cool WordPress Plugins

    [...] Stock Quote Sidebar puts a list of stock quotes in your sidebar. Trackback · [...]

  34. 34 Jay

    Hello there,

    (using WP2.1) installed the plugin and inserted the code and lo and be hold the site wont load? remove the code and all is well…

    is this a wp2.1 thing?

    thanks,

  35. 35 paine

    i try to find something at google.com and take it on your site…thanks

  36. 36 photoholic

    I installed this but

    “Warning: Invalid argument supplied for foreach() in /[WORDPRESS]/wp-content/plugins/sqsidebar/stockquote.php on line 145″

    on option page!

    I have no idea about “PHP”
    What should I do?

  37. 37 Gary Allen

    I have the same chart cut-off problem as #32, and in fact, this Web page has cut-off charts, too. A small sliver of the chart is cut off from the right side, despite the update history that seems to say the charts were relocated to prevent this.

  38. 38 Matt

    Hey thanks for the awesome plug in. My investment groups thanks you it is a quite useful plug in. You have probably seen the new yahoo badge, I dislike it because it raises security issues also it would be nice if one could really tweak it. One improvement on your plug in would the ability to show percent change. Just a suggestion. Thanks again. You can view your work in action at http://www.theragingbulls.info I am working getting the pop-up stock quotes to just have not got around to it.

  39. 39 JONATHAN

    that’s an awesome plugin! thanks so much!

    Jon

  40. 40 Mack Simpson - Adverb

    Terrific plugin! Thanks for releasing it!

    A suggestion for some future, future, future release– and I know it’s probably a lot of work.

    I think it would be an excellent addition to be able to choose between presenting Yahoo!finance data and charts and those of Google Finance.

    Thanks again for the plugin– glad there are people out there with the brains needed to pull something like this off!

  41. 41 Mike George

    Hi Andy- I really appreciate the plug-in. I have a site that I kind of abandoned which is http://stocksblogger.com

    Anyway, if you check it out, you can see that the ticker works great. I love it. Very cool.

    However, I have a new site and I could really use this ticker. Both sites use Wordpress 2.0 and both are hosted on the same server with the same hosting package.

    I followed the instructions and added it to my second site. However, after the second site ATTEMPTS to load- it seems to be in some kind of loop and I usually have to shut down I.E.- I get the following error message after a little while:

    Warning: fopen(): URL file-access is disabled in the server configuration in /home/content/c/a/s/casinowinner/html/wp-content/plugins/sqsidebar/stockquote.php on line 307

    Warning: fopen(http://finance.yahoo.com/d/quotes.csv?s=^DJI,^IXIC,^GSPC&f=snl1d1t1c1ohgv): failed to open stream: no suitable wrapper could be found in /home/content/c/a/s/casinowinner/html/wp-content/plugins/sqsidebar/stockquote.php on line 307

    I don’t mind leaving a donation or whatever I have to do. I just really need to get this working!

    Thank you in advance,

    Mike

  42. 42 Alex

    Hi, I was curious what were the legal implications of displaying Yahoo content on my web site as if it was my own? I would love to use this plugin, but I would like to understand if it’s ok to just grab info from Yahoo and just display on my site.

    Thanks

  43. 43 Paul

    Hi Andrew,
    thank you so much for this plugin, it’s very precious for website development.

    In order to make the plugin totally W3C compliant, I was wondering if you knew how to add “width” and “height” tags to the image charts displayed, please?

    I tried hard but diddn’t succeed..

    Thank you again,

    Paul

  44. 44 Dan

    I love this plugin as well, but I do have a similar problem to that of a previous commenter. It seems that, when I use this plugin, loading time for my site goes to around the 10 second range as opposed to nearly instantaneous. It doesn’t seem like the plugin is slowing down the load time for this site or some other sites using the plugin so I was wondering if you could help me shed some light on how to optimize its useage on my site. Thanks so much for your help.

  45. 45 David

    Cool! It works great. Thanks!

  46. 46 Nigel

    Had to take your plugin out (.8) when I upgraded to WP2. I have now fully widgetized the site and tried various php widget interpreters to call the info (King Text, Widgetize anything etc) but nothing seems to work.
    Any ideas?
    Thanks.

    PS It’s a great tool.

  47. 47 Kashif

    Is it possible to use it with Google based quotes? My stock exchange is not supported by Yahoo.

  48. 48 Humayun

    I have no idea where to post this I’m new to wordpress please help me.

  49. 49 Humayun

    I have no idea where to post this “”. I’m new to wordpress please help me.

  50. 50 Humayun

    I have no idea where to post this ?php get_stock_quote(”NOVL,PFE,INTC”); I’m new to wordpress please help me

  51. 51 Nictech

    Great plugin, just curious if any way to stop archiving sqsb…. files on my root dir?

    Getting overwhelmed with files but would like too keep the plugin active.

    Thanks

  52. 52 Brian

    I’m getting error when running:

    Warning: tempnam();open_basedir restriction in effect. File() is not within the allowed path(s) …. on line 310

    Warning: curl_setopt(): supplied argument is not a valid File-Handle resource on line 313

    I am using Wordpress 2.05.

    Could this be that a tmp folder is required but has no permission?

  53. 53 jonathan

    is it possible to turn-off the pop-up chart when you roll over the change in value?

    also, any intention to expand this to international market and indexes?

  54. 54 Brian

    Installed earlier version 1.1 and works now. Thanks Andy for the great plugins.

  55. 55 John

    Works like a charm! I got ADM listed without any trouble. But how can I list the price of soybeans and corn on the Chicago Board of Trade?

  56. 56 Vincent

    Placed the Stock Quote Sidebar in a php code widget and works perfectly. I then adjusted size of sidebar on stylesheet to make it fit just right.

  57. 57 mighty_falcon

    the sidebar works just fine with the widget too! just grab Widgetize anything and add the code it should be fine!

  58. 58 61bruce

    kmjum7_61_t_1_n0

  59. 59 the surg3on

    you should add formatting of tickers. example,

    BRK-A and BRK-B are in the thousands of dollars. Your tool is amazing and i love it. it would be nice to add this feature.

  60. 60 Steve Weiss

    Hi,

    Your plugin is very helpful, thank you.

    I notice when you have many, many symbols (we have 50+), loading up all the charts graphics significantly slows down the page’s load time.

    I made the following changes to eliminate this problem, so that it pulls the charts on-demand. You don’t even see the difference, but the page loads much, much faster this way:

    in function get_stock_quote:


    if($change < 0) {
    echo "<td width='55' align='right'><a href='$chartclickurl' class='sqsbchart' onMouseover='popupChart(this, \"$charturl\");'><span class='chartPlaceHolder'></span><font color='red'>$change</font></a></td>";
    }
    else if($change > 0) {
    echo "<td width='55' align='right'><a href='$chartclickurl' class='sqsbchart' onMouseover='popupChart(this, \"$charturl\");'><span class='chartPlaceHolder'></span><font color='green'>$change</font></a></td>";
    }
    else {
    echo "<td width='55' align='right'><a href='$chartclickurl' class='sqsbchart' onMouseover='popupChart(this, \"$charturl\");'><span class='chartPlaceHolder'></span>$change</a></td>";
    }

    Then, in the sidebar before you call this function:


    function popupChart(obj, url) {
    placeHolder = $(obj).getElementsByClassName(’chartPlaceHolder’)[0];
    if (placeHolder.nodeName != “IMG”) {
    placeHolder.replace(”");
    }
    }

    As you can see it requires prototype, but it could easily be rewritten not to if you felt like it.

    Hope this is useful to someone.

  61. 61 Doug Tucker

    I can’t get the above code to work. I’m using wp 2.2.1 and tried the code on a page and also a widget. It didn’t work. Nothing showed up. I activated plugin, configured a few valid stocks, put the code in, and nothing shows up. I must be doing something wrong as everyone else seems to be ok. Any suggestions? Thanks, Doug

  62. 62 Dave

    Do you have any suggestions on how to get this working in Mediawiki (i.e. without using Wordpress)? Will try to do it but am not that experienced with PHP extensions. I just wondered if you have had any tips or previous experience with anyone doing this? Thanks.

  63. 63 friso

    oke, stockTT works well. But this plugin is a bit to difficult for me. I dont no where to put this code.

    if someone could copy paste a few lines of his script with this code within it..

    Thank you!

  64. 64 Nader

    I’m getting an error related to CURL. What should I do ?
    Fatal error: Call to undefined function curl_init() in /var/www/nadertewelde.com/htdocs/wp-content/plugins/sqsidebar/stockquote.php on line 309

  65. 65 Charles

    Looks like yahoo changed the url of their service only an hour after I installed your plugin. What are the odds? How do we get the plugin to work? No url I enter in the options seem to do the trick.

  66. 66 Gene Steinberg

    Well, I’ve been using it for a while, and then Yahoo! messed us all up.

    Hopefully we can all get this plug-in working again.

    Peace,
    Gene

  67. 67 Andy So

    I’ve been using this as well. I deleted the old version and uploaded the new one. I checked the options and all the old stocks still appear there. I tried to view the site but nothing is coming up. Are there any other upgrade instructions other than deactivate 1.2, upload a new 1.3, then activate again?

    Thanks

  68. 68 rjmolesa

    Awesome plugin. Works great with one exception. For some reason when I view my site in firefox the graphics get squished, in IE (7 at least) they look as expected. However the images on your site work as expected in FF. Is this a CSS issue?

  69. 69 Tracey

    I’ve downloaded the new plug-in but instead of having the chart appear when you roll over the number, it is actually just appearing on my site.

    How do I fix this? How do I get rid of the chart so that it only appears when you roll over the stock quote?

    Thanks.

  70. 70 oneonian

    man i am clueless. I uploaded into my plugin directory, modified the option a little bit. but i don’t see the table on the side bar.
    where do i exactly enter this
    “” much thanks.

  71. 71 oneonian

    opps php code didnt get posted.
    i meant to say enter this

    “php get_stock_quote();”

  72. 72 Dennis101

    I keep getting this error. I don’t understand it worked before and I upgraded to 1.3.

    Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 35 bytes) in /home/ovathar2/public_html/wordpress/wp-content/plugins/sqsidebar/stockquote.php on line 263

  73. 73 Gene Steinberg

    Hi, I got a weird one, but I’m not sure where to put the blame. So don’t take it personal, but I welcome assistance as my PHP skills are minimal and my Apache skills are even worse.

    I just updated to the newest RELEASE branch of cPanel 11, which includes something called Easy::Apache, a simple way to build the latest Apache 1.3, 2.0 or 2.2 release in just a few minutes.

    So,last night i upgraded from Apache 1.3.7 on my dedicated server to 2.2.6.

    I used the mods that my host (HostICan) said were correct, which means choosing a Basic configuration.

    After the update, some permissions were unaccountably changed, such a setup file for the MyBB message board system, which went from 777 to 644. The wp-content folder of my WordPress 2.3 installation was also changed, but I think I got this back to normal (and also reinstalled some plug-ins).

    However, with the WordPress installation, pages would stall at the sidebar, until I removed the code for SQSidebar in the sidebar theme file. Understand I’ve used your plug-in for months, and upgraded to the 1.3 version when it came out. Before the Apache upgrade, everything was fine.

    Despite reinstalling, and even doing a fresh WP installation, I cannot get your plug-in to run.

    Before and after the Apache upgrade, I was using PHP 5.2.4, so it seems that the Apache installation represents the only change that I can discern.

    So I ask you: What is going on here and how do I restore your plug-in to functionality?

    Apache experts are welcome to advise if there are further things I should do to avoid possible future problems.

    Peace,
    Gene Steinberg

  74. 74 Gary

    I also upgraded to 1.3 and experienced a problem with the cURL function. The log file error message is:

    Call to undefined function curl_init() in /usr/local/apache2/htdocs/db/wp-content/plugins/sqsidebar/stockquote.php on line 321

    Am I correct that PHP has to have been compiled to include these functions?

  75. 75 Dmitri

    Hello. I am very bad speak english. I have problem with your plugin. Please, tell me, why side bar not working? I am installing plugin in the directory my site, activated plugin in meta board, print php code in widget, but i dont see it :(
    Plugin is cool. But problem “unhappened” me :(
    Please write me solodin@list.ru (Russia)

  76. 76 Daniel

    Do u have any plan to have this plugin in
    Joomla??

  77. 77 Vicky

    Page is blank! wordpress 2.3.2

  78. 78 santiago

    great job

  79. 79 AJ

    Anybody have this working in WP 2.3.3? I only get a list of info:

    “IDMI”,”IDM PHARMA INC”,2.40,”2/22/2008″,”4:00pm”,-0.21,2.66,2.70,2.34,928066 “XPRT”,”LECG CORPORATION”,9.28,”2/22/2008″,”4:00pm”
    .
    .
    .
    See this at http://trading.valuemanagementpartners.com
    near the end of the sidebar.

  80. 80 Ray

    I just upgraded to WP 2.3.3 as well. I had been running SQSB .9 for the last year or more. .9 with 2.3.3 will break the WYSIWYG editor in WP. I have no idea why yet, but it causes RealTinyMCE to bomb out as “undefined”. So I am giving 1.3 a shot.

  81. 81 Ray

    1.3 is no worky either. I get an address stamp of 1969-12-31 16:00 where the stock quotes should be in the sidebar. That is all. I can tell it is trying to do something because the page hesitates as it loads. But then it fails and just leaves the timestamp. Huge bummer. I love this plugin.

  82. 82 Ray

    Fixed. Missed this in the notes…

    “This will require users to remove the “http://” portion from the URLs in the plugin options.”

    Now if I can just get UDM to work within a text widget I would be totally dialed.

  83. 83 Andrew

    I’m using 2.3.3 and can’t get it to work:

    Warning: tempnam() [function.tempnam]: open_basedir restriction in effect. File() is not within the allowed path(s): (/home/stockmar:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/stockmar/public_html/wp-content/plugins/sqsidebar/stockquote.php on line 322

    Warning: curl_setopt(): supplied argument is not a valid File-Handle resource in /home/stockmar/public_html/wp-content/plugins/sqsidebar/stockquote.php on line 325

    Warning: fflush(): supplied argument is not a valid stream resource in /home/stockmar/public_html/wp-content/plugins/sqsidebar/stockquote.php on line 327

    Warning: fclose(): supplied argument is not a valid stream resource in /home/stockmar/public_html/wp-content/plugins/sqsidebar/stockquote.php on line 329

  84. 84 Stephen

    I am getting this error in the options page:

    Invalid argument supplied for foreach() in /home/myblog/public_html/wp-content/plugins/sqsidebar/stockquote.php on line 155

    Any ideas? Tanks in advance.

  85. 85 Jake

    Man… too bad this plugin doesn’t work. It used to be great. using 2.3.2 and 2.3.3 and can’t even begin to get it to work. mainly cURL problems on a fresh install of 1.3… It is unfortunate when a plugin can’t be supported. but understandable I guess. I will miss it.

  86. 86 Jake

    Ok. so my problem is that my server doesn’t have proper support.

    Since there hasn’t been an answer on here, I will try to explain. You have to have you PHP install compiled with support for cURL. If you don’t have that it won’t work. My dreamhost is already setup and everything works great for me. My local doesn’t, and it doesn’t work at all.

    Nice plugin. don’t know about 2.5, but works great on 2.3.3. thanks.

  87. 87 Gene Steinberg

    I’ve been using this plugin for a long time, but I’m finding that it’s been erratic since I went from WP 2.5 to 2.5.1.

    Now, we’re running into situations where there’s a 10-20 second delay when your plugin is enabled, as if it can’t retrieve the external online content.

    Is that an issue with Yahoo! — what?

    Anyone else?

    For now, I’ve disabled the plugin and the link in my sidebar till this clears out.

    Peace,
    Gene Steinberg

  88. 88 Gene Steinberg

    Just wanted to let you know that I reenabled this plugin, which seems to be running faster. But rendering times are still at least twice as slow.

    :(

    Peace,
    Gene

  89. 89 Scott

    I recently installed with the latest WP. My host (pair) claims that cURL is configured as part of my php install. But nothing appears to happen.

    Do I need to do anything special other than install, activate and add the php code to the side bar?

  1. 1 Play Beyond - Playstation 3 ???????? » ???? » Play Beyond????
  2. 2 WordPress Plugins for Investment Blogs : A Beautiful Trade
  3. 3 StockTag wordpress plugin
  4. 4 Stock Quotes Sidebar | The Wall Street Matador
  5. 5 My Non-Registered Investments | Financially Motivated
  6. 6 Weblog Tools Collection » Blog Archive » WordPress Plugin Releases for 05/02
  7. 7