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

Marv 08-25-2004 08:51 AM

Quote:

Originally Posted by movielad
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.

Hey guys..anyone out there who could help to fix that problem ? :ermm:
Would be appreciated like hell... :nervous:

lierduh 08-26-2004 04:12 AM

Quote:

Originally Posted by Marv
Hey guys..anyone out there who could help to fix that problem ? :ermm:
Would be appreciated like hell... :nervous:

I will include this option in the next version, where each group/list has the option of using the real email. It involves a bit more than just two lines of code although not hard to code.

lierduh 08-26-2004 04:12 AM

Quote:

Originally Posted by flaregun
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

Go through all the settings in the AdminCP, you will find the answer.

lierduh 08-26-2004 04:16 AM

Quote:

Originally Posted by princeton
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

A number of people asking questions without even a debug message, it is virtually impossible to know the reason.

lierduh 08-26-2004 04:18 AM

Quote:

Originally Posted by pgrote
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!

You are not using the latest version?

Microsoft servers need return carriage + line feed.

adieball 08-26-2004 02:39 PM

Hi

is there a way to exclude all content from the usenet forum from the latest Threds/Posts module in VBadvanced?

Thanks a lot in advance

Andre

adieball 08-26-2004 08:37 PM

Quote:

Originally Posted by adieball
Hi

is there a way to exclude all content from the usenet forum from the latest Threds/Posts module in VBadvanced?

Forget it ... stupid me ... found it ... typical RTFM

Andre

The Prince 08-27-2004 09:09 PM

Hi all,

I've tried to import all the messages from my news server and I ran into 2 problems. First, The gateway.php?debug=1 thing stopped after 2 hours. It's still not close to havin finished. And now if I run gateway.php as part of a task, it crashes after 5 minutes. It still imports some messages, but since I've still got 100,000 to go, this is going to be quite a nightmare.

Also, the dates of the messages are wrong. They all show the date I imported, instead of the date the messages were posted to the newsgroup.

Can anyone help?

thanks

Nathan_R 08-28-2004 08:46 PM

I'm a little late to the game, but I wanted to thank you for a fantastic hack! I absolutely love this mod.

Best regards,
~~Nathan

Andy R 09-05-2004 07:25 PM

Look at the NNTP Settings and look for the use_post_time setting.
Quote:

Originally Posted by The Prince
Also, the dates of the messages are wrong. They all show the date I imported, instead of the date the messages were posted to the newsgroup.

Can anyone help?

thanks


Odoin 09-06-2004 02:33 AM

This could have been asked before however searching through all these pages was taking a long time.

I just installed the mod on 3.0.3 and I get this error:
Code:

Gateway version 2.2.1 1 group(s) gatewayed. Could not connect to NNTP-serverNot connectedNot connected
 

There seems to have been a slight problem with the Domain.com.com database.
Please try again by pressing the refresh button in your browser.

An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists.

We apologise for any inconvenience.

Database error in vBulletin 3.0.3:

Invalid SQL: UPDATE nntp_settings
                SET value =
                WHERE varname = 'last_postid'
mysql error: You have an error in your SQL syntax.  Check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE varname = 'last_postid'' at line 3

mysql error number: 1064

Date: Sunday 05th of September 2004 11:30:22 PM
Script: http://www.domain.com/gateway.php?debug=1
Referer:
Username: Mark
IP Address: *

I run a older verion of this mod for 3.0.1 on the same server (different domain and site). Any help on this?

Thank you for your time.

Mark

lierduh 09-06-2004 04:26 AM

Quote:

Originally Posted by Odoin
Code:

Gateway version 2.2.1 1 group(s) gatewayed. Could not connect to NNTP-serverNot connectedNot connected
 

There seems to have been a slight problem with the Domain.com.com database.

Mark

Have you set up properly with correct database, news servers?

It mentioned about "Domain.com.com", is this your database name?

Odoin 09-06-2004 02:47 PM

Well it installs it self the first time you click on the settings table correct?

I changed the DB and URL so no search engine would not pick it up.

I wish I could find the old version I used because it works great other then a few DB errors I get via cron once or twice a week.

Thank you for your time.

Mark

venomx 09-07-2004 12:05 AM

I would use this but I only have my ISP news server and it only allows access from my ISPs IP....
Plus my hosting server only has ssh no telnet...

Andy R 09-09-2004 01:23 PM

I would like to pull the Usenet threads and place them in more specific forums (categories). The ultimate solution for me would be the ability to reply from any forum back to the usenet if that is where the post is from. Is this possible?

xb_ 09-11-2004 07:49 AM

Hey lierduh

Could you have a look at the attached email? On my board it imports the message, it seems to skip the .htm attachement, and the .zip attachement is(partially) inserted into the message instead of as an attachement.

Thanks in advance.

xb_ 09-14-2004 08:53 PM

Quote:

Originally Posted by xb_
Hey lierduh

Could you have a look at the attached email? On my board it imports the message, it seems to skip the .htm attachement, and the .zip attachement is(partially) inserted into the message instead of as an attachement.

Thanks in advance.

I just thought of that i don't have the .htm added as an allowed attachement. Which happened quiet often to me (forget adding attachements types).
Isn't there a way to circumvent the vB attachement types setting with this hack ? It would save alot if so i guess. I'm also not sure about if i even want all members to post the same attachement types that *can* be attached in emails.

lierduh 09-15-2004 01:22 AM

Quote:

Originally Posted by xb_
Hey lierduh

Could you have a look at the attached email? On my board it imports the message, it seems to skip the .htm attachement, and the .zip attachement is(partially) inserted into the message instead of as an attachement.

Thanks in advance.

Are you using the latest mime.php from the first page?

The attached file could be a virus. (sexygirl.zip)
The html is not an attachment, it is simply the html version of the text message.

lierduh 09-15-2004 01:24 AM

Quote:

Originally Posted by organic-hosting
I would like to pull the Usenet threads and place them in more specific forums (categories). The ultimate solution for me would be the ability to reply from any forum back to the usenet if that is where the post is from. Is this possible?

The question here is: which one goes into which forum? you need to at least
have some sort of criteria.

xb_ 09-15-2004 10:31 AM

Quote:

Originally Posted by lierduh
Are you using the latest mime.php from the first page?

The attached file could be a virus. (sexygirl.zip)
The html is not an attachment, it is simply the html version of the text message.

I'm aware of the possible virus, but that is no problem for the members that can access the forum.

I did not use the additional mime.php yet. Only the files from your latest release in the .zip. But even without it, shouldn't it be posting the message with those =3D type characters from m$ products?

Eitherway i will upload the newer mime.php.

Blackbeard 09-16-2004 10:19 AM

How do you uninstall this as its takes up to much bandwith went over my forums quoter, good job am on a reselleraccount i run aswell.

Great hack just need to uninstall. How?

lierduh 09-16-2004 10:02 PM

Quote:

Originally Posted by Blackbeard
How do you uninstall this as its takes up to much bandwith went over my forums quoter, good job am on a reselleraccount i run aswell.

Great hack just need to uninstall. How?

Just remove the files you uploaded and delete the USENET forums. That is all.

we_are_borg 09-26-2004 08:34 AM

I have installed this hack and it worked great but now a couple of day's ago i'm getting errors.

Quote:

Warning: main(http://www.dwsgebruikers.com/forum/gateway.php): failed to open stream: HTTP request failed! L? Ph??`h?? in /home/dwsgeb/public_html/forum/admincp/cronadmin.php on line 56

Fatal error: main(): Failed opening required 'http://www.dwsgebruikers.com/forum/gateway.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/dwsgeb/public_html/forum/admincp/cronadmin.php on line 56
I don't know what is going on here but it does not work any more.

Andy R 09-28-2004 09:05 PM

I have this installed on one of my forums and it is working great. I installed it on another forum and all of the scheduled tasks are not working. I have imported 40,000+ threads and would hate to have to re-import them.

The original skin is in place and the $cronjob variable is part of the footer. There is enough traffic to keep the script working... I have asked on vB.com forums but was told I could not get support since the board is "hacked".

Do you all know of anything that might have caused the scheduled tasks to stop working? I was hoping someone out there might have had the same problem but found a way to kick start the tasks?

Thanks,

Andy

The Prince 09-28-2004 09:08 PM

Hi all,

I still can't post to usenet. Everything works fine besides that. I can import all the messages, and post in the thread. But the posts are not getting sent to usenet.

My host has told me that he gets an error stating that there is no "to:" and no email address from the poster. So, I'm guessing since these are missing, the posts are rejected from usenet.

Here's the error message from my host (I've changed my host name and my IP):

-----Original Message-----
From : Mail Delivery System [mailto:Mailer-Daemon@host.com]
To: september 28, 2004 17:35
From : nobody@host.com
Object : Mail failure - no recipient addresses

A message that you sent contained no recipient addresses, and therefore no
delivery could be attempted.

------ This is a copy of your message, including all the headers. ------

To:
Subject: Test...Please ignore
From: ThePrince <ThePrince.0@>
Date: Tue, 28 Sep 2004 17:34:56 -0400
Message-ID: <ThePrince.0@>
Organization:
User-Agent:
X-Originating-IP: 10.50.44.243


test test test


--
ThePrince
------------------------------------------------------------------------
ThePrince's Profile: 1
View this thread: 494


So pretty much everything is screwed up. No to, email, organisation, user-agent and the profile and view this thread also.

I have also attached 2 screenshots of my newsgroup settings from phpmyadmin. (I changed my website name to xyz to protect the guilty :rolleyes: ).

Thanks

RetroDreams 09-30-2004 08:40 PM

Can someone post an example of their killfile that has been successful in stopping spam?

SaN-DeeP 10-02-2004 09:41 PM

hi,
This is one of the another awesome hack on vb.org Big thnx for releasing.
* SaN-DeeP installed successfully.

I was able to install this hack successfully though i have a few problems.

1. I have setup a Scheduled Task in my admincp -> scheduled task manager -> named as Gateway threads import with foll. settings:

Day of the Week = *
Day of the Month = *
Hour = *
Minute = 15
Log Entries = Yes
Filename = gateway.php

a. I find that there are no log entries generated for same ?
b. This file is now called every minute, i can see new posts/threads from those servers every new minute on my forums ? (I want to import messages @ an interval of every 15 minutes)

2. Unable to send messages back to those newgroups, from forums. I dont have SSH/TELNET access to my server, confirmed with my host and got a reply that port 119 is enabled both ways..
(Please let me know exactly what logs do i post here, to debug)

3. I have checked some other boards using this hack and found they have filtered there threads titles which contain words Re:
or
there body messages which start with > symbol are not there.
Any general idea, on taking those off would be helpful for me.

Some of the changes I have done to Gatway Settings are as follows:
Title - Varname - Value
Tech-Arena - organization - Tech-Arena - http://207.58.143.178/
User Agent - useragent - vBulletin USENET gateway
Email address domain - email - tech-arena@DoNotSpam.com
Make TinyURL at Length - tinyurl - 70
Honour No-Archive - honor_no-archive - 0
Is Gateway Running - is_running - 1
Send no footer - nofooter - 0
No Organization Check - organization_check - 1
Use Post Time - use_post_time - 1
Skip attachments - no_attach - 1
Pause Between messages - pause_seconds - 0
Send message to USENET - send_message - 1
Find Thread by Subject - thread_by_subject - 0

My Forums URL - http://207.58.143.178/forums/
Expecting a positive feedback soon.

Regards,

lierduh 10-03-2004 01:05 AM

Quote:

Originally Posted by SaN-DeeP
hi,

1. I have setup a Scheduled Task in my admincp -> scheduled task manager -> named as Gateway threads import with foll. settings:

Day of the Week = *
Day of the Month = *
Hour = *
Minute = 15
Log Entries = Yes
Filename = gateway.php

a. I find that there are no log entries generated for same ?
b. This file is now called every minute, i can see new posts/threads from those servers every new minute on my forums ? (I want to import messages @ an interval of every 15 minutes)

2. Unable to send messages back to those newgroups, from forums. I dont have SSH/TELNET access to my server, confirmed with my host and got a reply that port 119 is enabled both ways..
(Please let me know exactly what logs do i post here, to debug)

3. I have checked some other boards using this hack and found they have filtered there threads titles which contain words Re:
or
there body messages which start with > symbol are not there.
Any general idea, on taking those off would be helpful for me.

Regards,

1. I will check the log problem before next release.
Make sure you do not have another scheduled task which has * set to the minute. If you set 15 to the minute, it should not run every minute!

2. Time and time again, if there is no debug masssage posted, I would not have single idea about why the posts do not go out. People seem think I know all their server situations.:)

3. No idea about this.

SaN-DeeP 10-03-2004 11:02 AM

Sorry but were do i find those debug messages now ?
i followed the installation files, and did not find anything related to there.

or if i was not able to see them there :S

Thnx.

wflynn 10-03-2004 08:46 PM

I get this on my screen when I import newsgroups:
Gateway version 2.2.1 1 group(s) gatewayed.

Connecting to server, server says: 200 News.GigaNews.Com

Server responded after user name: 381 more authentication required

Server responded after password: 281 News.GigaNews.Com

Info for rec.gambling.poker at news.giganews.com:
211 373019 554640 927658 rec.gambling.poker

Posting Message 'Re: Some ammo for you Online is rigged people' from pokerpartys. Result: 500 syntax error or unknown command
Getting message number 565203:
'Re: Action Flops on Party' from Augie Chiausa. Thread found by References.
Getting message number 565204:

As you can see it gets messages but fails to post. I also tried changing the port references to 80 instead of 119 and get exactly the same thing. Any ideas how I can get this working 100%?

Also assuming I get it working where do I edit to place my custom signature?


All times are GMT. The time now is 09:58 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.02008 seconds
  • Memory Usage 1,871KB
  • 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
  • (5)bbcode_code_printable
  • (18)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
  • (40)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