FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » Importing Newsgroup and Mailinglist Problem
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Importing Newsgroup and Mailinglist Problem [message #6364 is a reply to message #6357] Tue, 08 October 2002 21:32 Go to previous messageGo to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma:
Senior Member
Administrator
Core Developer
You need to make a number of changes, fortunately they are all at the top of the script, so you won't need to dabble in the inner workings.
delete:
        if( $HTTP_SERVER_VARS['argc'] < 2 ) exit("Missing Forum ID Paramater\n");
        if( !is_numeric($HTTP_SERVER_VARS['argv'][1]) ) exit("Missing Forum ID Paramater\n");


delete:
        if( !isset($HTTP_SERVER_VARS['argv'][1]) || !is_numeric($HTTP_SERVER_VARS['argv'][1]) )
                exit("Missing Forum ID Paramater\n");


change:
chdir(dirname($HTTP_SERVER_VARS['argv'][0]));

TO:

chdir(__FULL_DIRECTORY_PATH_TO_SCRIPTS_DIR__);


change:
$nntp_adm->get($HTTP_SERVER_VARS['argv'][1]);

TO:

$nntp_adm->get(__RULE_ID__);


Obviously __FULL_DIRECTORY_PATH_TO_SCRIPTS_DIR__ and __RULE_ID__ should be changed to appropriate values.


FUDforum Core Developer
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message icon13.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: which files/files
Next Topic: categories and forums disappeared for guests :(
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Nov 27 14:14:34 GMT 2024

Total time taken to generate the page: 0.04299 seconds