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)

lierduh 06-23-2004 12:40 AM

Quote:

Originally Posted by Cold Steel
Ok, I made a post http://forums.asiansinc.com/showthre...054#post476054 but for some reason it gave me a 500 error when running gateway.php.

So I disabled signatures and tried again, same result.

See attached.

The error must be your original problem. You may need to do a manual post following the instruction in the first page, ie. ssh, telnet etc. Basically your news server does not know the posting command sent by gateway script. 1) Are you allowed to post? 2) Have you changed the script, especially nntp.php?

Cold Steel 06-23-2004 12:43 AM

I am going to try the SSH instruction on the front now.

1) I should be allowed to post, since some posts have gone through before through gateway.php.

2) The only modifications I made were the ones you suggested to gateway.php.

If you have the time, would you mind getting on some sort of instant messaging client?

Cold Steel 06-23-2004 12:49 AM

Hmm. Both telnet and Agent tell me that I'm not allowed to post...


Very odd.

fustanella 06-23-2004 12:49 AM

Quote:

Originally Posted by AWS
On Windows create a scheduled task.

Just to clarify, did you mean a task within the Windows operating system, or within the task manager built into vB3? I took you to mean the former, and when I tried it I couldn't get it to work; just now, though, I stumbled across the latter and it appears to be doing the trick each hour.

Cold Steel 06-23-2004 01:54 AM

Forget it - I signed for a free account with Teranews which is letting me post.

Qwest 06-23-2004 01:54 AM

Quote:

Originally Posted by fustanella
Just to clarify, did you mean a task within the Windows operating system, or within the task manager built into vB3? I took you to mean the former, and when I tried it I couldn't get it to work; just now, though, I stumbled across the latter and it appears to be doing the trick each hour.

I find it better to use the one on teh Operating system if you can. The one in VB is based on visitors to your site. If you site has lulls in traffic your task won't be run until someone visits.

Qwest 06-23-2004 02:04 AM

Everyone I found out how to make the posts not count towards your total board post counts.

Note: this hack is totally the work of Wayne Luke. I'm just copy/pasting

Quote:

Originally Posted by Wayne Luke
Should be easy...

Add a smallint field on the database record such as "is_usenet" and set it to '1' for the forums that are.

Then in index.php find the following code (it is near the bottom):
PHP Code:

if (is_array($forumcache))
{
    foreach (
$forumcache AS $forum)
    {
        
$totalthreads += $forum['threadcount'];
        
$totalposts += $forum['replycount'];
    }


And change it to:
PHP Code:

if (is_array($forumcache))
{
    foreach (
$forumcache AS $forum)
    {
            if (!
$forum['is_usenet']) {
                     
$totalthreads += $forum['threadcount'];
                
$totalposts += $forum['replycount'];
                }
    }



My only addition is that you have to go into your AdminCP and update post counts for the changes to take affect. Try running gateway.php as well.

kkiely 06-23-2004 03:46 AM

Hi, could everyone who runs a board with USENET access reply as to
1. what news account you are using
2. how much it costs
3. how many GB you get/month
4. how reliaable it is

I have a few questions

1. What is your favorite news account?

2. If someone wants to run 2 different web sites using VBulleting with the USENET hack - can they use the same news feed and share the bandwidth?

3. Do most webmasters here find that the cost of the news account is worth the extra traffic, etc?

4. Can you make it so that anyone who posts to Usenet through your board has a signature in their posts that read something like

______________________________
"This was posted at www.ABC.com"

Cold Steel 06-23-2004 03:51 AM

1. I was using Giganews (the link is my referral link). But for some reason, they stopped letting me post.

So I went to Teranews.com. They let me post once, and then none of them were getting through.

2. Giganews is $7.99 a month. Teranews is only a $3.95 setup fee.

3. Giganews is 2GB a month. Teranews is 50MB a day.

4. Both unreliable if you ask me, although I would think Giganews is more reliable than Teranews.

1. No favorite yet.

2. Yes.

3. Just started. Don't know yet.

4. Don't know.

I'm starting to think this is more trouble than it's worth.

Help!!!

KevinM 06-23-2004 04:50 PM

Quote:

Originally Posted by princeton
If I understand correctly you are suppose to add the first line of the footer between { } and it should strip the remaining lines -- is this correct?
:(

There are a couple of things to check first (I'm sure you have, but just to be sure...) as these are insensitive to any tolerance.

Double check that this bit
PHP Code:

    //strip the footer from emails only
        
if ($grouptype != 'news')
        {
        
$message['text'] = stripfooter($message['text']);
        } 

has been entered in the right place in gateway.php.

Lastly, check that the new Varname you entered in the controlpanel is called exactly "emailfooter" (without quotes).

Try to keep what you put between the {} as short as possible, but enough that it won't occur naturally in a normal message. What is the phrase you are trying to match? Are there any unusual characters that may cause the script to hiccup?


All times are GMT. The time now is 02:30 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.01768 seconds
  • Memory Usage 1,756KB
  • 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_php_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