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)

Torqued 11-12-2004 11:56 AM

I thought maybe I screwed up something on the install, so I reinstalled.

"which php" shows my php path to be:

/usr/local/bin/php

When I try to run the gateway.php via cron w/ the command of:

/usr/local/bin/php /home/<username>/public_html/forums/gateway.php

I get the following error message:

"nntp.php and mime.php files need to be in the './includes/' directory"

The nntp.php and mime.php files are in the ./includes directory. My gateway.php is in my /forums directory.

I can get it to run via the vB task scheduler. Are there any advantages/disadvantages w/ vB Task Scheduler vs cron? Does it matter?

trackpads 11-12-2004 12:20 PM

Quote:

Originally Posted by AWS
The command should be.
Code:

php -q /path/to/gateway.php

On my server for some reason I could never run a php script in the cron. What I use is this, maybe it can help you:


Code:

lynx -dump http://www.trackpads.com/forum/gateway.php

jcrash 11-12-2004 03:23 PM

Two questions:

#1) Has anyone noticed an increase in the number of threads not being found and instead having new threads created? Im getting a LOT of these. It started prior to my install of the latest scripts and seems to be continuing

#2) I installed the latest scripts and it seems to run slower. Anyone notice that?

ryee 11-13-2004 02:24 PM

First of all, great job and I appreciate all of the work that has gone into this hack.
When I run the gateway.php, I get the following:
<snip>
Gateway version 2.3.2 2 group(s) gatewayed.
Could not connect to NNTP-server. (Connection timed out (110))

Not connected
Not connected
Could not connect to NNTP-server. (Connection timed out (110))

Not connected
Not connected

</snip>

I checked with my hosting provider and port 119 is being blocked for outgoing and incoming traffic. The output seems to validate that fact. I read on some other posts about using another port. How can I configure the newsreader to use a port other than 119 to connect to the new server. I'm not sure if my news hosting provider (newsgroups.com even supports ports other than 119.

Thanks,

Torqued 11-14-2004 03:41 PM

Quote:

Originally Posted by trackpads
On my server for some reason I could never run a php script in the cron. What I use is this, maybe it can help you:


Code:

lynx -dump http://www.trackpads.com/forum/gateway.php

crap. my host has wget and lynx disabled right now..

Anyone else out there that has had problems w/ getting the cron working but finally figured it out?

lierduh 11-14-2004 10:55 PM

Quote:

Originally Posted by ryee
I checked with my hosting provider and port 119 is being blocked for outgoing and incoming traffic. The output seems to validate that fact. I read on some other posts about using another port. How can I configure the newsreader to use a port other than 119 to connect to the new server. I'm not sure if my news hosting provider (newsgroups.com even supports ports other than 119.

Thanks,

Some commercial provider let you access the NNTP server via port 80 for instance. All you need to do is search for 119 in the gateway.php file, and replace it with 80.

lierduh 11-14-2004 10:56 PM

Quote:

Originally Posted by jarvis
Okay, so I've been trying to read all 44 pages. :)

I used this hack in vb2 for a while, but then stopped using it because the "Find New Posts" became very bothersome for users when there were 1000's of new usenet posts showing in their search.

It looks as if some have found a way around this? I'd love to install this again and open up Usenet for my users.

Thanks much in advance!!

See the end of the readme file.

Neobud 11-15-2004 06:36 PM

Hello all. I'm a new user and think this hack is completely awesome. Been running the Usenet component for a few days for testing without dramas. For those on a Windows platform who lack the functionality offered by Cron (and are not happy with Win Task Scheduler), I have been using nnCron and can recommend it for achieving the same.

lierduh 11-15-2004 11:11 PM

Quote:

Originally Posted by Neobud
I've done a number of searches and failed to find an answer to my question... I can't get the Mail List component to work. I was hoping somebody could confirm the correct configuration in pop.php (copied below). Is there any other code that needs to be modified?

There is no need to edit php files. Just follow the readme file to setup.

Beermonster 11-16-2004 11:42 AM

How would I stop this increasing the forum post count?


All times are GMT. The time now is 09:31 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.01810 seconds
  • Memory Usage 1,746KB
  • 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
  • (3)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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