vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   NNTP Gateway for Usenet ( Newsgroups ), Mailing Lists (https://vborg.vbsupport.ru/showthread.php?t=65152)

SaN-DeeP 10-27-2004 07:18 PM

Feel good to see the hack is now working for me ;)
I tried to reply to 3 posts using quickreply, small reply button and large reply buttons and it worked perfect with all of them, my replies got posted in the same thread/post on NTTP Server. this is the log
Code:

Ran NNTP Gateway
Gateway version 2.3.1 5 group(s) gatewayed.
Connecting to server, server says: 200 NNTP Service 6.0.3790.206 Version: 6.0.3790.206 Posting Allowed
Info for microsoft.public.windowsxp.hardware at msnews.microsoft.com: 211 14593 1 237311 microsoft.public.windowsxp.hardware
Can we post? server responded: 340 Continue posting - terminate with period
Posting Message 'Re: Sounds hardware not working' from SaN-DeeP. Result: 240 Article Posted OK
Can we post? server responded: 340 Continue posting - terminate with period
Posting Message 'Re: The Format Did Not Complete Successfully :(' from SaN-DeeP. Result: 240 Article Posted OK
Can we post? server responded: 340 Continue posting - terminate with period
Posting Message 'Re: Battery Life' from SaN-DeeP. Result: 240 Article Posted OK
Getting message number 237299:
'Re: error message-1720' from sidney. Thread found by References.
Getting message number 237300:
'Re: 2 USB External Drives' from Nathan McNulty. Thread found by References.
Getting message number 237301:
'Re: Fast Sound after hibernation' from Nathan McNulty. Thread found by References.
Getting message number 237302:
'Re: SIIG Firewire 800 cardbus slow in XP' from Nathan McNulty. Thread found by References.
Getting message number 237303:
'Re: 2 sound cards, 2 apps' from Nathan McNulty. Thread found by References.
Getting message number 237304:
'Re: dvd/cdrw drive won't read cds but will read dvds' from Nathan McNulty. Thread found by References.
Getting message number 237305:
'Re: Sounds hardware not working' from Test User. Thread found by References.
Getting message number 237306:
'Re: Hard Drive Incorrect Report' from Nathan McNulty. Thread found by References.
Getting message number 237307:
'Re: MS Precision Wheel problem' from Jason Tsang. Thread found by References.
Getting message number 237308:
'Re: MS Precision Wheel problem' from Nathan McNulty. Thread found by References.
Getting message number 237309:
'Hard drive format compatibility - what am I missing?' from Brian Meadows. New thread.
Getting message number 237310:
'Re: MS Precision Wheel problem' from Nathan McNulty. Thread found by References.
Getting message number 237311:
'RE: Hard Drive Incorrect Report' from tfw48079. Thread found by References.

However i noticed a few things now -
My username - newthread[username]
appears that on all the 3 posts i made.


Also i am still waiting for your comments on 1 thing.
I noted that degugging messages are only inserted when the task is ran manually else it just adds up entries in admincp like:

8632 Gateway Messages Import 01:45, 26th Oct 2004 Ran NNTP Gateway

lierduh 10-27-2004 08:40 PM

Quote:

Originally Posted by SaN-DeeP
However i noticed a few things now -
My username - newthread[username]
appears that on all the 3 posts i made.


Also i am still waiting for your comments on 1 thing.
I noted that degugging messages are only inserted when the task is ran manually else it just adds up entries in admincp like:

8632 Gateway Messages Import 01:45, 26th Oct 2004 Ran NNTP Gateway

Found another bug, at line 1083. I missed another "$".
Change
$from_header = "newthread[username] <$msgid>";

To
$from_header = "$newthread[username] <$msgid>";

(notice the $ before newthread)

I will check the debug/log thing later. I do not use the Scheduled Tasks makes it a little harder.

The Prince 10-27-2004 09:02 PM

Hi all,

I'm having problems getting my website hosted with a gateway hack. Can anyone point me towards a host that you use and that lets you use a gateway?

thanks

SaN-DeeP 10-27-2004 11:44 PM

