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)

scottct1 06-04-2004 01:33 AM

I am using the old version of gateway.php (The one that worked with the Beta versions of VB3 where you had to edit the database by hand to add newsgroups)

I am thinking of upgrading to this version. :)

Do I need to do anything to make this version work, such as

Delete all current Newsgroup forums? (To prevent messages in these forums from being sent back out to the Internet)
Do I need to delete any of the old database enteries?

Anything else I need to do to upgrade from the old version?

Thanks for your help and for what appears to be a great hack!

Odoin 06-04-2004 01:35 AM

Not 100% sure but I do not think there has been any DB changes... I went from the edit by hand DB to the new version with no issues.

scottct1 06-04-2004 01:40 AM

Great did you have to empty your existing newsgroup forums? Or was it fine?

I just dont want to send all the messages I have now to be sent back out to usenet. :)

allan grossman 06-04-2004 01:04 PM

I''ve been using this since vb 2.30 - upgraded to vb3 and then 3.01. Have upgraded the script several times and have *never* had to empty existing newsgroup forums. The script just works :)

Odoin 06-04-2004 02:10 PM

Nope... did not have to empty... The major changes are just the way the gateway works and pulls the new messages as well as the admin i face now.

Quote:

Originally Posted by scottct1
Great did you have to empty your existing newsgroup forums? Or was it fine?

I just dont want to send all the messages I have now to be sent back out to usenet. :)


KevinM 06-04-2004 05:59 PM

Quote:

Originally Posted by BustaCap
Every mailing list message that I get has the same text in the footer. It would be great if there was a setting somehwere where I could specify this footer text (its over 13 lines!) and have it stripped before importing the message.

I am having a look at this now, however I don't have any mailing lists which makes it difficult to test.

The way I have it working is, the administrator enters the characters or phrases that starts the footer message into a setting in the cpanel (not the whole footer, just enough that it is 'unique' and is not likely to form part of a genuine message).

You can enter as many different footers as required.

Every mail message gets checked against these, and if there is a match, strips everything from that point onwards from the message. Usenet messages are ignored.

The only situation where this wouldn't work is where a footer is quoted in someone elses reply, and they then bottom post their message beneath this. From memory of using mailing lists I don't recall this happening often, but I need a guide from you. (It would be ton easier to not have to worry about this :nervous: .)

Let me know if this approach will work for your lists, and will you be able to test the script?

BustaCap 06-05-2004 10:46 PM

KevinM, that is exactly the kind of solution I was hoping for :) The footers in the mailing lists I use alwasy start with the same text and all text after that can be ignored. I'm not too concerned about the quoted footer text myself, so whatever would be easier for you. I would be happy to test it.

Lierduh, are you still supporting this hack? I haven't seen you comment in over a week so I was just wondering.

KevinM 06-06-2004 06:16 AM

What this does:

If you are using this hack to mirror mailing lists you will often find that the mailing list operator adds their own footer to each message which can be quite large.

This function will strip this from the message, prior to insertion into the forum. It can handle multiple different footers (just surround each one with { and }).

I have tested this on a test forum, but I am looking for feedback from a live enviroment.

BustaCap 06-06-2004 02:39 PM

I'll give this a go, thanks!

BustaCap 06-06-2004 05:10 PM

It worked just as I had hoped it would, thanks for taking the time to write that. :D Messages look much less cluttered now.

One issue that I'm still having is that the vast majority of the mailing list posts are not being threaded and are showing up as individual posts. I thought it may have been an issue of the title changing when people reply and it adds an "RE:" to various places in the subject (see my previous post #140), but after looking at it more closely, posts with the exact same subject are showing up as seperate threads:

http://orthotechforum.com/images/mlist.gif

I can't figure out why some (very few) posts are threaded but others with the same subject are not. Admittedly, I know zero about coding, but shouldn't it be pretty straightforward to determine which replies should be threaded based on the subject title? I'm wondering if it might have something to do with the "Use Post Time" setting. The default is set to use the time stamp when the messages are imported, which means that all of the posts at the time of import have the same time stamp. I changed it to use the original post time, thinking that posts with the same title and same timestamp might somehow be throwing off the threading. I'll test this and see how it works. Any idea though why the posts are threading correctly?


All times are GMT. The time now is 10:29 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.02865 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
  • (2)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