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)

Michael2 11-09-2004 08:03 AM

Seems to be working ok but posts aren't being exported. I have vBulletin set up to run the task every 15 minutes. I just made a post and this is what I get when I run it manually...

Quote:

Gateway version 2.3.2 1 group(s) gatewayed.

Connecting to server, server says: 200 News.GigaNews.Com

Server responded after user name: 381 more authentication required

Server responded after password: 281 News.GigaNews.Com

Info for rec.food.veg.cooking at news.giganews.com: 211 896 28612 29507 rec.food.veg.cooking

Can we post? server responded: 340 send article
Posting Message 'Re: How to make Rice krispes' from Michael. Result: 240 post accepted.

The part in bold, that means my post was sent to (and received) by the newsgroup right? It's a moderated newsgroup so I can't just check to see if it made it.

Does this mean I need to set this up as a cron job? I've never set one up. If that's what I need to do can someone help me through it?

James T Brock 11-09-2004 08:27 AM

Quote:

The part in bold, that means my post was sent to (and received) by the newsgroup right?
Yes.

Michael2 11-09-2004 12:52 PM

Ok, I *think* I have this set up right (I want it to run once per hour). Like I said I've never set up a cron job so if someone could take a look and tell me if it looks right I'd appreciate it. :)

AWS 11-09-2004 09:57 PM

Quote:

Originally Posted by Michael2
Ok, I *think* I have this set up right (I want it to run once per hour). Like I said I've never set up a cron job so if someone could take a look and tell me if it looks right I'd appreciate it. :)

The command should be.
Code:

php -q /path/to/gateway.php

lierduh 11-10-2004 08:01 PM

Quote:

Originally Posted by esfron
Default Footer set to: default_footer
organization_check 0
nofooter 1
nosignature 0

All is working fine except signature and moderating queue.

1) Signature
Thread and profile links are working fine in outgoing posts. Signatures are showing in http forum but they aren't exported in outgoing messages. Signatures are showing usenames instead the real signature i.e. if username is esfron. signature display is:
-------
esfron

2) Moderation
I have both threads and posts moderation enabled in a usenet forum but usenet posts are going directly to the forum instead of the moderatong queue. They aren't held back.

Any idea ?

1). Your profile links should not show since you have "nofooter 1"
Make sure when you post, "Show your signature" is checked. No matter what settings you have. Your user name will always be appended.

2). Your forums set up is wrong somewhere. If local posts show up in moderated forums, then it is nothing to do with the script.

The Prince 11-11-2004 09:36 PM

Hi lierduh,

I'm having the same problems. Posts are being sent no problem. Footer is sent no problem. Username sent too. But signatures only appear in local forum and are not sent in usenet. And the signature box before posting is selected.

Signature: XXXXXXXXXXXXX

NNTP Settings:

nosignature = 0
nofooter = 1
default_footer = http://www.mywebsite.com
send_message = 1

Result in usenet:

--
The Prince

http://www.mywebsite.com


Also, you modified the email sent to usenet, is it still possible to have the emails sent the old way?

ThePrince.1dnp9z@mywebsite.com


thanks!

Torqued 11-11-2004 11:49 PM

Quote:

Originally Posted by AWS
The command should be.
Code:

php -q /path/to/gateway.php

I'm still not able to get the cron stuff sorted. :(

I've tried:

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

and

php -q /home/<username>/public_html/forums/gateway.php

I should be able to run these from the commandline and have it execute, no?

When I run it w/ the php -q command @ the commandline it spits out html code to the screen, I get emailed this error:

Quote:

Database error in vBulletin :

Link-ID == false, connect failed
mysql error:

mysql error number: 0

Date: Thursday 11th of November 2004 07:42:55 PM
Script: http://./gateway.php
Referer:
IP Address:
Can anyone help me get the cron stuff sorted? :(

AWS 11-11-2004 11:54 PM

Quote:

Originally Posted by Torqued
I'm still not able to get the cron stuff sorted. :(

I've tried:

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

and

php -q /home/<username>/public_html/forums/gateway.php

I should be able to run these from the commandline and have it execute, no?

When I run it w/ the php -q command @ the commandline it spits out html code to the screen, I get emailed this error:



Can anyone help me get the cron stuff sorted? :(

The error you're getting is because the script can't connect to mysql. The script did run so you have another problem.

Torqued 11-12-2004 12:47 AM

Quote:

Originally Posted by AWS
The error you're getting is because the script can't connect to mysql. The script did run so you have another problem.

Any ideas? Becuase I can run it if I run http://www.mydomain.com/forums/gateway.php and it runs correctly.

I can also run it via a Scheduled vB Task, but would rather have it as a cron job.

jarvis 11-12-2004 01:18 AM

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!!


All times are GMT. The time now is 01:08 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.01991 seconds
  • Memory Usage 1,751KB
  • 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
  • (2)bbcode_code_printable
  • (8)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