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 1674 Feb 12, 2002, 7:54 AM
Post Re: [yogi] Script to add forums
Paul 1599 Feb 12, 2002, 8:06 AM
Thread Re: [yogi] Script to add forums
Alex 1592 Feb 12, 2002, 12:51 PM
Post Re: [Alex] Script to add forums
Paul 1577 Feb 12, 2002, 12:56 PM
Post Re: [Alex] Script to add forums
yogi 1574 Feb 12, 2002, 1:01 PM