vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   NNTP Gateway (Usenet/Newsgroups) (https://vborg.vbsupport.ru/showthread.php?t=35247)

rawnet 03-24-2002 11:53 AM

Spot the NT user here.

Newsgroup names are case-sensitive. Have changed my newsgroups to lower case and it seems to be working now!!

:D

renaud_ 03-24-2002 01:29 PM

Hi,

thanks for all,

i can't gateway an POP3 account ...
Quote:

POP3: premature NOOP OK, NOT an RFC 1939 Compliant server
I can't understand what's the mistake ...

Any idea ?

rawnet 03-24-2002 02:11 PM

Hi,

My gateway.php script is doing the job, but it is timing out.

How do I increase the timeout for this script specifically?

Ross

Erwin 03-24-2002 06:26 PM

Quote:

Originally posted by rawnet
But according to my forums, there doesn't seem to be any messages downloaded.

Can anyone give me an idea as to what could be going wrong?



Try a different newserver. Some newservers just don't work with this hack. This hack definitely works. Your newserver settings must be right if you are getting that output page. But the newserver may not allow downloading of messages from an external program like that.

Gilby 03-25-2002 02:39 AM

Quote:

Originally posted by Erwin
Try a different newserver. Some newservers just don't work with this hack. This hack definitely works. Your newserver settings must be right if you are getting that output page. But the newserver may not allow downloading of messages from an external program like that.
It should now work with every server, and if it doesn't let me know.

antigravityboy 03-26-2002 06:22 PM

Yeah
First I wanted to say thanks to GameCrash for the cool interface addon. I finally got the script running on my bulletin board. I just have 1 problem to work out. When it gets picture files, .jpg's it does not display them as links to a picture it shows up as something like this.
begin 644 Catherine_Bell_02.jpg
M_]C_VP!#``$!`0$!`0$!`0$!`0$!`0$!`0$!`0$!`0$!`0$!`
0$!`0$!`0$!
M`0$!`0$!`0$!`0$!`0$!`0$!`0$!`0$!`0'_VP!#`0$!`0$!`
0$!`0$!`0$!
M`0$!`0$!`0$!`0$!`0$!`0$!`0$!`0$!`0$!`0$!`0$!`0$!`
0$!`0$!`0$!
M`0$!`0'_P``1"`#(`FP#`2(``A$!`Q$!_\0`'P```@(#`0$!` 0$`````````
M``D("@8'"P4$`P(!_\0`1!```00"`0,#`P,"`@<%!@<`!`(#! 08!!P@`$1()
etc, etc,

Anybody have any idea on how I can fix this.
Thanks a lot!

mood 03-26-2002 06:55 PM

Gilby,

Since upgrading to VB 2.2.4 my gated groups show me all messages as though they would be from a user in my Ignore list though none are as they are pseudo gateway "guests"

I'm using your last release with the mail list addition.

Any ideas?

PS: Could you get any results with the three way gateway? (list/nntp/forum)

Thanks for your help

Gilby 03-26-2002 09:30 PM

Quote:

Originally posted by mood
Gilby,

Since upgrading to VB 2.2.4 my gated groups show me all messages as though they would be from a user in my Ignore list though none are as they are pseudo gateway "guests"

I'm using your last release with the mail list addition.

Any ideas?

Can you point me at an example of this? I'm still running 2.2.2 here.

Quote:

Originally posted by mood

PS: Could you get any results with the three way gateway? (list/nntp/forum)

Nope, not yet.

Okiewan 03-26-2002 09:43 PM

Awesome hack, can't wait to get it working :)
Had problems with my isp's news, went on someone's suggestion here and signed-up with mammothnews.net.

Checked the account with outlook... no problems. Still getting the same issues as before (with other news servers)

Help please?

here is what is displayed using showqueries:

Quote:

Query: SELECT template FROM template WHERE title='options'
Time before: 0.03379499912262
Time after: 0.034965038299561

--------------------------------------------------------------------------------

Query: SELECT sessionhash,userid,host,useragent,styleid FROM session WHERE sessionhash='9322c3bbd3bd5a1472c3fe8344acbbc5' AND host='66.187.5.96' AND useragent='Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1;'
Time before: 0.041798949241638
Time after: 0.042446970939636

--------------------------------------------------------------------------------

Query: SELECT user.*,userfield.* FROM user LEFT JOIN userfield ON userfield.userid=user.userid WHERE user.userid='16119'
Time before: 0.042775988578796
Time after: 0.043499946594238

--------------------------------------------------------------------------------

Query: SELECT templatesetid,replacementsetid,userselect FROM style WHERE styleid='1'
Time before: 0.044497013092041
Time after: 0.044846057891846

--------------------------------------------------------------------------------

Query: SELECT template,title
FROM template
WHERE (title IN ('gobutton','timezone','username_loggedout','usern ame_loggedin','phpinclude','headinclude','header', 'footer','forumjumpbit','forumjump','nav_linkoff', 'nav_linkon','navbar','nav_joiner','pagenav','page nav_curpage','pagenav_firstlink','pagenav_lastlink ','pagenav_nextlink','pagenav_pagelink','pagenav_p revlink')
AND (templatesetid=-1 OR templatesetid='12'))


ORDER BY templatesetid
Time before: 0.045173048973083
Time after: 0.053406953811646

--------------------------------------------------------------------------------

Query: SELECT COUNT(*) AS count FROM session WHERE userid=0 AND lastactivity>1017184919
Time before: 0.055305004119873
Time after: 0.065440058708191

--------------------------------------------------------------------------------

Query: SELECT COUNT(DISTINCT(userid)) AS count FROM session WHERE session.userid>0 AND session.lastactivity>1017184919
Time before: 0.065888047218323
Time after: 0.068994998931885

--------------------------------------------------------------------------------

Query: SELECT * FROM usergroup WHERE usergroupid=6
Time before: 0.088593006134033
Time after: 0.089588046073914

--------------------------------------------------------------------------------

Query: SELECT varname,value FROM nntp_settings
Time before: 0.27212595939636
Time after: 0.29269301891327

--------------------------------------------------------------------------------

Query: SELECT * FROM nntp_groups WHERE enabled=1
Time before: 0.29306304454803
Time after: 0.29737997055054

--------------------------------------------------------------------------------


Warning: Cannot add header information - headers already sent by (output started at /home2/okiewan/public_html/forums3/global.php:120) in /home2/okiewan/public_html/forums3/gateway.php on line 483
1 group(s) gatewayed.
200 enews1.newsguy.com NNRP server INN 1.90.12 1-Feb-02 ready (posting ok).
381 PASS required
281 Ok
211 10644 348343 359040 rec.motorcycles.dirt
ArrayLogging in to news.mammothnews.net, group rec.motorcycles.dirt
Query: SELECT post.postid,post.username,post.userid,post.datelin e,post.attachmentid,post.pagetext,post.showsignatu re,post.ipaddress,thread.pollid,thread.title,post. threadid,thread.forumid FROM thread,post WHERE post.isusenetpost=0 AND thread.threadid=post.threadid AND post.dateline=thread.dateline AND post.userid=thread.postuserid AND (thread.forumid=80)
Time before: 1.1375050544739
Time after: 1.1587400436401

--------------------------------------------------------------------------------

Query: SELECT post.postid,post.username,post.userid,post.datelin e,post.attachmentid,post.pagetext,post.showsignatu re,post.ipaddress,thread.title,post.threadid,threa d.forumid,thread.msgid,thread.prefix FROM thread,post WHERE post.isusenetpost=0 AND thread.threadid=post.threadid AND (thread.forumid=80)
Time before: 1.1590980291367
Time after: 1.1634229421616

--------------------------------------------------------------------------------


Thanks in advance and thanks for the great hack.
In addition, It did work with the test server listed earlier in this thread.

Robert Basil 03-26-2002 10:03 PM

Just to let Gilby know, we are running the 1.9 version of his script and VB 2.2.1 with www.newsranger.com as our news host using a crontab every 15 minutes with about 9,000 usenet messages (100+ added daily), and everything is running great!

I plan on adding a few mailing lists (with the new SMTP support) sometime this weekend and will let you know how it works.

Thanks for the great hack bro!

P.S. We are on our own dedicated server and have not noticed any spikes is processor usage at all. :)

http://www.sportbikeworld.com/status


All times are GMT. The time now is 11:57 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.01764 seconds
  • Memory Usage 1,760KB
  • 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
  • (6)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