Gossamer Forum
Home : Products : Gossamer Forum : Discussion :

Re: [yogi] Script to add forums

Quote Reply
Re: [yogi] Script to add forums In reply to
Use:

Code:
use lib '/path/to/gforum/admin';
use GForum qw/$DB/;
GForum::init('/path/to/gforum/admin');

my $forum_db = $DB->table('Forum');


to start your program as this will properly initilize Gossamer Forum.

Cheers,

Alex
--
Gossamer Threads Inc.
Subject Author Views Date
Thread Script to add forums yogi 2466 Feb 12, 2002, 7:54 AM
Post Re: [yogi] Script to add forums
Paul 2338 Feb 12, 2002, 8:06 AM
Thread Re: [yogi] Script to add forums
Alex 2343 Feb 12, 2002, 12:51 PM
Post Re: [Alex] Script to add forums
Paul 2314 Feb 12, 2002, 12:56 PM
Post Re: [Alex] Script to add forums
yogi 2316 Feb 12, 2002, 1:01 PM