Welcome to Geeklog, Anonymous Thursday, November 28 2024 @ 04:28 am EST
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;
}
11
10
Quote
Anonymous
Anonymous
Try rereading the README
;-)
10
11
Quote
All times are EST. The time is now 04:28 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