Welcome to Geeklog, Anonymous Tuesday, September 17 2024 @ 10:33 am EDT
Geeklog Forums
Problems with Stock Quotes
Status: offline
qwikstreet
Forum User
Junior
Registered: 08/15/02
Posts: 32
I am trying to install the stock quote plug in. I unpacked the tarball in the plugins directory. I ran the stocks-sql.sql which created the neccessary tables. I've then added to lib-database.php:
$_TABLES['stocks'] = $_DB_table_prefix . 'stocks';
It does not show in the plugins area for admin.
The README file says to add phpblock: stocks.phpblock. (That is already in the plugins folder, which resides outside of the public_html directory.)
Here is some furhter information:
[supintra@vws0101]$ cat stocks.phpblock
function phpblock_getstocks () {
global $_CONF, $_TABLES, $_STOCKS_TIMER;
// Stocks Block Timer
//$_STOCKS_TIMER = new timerobject();
//$_STOCKS_TIMER->startTimer();
$path = $_CONF['path_html'] . "stocks";
include_once($path . "/display_stocks.php"
$display = getstocks();
return $display;
}
9
8
Quote
Anonymous
Anonymous
Try rereading the README
;-)
8
9
Quote
All times are EDT. The time is now 10:33 am.
- 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