Welcome to Geeklog, Anonymous Thursday, March 28 2024 @ 02:46 pm EDT

Geeklog Forums

Stock Quote block/module


Status: offline

squatty

Forum User
Full Member
Registered: 01/21/02
Posts: 269
Ever wanted to display stock quotes on your Geeklog site?

Stock Quotes is a Geeklog phpblock for creating and displaying stock share price quotes made available from the Yahoo! Finance website.

Stock Quotes features are as follows:

  • Consists of three views: default view, administration view, and quote view
  • Displays customizable stock quotes for registered users
  • Displays a "default" set of quotes configured by the site administrator for anonymous users
  • Has a built in caching mechanism
  • You can see it in action at http://www.squatty.com. The source code is located at http://www.squatty.com/stocks.zip

    There's a few know issues which I have pointed out in the README. If you run into any other problems let me know.

    Thanks,
    Danny


    In a world without walls and fences, who needs Windows and Gates?
     Quote

    Status: offline

    squatty

    Forum User
    Full Member
    Registered: 01/21/02
    Posts: 269
    Looks like the links to the code is broke above. Let's try this again: You can view the block at http://www.squatty.com or

    download the source at http://www.squatty.com/stocks.zip

    Thanks


    In a world without walls and fences, who needs Windows and Gates?
     Quote

    erics

    Anonymous
    I like you work on the blocks keep it up.... ----- Man I love this stuff....
     Quote

    Anonymous

    Anonymous
    I fixed a few minor bugs. You can download the new source archive here
     Quote

    Status: offline

    squatty

    Forum User
    Full Member
    Registered: 01/21/02
    Posts: 269
    Made some more updates to the .2 release of the Stocks block. You can get the source code here.

    Included in the archive is a README file detailing the updates/changes. Give it a try and let me know what you think?

    Squatty


    In a world without walls and fences, who needs Windows and Gates?
     Quote

    Status: offline

    squatty

    Forum User
    Full Member
    Registered: 01/21/02
    Posts: 269
    The new source code is located here.
    In a world without walls and fences, who needs Windows and Gates?
     Quote

    Status: offline

    squatty

    Forum User
    Full Member
    Registered: 01/21/02
    Posts: 269
    The new source code is located here.
    In a world without walls and fences, who needs Windows and Gates?
     Quote

    Anonymous

    Anonymous
    Mark, What have you changed with the stockquote block. It looks like the pre GL1.3.5 release that has been available. I have GL 1.3.5 installed and just copied over my stockquote code and have not had any problems. Visiting your site - it looks to be the same. Thanks.
     Quote

    Status: offline

    squatty

    Forum User
    Full Member
    Registered: 01/21/02
    Posts: 269
    Mostly performance related items. Here's a copy of the change log: - Added "Add to my Watch list" logic on the quotes page - for registered users ONLY - Fixed hard coded table background color. The block looks better with the 1.3.5 GL themes! - 5/2/02 - Fixed caching of "Edit" link - 5/2/02 - Symbol/Quote caching is enabled by default - 5/2/02 - Added PHP Block timer - 4/29/02 - Fixed block header/footer hard coding in admin.php - 4/22/02
    In a world without walls and fences, who needs Windows and Gates?
     Quote

    All times are EDT. The time is now 02:46 pm.

    • Normal Topic
    • Sticky Topic
    • Locked Topic
    • New Post
    • Sticky Topic W/ New Post
    • Locked Topic W/ New Post
    •  View Anonymous Posts
    •  Able to post
    •  Filtered HTML Allowed
    •  Censored Content