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 #11884 is a reply to message #11729] Mon, 21 July 2003 16:20 Go to previous messageGo to previous message
Micha37 is currently offline  Micha37   Germany
Messages: 77
Registered: October 2002
Karma:
Member
Hi Prottoss,

I have just found out that you have completely modified the nntp.php script from 2.3.8 to 2.5.0.

Could you please let me know the recommended hack, which you gave me for the 2.3.8 for the version 2.5.0 as well.

Thanks in advance and best regards

Michael

Micha37 wrote on Tue, 15 July 2003 19:59

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: Wed Nov 27 10:21:33 GMT 2024

Total time taken to generate the page: 0.06804 seconds