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 |
#782
|
|||
|
|||
Perfect, I can't wait. Thank you!
edit: hmm, I just completed a full synchronize on my test forum and it again didn't add any words to the Search Index. I had to manually "Rebuild Search Index" to get the forum searchable. yet another edit: Ah, I just noticed that outgoing email is on timelimit.yourserver.com, so I changed it in something else |
#783
|
|||
|
|||
I'm testing this in one of the many test newsgroups and noticed some strange behavior. Right now I'm not receiving any of the posts I made with Outlook Express on my forum while Outlook Express does show all the posts I created or replied to via the forum.
I changed the lastmsg to 0, pruned all the posts, reset the counters and started importing but now it only imports 52 of 262 posts. I've tried this with gateway.php from gateway_Mar2.zip and also after making the adjustment listed here: https://vborg.vbsupport.ru/showpost....&postcount=759 (only applied the "regulating the # of messages to download on each pass" change). |
#784
|
|||
|
|||
Quote:
The weird thing is that when I post on an existing thread and run the scheduled task manually (via RUN NOW), most post hits the USENET forum just fine. I'm trying to figure it out, but without a log of the error when it occurs, it is hard. I'll check out the verbose output, thanks. |
#785
|
|||
|
|||
Quote:
|
#786
|
|||
|
|||
Quote:
It seems like it should work though. I use this as the filename: ./includes/cron/gateway.php And, I just place my gateway.php in that folder. It does seem to be related to me running it manually or not. Maybe I'll see if I can get my host to run it as a cron tab. --jim |
#787
|
|||
|
|||
Quote:
The way I do it is Code:
0 * * * * /usr/bin/lynx -source "http://ebassist.com/vb3/gateway.php" > /var/log/cron.usenet 10 * * * * /usr/bin/lynx -source "http://ebassist.com/vb3/gateway.php" >> /var/log/cron.usenet 20 * * * * /usr/bin/lynx -source "http://ebassist.com/vb3/gateway.php" >> /var/log/cron.usenet 30 * * * * /usr/bin/lynx -source "http://ebassist.com/vb3/gateway.php" >> /var/log/cron.usenet 40 * * * * /usr/bin/lynx -source "http://ebassist.com/vb3/gateway.php" >> /var/log/cron.usenet 50 * * * * /usr/bin/lynx -source "http://ebassist.com/vb3/gateway.php" >> /var/log/cron.usenet Some hosts will let you set up your own cron jobs - it might be worth a look |
#788
|
|||
|
|||
What am I doing wrong? I put the counter on 0, pruned every post, and only get 7 threads/10 posts.
Quote:
|
#789
|
|||
|
|||
Hey, I just logged into my Control Panel at my host (f5hosting) and noticed I have access to make my own cron tab.
Evidently, it emails me the results. Do I need to change this line of code to make sure it has the content Im looking for? if ($log != 'cron'){ echo $message; flush; } |
#790
|
|||
|
|||
Quote:
|
#791
|
|||
|
|||
Quote:
Set the counter to zero and prune *all* posts out of the forum. If you're already running the script as a cron job, disable the cron until you've got the forum populated. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|