1 most important part lierduh
Please also add some customized security to gateway.php file (should only be able to execute via usergroup id 6 or some user ids which can be added to that file) coz @ the moment any damn user is able to run that file (this may create server load problems or other issues).. or possibly taking the gatway.php under admincp folder.

Regards,

lierduh 10-27-2004 11:51 PM

Quote:

Originally Posted by SaN-DeeP
1 most important part lierduh
Please also add some customized security to gateway.php file (should only be able to execute via usergroup id 6 or some user ids which can be added to that file) coz @ the moment any damn user is able to run that file (this may create server load problems or other issues).. or possibly taking the gatway.php under admincp folder.


Regards,

No, you don't need to worry about this (server load etc.), trust me.

rex_b 10-28-2004 12:07 AM

What would one put in the server block for alt.religion ?

esfron 10-28-2004 04:27 AM

OK, I run it once more (scripts reloaded + forum re-installed with empty databse). I got nio more MySQL error. Posts are correctly imported and threaded but bad news: the forum displays again wrong statistics, it doubles the amount of posts (see screenshot). I have to update counters and Rebuild Forum Information to correct problem at every cron job.

HTML Code:

Gateway version 2.3.1  1 group(s) gatewayed.

Connecting to server, server says: 200 NNTP Service 6.0.3790.206 Version: 6.0.3790.206 Posting Allowed

Info for microsoft.public.netiquette at msnews.microsoft.com: 211 9 5350 5429 microsoft.public.netiquette

Getting message number 5351:
'OT &gt; Re: Linux registered as DC in WINS' from Ace Fekay [MVP]. New thread.
Getting message number 5366:
'8-30-04' from rosie. New thread.
Getting message number 5367:
'Re: 8-30-04' from John Eddy [MSFT]. Thread found by References.
Getting message number 5368:
'Re: 8-30-04' from rosie. Thread found by References.
Getting message number 5369:
'Re: 8-30-04' from John Eddy [MSFT]. Thread found by References.
Getting message number 5425:
'Newsgroup postings' from Joan. New thread.
Getting message number 5426:
'Re: Newsgroup postings' from John Eddy [MSFT]. Thread found by References.
Getting message number 5429:
'Re: Newsgroup postings' from Joan. Thread found by References.


lierduh 10-28-2004 05:43 AM

Quote:

Originally Posted by esfron
OK, I run it once more (scripts reloaded + forum re-installed with empty databse). I got nio more MySQL error. Posts are correctly imported and threaded but bad news: the forum displays again wrong statistics, it doubles the amount of posts (see screenshot). I have to update counters and Rebuild Forum Information to correct problem at every cron job.

Didn't I mentioned the script will give error when you have empty post table? I am not sure why you insist on empty database.

I counted you have 8 posts imported and the forum shows 8 posts in there. If you had errors, then the counter could be out.

James T Brock 10-28-2004 06:47 AM

Ok, with all of these newer versions of the script my posts are finally showing up in usenet. And with the latest bug fix, the correct username is also showing. However, I still have one little hurdle. My post *only* show up in usenet when I run the gateway myself in debug mode. When the gateway script is auto-run via a scheduled task it downloads post into the forum at the correct time, but doesn't upload any local post to usenet. Very weird! Can you think of any reason why it would do that?

Another question; if I were to change the URL in the cronjobs to say gateway.php?debug=1 instead of just gateway.php, do you think that would work for me? Or would it cause any additional problems?

esfron 10-28-2004 07:16 AM

Quote:

Originally Posted by lierduh
Didn't I mentioned the script will give error when you have empty post table? I am not sure why you insist on empty database.

You're right :squareeyed:

Quote:

I counted you have 8 posts imported and the forum shows 8 posts in there. If you had errors, then the counter could be out.
Weird! You're so right. I only take a look to Forum Statistics, 7 Threads/18 posts. I'll check the counter.

Thanks.

Click Install.


All times are GMT. The time now is 09:13 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01588 seconds
  • Memory Usage 1,758KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)bbcode_html_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete