The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Details »» | |||||||||||||||||||||||||
This hack provides a gateway to any NNTP newsgroup such as those from Usenet and other newsgroup servers. Selected newsgroups are imported from your news server and post on the forum are sent out to the newsgroup. This hack was greatly inspired by fastforward's usenet gateway hack. This one is a complete rewrite of that hack written in PHP and works with vB 2.2.2.
Installation: Installation is pretty simple. No modifications to the vB php files are needed and it simply consists of dropping in the files to your forums directory, running the SQL modifications, and modifying the newsgroup settings for your desired newsgroups. For the complete installation details, read the readme.txt file. Here are some of the features:
For control panel integration, please check out GameCrash's Graphical Interface addition. What's not in it that was in fastforward's usenet gateway hack:
There is still lots that I'd like to add to it, but this is competely functional for basic newsgroup gateway support. It is most likely not free of bugs. If you have questions, suggestions or annoyances, please post in this thread. vb3 support lierduh modified this to provide support for the beta versions of vb3. When the release candidates of vb3 come out, I plan to add support for vb3 and add other features to this hack. If you have suggestions for new features, let me know. E-mail gateway support New in this version, you can now gateway with an email list. This will fetch emails from a POP email account and send via php's mail function to the mailing list's email address. To set up the list, in the newsgroup field, enter in the email address to send outgoing posts to. In the server field, enter in the pop3 server, and in the username and password fields enter in, you guessed it, the username and password to your pop account. Note: the email gateway capabilities has not been fully tested, so it might not work with your POP server. Also, it does not work in combo with a news<->forum gateway in the same forum (you can use either kind though in differnet forums within your forums). Show Your Support
|
Comments |
#737
|
|||
|
|||
Quote:
stristr is case INsensitive. |
#738
|
|||
|
|||
Ah. Then I don't need to do anything.
Let me run it for a couple days and I'll let you know what happened. Thanks a million, lierduh - I'm hoisting a glass in your direction right now |
#739
|
||||
|
||||
Im now getting another error in line 37 of gateway.php
http://www.joeygowdy.com/forum/gateway.php |
#740
|
|||
|
|||
Which version of the gateway - the vB2.x version on page 1 or the one lierduh modified for vB3 on page 44?
The reason I ask is that in lierduh's version line 37 is commented out. Can you paste line 37 into a message here for us? thanks - |
#741
|
|||
|
|||
I have installed this hack along with the VB3 RC2 gateway upgrade along with ALTER TABLE post ADD ref TEXT NOT NULL;
My nntp_groups reflect.... biz.marketplace.web-design varchar(200) No General Web Design varchar(32) No 0 prefix varchar(255) No lastmsg int(11) No 0 news.comcast.giganews.com varchar(64) Yes NULL xxxxxx varchar(32) Yes NULL yyyyyy varchar(32) Yes NULL enabled int(11) No 1 When running.... http://etcetc/gateway.php I receive... 0 group(s) gatewayed. Am I missing something rudimentary here? |
#742
|
|||
|
|||
I have resolved that error by correcting the forum variable with an ID as read in the readme.
Now I am receiving... 1 group(s) gatewayed. Logging in to news.comcast.giganews.com, group xxx.xxxx.xxx Posting Message from FluxForums: 500 syntax error or unknown command Posting Message from FluxForums: 480 authentication required Posting Message from FluxForums: 500 syntax error or unknown command And neither threads are exported (which I dont mind) to the newsgroup or threads imported (which of course I would like). This occurs in other newgroups within giganews.com server as well. BTW: These are direct copy and paste names that I have verified to work in my Outlook Express so I am not sure why the authentication error is comming up. I am running VB3 RC3 *NOTE: I believe I found the answer to this on Page 12 of this thread. It looks like giga does not allow access outside its networks. I will signup for another usenet provider and try it. Quote:
|
#743
|
|||
|
|||
Bingo!
Now if only I can figure out why the thread and post count has updated but I do not see the actual threads in the forum. Quote:
|
#744
|
|||
|
|||
Changed the forums viewing age. Good to go.
Is there a way to prevent threads from being exported into a newsgroup? Quote:
|
#745
|
|||
|
|||
Is there another way to run the gateway.php script? I've ran it on my webhost and it basically kills the server. Sucks up all the RAM and CPU usage.
|
#746
|
|||
|
|||
Quote:
|
#747
|
|||
|
|||
Quote:
I run my gateway against one group that gets maybe 200 posts a day - my cron job runs every ten minutes. It doesn't work my server all that hard but of course, YMMV. |
#748
|
|||
|
|||
I set the last message to only get the last 30 days worth of posts from the groups, doubt anyone is going to read a message that was posted on 6/2/2003 anyways.
I installed the script, I run in it mozilla and all it says is this: 2 group(s) gatewayed. Logging in to news.usenetserver.com, group alt.tv.angel Logging in to news.usenetserver.com, group alt.tv.buffy-v-slayer Nothing happens after that, it just sits there. I've even left it like that for over an hour. |
#749
|
|||
|
|||
Look on page 24, Cluster One - there's a version of nntp.php that does verbose output - maybe you can use that to determine where the problem is. It's in post #351.
Good luck! |
#750
|
|||
|
|||
group(s) gatewayed.
200 Powered by Usenet Server -- fe13 -- http://www.usenetserver.com/ (Tornado v1.0.5.353) 381 More Authentication Required 480 Authentication Required Logging in to news.usenetserver.com, group alt.tv.angel 200 Powered by Usenet Server -- fe13 -- http://www.usenetserver.com/ (Tornado v1.0.5.353) 381 More Authentication Required 480 Authentication Required Logging in to news.usenetserver.com, group alt.tv.buffy-v-slayer Thanks for the help, but still it says 480 Authentication Required, but I have my login/pass setup correctly in the SQL database? Any other ideas? I attached an image of my configuration. |
#751
|
|||
|
|||
Quote:
http://www.mibsoftware.com/userkt/nntpext/0032.htm Code:
AUTHINFO USER username AUTHINFO PASS password The original AUTHINFO is used to identify a specific entity to the server using a simple username/password combination. It first appeared in the UNIX reference implementation. When authorization is required, the server will send a 480 response requesting authorization from the client. The client must enter AUTHINFO USER followed by the username. Once sent, the server will cache the username and may send a 381 response requesting the password associated with that username. Should the server request a password using the 381 respose, the client must enter AUTHINFO PASS followed by a password and the server will then check the authentication database to see if the username/password combination is valid. If the combination is valid or if no password is required, the server will return a 281 response. The client should then retry the original command to which the server responded with the 480 response. The command should then be processed by the server normally. If the combination is not valid, the server will return a 502 response. Clients must provide authentication when requested by the server. It is possible that some implementations will accept authentication information at the beginning of a session, but this was not the original intent of the specification. If a client attempts to reauthenticate, the server may return 482 response indicating that the new authentication data is rejected by the server. The 482 code will also be returned when the AUTHINFO commands are not entered in the correct sequence (like two AUTHINFO USERs in a row, or AUTHINFO PASS preceding AUTHINFO USER). All information is passed in cleartext. When authentication succeeds, the server will create an email address for the client from the user name supplied in the AUTHINFO USER command and the hostname generated by a reverse lookup on the IP address of the client. If the reverse lookup fails, the IP address, represented in dotted-quad format, will be used. Once authenticated, the server shall generate a Sender: line using the email address provided by authentication if it does not match the client-supplied From: line. Additionally, the server should log the event, including the email address This will provide a means by which subsequent statistics generation can associate newsgroup references with unique entities - not necessarily by name. 3.1.1.1 Responses 281 Authentication accepted 381 More authentication information required 480 Authentication required 482 Authentication rejected 502 No permission |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|