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)

The Prince 10-29-2004 01:13 AM

Quote:

Originally Posted by The Prince
Hi all,

I'm having problems getting my website hosted with a gateway hack. Can anyone point me towards a host that you use and that lets you use a gateway?

thanks

anyone?

I really need a host...

James T Brock 10-29-2004 03:14 AM

What kind of problems are you having, have you tested the script yet? Do you need a host that has NNTP newsgroups on it, or just one that allows access to port 119 and you'll use your own news server?

SaN-DeeP 10-29-2004 07:26 AM

Quote:

Originally Posted by James T Brock
What kind of problems are you having, have you tested the script yet? Do you need a host that has NNTP newsgroups on it, or just one that allows access to port 119 and you'll use your own news server?

Hello James, i am using the free services from microsoft news server now,
i want to however add alt.comp.hardware newgroup to my forums too, can you recommend me what free server can i use for same ?

Regards,

James T Brock 10-29-2004 07:45 AM

I'm using giganews for my PC's newsreader as well as for this gateway, and I love it. But I also have an account at http://individual.net, which is free. You have to register on their site and wait a few days for them to activate your account.

The Prince 10-29-2004 10:27 AM

Quote:

Originally Posted by James T Brock
What kind of problems are you having, have you tested the script yet? Do you need a host that has NNTP newsgroups on it, or just one that allows access to port 119 and you'll use your own news server?

I have a giganews account. And it works fine. I have tested the script and everything seemed ok, but now my host tells me having a gateway like mine opens up security issues and they don't want me to run it anymore. Also, the cron job is too much juice.

So, I need a place where they will allow me to do a cron job and that is ok with the gateway.

I can use my giganews account. But if my new host had a newsserver and would save me the GGN fees, I'd sure go for it, but it's not necessary.

thanks

Marv 10-29-2004 11:40 AM

Hi lierduh,

your hack is very dependable. Since the first release of you hack I noticed for some reasons the gateway isn?t exporting new threads in the forums into the newsgroups. I never found out why this was happening and in a post a few threadsites ago someone mentioned that too.

While bug tracing today I found something that I?ve never noticed before. I guess because I never run the gateway.php through the admincp/cronadmin.php. I always run the gateway as ?debug=1 in a seperate browser window, even if I had set the cronadmin.php to do this job. I only wanted to see the results time by time.

First I got to say that my host is running php as a module under cgi. So my account is restricted by various limitations through that.
My installed version of your hack is 2.3.1 (gateway.php,v 1.40 2004/10/26 14:53:00) modified with your posted additional bugfixes.

As said before, I struggled with the problem that some posts made in the forums doesn?t became exported to the newsgroups. They just never showed up there. I couldn?t figure out why this happend and I couldn?t see or find conditions, which caused this.
Everytime someone informed me about not exported posts, I posted a testpost in my forums and exported this one to the ng through the link http://www.myforums.com/forum/gateway.php?debug=1 - and it worked just perfect. So I never found out what the heck was going on.

Today I noticed that various posts haven?t been exported to the ng again. So I posted some testpost in the forums. But this time - dunno why ;) - I went back to the admincp and run the gateway through the cronjob in admincp/cronadmin.php - and whooops..what?s that ?! I had to recognize that something was going terrible wrong with that:

Quote:

Warning: main(./gateway.php): failed to open stream: No such file or directory in /xxx/xxx/xxx/htdocs/forum/admincp/cronadmin.php on line 56

Fatal error: main(): Failed opening required './gateway.php' (include_path='.:/usr/local/lib/php') in /xxx/xxx/xxx/htdocs/forum/admincp/cronadmin.php on line 56
None of the new posts became exported to the ng - but posts from the ng became imported to the forum. So at least something seemed to happen in the background. Even if I don?t know what exactly.
At first glance I thought I could have uploaded gatway.php to the wrong DIR, uploaded 2 different gateway.php?s to 2 different DIR?s or/and had set the paths incorrect, double-checked everything, but all params were set correctly and gateway.php only exists in the DIR /forum/.

I wrote another testpost and tried to export this one the way I did it the last weeks through a single browser window and the adress http://www.myforums.com/forum/gateway.php?debug=1. Again, that worked perfect, imported and exported all posts absolutly reliable.

After that I thought give it a try and changed the admincron-param from ?./gateway.php? to ?./gateway.php?debug=1?. But that only leads to another error-msg:
Quote:

Warning: main(./gateway.php?debug=1): failed to open stream: No such file or directory in /xxx/xxx/xxx/htdocs/forum/admincp/cronadmin.php on line 56

Fatal error: main(): Failed opening required './gateway.php?debug=1' (include_path='.:/usr/local/lib/php') in /xxx/xxx/xxx/htdocs/forum/admincp/cronadmin.php on line 56
This time the gateway went on strike and im- or exported nothing.

I changed the admincron-param again to the full http adress ?http://www.myforums.com/forum/gateway.php?. With this the gateway seems to work fine and is exporting the new posts from the forums to the ng. It?s running now about an hour and it seems to be dependable and stable. I stress seems cause I thought this a few times before ;)

But..I would like to know wether anyone could confirm this for his/her forums or am I the only one having this problem ?

Marv 10-29-2004 12:08 PM

lierduh,

may be you could do us a favor.

When using a local newsreader and replying to a post, quotes are marked with :
Quote:

In article news:[msg-ID@msg-ID-host.com] ?My Name? <my@email.com> wrote:
Could you add something like that to your hack ? Would be great - thanks !

lierduh 10-29-2004 01:09 PM

Quote:

Originally Posted by Marv
Hi lierduh,

After that I thought give it a try and changed the admincron-param from ?./gateway.php? to ?./gateway.php?debug=1?. But that only leads to another error-msg:

You should enter "gateway.php" instead of "./gateway.php".

Marv 10-29-2004 03:46 PM

Quote:

Originally Posted by lierduh
You should enter "gateway.php" instead of "./gateway.php".

You?re funny, lierduh - don?t you think I?ve already tried this before ;)
Since my first installation of your hack the param `gateway.php` isn?t working for me. With this I only receive a blank page in admincp and gateway.php is doing nothing. Wether importing nor exporting.

James T Brock 10-29-2004 11:52 PM

Quote:

Originally Posted by Marv
I changed the admincron-param again to the full http adress ?http://www.myforums.com/forum/gateway.php?. With this the gateway seems to work fine and is exporting the new posts from the forums to the ng. It?s running now about an hour and it seems to be dependable and stable. I stress seems cause I thought this a few times before ;)

But..I would like to know wether anyone could confirm this for his/her forums or am I the only one having this problem ?

I was having the exact same problem. Posts were coming into the forums fine but no post were being exported to usenet unless I manually went to the gateway myself. After a lot of frustration I deleted the usenet schedued tasks (all five of them) from the forums adminCP and decided to try one last idea. I decided to set REAL cronjobs to run the gateway instead of using vB's built in functionality. I set the cronjob to run 'http://www.myforums.com/forums/gateway.php' and now it works perfectly. For anyone else who is recieving posts but none of your post are being sent to usenet, maybe this will work for you as well?

Now that it works... Lierduh, this is a great hack. For me and my forums, this is the most useful vb mod on this site. Thanks for all of your work on it and I hope you keep updating this thing!


All times are GMT. The time now is 10:01 AM.

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.01939 seconds
  • Memory Usage 1,757KB
  • 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
  • (9)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