View Full Version : Reuqest: A port of the NNTP newsgroup hack for VB3
limey
01-15-2004, 02:08 PM
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
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
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 (https://vborg.vbsupport.ru/showthread.php?p=488956))
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
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
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.
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.php?p=444521&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
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
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.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.