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 |
#112
|
|||
|
|||
Quote:
Anyways, here's a change that I think will work, I haven't tested it though: Replace this line: Code:
$get_threadid=$DB_site->query("SELECT thread.threadid FROM thread,post WHERE thread.threadid=post.threadid and (thread.title='".addslashes($subject)."' OR post.title LIKE '%".addslashes($subject)."' OR thread.title='".addslashes($altsubject)."' OR post.title LIKE '%".addslashes($altsubject)."') and (post.msgid='".preg_replace("/\s/sU","' OR post.msgid='",addslashes(trim($message[references])))."') AND (thread.forumid=". implode(" OR thread.forumid=", $group[forum]) . ") ORDER BY post.dateline DESC LIMIT 1"); Code:
$get_threadid=$DB_site->query("SELECT thread.threadid FROM thread,post WHERE thread.threadid=post.threadid and (post.msgid='".preg_replace("/\s/sU","' OR post.msgid='",addslashes(trim($message[references])))."') AND (thread.forumid=". implode(" OR thread.forumid=", $group[forum]) . ") ORDER BY post.dateline DESC LIMIT 1"); |
#113
|
||||
|
||||
It's working like a charm, Gilby. Incoming and outgoing messages work, the crontab has been set hourly and works great, and there has been no errors.
I suspect the reason why my ISP's newserver is not working is because it is hosted in Australia, and my site is hosted in the US. They must have blocked overseas connections. Anyway, it's all good. Thank you for a GREAT hack. All without needing to change a single file too. |
#114
|
|||
|
|||
Glad to hear it's working for you!
Quote:
|
#115
|
|||
|
|||
Sanjiyan, are you still having problems with new post going out to the newsgroup? I ran your script and it executed fully, without problems.
|
#116
|
|||
|
|||
Well, thanks a lot Gilby, it worked like a charm. I really appreciate the support you are giving
|
#117
|
||||
|
||||
Quote:
|
#118
|
|||
|
|||
Quote:
Other than that, the server may not be recognizing the end of a post and it then left waiting for more. But before we can go there, we need to determine that you can actually post there. |
#119
|
||||
|
||||
Quote:
|
#120
|
|||
|
|||
Quote:
If that can be chopped to a limited number of characters that would be great. Doesn't matter so much on showthread as it's only one post that gets affected. |
#121
|
||||
|
||||
Works great here. I installed v4 and now installed v5. But it works, thank you very much
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|