vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Reuqest: A port of the NNTP newsgroup hack for VB3 (https://vborg.vbsupport.ru/showthread.php?t=60264)

Imhotep 05-07-2004 11:25 PM

Quote:

Is yours set up similar to mine with the scheduled task manager?
Probably not. I have mine set to run as a cron job on my server. I am currently waiting for some tech support from my host to tell me if I have the syntax correct or not.

Quote:

Mine is still broken if it runs via cron, but if I run it manually, it works like a charm... it has something to do with the global variables as far as I can tell.
Mine also works if I run it manually. However, I still do not see my posts on VB going out to the groups.

I wish I could light a fire under this project. It has so much bloody potential.

lierduh 05-13-2004 05:18 AM

I have made a lot of changes to the scripts. Please try the new one from:

https://vborg.vbsupport.ru/showpost....&postcount=658

For people who have essential posting problem. Please post your cron job, if it works manually, it should work with crontab under *nix. I am not quite sure about running the cron using vB control panel. Perhaps something I will look into later on. Right now, I would like to spend more time to make the basic functionalities stable.

More details about your problem always helps others to help you. So instead of saying my posting does not work, why not copy the screen dump here? Many problems are related to the news server. So if possible, use telnet to connect to the server and see what responses you are getting. eg.

=============================
[ns@mb eyoforums]$ telnet news.swiftel.com.au 119
Trying 218.214.224.6...
Connected to news.swiftel.com.au (218.214.224.6).
Escape character is '^]'.
200 news.syd.swiftdsl.com.au NNRP Service Ready - sysadmin@swiftel.com.au (posting ok).
GROUP aus.tv
211 12275 54464 66738 aus.tv
ARTICLE 66538
==============================
ie. after telnet in
type
GROUP group.name
then type
ARTICLE xxxxx

(xxxx is the post number)

You should get the whole article including the header. If the telnet does not even work. There is no point trying to fix the gateway.

Imhotep 05-13-2004 11:43 PM

1 Attachment(s)
Are we certain lastmsg is working? I set mine to "150" and expected to download only 150 threads. Instead, I got nervous after gateway.php was taking so long... so I stopped it only to find out it had downloaded 200+ threads. I then went back into phpmyadmin to find the value had changed to over 20,000 threads. :ermm:

himerus 05-13-2004 11:47 PM

Quote:

Originally Posted by Imhotep
Are we certain lastmsg is working? I set mine to "150" and expected to download only 150 threads. Instead, I got nervous after gateway.php was taking so long... so I stopped it only to find out it had downloaded 200+ threads. I then went back into phpmyadmin to find the value had changed to over 20,000 threads. :ermm:

If you look in the lastmsgid field of the nntp_groups table, after running the setlastmsg.php, you will see the message id number of the latest post in that group. If you subtract 150 from that number, you would recieve 150 posts from the news server.

If you set the number itself to 150, you are going to download every message since ID number 150.

Imhotep 05-13-2004 11:57 PM

awesome! i only have one small problem... running setlastmsg.php in IE causes a file download dialog to popup. i think i saw a workaround in these forums... somewhere. i'll be searching for it... but if you have it handy... :)

lierduh 05-15-2004 03:13 PM

New version is released at:

https://vborg.vbsupport.ru/showthread.php?t=65152

Imhotep 05-15-2004 03:41 PM

Awesome! I'm still testing to see if my messages make their way out to Usenet. Someone had an idea though,.... and that idea is that perhaps my host has port 119 for outgoing blocked. :ermm: That's where I am headed next.... if this latest post does not show up in outlook express.


All times are GMT. The time now is 07:06 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.01004 seconds
  • Memory Usage 1,729KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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