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 |
#952
|
|||
|
|||
Quote:
I got this message: Quote:
Regards, Matt |
#953
|
|||
|
|||
Things are looking good now, but I have a question pertaining to follow-up gateway.php synchronization. I want to be careful not to import the same records or export them!
A) Do I run setlastmessage.php 1) ...before every gateway import 2) ...after every gateway import and B) Do I run it only once or every time I run gateway? The Readme isn't clear. It says: Quote:
Thanks, Matt |
#954
|
|||
|
|||
Quote:
|
#955
|
|||
|
|||
Quote:
|
#956
|
|||
|
|||
>different
Maybe I mean the $newposts[count] und $activethreads[count] variables. They count ALL including the NG posts. The exclude statement only shows them not up, but counts it.... |
#957
|
|||
|
|||
Lierduh,
There is a BIG error in your code in function sendnews. PHP Code:
After using this, EVERY thread in my DB has been updated with the new msgid from the latest new thread created in the newsgroup forums. Any way to fix this? By fixing this, I mean, resetting all the msgid's to the correct ones, or removing values where they don't belong in the thread table? |
#958
|
|||
|
|||
Corrected code:
PHP Code:
|
#959
|
|||
|
|||
Got a little trouble here too, lierduh
Code:
Database error in vBulletin 3.0.1: Invalid SQL: UPDATE post AS post, thread AS thread SET isusenetpost = 1 WHERE post.threadid = thread.threadid AND isusenetpost = 0 AND thread.forumid NOT IN (25,27,29,34) mysql error: You have an error in your SQL syntax near 'AS post, thread AS thread SET isusenetpost = 1 WHERE post.threadid = thread.th' at line 1 mysql error number: 1064 Date: Thursday 13th of May 2004 04:24:04 PM |
#960
|
|||
|
|||
Mine's also not assigning posts to the proper thread after this change. I'm going to look over the code again for another hour or so, and revert to my last version if I can't get it working properly.
Messed up part is, the posting via the vB adminCP scheduled tasks worked after only minimal tweaking of the new script, and I have it tested to successfully post properly. (which was my only problem before) I think the main problem is coming from the references. They don't seem to be assigning at all anymore. |
#961
|
|||
|
|||
No need to worry, although thank you very much for pointing out.
the msgid in the thread table is not actually used. So it does not cause any problem at all. You can safely comment this section out. I have got a new version ready to be uploaded including an optional "X-No-Archive" header honouring. Allan will love this. I am thinking of getting rid of this field altogether. Saving a field or index is always a good thing. (by the way, the error is inherited from the original script) Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|