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)

lierduh 05-21-2004 03:26 AM

Quote:

Originally Posted by Odoin
I have not changed useragent... but I have changed organization but that was when I first set it up...

I added another newsgroup and still getting double posting... however the first newsgroup does not do this...

Any ideas?

It is possible your news server changed your organization to a default one. Please check the header of the messages posted from your forums. You should be able to check with your normal news reader, failing that, use Google.

The original script only checks the useragent. The reason I added the organization check is if two forums are using the same news server with the same useagent, then the messages posted from the fellow forums will be skipped! I can add an option to disable organization check with the next version. Weekend is coming...:) In the meantime, find:

Code:

        if ($message['user-agent'] == $settings['useragent'] AND
                $message['organization'] == $settings['organization']) {

and replace it with:

        if ($message['user-agent'] == $settings['useragent']) {


Odoin 05-21-2004 03:34 AM

Yes they change my organization to: 100ProofNews.com - Unlimited Downloads - $8.95/Month ARG....

So can I change the useragent to prevent skipping from another forum?

lierduh 05-21-2004 03:40 AM

Quote:

Originally Posted by Odoin
Yes they change my organization to: 100ProofNews.com - Unlimited Downloads - $8.95/Month ARG....

So can I change the useragent to prevent skipping from another forum?

Yes, but first you need to change the code as indicated above. Gee, I can't believe they put advertising in your message header. I am sure that is against RFC1036!

Odoin 05-21-2004 03:58 AM

That worked :)... Thank you so much for the quick replys :).

Odoin 05-21-2004 03:59 AM

One other questions... Is there a way to change the display named on the who is online to something other then showing the gateway.php file being ran from a guest with the cron runs it?

Highlander 05-21-2004 07:39 AM

Hello :)

i just installed everything (uploaded files and tried making some settings)

But everytime i insert news server:
SERVER: msnews.microsoft.com
GROUP: microsoft.public.access

..for testing and calling gateway.php he want to donwload more than 30MB of data. should i let him finish the download?

Please help just one time till i check out how it works .. what settings , wich server and wich group with wich Last Message ID should i type in the settings?

i just need a more detailed guide for the first setup .. my forum Id ist 520 but nothing is imported there even if i downlaod 30Mb of data with gateway.php .. i just abort every time cause 30Mb of data wont fit never in the sql database.

What can i do and wich group/server i can use to try it out a little bit ..

greetings
Daniel

lierduh 05-21-2004 07:54 AM

Quote:

Originally Posted by Highlander
Hello :)

But everytime i insert news server:
SERVER: msnews.microsoft.com
GROUP: microsoft.public.access

Please help just one time till i check out how it works .. what settings , wich server and wich group with wich Last Message ID should i type in the settings?
Daniel

Set Last Message ID to 73610. If there is anything, please cut and paste the screen dump.

Highlander 05-21-2004 08:23 AM

i set everything and the message id i set also .. than i called the setlastmsg.php and after it the gateway.php ..

but no messages appear and my test messages dont semms to be uploaded.. i will test just a little bit more ..

but for another try it maybe could be useful to copy your settings for testing (for ex. another news server with group)

..thx for you quick reply on this :D

Highlander 05-21-2004 08:48 AM

it is normal that hw want to downlaod with gateway,php more than 50MB ? (i aborted it after it reqached 50MB) .. <- its the buffering you described? .. i inserted the message id you gave me :)

xb_ 05-21-2004 08:54 AM

hi

I see alot of discussion about the nntp / usenet features of the hack, while i primary use it for a mailing list archive, but not without problems (unfortunatelly).

There is this one guy on the list, whos' messages don't show up (i was thinking, he uses an encoding of some sort, which isn't supported by the hack), however they appear as an empty post, including a title and author. An example email of that specific author, can be found here.

When i don't manually edit the gateway.php to include a valid userid in the posts, the messages won't show up at all on the forumdisplay. I'm not entirelly sure what or why this is happening. (could be a permission thing in vB, as guest users don't have permissions in that specific forum)

And last, it appears that i'm having alot of 0 byte attachements; It are actually the only attachements i'm getting. So something is wrong with the insertion of those, in my setup.

[edit] in the admin page, theres some routine which creates a new table, if it thinks that the original nntp_groups doesn't excist. However this routine doesn't make notice of the TABLE_PREFIX variable, so if it is set, you'll end up with an additional empty table.[/edit].


But besides the above, everything seems to work quiet alrite. Nice work so far, although i would like to see some more discussion about mailing list archive setups.


All times are GMT. The time now is 03:30 AM.

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.01723 seconds
  • Memory Usage 1,746KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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