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)

limey 01-15-2004 02:08 PM

Reuqest: A port of the NNTP newsgroup hack for VB3
 
Was wondering if someone had worked on or is working on a vb3 version of the NNTP newsgroup hack or some other variety.

thanks.

allan grossman 01-26-2004 05:21 PM

<a href="https://vborg.vbsupport.ru/showthread.php?t=35247" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=35247</a>

This hack works but you need to substitute the gateway.php that's on page 44. I'm using it as well as a couple others.

jcrash 03-14-2004 04:30 PM

Before I get started on this does the control panel it mentions in the first post work with it (VB3)?

allan grossman 03-14-2004 06:39 PM

Quote:

Originally Posted by jcrash
Before I get started on this does the control panel it mentions in the first post work with it (VB3)?

Nope.

If you've got a copy of phpMyAdmin or something else to add database fields it's not necessary, though :)

jcrash 03-14-2004 06:43 PM

Im just using update statements.

allan grossman 03-14-2004 07:35 PM

Quote:

Originally Posted by jcrash
Im just using update statements.

That works too :)

himerus 03-24-2004 03:02 AM

I've installed the NNTP gateway on my board, and I'm having more problems with the search index & with posts made on the forum not being sent back to the newsgroup... (see this post)

I'm really hoping to see some updates on this SOON!!!

Imhotep 05-06-2004 06:07 PM

I am experiencing the same problem with VB3... no posts going out to the newsgroup.

Imhotep 05-06-2004 07:00 PM

I think my cron job is somehow munted.

/home/cghaus2/public_html/forums/gateway.php?log=cron

Is that correct? I got the "log=cron" part from the 1st hack text file. All I kow right now is that nothing is going out to usenet and nothing new is coming in.

himerus 05-07-2004 11:17 PM

Quote:

Originally Posted by Imhotep
I am experiencing the same problem with VB3... no posts going out to the newsgroup.

Is yours set up similar to mine with the scheduled task manager?

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.

I spent a full day working on it a couple of weeks ago, but haven't been able to finish it, or fix the problem. I do have it sending me an email when a post is made to one of the USENET groups on my site, so I know when I need to reset the post, and submit it manually...

I'll take another look at my script, and see if I can locate the problem...

However, I've downloaded and am using a completely different/updated set of classes for the NETNNTP and a few others related to the system, so some of my functions are renamed, and it's not looking anywhere near the same as it did when I started with the hacked hack.

I still love the hack though... I'm able to add valuable content to my site that otherwise wouldnt' be there... I've had over 150 new users in the last month and a half that have found the site through searches that linked to the newsgroup posts.

Great addition to any board that has related newsgroups.

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 04:43 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.01067 seconds
  • Memory Usage 1,753KB
  • 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)post_thanks_navbar_search
  • (1)printthread
  • (17)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete