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)

Blackbeard 08-19-2004 10:18 AM

Is there anyway this can be added as and extra page in the forum and doesnt effect any form of post counts and forum totals.

The reason i ask is its 50/50 on my forum in keeping it, as some of themembers dont like to see all these posts made by none members,but would like to keep it.

Is there anyway it could be made to stand alone on new vb page.

dayblue 08-19-2004 04:06 PM

Is there anyway to get this to import an .mbox file or anything from a Yahoo group, or am I barking up the wrong tree?

Thanks.

The Prince 08-19-2004 10:46 PM

Hi all,

I setup this hack and it half works. I can import messages from th newsgroup but I seem to no be able to post messages to the group. Any idea why this could be happening. And before you ask the variable for posting to usenet is set right.

thanks

pgrote 08-20-2004 01:45 PM

Hey, I had what might be a silly question, but I would really like to have a better understanding of what happened. I was having the same problems that chopperp1 had first stated back on page 20. Which was stated as such:

Quote:

Originally Posted by chopperp1
Hello to All
I'm trying to get this hack working on company's web server. Everything was pretty much straight forward till I got to the point of running gateway.php. That's what I get:
"...pop3 gateway

Gateway version 2.1.0 1 group(s) gatewayed. Bad User Name!Retrieving Protocol E-mails from the 'dl360mail3.yamner.com' pop3 server ..."

I tripple checked all settings and everything looks good. User account for pop3 is correct including password. Web server talks to mail via local subnet (no filtering there). Can't figure out why this thing can't log in.
any clues? :ermm:

I continued to read along to see if I could find a solution provided. Lierduh continued to help chopperp1 out and trying to find the source of the problem. Finally Lierduh responded with this:

Quote:

Originally Posted by lierduh
Also try this:

In pop.php around line 108, find:

fwrite($this->pop_connect, $message . "\n");

Change the "\n" to "\r\n"

And it ended up working for chopperp1 and for me as well. My question is, what exactly did that do? What is the difference between "\n" and "\r\n" it is something so small and so simple yet solved my problem, so I was just hoping someone (perhaps lierduh) could give me a better idea of what that does or means?

Thanks again for the great help though, and for any further insight you can give!

allan grossman 08-23-2004 10:27 PM

Lookit this -

http://ebassist.com/vb3/showthread.php?t=21609

The only thing I can figure is giganews' server time is off a bit because my host's time is accurate.

I'm not asking you to fix it, I just thought you'd be a bit amused by it ;)

cheers -

allan

Princeton 08-24-2004 12:12 AM

I've been having some problems in regards to posting to usenet ... eg. none of my posts are being posted to microsoft newsgroup

Is there something that I may be missing here?

I tried the hack above with no success.
I have send_message set to 1.

thank you

flaregun 08-24-2004 01:35 AM

great hack, worked like a charm in 10 minutes.

I have one questiosn - I've tried to ready through this long thread but can't find it - is there a way to remove the double posting when you send a message to the usenet from your forum, it seems that you show your post on the forum and then when the chron job runs you get back your own post from the usenet in the thread. I think that might confuse some of my users.

thanks in advance.

- R

movielad 08-24-2004 08:03 AM

I've finally figured out how to put a correct and valid email address within a post, but not the user's own name. It comes out a bit like:

Code:

From: username <username@domain.name>
I'm using $newthread['username'] for the username bit, but if I try to use $vbphrase to try and obtain the user's own name it doesn't work. What should I be using to do this?

Many thanks in advance!

Regards,

Martyn

Marv 08-24-2004 08:11 AM

Quote:

Originally Posted by movielad
I've finally figured out how to put a correct and valid email address within a post, but not the user's own name.

Hi Martyn,

is this email adress going to the header or the body of the post ? In other words can I reply to the message or do I have to click a mailto:link in the body of the message ?

Beside that - where and how do you get the email adress from the db into the link ? $newthread['username'] should only insert the used nickname but no email adress. May be I?m wrong or got it wrong..

movielad 08-25-2004 08:42 AM

Hi Marv,

The email address is in the headers. I should mention that I cheated - big time! I'm using the LHS side of our company email address for the usernames which makes it much easier to code the email address within the gateway script. Yes, I'd like to be able to pull the email address directly from vBulletin but like the user's name - I'm not sure how to go about doing that.

What I've done already was to amend the following:

Code:

// post it
                if ($grouptype=='news'){
                        $response = $news->post($subject,
                        $group['newsgroup'],
                        "{$newthread['username']} <$msgid>",

to become:

Code:

// post it
                if ($grouptype=='news'){
                        $response = $news->post($subject,
                        $group['newsgroup'],
                        "{$newthread['username']} <{$newthread['username']}@our-domain-name.com>",

Yes, I hard coded the domain, but this could easily be replaced with a variable.

Just need to work out how to get the user's own name in the first bit and we're as good as live ;)

Regards,

Martyn


All times are GMT. The time now is 04:48 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.01802 seconds
  • Memory Usage 1,751KB
  • 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
  • (3)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
  • (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