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 #11729 is a reply to message #6364] Tue, 15 July 2003 17:59 Go to previous messageGo to previous message
Micha37 is currently offline  Micha37   Germany
Messages: 77
Registered: October 2002
Karma:
Member
Hi Prottoss,

its relating to the transfer of variables for the nntp script, where you have suggested the below idea, which is working very fine.

Best regards

Michael

prottoss wrote on Tue, 08 October 2002 23:32

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.

[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: Sat Nov 23 17:51:02 GMT 2024

Total time taken to generate the page: 0.04462 seconds