View Full Version : NNTP Gateway for Usenet ( Newsgroups ), Mailing Lists
lierduh
07-20-2005, 10:00 PM
The latest version: V3.5.0Alpha 1 (21 Jul 2005)
What is it?
This hack provides a gateway from vBulletin forums to the USENET. It allows forum members to read newsgroup messages as well as to send posts to the newsgroups. In a nutshell, it turns vBulletin forums into a basic function news reader.
For an added bonus, this package also supports mailing list archive and forum to mailing list gateway. The software retrieves messages from a pop3 account and import them into the forums threaded. It also allows a forums user to send messages to the mailing list by the forum posting interface.
Why?
The gateway will be appreciated by forum members who do not know how to set up a news reader, or people who do not have port 119 open in their network. A forum interface to read and post news are often considered to be better than a news reader.
The gateway adds more contents to your forums and allows the members to interact with wider audience. It is common to see new users signing up to use this feature.
History
This hack was originally coded by Gilby for vB2. I modified the hack to work with vB3 and have been maintaining and improving the hack. I have now done the modification for this to work with vB3.5.
The very original hack by Gilby can be found here:
https://vborg.vbsupport.ru/showthread.php?t=35247&page=1&pp=15
The vB3 version can be found here:
https://vborg.vbsupport.ru/showthread.php?t=65152
Features
Some of the features and improvement include:
Handles both newsgroup posts and mailing lists.
Handles MIME encoded messages and attachment.
Handles UUEncoded messages.
Two Admin Control Panels for all settings.
Automated installation.
Correct thread implementation. All imported messages and posts sent to newsgroups will be threaded correctly according to References and Message-ID headers.
Optional setting to thread by subject for mailing lists that strip references header.
Imported messages will be searchable just like normal forum posts.
Similar threads are built when the messages are imported if the system setting is on.
Multiple attachments importing.
Save attachment to database or file according to vB setting.
Thumbnail created while importing image files.
Multiple attachment post to newsgroup is also supported.
Selectable X-No-Archive header honouring system.
Light on system resources.
Global Killfile to filter out unwanted messages. Killfiles can have OR and AND effectiveness.
Strip footer by setting for incoming messages. Strips out repeated message footers.
Built options to disable signatures and footers for out going messages.
Future development
Traditional "> " lead posting interface.
What do you need and do not need?
You do not need to edit vB php files.
No need to manually run SQL.
Installation
Basically the AdminCP interfaces take care of installation as well as upgrade in the background. Back up your database first. The scripts can modify your database without alerting you!
Please follow the instructions in the readme.txt file for more details.
It is not a must to click "INSTALL (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=92588)" for this hack if you use it, I do try better answering the questions from people who do.
Support
Please post your support questions to this thread. Please check the FAQ in the second post within this thread first. It may be surprising, but it is possible your question is answered in the adminCP NNTP settings.
Please always provide more details about your problem. Examples and debug messages will certainly help. Well, if you don't even try to have some effort to compose your question, the answer you get may also not include much effort.:)
================== UPDATES ======================
Jul 21 2005 (release version 3.5.0 Alpha 1)
AdminCP xml file is written by Kadence.
Ported to work with vB3.5.
Existing bug fixes.
Debug message can be sent by email or logged in vB Tast Scheduler.
Known problem: image attachment thumb nail creation still needs work.
Needs to be done: Documentation.
Quick installation instruction:
1) Upload files to their correct directory
2) Enter AdminCP, click on NNTP Settings once to install/upgrade. Change settings to your like.
3) Click on NNTP Groups once to install/upgrade.
3a) For new install. Run once
http://www.yourdomain.com/setlastmsg.php
Delete this file afterwards.
If you are upgrading from an older version. There is no need to upload this file. Actually this file should not be there except brand new install.
4)
Manually run in debug mode: http://forums.yourdomain.com/gateway.php?debug=1
lierduh
07-21-2005, 02:45 AM
Reserved post position for FAQ.
Q: How come there is lack of response for my support problem?
A: Perhaps it is something that is so obvious, or perhaps something should be known by reading readme file or even just go through your nntp settings. ...or if you don't even try any effort to explain your problem, you won't expect others do much to help you. If you have been using a hack, you should click 'INSTALL'. A hack author will be reluctant to help if they see you are not even acknowledging using their hack.
Q: New threads created instead of merging into the existing thread.
A: There is a setting in adminCP to find the thread by subject. Some messages/emails may not contain reference in the header for the usual threading to work.
Q: Why some user name or subject show up as =?Utf-8?B?S2ltYmE=?=
A: You need 'imap_mime_header_decode' php function. Ask your host if not sure.
tamarian
07-21-2005, 02:50 PM
Great to see it for 3.5 :up: I'm still using the old perl script, but will give this a try.
Thanks lierduh. I won't upgrade to 3.5 until it is out of beta, but, it is nice to see this one is ready when I need it.
Thanx lierduh, for now installed it locally but seems to work ok, the upgrade went pretty smooth :)
klaus
07-27-2005, 01:41 AM
lierduh,
1st, thank you for taking the time bringing us this nice add-on.
I just installed this on 3.5RC1 and it works fine other then the admincp is somewhat screwed up, no big deal.
I did a test with the news.microsoft feed as suggested in the readme. Works fine (haven't tested posting yet). i was able to fetch thousands of posts and most of them find the reference thread (Thread found by References.).
However I am having issues with majordomo mailinglists. I am fetching from two lists. One actual busy list with about 50 new posts per day and one test majordomo I setup.
The problem is that posts don't find there reference thread and start new ones. So I end up with 5 threads on the same subject. All have the same subject line. RE.:123, RE.:123, RE.:123, 123 etc.
Is this a known issue? Is there some tuning I can do?
lierduh
07-27-2005, 01:53 AM
What is the actual issue with admincp?
There is a setting you can set to use matching subject to find the thread instead of using reference in the header.
klaus
07-27-2005, 02:00 AM
Thanx for the quick response.
Never mind the admincp error. I screwed up. Its fixed.
I am playing with the setting on matching subject next.
klaus
07-27-2005, 03:26 AM
The Subject deal worked perfect for Mailinglist.
But attachments are ignored.
My settings: "Skip attachments no_attach 0"
"Thread found by Subject.
This forum does not allow attachments, therefore attachment ignored."
If I post in the forum I can post attachments fine. I use filesystem for my attachments by the way, not sure if that matters.
dodgez
07-28-2005, 12:53 PM
admin <admin.1svs8r@test>, UNEXPECTED_DATA_AFTER_ADDRESS@.SYNTAX-ERROR.
dodgez
07-28-2005, 12:54 PM
admin <admin.1svs8r@test>, UNEXPECTED_DATA_AFTER_ADDRESS@.SYNTAX-ERROR.
It didn't send it as my typed in e-mail address. This is on RC1 also. Thanks for the great hack.
Cyburbia
08-01-2005, 01:33 AM
I don't think it's running properly with my installation.
The instructions include:
7. The gateway script has been designed to be run periodically. There are two ways to achieve this.
You can use the vB3's internal Scheduled tasks to run the script automatically.
Go to AdminCP, under Scheduled Tasks, create a new task to run every one hour. Enter 'gateway.php' in the filename section. Usualy you would like the script to run more often than once each hour. You can create more than one tasks to run at different minutes of the hour to achieve this.
I did just that, but when I try to run the script manually (Scheduled Tasks -> Scheduled Task Manager -> Mailing List Gateway -> Run Now) I get the source of a raw HTML file instead of the standard "Done" blue screen. Permissions are set so that gateway.php is executable, and the location of gateway.php is correct, so I don't know what I'm doing wrong.
lierduh
08-01-2005, 01:50 AM
I don't think it's running properly with my installation.
The instructions include:
I did just that, but when I try to run the script manually (Scheduled Tasks -> Scheduled Task Manager -> Mailing List Gateway -> Run Now) I get the source of a raw XML file instead of the standard "Done" blue screen. Permissions are set so that gateway.php is executable.
What is displayed on the screen?
lierduh
08-01-2005, 01:51 AM
It didn't send it as my typed in e-mail address. This is on RC1 also. Thanks for the great hack.
Sorry, I think I am lost.
Cyburbia
08-01-2005, 02:09 AM
What is displayed on the screen?
This:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html dir="ltr" lang="en">
<head>
<title>Scheduled Task Manager - (my site) - vBulletin Admin Control Panel</title>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<link rel="stylesheet" href="../cpstyles/vBulletin_3_Default/controlpanel.css" />
<script type="text/javascript">
<!--
var SESSIONHASH = "";
function set_cp_title()
{
if (typeof(parent.document) != 'undefined' && typeof(parent.document) != 'unknown' && typeof(parent.document.title) == 'string')
{
parent.document.title = (document.title != '' ? document.title : 'vBulletin');
}
}
//-->
</script>
<script type="text/javascript" src="../clientscript/vbulletin_global.js"></script>
</head>
<body style="margin:0px" onload="set_cp_title();">
<div class="pagetitle">Scheduled Task Manager</div>
<div style="margin:10px">
<!-- END CONTROL PANEL HEADER -->
<p><b>Mailing list gateway</b></p><p>Done</p>
<!-- START CONTROL PANEL FOOTER -->
<p align="center"><a href="http://www.vbulletin.com/" target="_blank" class="copyright">vBulletin v3.5.0 Release Candidate 1, Copyright ©2000-2005, Jelsoft Enterprises Ltd.</a></p>
</div>
</body>
</html>
Just raw HTML.
lierduh
08-01-2005, 03:53 AM
This:
Just raw HTML.
I saved that as html and sent for validation. It passed without any problem. So I have no idea why your browser is not rendering that.
By the way, embedded in the html. It does have the
"Mailing list gateway Done"
Cyburbia
08-01-2005, 04:28 AM
I saved that as html and sent for validation. It passed without any problem. So I have no idea why your browser is not rendering that.
By the way, embedded in the html. It does have the
"Mailing list gateway Done"
Okay ... it seems to work in IE, but not Mozilla Firefox.
Just a question: has anyone gotten this to work with Yahoo Groups? Here's what I'm using:
Newsgroup/Mailing list E-mail: [nameofgroup]@yahoogroups.com
(the e-mail address a subscriber can use to send a message to the entire group.
Server: cyburbia.org
User name (only if required): [gateway email address used as email address+cyburbia.org]
(as listed for "Email Address - Choose the email address that you would like group messages sent to. My Web host requires you to put "+domainname.tld" at the end of user names for retrieving and sending e-mail.)
Password: [POP password]
ExpertDomino
08-01-2005, 05:39 AM
Should this be tried on a Live Board.............can anyone show me a working demo?
Cyburbia
08-01-2005, 04:10 PM
Okay ... I think I have it retrieving messages from mailing lists. However, I can't use the gateway in the opposite direction; posting in the forum and having the message appear on the list.
I posted a test message in the gatewayed forum. I ran the script in debug mode, and got the following:
Gateway version 2.3.2 1 group(s) gatewayed.
Successfully connected to the 'cyburbia.org' pop3 server.
Retrieving 0 E-mails from the 'cyburbia.org' pop3 server.
Retrieving, yes. Sending ... no.
custsrvcrep
08-02-2005, 05:49 PM
Hi Lierduh,
two questions:
1. How involved is the upgrade path from 3.0.x to 3.5.x with your usenet hack installed? It runs great on the old version and I'm not excited about the change but realize I need to upgrade :(
In other words - what is the best path? Ignore usenet hack; upgrade to 3.5.x (upon final release); THEN install revised usenet hack? If that is true, is there any affect to the database since the hack has added various fields?
OR ???
2. Have you ever integrated an automatic scheduled pruning of usenet posted messages?
Thank you.
dodgez
08-03-2005, 03:53 PM
Should this be tried on a Live Board.............can anyone show me a working demo?
http://gt500forums.com/testvb/index.php
dodgez
08-03-2005, 03:55 PM
Okay ... it seems to work in IE, but not Mozilla Firefox.
Just a question: has anyone gotten this to work with Yahoo Groups? Here's what I'm using:
Newsgroup/Mailing list E-mail: [nameofgroup]@yahoogroups.com
(the e-mail address a subscriber can use to send a message to the entire group.
Server: cyburbia.org
User name (only if required): [gateway email address used as email address+cyburbia.org]
(as listed for "Email Address - Choose the email address that you would like group messages sent to. My Web host requires you to put "+domainname.tld" at the end of user names for retrieving and sending e-mail.)
Password: [POP password]
I have the same problem as you. It just shows the html. I haven't tried it in IE tho...
Yahoo uses domain keys so you may have problems sending to their groups. I pull from them fine tho.
dodgez
08-03-2005, 03:58 PM
admin <admin.1svs8r@test>, UNEXPECTED_DATA_AFTER_ADDRESS@.SYNTAX-ERROR.
It didn't send it as my typed in e-mail address. This is on RC1 also.
Why is it send it as admin.1svs8r@test? I think this is why I can't send to yahoo groups....
klaus
08-03-2005, 04:00 PM
Everything seems to work fine....
But attachments are ignored.
My settings: "Skip attachments no_attach 0"
"Thread found by Subject.
This forum does not allow attachments, therefore attachment ignored."
If I post in the forum directly I can post attachments fine. I use filesystem for my attachments by the way, not sure if that matters. Any ideas ?
wattieuk
08-03-2005, 05:28 PM
does anyone have any server settings I could use. I am on AOL and they dont allow you access to newsgroups. Cheers
lierduh
08-03-2005, 10:36 PM
Hi Lierduh,
two questions:
1. How involved is the upgrade path from 3.0.x to 3.5.x with your usenet hack installed? It runs great on the old version and I'm not excited about the change but realize I need to upgrade :(
In other words - what is the best path? Ignore usenet hack; upgrade to 3.5.x (upon final release); THEN install revised usenet hack? If that is true, is there any affect to the database since the hack has added various fields?
OR ???
2. Have you ever integrated an automatic scheduled pruning of usenet posted messages?
Thank you.
Just upgrade to vB3.5, you may like to turn off cron job for the gateway during the upgrade.
Upload all the new gateway file, go to AdminCP and open the settings page once, it will upgrade the gateway in the background. No database conflict has been encountered.
No, I do not have any scheduled pruning happening. Our hardware should be able to handle heaps more posts, so there is no need at the moment. However I have read in the past at least one of the gateway users has something like this.
Cyburbia
08-03-2005, 11:40 PM
Yahoo uses domain keys so you may have problems sending to their groups. I pull from them fine tho.
Would domainkeys really be a problem? Mail is sent to the list from my domain, with my domain's address.
I might set up a normal experimental listserv to see if I can get integration working there.
lierduh
08-04-2005, 12:00 AM
Would domainkeys really be a problem? Mail is sent to the list from my domain, with my domain's address.
I might set up a normal experimental listserv to see if I can get integration working there.
You will have problem if the hosts has implemented user name and password for the SMTP server. The gateway uses php's built-in mail() function to send emails. It uses the default SMTP server on the web server.
The server/username/password settings are for pop3 only.
You can enter your own email address at "Newsgroup/Mailing list E-mail". The emails should be sent to you instead of the mailing list if you do this.
Cyburbia
08-04-2005, 02:57 AM
You can enter your own email address at "Newsgroup/Mailing list E-mail". The emails should be sent to you instead of the mailing list if you do this.
Just tried it. Posted, reran the script, and ... nothing's reaching me from the gateway by e-mail.
Here's my debug message.
Gateway version 2.3.2 1 group(s) gatewayed.
Successfully connected to the 'cyburbia.org' pop3 server.
Retrieving 0 E-mails from the 'cyburbia.org' pop3 server.
Nothing about sending e-mail from the group to the list.
You said:
You will have problem if the hosts has implemented user name and password for the SMTP server. The gateway uses php's built-in mail() function to send emails. It uses the default SMTP server on the web server.
If that's the case, how come vBulletin's account validation, PM notification, subscription notification and other messages get out?
I can't find the string "smtp" anywhere in any of the extension scripts, FWIW. Again, if vBulletin can connect and send through a SMTP server that has username and password implemented (if that's the case with me; I'm not positive, but like I said, I've had no problem with vBulletin validation and notification messages getting out), your script should be able to do the same. I think.
I do appreciate the work you've put into the script. I only wish I could get it to communicate in both directions.
lierduh
08-04-2005, 04:15 AM
Have you had any new posts in the forums before you run the gateway? Because your debug message does not mention about "Posting Message".
If you had, then the script must have crashed due to some reason. You can find the error from the web log.
You won't find smtp in the scripts. If you need more info about mail(), please check:
http://php.mirrors.ilisys.com.au/manual/en/function.mail.php
Last, is your web server Windows based, or *nix based? What is your smtp setting in the php.ini if it is windows based.
Just tried it. Posted, reran the script, and ... nothing's reaching me from the gateway by e-mail.
Here's my debug message.
Gateway version 2.3.2 1 group(s) gatewayed.
Successfully connected to the 'cyburbia.org' pop3 server.
Retrieving 0 E-mails from the 'cyburbia.org' pop3 server.
Nothing about sending e-mail from the group to the list.
You said:
If that's the case, how come vBulletin's account validation, PM notification, subscription notification and other messages get out?
I can't find the string "smtp" anywhere in any of the extension scripts, FWIW. Again, if vBulletin can connect and send through a SMTP server that has username and password implemented (if that's the case with me; I'm not positive, but like I said, I've had no problem with vBulletin validation and notification messages getting out), your script should be able to do the same. I think.
I do appreciate the work you've put into the script. I only wish I could get it to communicate in both directions.
wattieuk
08-04-2005, 08:07 AM
can anyone help me by letting me know where i can get newsgroup access to configure this script. i have no newsgroup access through my isp.
thanks
wattieuk
08-04-2005, 10:00 AM
All I ever get when I run this is:
Gateway version 2.3.2 1 group(s) gatewayed.
Could not connect to NNTP-server. (Connection timed out (110))
Not connected
Not connected
I could really do with some help as Id love to have this working on site.
ThePimp
08-04-2005, 11:25 AM
Is there a way to only allow the importing of binary images, and display them as attachments? Skipping over .rar files and other garbage out there?
Cyburbia
08-04-2005, 12:59 PM
Have you had any new posts in the forums before you run the gateway? Because your debug message does not mention about "Posting Message".
If you had, then the script must have crashed due to some reason. You can find the error from the web log.
You won't find smtp in the scripts. If you need more info about mail(), please check:
http://php.mirrors.ilisys.com.au/manual/en/function.mail.php
Last, is your web server Windows based, or *nix based? What is your smtp setting in the php.ini if it is windows based.
One new post. I tried posting a test message to the list, and it appeared in the Forum. It's a slow list.
Every time I run the script in debug mode, there's never anything about posting messages, even when I post several test messages -- but there's also no error emssages, either.
Here's the most recent excerpt vBulletin scheduled task log.
2179 Mailing list gateway 09:05, 4th Aug 2005 Ran NNTP Gateway
2178 Mailing list gateway 08:05, 4th Aug 2005 Ran NNTP Gateway
2177 Mailing list gateway 07:06, 4th Aug 2005 Ran NNTP Gateway
2176 Mailing list gateway 06:07, 4th Aug 2005 Ran NNTP Gateway
2175 Mailing list gateway 05:05, 4th Aug 2005 Ran NNTP Gateway
I don't know if there's another log where I should be looking. It's shared hosting.
The server is Linux based. Some php settings:
Linux *****.com 2.4.21-32.ELsmp #1 SMP Fri Apr 15 21:17:59 EDT 2005 i686
sendmail_from no value no value
sendmail_path /usr/sbin/sendmail -t -i /usr/sbin/sendmail -t -i
wattieuk
08-04-2005, 01:13 PM
can anyone please help me to get this working? I need some info to see if it works on my site. I can access through the newsreader i have but not through the script.
lierduh
08-04-2005, 01:22 PM
One new post. I tried posting a test message to the list, and it appeared in the Forum. It's a slow list.
Every time I run the script in debug mode, there's never anything about posting messages, even when I post several test messages -- but there's also no error emssages, either.
Here's the most recent excerpt vBulletin scheduled task log.
I don't know if there's another log where I should be looking. It's shared hosting.
The server is Linux based. Some php settings:
You have not turned on the do_cron_log in the settings. So the log does not show the details.
How about post one new message in the forums, then run the gateway in debug mode and post the entire debug message here.
Also post the SMTP setting here from phpinfo (you can run it from AdminCP).
lierduh
08-04-2005, 01:26 PM
can anyone please help me to get this working? I need some info to see if it works on my site. I can access through the newsreader i have but not through the script.
Check out the thread in the NNTP for the vB3.0.x.
wattieuk
08-04-2005, 01:52 PM
Thanks - but having read 60 pages I am still none the wiser. What I did learn though is that it does work with A Small Orange who are my server hosts. Please can someone tell me settings which work so I can test it. So many of you have it working I am sure someone can help.
wattieuk
08-04-2005, 02:17 PM
Tried uninstalling and reinstalling and got this message:
1 group(s) gatewayed. Could not connect to NNTP-server. (Connection timed out (110)) Logging in to msnews.microsoft.com, group microsoft.public.access: Not connectedNot connectedMax: Min: Not connected
The settings I used were:
Newsgroup/M-list E-mail : microsoft.public.access
Server: the NNTP server. msnews.microsoft.com
Username: enter only needed
Password: enter only needed
Sender:
Set to 'use_real_email':
as per instructions.
wattieuk
08-04-2005, 06:08 PM
I have found out that 'A Small Orange' doesn't allow access to Port 119 on its servers, so is there any way to use this via another port?
ThePimp
08-04-2005, 09:19 PM
I can't seem to get the UUEncoded messages parsed out to be added as attachments. I get a bunch of garbage posts of random strings. I would also like a way to skip over certain file types when scanning for new messages, such as I don't really want to be importing from the alt.binaries_____ groups EVERYTHING that's on them.
Is there some way to do this? Your "Features" says it handles UUEncoded messages, however, I can't find any documentation on this feature anywhere, nor can I get it to decode the messages.
Any help with this is greatly appreciated.
Thanks in advance.
Cyburbia
08-04-2005, 10:18 PM
You have not turned on the do_cron_log in the settings. So the log does not show the details.
How about post one new message in the forums, then run the gateway in debug mode and post the entire debug message here.
Also post the SMTP setting here from phpinfo (you can run it from AdminCP).
do_chron_log is on (set to "1").
Changed the "Newsgroup/Mailing list E-mail" for the group to my personal e-mail address.
Ran the gateway in debug mode (http://(my domain)/forums/gateway.php?debug=1).
Nothing was sent to my personal e-mail address. The NNTP gateway debug message that was e-mailed to the forum administration address just read:
Gateway version 2.3.2 1 group(s) gatewayed.
Successfully connected to the '(my domain)' pop3 server.
Retrieving 0 E-mails from the '(my domain)' pop3 server.
That's the entire message. Same as before. Nothing else. :(
Here's the SMTP settings on the PHP server.
SMTP localhost localhost
smtp_port 25 25
Again, that's all that's there.
lierduh
08-04-2005, 10:28 PM
do_chron_log is on (set to "1").
Changed the "Newsgroup/Mailing list E-mail" for the group to my personal e-mail address.
Ran the gateway in debug mode (http://(my domain)/forums/gateway.php?debug=1).
This may be silly, but have you made a new post in that forum before you ran the gateway in debug mode?
lierduh
08-04-2005, 10:31 PM
I can't seem to get the UUEncoded messages parsed out to be added as attachments. I get a bunch of garbage posts of random strings. I would also like a way to skip over certain file types when scanning for new messages, such as I don't really want to be importing from the alt.binaries_____ groups EVERYTHING that's on them.
Is there some way to do this? Your "Features" says it handles UUEncoded messages, however, I can't find any documentation on this feature anywhere, nor can I get it to decode the messages.
Any help with this is greatly appreciated.
Thanks in advance.
Thumbnail creation needs work.
UUEncode is supported. Are you sure the attachment is UUEncoded? Please post a sample of the attachment header and what was imported.
ThePimp
08-04-2005, 10:42 PM
Thumbnail creation needs work.
UUEncode is supported. Are you sure the attachment is UUEncoded? Please post a sample of the attachment header and what was imported.
No, I'm not 100% sure it's UUEncoded. It could be a MIME type also. It's just a bunch of garbage characters that the post is like a mile long. I would give you the URL, but a certain word in my URL is censored here. So, let me go dig up a portion of the thread I'm referring to so you can see.
Cyburbia
08-04-2005, 11:30 PM
This may be silly, but have you made a new post in that forum before you ran the gateway in debug mode?
Yes, I did. In fact, I'll do it again. Watch.
8:18 PM
http://www.cyburbia.org/tmp/1.jpg
8:20 PM
https://vborg.vbsupport.ru/
8:22 PM
http://www.cyburbia.org/tmp/3.jpg
8:23 PM
http://www.cyburbia.org/tmp/4.jpg
8:24 PM
https://vborg.vbsupport.ru/
That's it. Nothing about sending messages. No errors. That's all there is. Really.
No e-mail recieved at the NNTP/list address, either. Really.
lierduh
08-04-2005, 11:40 PM
Ok, please post all your NNTP_settings. Mark out the ones you don't want to show.
ThePimp
08-05-2005, 12:00 AM
Ok, I think I have it partially figured out re: attachments... But I'm getting this debug message, and have set everything to allow attachments...
Getting message number 971197:
This forum does not allow attachments, therefore attachment ignored.
Any idea for what I might be missing?
Cyburbia
08-05-2005, 01:12 AM
Ok, please post all your NNTP_settings. Mark out the ones you don't want to show.
There are no NNTP settings shown in the PHP information. Here's everything from NNTP Gateway settings, if you mean that.
Organization organization Cyburbia Forums gateway [Edit]
User Agent useragent vBulletin USENET gateway
View profile URL profileurl http://www.(domain)/forums/member.php [Edit]
http://www.(domain)/forums/showthread.php?t= [Edit]
Email address domain email cyburbia.org [Edit]
Make TinyURL at Length tinyurl 70 [Edit]
View attachment URL attachmenturl http://www.(domain)/forums/attachment.php?attachmentid=
Honour No-Archive honor_no-archive 1 [Edit]
is_running 0 [Edit]
Last Max postid last_postid 243556 [Edit]
Last Time Run last_run 1123207512 [Edit]
Send no signature nosignature 0 [Edit]
Send no footer nofooter 0 [Edit]
No Organization Check organization_check 1 [Edit]
Use Post Time use_post_time 0 [Edit]
Skip attachments no_attach 0 [Edit]
Pause Between messages pause_seconds 0 [Edit]
Send message to USENET send_message 0 [Edit]
Default Footer default_footer [Edit]
Strip Footer strip_footer [Edit]
Find Thread by Subject thread_by_subject 1 [Edit]
Global Killfile killfile_setting [Edit]
Generate Debug Message do_cron_log 0
(I reset that last one, so I stop getting logs.)
lierduh
08-05-2005, 11:45 PM
Send message to USENET send_message 0
Can't believe you have not checked/tried this.
Change this to 1 !!!
lierduh
08-06-2005, 12:01 AM
Ok, I think I have it partially figured out re: attachments... But I'm getting this debug message, and have set everything to allow attachments...
Getting message number 971197:
This forum does not allow attachments, therefore attachment ignored.
Any idea for what I might be missing?
The attachment is not fully working at the moment, please wait for next release.
Cyburbia
08-06-2005, 02:27 AM
Can't believe you have not checked/tried this.
Change this to 1 !!!
Believe it.
I said I had it at 1 before! I said I turned it back to "0" because I didn't want to keep having empty logs e-mailed to me (and all the forum admins/mods who read the forum e-mail address) every hour.
Lemme' show you again ...
https://vborg.vbsupport.ru/
See? do_cron_log 1 And what was the result? I'll show it again.
https://vborg.vbsupport.ru/
I swear on a stack of Bibles, Korans, and Torah scrolls that's all I'm getting.
I have done everything precisely as you have said, and I still get minimal logs, and no outgoing e-mail. Sorry, but it's not working. I give up.
lierduh
08-06-2005, 03:01 AM
I give up.:(
Go through the Settings and Re-Read my post.
You have
Send message to USENET send_message 0
You need to set it to bloody 1 to send any messages out!!! :)
It is things like this makes me giving up giving more support.
We are talking about hacking here. The users can't even bother to go through the settings properly, let alone to wade through the codes to find the problem. No wondering the hackers either start to charge for their effort or just giving up release hacks.
Some may say you don't know php. Hell, when I used Matt Wright's WWWboard (http://www.google.com.au/search?hl=en&rls=GGLD%2CGGLD%3A2005-08%2CGGLD%3Aen&q=matt+wright+wwwboard&btnG=Search&meta=) in 96, I did not know anything about perl. I still don't know anything about perl, but I went through the codes and used common sense to get it to work the way I wanted. I am not php programmer either, for the record, I am a business man. I bought myself "Teach Youself PHP in 24 hours" book and learn the rest from internet. When I need to re-code the gateway, I still rely heavily on manual even for simple syntax.
Come on, give more efforts if you consider yourself a hacker.
Believe it.
I said I had it at 1 before! I said I turned it back to "0" because I didn't want to keep having empty logs e-mailed to me (and all the forum admins/mods who read the forum e-mail address) every hour.
Lemme' show you again ...
http://www.cyburbia.org/tmp/2.jpg
See? do_cron_log 1 And what was the result? I'll show it again.
http://www.cyburbia.org/tmp/5.jpg
I swear on a stack of Bibles, Korans, and Torah scrolls that's all I'm getting.
I have done everything precisely as you have said, and I still get minimal logs, and no outgoing e-mail. Sorry, but it's not working. I give up.
Cyburbia
08-06-2005, 03:07 AM
My stupid. Lemme' try that.
ThePimp
08-06-2005, 10:50 AM
I'd like to make a suggestion... Would it be possible to add a feature when you get the attachment portion working properly, to be able to store the images locally or in the database? That way, it can pull images and put them in a local folder, and add the [img] tag if used locally, as opposed to putting a load on the database.
Just a suggestion, I could be wrong in this.
Cyburbia
08-06-2005, 08:08 PM
Whee! It works!
I know what confused me - "Send message to USENET". Since the extension works for mailing lists, you might want to change the wording.
Thanks!
Neal-UK
08-06-2005, 09:49 PM
Whee! It works!
I know what confused me - "Send message to USENET". Since the extension works for mailing lists, you might want to change the wording.
Thanks!
is this worth installing? Looks good, but will it work on rc2 and is it easy to reinstall after each vb update?
is this worth installing? Looks good, but will it work on rc2 and is it easy to reinstall after each vb update?
Very easy to install since no vb files are edited.
tutorials.de
08-11-2005, 10:16 AM
Hi together,
I've got a little tricky question for those NNTP Gateway experts out there :)
As you can see on the first attached screenshot (guests_on_forumdisplay.gif), the username is displayed in the "Last Post" column of forumdisplay.php. Those guys in the example are only "guest posters" from usenet but as you can see, everyone is displayed by his original username.
When we now head up to the next screenshot (guests_on_threaded_view.gif), we look inside an imported usenet thread, where the Threaded Mode feature of vBulletin is active. There you can see, that all guys are named "Newsgroup poster" (that's my alias for the usergroup guest).
I think it would be much better, if the naming of the authors in the Threaded / Hybrid mode box was the same as in forumdisplay.php - everyone, no matter if guest or registered member, should be displayed by his original, individual username. Does anyone have an idea how to achieve that?
Big thanks in advance & keep up the fabulous work! ;)
- Dominik
wcbryant
08-13-2005, 04:21 PM
I've got what's probably a silly question, but after doing some reading and searches, haven't been able to find an answer or solution.
My forum defaults to linear, and 99% of my users stick with that. Does anyone know of a way where I can make a forum (the ones using this hack) default to threaded or hybrid mode for all users?
lierduh
08-14-2005, 02:01 AM
Hi together,
I've got a little tricky question for those NNTP Gateway experts out there :)
As you can see on the first attached screenshot (guests_on_forumdisplay.gif), the username is displayed in the "Last Post" column of forumdisplay.php. Those guys in the example are only "guest posters" from usenet but as you can see, everyone is displayed by his original username.
When we now head up to the next screenshot (guests_on_threaded_view.gif), we look inside an imported usenet thread, where the Threaded Mode feature of vBulletin is active. There you can see, that all guys are named "Newsgroup poster" (that's my alias for the usergroup guest).
I think it would be much better, if the naming of the authors in the Threaded / Hybrid mode box was the same as in forumdisplay.php - everyone, no matter if guest or registered member, should be displayed by his original, individual username. Does anyone have an idea how to achieve that?
Big thanks in advance & keep up the fabulous work! ;)
- Dominik
The next version has the Ext User Prefix with all the messages imported. That would probably help people who are in your position wanting to distinguish internal posts and external posts.
You can see the samples:
http://phorums.com.au/forumdisplay.php?f=21
lierduh
08-14-2005, 02:12 AM
I've got what's probably a silly question, but after doing some reading and searches, haven't been able to find an answer or solution.
My forum defaults to linear, and 99% of my users stick with that. Does anyone know of a way where I can make a forum (the ones using this hack) default to threaded or hybrid mode for all users?
That is global/user setting, not by Forums. However it will be quite easy to implemented this as a hack through Plugin system. I will include this in the next version.
wcbryant
08-14-2005, 09:36 AM
That is global/user setting, not by Forums. However it will be quite easy to implemented this as a hack through Plugin system. I will include this in the next version.
Wonderful. Thanks for the quick response.
I have this running on a test forum right now, sort of staging everything for my production move to 3.5.0. Anyway, after some feedback with my mods and admins, there's concern about the overwhelming volume of one of the newsgroups (alt.sport.football.college) we want to offer a gateway to.
Is there an option, or could there be an option, for imported threads/posts from offsite *not* to be counted towards the forum totals? So that forum post/thread totals are representative of local user contributions alone. For example, my little testing/staging forum is 2 days old, and has 80 or so local posts on it between myself, and my staff. But just one of the newsgroups has brought in over 7k posts in the same amount of time, thus skewing (severely) the impressions offered by post and thread totals throughout the site. Would be great if we had the ability to clean that up as described. 7k posts is a drop in the well when I move this over to my production side. But even over there, over the course of a year, this could add up very quickly.
Also, is a pruning option feasible? I seem to recall this came up elsewhere in the thread, but if it was, I just missed it browsing back through. I would love to see the option of making imported threads 'decay' after X days, and/or the option to limit the number of posts in one of the forums to Y, where everything older falls off. Either way, with the option (ideally) to make threads that local users have participated in exempt, for the sake of maintaining a relevant and meaningful history.
Just tossing these things out there. The extension is outstanding as-is, and my staff is ecstatic about it. Thanks so much for putting it together, and offering the support you do.
PhillipH
08-17-2005, 12:38 AM
hm. anyone know if its possible to use google usenets? if so, the settings would be? thanks.
Cyburbia
08-17-2005, 01:16 PM
Update - with Yahoo Groups, the gateway seems to be working flawlessly. The update from RC 1 to RC 2 didn't affect anything. I don't have a report on threading yet, since all the recent posts on the Yahoo group I'm gatewaying seem to be announcements.
A caveat: those using the extension should be aware that maintaining the subforum on the message board side takes a lot of work; there's cleaning up Yahoo-inserted message footers, out of office notifications, long legal disclaimers, and other text normally not found in message board posts. It's not too bad for slow lists, but for fast lists, it may take more moderation work than what would be encountered in a non-gatewayed group. For the gatewayed groups, I'm including this message below the page header:
To keep threads in this subforum readable, moderators may edit excessive backquoting, e-mail confidentiality notices and other legal disclaimers, and advertising inserted by the e-mail or mailing list server. They may also delete spam, out-of-office and similar notifications, and off-topic messages that are gatewayed from the mailing list.
See http://www.cyburbia.org/forums/forumdisplay.php?f=34
Thanks for a great script!
hm. anyone know if its possible to use google usenets? if so, the settings would be? thanks.
I don't think Google is possible, unless there's a mail gateway of some sort. Maybe group alerts for Usenet --> vBulletin, but the other way around? I don't know.
You could try free NNTP servers -- there are many out there -- but odds are they'll be read-only. You probably won't be able to use your ISP's NNTP server because it'll be accessed from your Web host; most ISPs won't allow their NNTP servers to be accessed from an IP range outside what is assigned to that ISP.
If you really want to gateway with a Usenet group, your best bet is a cheap NNTP account with Giganews, EasyNews, or a similar Usenet provider, where you have full access to the NNTP server from any IP.
eandhra
08-20-2005, 11:02 AM
hi, everybody,
I installed this mod, and working well.
can anybody please tell me the newsgroups/mailing list servers addresses, bcoz, i dont have any idea on this.
and give me suggestions, where and how to get these.
thanks
frakman
09-07-2005, 10:14 AM
Okay, this is only a quick hack so I could import my MBOX file (extracted from Yahoo Goops) direct. (most because my server is running qmail).
I hope this gets included in standard. (does not require much polish)
First, install mbox.php from PEAR into the includes directory.
I don't think we are to post complete code - if I'm wong on that please tell me - so here are just the changes to pop.php:
Before
class pop {
require_once('./includes/mbox.php');
After function prepare_connection( $user, $pass, $host = "127.0.0.1", $port = "110" )
if (! (strpos($host, '/')===false) ) { //mbox
$this->mbox = true; //mbox
$this->_mbox = new Mail_Mbox(); //mbox
} else { //mbox
Replace if ($host == '') {
return 0;
}
$this->port = $port;
$this->username = $user;
$this->password = $pass;
$this->host = $host;
With $this->password = $pass;
} //mbox
if ($host == '') { //mbox
return 0; //mbox
} //mbox
$this->host = $host; //mbox
after function connect()
{
Add//MBOX-START
if ($this->mbox) {
$this->pop_connect = $this->_mbox->open( $this->host );
if (!$this->pop_connect) {
echo "ERROR OPENING MBOX FILE\r\n";
return -1;
}
} else {
//MBOX-END
After return -2;
Add } //MBOX
Replace this block function howmany()
{
return $this->_howmany();
}
with
function _howmany()
{
if ($this->mbox) { //MBOX
return $this->_mbox->size( $this->pop_connect )-1; //MBOX
} else { //MBOX
$this->_write("STAT");
$results = $this->_gets();
$this->log .= $results;
list ($results, $messages, $bytes) = split(' ', $results);
return $messages;
} //MBOX
}
Lastly replace function delete_mail ( $id )
{
$this->_write("DELE $id");
$results = $this->_gets();
}
WITH
function delete_mail ( $id )
{
if ( !$this->mbox ) { //MBOX
$this->_write("DELE $id");
$results = $this->_gets();
} //MBOX
}
When testing this I imported 10585 messages in 5m20s (not really a benchmark without doing it via POP3 as a comparison however surely the overheads are a lot less with this system)
How does this work? Put a file reference in the host box eg
/usr/local/apache2/www/mbox_locost_oz
where mbox_locost_oz is the MBOX archive. If you are on a Windows server the code would need to be changed (it looks for "/" which will not appear in a host name - would need to be changed to "\")
It will not delete messages from the archive. I do not see this as a bad thing for my purposes (ie dump in starting messages)
I also in my testing dug up a problem when there are no posts at all (I think its a NULL issue) I get this error:
Invalid SQL:
UPDATE vb_nntp_settings
SET value = WHERE varname = 'last_postid';
And this comes (in gateway.php)from $get_max_postid = $db->query_first("
SELECT MAX(postid) as postid FROM " . TABLE_PREFIX . "post
");
ALSO somebody was complaining about lack of HTML formatting in Firefox:
in gateway.php change this line:
header("Content-Type: text/plain");
TO
header("Content-Type: text/html");
Electronic Punk
09-07-2005, 05:43 PM
Having a problem that when I pull the threads in from the newsgroup it slows down my entire site because it locks the post table, does anyone else experience this?
the forum mysql logon does not have permission to lock tables, but seems to do it anyway.
lierduh
09-07-2005, 10:48 PM
Having a problem that when I pull the threads in from the newsgroup it slows down my entire site because it locks the post table, does anyone else experience this?
the forum mysql logon does not have permission to lock tables, but seems to do it anyway.
That is disadvantage of MYISAM table. Everytime you write to it. The entire table needs to be locked. INNODB on the other hand, does row level locking. The problem with INNODB is it does not offer Fulltext index (at least with the current version and near future versions). Also unlike MyISAM, InnoDB needs to do a full table scan for COUNT().
There is really nothing you can do about this. This is a on going performance problem faces anyone who owns a board which has many posts.
Perhaps you can put one second delay between post imports. Find this in the NNTP settings under AdminCP.
Electronic Punk
09-07-2005, 11:40 PM
I have set a pause and will see how it goes.
Thanks.
Hi lierduh,
thx for the 3.5 release.
In your old version for 3.0.x I thought it would be easier, if the server-settings (newsserver, username & password) could be stored as some kind of global setting for the ng. Regular you only use one newsserver with the same pw und login - and with a global setting it would ease the work if you have 20+ ng to setup.
Would it be a mess to make this an option in the next release ?
trancetopia
09-13-2005, 08:04 PM
This hack is awesome...
Everything is working great apart from local posts/repies are not being sent to the newsgroup.
If have the following setting set correctly:
Send message to USENET send_message 1
And the debug mode is saying the message is being posted, but it does not appear in the newgroup.
Any ideas why this would be happening?
Many thanks,
Paul
trancetopia
09-13-2005, 08:23 PM
This hack is awesome...
Everything is working great apart from local posts/repies are not being sent to the newsgroup.
If have the following setting set correctly:
Send message to USENET send_message 1
And the debug mode is saying the message is being posted, but it does not appear in the newgroup.
Any ideas why this would be happening?
Many thanks,
Paul
Managed to find out why. The log was returning 201 which is "server ready - no posting allowed" instead of 200 "server ready - posting allowed"
It's an email to newshosting.com and see if anything can be done.
Again, this is a awesome hack.
eandhra
09-15-2005, 12:46 PM
gatewayed some groups and after that when I run gateway.php, it is getting
messages to only one group, I tried somany times, it is always coming to only
one group,
what is the problem?
Acers
09-16-2005, 01:17 AM
btw in the advanced gateway hacking guide.. you have
FIND
$quickreply
REPLACE it with
<if condition="!$is_usenet">
$quickreply
</if>
i can't seem to find $quickreply anywhere in showthread template. It was there in 3.0x though.
Can some one tell me how to uninstall this hack
ThePimp
09-19-2005, 05:36 AM
How do you uninstall the first release of this? No Uninstall instructions were provided.
trancetopia
09-19-2005, 07:12 AM
Hi lierduh, i've run into a problem.
Everything is working great apart from posting back to the newsgroups.
I have a forum for jokes which I use alt.jokes and i've just posted a few jokes in there.
I checked via a newsreader to see if they were posted but only the first post was sent or is displaying in the newsgroup. I ran gateway.php?debug=1 after I made the posts and showed they were all posted but only the 1st thread was submitted to the newsgroup.
Any idea why this would happen?
Many thanks for your help.
Paul
eXtremeTim
09-21-2005, 05:07 AM
Is anybody else noticing this to run slow? I mean it took me like 13 days to pull 50k messages.
And now its to the point where it just keeps timing out. I am only pulling 9 groups right now. :(
Also I would like to confirm that it is not my usenet server. I have a premium pay account with a big provider.
Plus now it keeps generating the following.
PHP has encountered a Stack overflow
I need to get this fixed asap.
Oh hell ya. I got this thing moving pretty decent now. :) My usenet server and many others dont like taking that many connections that fast. They will still see the old ones and cuase the timeout errors becuase of hitting the max connections. Becuase I just split the group connect into its own function and just told it that we are working with only one server right now and presto started moving decent.
Thanks
Tim
ThePimp
09-21-2005, 06:29 AM
I would like to uninstall this completely. Can someone give some directions on how to do this?????
Thanks
eXtremeTim
09-21-2005, 02:09 PM
I would like to uninstall this completely. Can someone give some directions on how to do this?????
Thanks
Just remove the plugins and delete the uploaded files.
eXtremeTim
09-21-2005, 02:45 PM
Okay their is only one major problem I have left here. That is that some messages managed to cuase a php stack overflow. We need to see if we cant figure out why and get a work around made. :)
MrDegree
09-22-2005, 05:16 AM
Installed and works great once again (also ran it on 3.0.x) upgraded fine, found my old settings. I am back in business on 3.5 RC3.
< 1min to upgrade.
ThePimp
09-22-2005, 06:39 AM
Just remove the plugins and delete the uploaded files.
How do I get it to remove the NNTP menus in the ACP?
eXtremeTim
09-22-2005, 05:06 PM
You must delete all files you uploaded to fully uninstall the file that does the acp menus is in the includes/xml directory
The file is named:
cpnav_nntp_gateway.xml
ThePimp
09-22-2005, 05:48 PM
You must delete all files you uploaded to fully uninstall the file that does the acp menus is in the includes/xml directory
The file is named:
cpnav_nntp_gateway.xml
Nice... Thanks for your help!
Acers
09-24-2005, 07:05 AM
i am getting a slight problem with this.
see the usernames that come in first post
http://www.techenclave.com/forums/customizing-explorer-window-13011.html
however in second post the name is quoted correctly as jpvds
I have seen some 3.07 boards running older nntp hack where the username is correct. Is this some bug or i have missed some setting?
eg. see these two for
http://phorums.com.au/forumdisplay.php?f=46
http://www.techenclave.com/forums/xp-help-and-support/
same newsgroups.. but mine has some serious probs
Also is there any way i can get rid of the names of the posters from being shown in forumdisplay view (see this http://www.techenclave.com/forums/windows-xp-customize/ ) only for the nntp forum ids?.. they look seriously messed up and people complain about who the people are :D
rex_b
09-24-2005, 07:23 PM
Getting this error:
Database error in vBulletin 3.5.0 Release Candidate 3:
Invalid SQL:
UPDATE nntp_settings
SET value = WHERE varname = 'last_postid';
MySQL Error : You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE varname = 'last_postid'' at line 2
Error Number : 1064
rex_b
09-24-2005, 07:46 PM
Nevermind got it working. Now I did the microsoft fetch thingy and it only pulled 10 posts. Why?
Also I set lastsetmsg.php where the nntp.php is and ran nntp.php so it would only grab the newest messages, was that the correct order?
Also where do I go to find other usenet's that are free like microsofts?
Acers
09-25-2005, 02:22 PM
i am getting a slight problem with this.
see the usernames that come in first post
http://www.techenclave.com/forums/customizing-explorer-window-13011.html
however in second post the name is quoted correctly as jpvds
I have seen some 3.07 boards running older nntp hack where the username is correct. Is this some bug or i have missed some setting?
eg. see these two for
http://phorums.com.au/forumdisplay.php?f=46
http://www.techenclave.com/forums/xp-help-and-support/
same newsgroups.. but mine has some serious probs
Also is there any way i can get rid of the names of the posters from being shown in forumdisplay view (see this http://www.techenclave.com/forums/windows-xp-customize/ ) only for the nntp forum ids?.. they look seriously messed up and people complain about who the people are :D
BuMp :ermm:
dodgez
09-25-2005, 08:48 PM
BuMp :ermm:
A couple of my mailing list stopped downloading. I tried to run database repair and got this...
vb_access Check Status: OK
vb_access Optimize Status: Table is already up to date
vb_adminhelp Check Status: OK
vb_adminhelp Optimize Status: OK
vb_administrator Check Status: OK
vb_administrator Optimize Status: OK
vb_adminlog Check Status: OK
vb_adminlog Optimize Status: OK
vb_adminutil Check Status: OK
vb_adminutil Optimize Status: OK
vb_announcement Check Status: OK
vb_announcement Optimize Status: Table is already up to date
vb_attachment Check Status: OK
vb_attachment Optimize Status: Table is already up to date
vb_attachmenttype Check Status: OK
vb_attachmenttype Optimize Status: OK
vb_attachmentviews Check Status: OK
vb_attachmentviews Optimize Status: Table is already up to date
vb_avatar Check Status: OK
vb_avatar Optimize Status: Table is already up to date
vb_bbcode Check Status: OK
vb_bbcode Optimize Status: Table is already up to date
vb_calendar Check Status: OK
vb_calendar Optimize Status: OK
vb_calendarcustomfield Check Status: OK
vb_calendarcustomfield Optimize Status: Table is already up to date
vb_calendarmoderator Check Status: OK
vb_calendarmoderator Optimize Status: Table is already up to date
vb_calendarpermission Check Status: OK
vb_calendarpermission Optimize Status: Table is already up to date
vb_cron Check Warning: 3 clients are using or haven't closed the table properly
vb_cron Check Status: OK
vb_cron Optimize Status: OK
vb_cronlog Check Status: OK
vb_cronlog Optimize Status: OK
vb_customavatar Check Status: OK
vb_customavatar Optimize Status: Table is already up to date
vb_customprofilepic Check Status: OK
vb_customprofilepic Optimize Status: Table is already up to date
vb_datastore Check Warning: 4 clients are using or haven't closed the table properly
vb_datastore Check Status: OK
vb_datastore Optimize Status: OK
vb_deletionlog Check Status: OK
vb_deletionlog Optimize Status: OK
vb_editlog Check Status: OK
vb_editlog Optimize Status: Table is already up to date
vb_event Check Status: OK
vb_event Optimize Status: Table is already up to date
vb_faq Check Status: OK
vb_faq Optimize Status: OK
vb_forum Check Status: OK
vb_forum Optimize Status: OK
vb_forumpermission Check Status: OK
vb_forumpermission Optimize Status: OK
vb_forumread Check Status: OK
vb_forumread Optimize Status: Table is already up to date
vb_holiday Check Status: OK
vb_holiday Optimize Status: Table is already up to date
vb_icon Check Status: OK
vb_icon Optimize Status: OK
vb_imagecategory Check Status: OK
vb_imagecategory Optimize Status: OK
vb_imagecategorypermission Check Status: OK
vb_imagecategorypermission Optimize Status: Table is already up to date
vb_language Check Status: OK
vb_language Optimize Status: OK
vb_mailqueue Check Status: OK
vb_mailqueue Optimize Status: Table is already up to date
vb_moderation Check Status: OK
vb_moderation Optimize Status: Table is already up to date
vb_moderator Check Status: OK
vb_moderator Optimize Status: Table is already up to date
vb_moderatorlog Check Status: OK
vb_moderatorlog Optimize Status: OK
vb_nntp_groups Check Status: OK
vb_nntp_groups Optimize Status: Table is already up to date
vb_nntp_settings Check Status: OK
vb_nntp_settings Optimize Status: Table is already up to date
vb_passwordhistory Check Status: OK
vb_passwordhistory Optimize Status: OK
vb_paymentapi Check Status: OK
vb_paymentapi Optimize Status: OK
vb_paymentinfo Check Status: OK
vb_paymentinfo Optimize Status: Table is already up to date
vb_paymenttransaction Check Status: OK
vb_paymenttransaction Optimize Status: Table is already up to date
vb_phrase Check Status: OK
vb_phrase Optimize Status: OK
vb_phrasetype Check Status: OK
vb_phrasetype Optimize Status: OK
vb_plugin Check Status: OK
vb_plugin Optimize Status: OK
vb_pm Check Status: OK
vb_pm Optimize Status: Table is already up to date
vb_pmreceipt Check Status: OK
vb_pmreceipt Optimize Status: Table is already up to date
vb_pmtext Check Status: OK
vb_pmtext Optimize Status: Table is already up to date
vb_poll Check Status: OK
vb_poll Optimize Status: Table is already up to date
vb_pollvote Check Status: OK
vb_pollvote Optimize Status: Table is already up to date
vb_post Check Status: OK
vb_post Optimize Status: OK
vb_post_parsed Check Status: OK
vb_post_parsed Optimize Status: OK
vb_posthash Check Status: OK
vb_posthash Optimize Status: Table is already up to date
vb_postindex Check Status: OK
vb_postindex Optimize Status: OK
vb_product Check Status: OK
vb_product Optimize Status: Table is already up to date
vb_productcode Check Status: OK
vb_productcode Optimize Status: Table is already up to date
vb_profilefield Check Status: OK
vb_profilefield Optimize Status: OK
vb_ranks Check Status: OK
vb_ranks Optimize Status: Table is already up to date
vb_regimage Check Status: OK
vb_regimage Optimize Status: Table is already up to date
vb_reminder Check Status: OK
vb_reminder Optimize Status: Table is already up to date
vb_reputation Check Status: OK
vb_reputation Optimize Status: Table is already up to date
vb_reputationlevel Check Status: OK
vb_reputationlevel Optimize Status: OK
vb_search Check Status: OK
vb_search Optimize Status: OK
vb_setting Check Status: OK
vb_setting Optimize Status: OK
vb_settinggroup Check Status: OK
vb_settinggroup Optimize Status: OK
vb_smilie Check Status: OK
vb_smilie Optimize Status: OK
vb_stats Check Status: OK
vb_stats Optimize Status: OK
vb_strikes Check Status: OK
vb_strikes Optimize Status: OK
vb_style Check Status: OK
vb_style Optimize Status: OK
vb_subscribeevent Check Status: OK
vb_subscribeevent Optimize Status: Table is already up to date
vb_subscribeforum Check Status: OK
vb_subscribeforum Optimize Status: Table is already up to date
vb_subscribethread Check Status: OK
vb_subscribethread Optimize Status: Table is already up to date
vb_subscription Check Status: OK
vb_subscription Optimize Status: Table is already up to date
vb_subscriptionlog Check Status: OK
vb_subscriptionlog Optimize Status: Table is already up to date
vb_tachyforumpost Check Status: OK
vb_tachyforumpost Optimize Status: Table is already up to date
vb_tachythreadpost Check Status: OK
vb_tachythreadpost Optimize Status: Table is already up to date
vb_template Check Status: OK
vb_template Optimize Status: OK
vb_templatehistory Check Status: OK
vb_templatehistory Optimize Status: Table is already up to date
vb_thread Check Warning: 2 clients are using or haven't closed the table properly
vb_thread Check Status: OK
vb_thread Optimize Status: OK
vb_threadrate Check Status: OK
vb_threadrate Optimize Status: Table is already up to date
vb_threadread Check Status: OK
vb_threadread Optimize Status: Table is already up to date
vb_threadviews Check Warning: 2 clients are using or haven't closed the table properly
vb_threadviews Check Status: OK
vb_threadviews Optimize Status: OK
vb_upgradelog Check Status: OK
vb_upgradelog Optimize Status: OK
vb_user Check Warning: 2 clients are using or haven't closed the table properly
vb_user Check Status: OK
vb_user Optimize Status: Table is already up to date
vb_useractivation Check Status: OK
vb_useractivation Optimize Status: Table is already up to date
vb_userban Check Status: OK
vb_userban Optimize Status: Table is already up to date
vb_userfield Check Status: OK
vb_userfield Optimize Status: OK
vb_usergroup Check Status: OK
vb_usergroup Optimize Status: OK
vb_usergroupleader Check Status: OK
vb_usergroupleader Optimize Status: Table is already up to date
vb_usergrouprequest Check Status: OK
vb_usergrouprequest Optimize Status: Table is already up to date
vb_usernote Check Status: OK
vb_usernote Optimize Status: Table is already up to date
vb_userpromotion Check Status: OK
vb_userpromotion Optimize Status: Table is already up to date
vb_usertextfield Check Status: OK
vb_usertextfield Optimize Status: OK
vb_usertitle Check Status: OK
vb_usertitle Optimize Status: OK
vb_word Check Status: OK
vb_word Optimize Status: OK
lierduh
09-25-2005, 10:06 PM
BuMp :ermm:
You need 'imap_mime_header_decode' php function. Ask your host if not sure.
lierduh
09-25-2005, 10:11 PM
A couple of my mailing list stopped downloading. I tried to run database repair and got this...
...
vb_word Check Status: OK
vb_word Optimize Status: OK
Why run a full table repair when your mailing list importing is not working?
Run the script in debug mode might help finding out the problem.
lierduh
09-25-2005, 10:26 PM
Hi lierduh, i've run into a problem.
Everything is working great apart from posting back to the newsgroups.
I have a forum for jokes which I use alt.jokes and i've just posted a few jokes in there.
I checked via a newsreader to see if they were posted but only the first post was sent or is displaying in the newsgroup. I ran gateway.php?debug=1 after I made the posts and showed they were all posted but only the 1st thread was submitted to the newsgroup.
Any idea why this would happen?
Many thanks for your help.
Paul
If the debug message says the post is ok. Then herhaps the server has got some restriction.
lierduh
09-25-2005, 10:28 PM
btw in the advanced gateway hacking guide.. you have
FIND
$quickreply
REPLACE it with
<if condition="!$is_usenet">
$quickreply
</if>
i can't seem to find $quickreply anywhere in showthread template. It was there in 3.0x though.
Please ignore that. That was written for vB3.0?
I am waiting the vB turnning gold before spending a weekend to do a proper release.
lierduh
09-25-2005, 10:29 PM
gatewayed some groups and after that when I run gateway.php, it is getting
messages to only one group, I tried somany times, it is always coming to only
one group,
what is the problem?
Post debug message.
dodgez
09-26-2005, 02:50 PM
Why run a full table repair when your mailing list importing is not working?
Run the script in debug mode might help finding out the problem.
Because it's just a test forum. Started working after I did it.
Acers
09-26-2005, 03:01 PM
You need 'imap_mime_header_decode' php function. Ask your host if not sure.
thanks did the trick :)
Btw another question. Is it possible to make the posting to newsgroups allowed only for particular forums(newsgroups) and not for all.(that is disabled for rest but allowed for some).
And how to add that extusrfor the newsgroup users like you have on your site.
thanks
lierduh
09-26-2005, 10:28 PM
Btw another question. Is it possible to make the posting to newsgroups allowed only for particular forums(newsgroups) and not for all.(that is disabled for rest but allowed for some).
And how to add that extusrfor the newsgroup users like you have on your site.
thanks
1) It is not possible with the current setup. Unless the table is changed. More code added. As it is, the settings are already confusing some people. Adding more options probably will confuse more.
You can however disable posting using vB settings for some forums, or set the posts to be moderated.
2) I am using a CVS version. :) Next release will sure include this.
James T Brock
09-27-2005, 03:18 AM
lierduh, just want to thank you for releasing an awesome hack and continuing to support it. Thanks!
rex_b
09-27-2005, 09:00 PM
I'm using teranews and trying to get newsgroups to add posts to the forums but it's not.. Any ideas on the problem?
ubuntu-geek
09-28-2005, 01:26 PM
Quick question :) is it possible to have the sender name be the forum username? I am posting back to a mailing list and this would be awesome to have. Thanks!
ixian
09-30-2005, 02:45 PM
Great hack!
Quick question - how do you control the length of thread titles that get posted? I have a fixed width style that gets broken all the time because a lot of USENET messages have very long titles - both the showthread and postbit tables get broken because of this. I can't find any setting in vbulletin options that will trunciate these; what am I missing?
Hi.
I installed the gateway as explained in the readme.txt attached, but I get the following error when I try to execute gateway.php
-----------------------
Fatal error: Call to a member function on a non-object in functions_nntp.php on line 560
-----------------------
any idea ?
Thank you.
Bytecon
10-06-2005, 03:15 PM
Will this work with 3.5.0 GOLD?
ixian
10-06-2005, 03:52 PM
Will this work with 3.5.0 GOLD?
I'm using with Gold, it works just fine for me.
thedvs
10-06-2005, 07:17 PM
works great for me too on 3.5.0 gold :) :)
Hello all.
sorry if this question have been asked before, I'm getting the following err message when importing alt.binari* : "This forum does not allow attachments, therefore attachment ignored."
I read someone was complaining about this befoere but couldnt find the solution/fix if posted.
Thanks.
oezer
10-08-2005, 05:32 AM
i get this error, can someone tell me how can i solve this problem..?
Invalid SQL:
UPDATE vb_nntp_settings
SET value = WHERE varname = 'last_postid';
MySQL-Fehler : You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE varname = 'last_postid'' at line 2
Fehler-Nr. : 1064
Datum : Saturday, October 8th 2005 @ 03:07:19 AM
Skript : http://www.domainname.de/gateway.php?debug=1
Referrer :
IP-Adresse : 86.217.138.59
Benutzername : Admin
Klassenname : vb_database
Sweet mod, installed and working in 15 min on 3.5 gold
Great work to all involved, Thanks!
lierduh
10-08-2005, 09:10 PM
You have an empty forum. Make one post or do not delete the first post.
i get this error, can someone tell me how can i solve this problem..?
Invalid SQL:
UPDATE vb_nntp_settings
SET value = WHERE varname = 'last_postid';
MySQL-Fehler : You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE varname = 'last_postid'' at line 2
Fehler-Nr. : 1064
Datum : Saturday, October 8th 2005 @ 03:07:19 AM
Skript : http://www.domainname.de/gateway.php?debug=1
Referrer :
IP-Adresse : 86.217.138.59
Benutzername : Admin
Klassenname : vb_database
VaaKo
10-09-2005, 09:59 PM
I'm sorry but I have read the description and still can't figure out what this hack does!
any quick description please :ermm:
GrendelKhan{TSU
10-10-2005, 04:06 AM
I sooooo there once this is in a stable release. Great stuff!! :D
babulgogoi
10-10-2005, 08:40 AM
tried nntp_gw_V3_5_alpha1 WITH VB3.5.0
After installation, the gateway.php is not running
VaaKo
10-10-2005, 03:27 PM
I don't understand what this mod do!!!!!!
explain plz
babulgogoi
10-11-2005, 02:48 AM
I am planning to use VB with this MOD to archive a Mailman-based mailing list.
Aylwin
10-11-2005, 09:57 AM
I plan to use this mod for mailing list archive.
In the readme file, it says:
Warning: Make sure using the new forums you created in step '3.', don't associate
any of your existing forums to a newsgroup, otherwise all posts
currently in there will be exported, so be careful.
But if set Send message to USENET send_message=0, would this help? What happens if I set this to 1 at a later date? Will everything in the forum be sent?
By the way, this mod doesn't seem to support IMAP. Or does it?
oezer
10-11-2005, 06:53 PM
another question:
for example in outlook i subscribe a microsoft.public.access newsgroup.
the posting which i see is 15768, this number of posting should equal with the posts in front of my forum, and its not the same count of postings.
in newsgroup_settings i add a newsgroup with last message at count 0, the cronjob is starting gateway.php, and at the and of the import process they count at 5187, like simple mathematics -> 15768 ./. 5187 = 10581 and now where are the postings about 10581? i definitly start at count 0, why the script doesn't import all postings? is there a dependance to the newsserver i connect? i mean is this the reason? is there anybody with same tricky problem?
thx in advance :D
Aylwin
10-12-2005, 07:31 AM
I think this is a great mod and I really want to get it working. But, I need it to support IMAP. I've installed the vB Mail Reply mod (https://vborg.vbsupport.ru/showthread.php?t=68113) and that works with IMAP. The mod includes the file vbemailreply.php (https://vborg.vbsupport.ru/attachment.php?attachmentid=21567) which includes code for checking IMAP email. Perhaps we can try to incorporate that into gateway.php?
My PHP skills are very very limited but I'll try to figure it out when I have some time. Maybe someone else can help?
eXtremeTim
10-12-2005, 12:12 PM
is it possible to get support for yenc encoded messages? Becuase I import picture groups like alt.binary.automobiles and about 1 of every 4 messages is sent using yenc and what happens is the stuff gets all turned into the body of the post.
oldengine
10-12-2005, 07:44 PM
Can this be set up to work exclusively with only one news group?
Edit:
Man that was a dumb question. IT'S WORKING GREAT!
I'm clicked in on 3.0.
ixian
10-12-2005, 08:05 PM
Can this be set up to work exclusively with only one news group?
uk.rec.engines.stationary
It can be set up to use as many or as few as you wish, yes.
See my forums for an example of it in action: www.maximumgamer.com/forums
Note that I have also installed the User Agreements Hack specifically for use with this hack - when you first go to view any of my newsgroup forums (I have 3 currently) you have to agree to the rules specific to that forum before you can go on. It works with guests to (although when you delete your cookies you'll have to agree to it again). I mainly use it to warn my regular members that they are entering wild country:).
I also installed the Exclude Forums From Search hack which allows users to specify forums they don't want to see when they click "New Posts" or "Today's Posts".
I love this hack, very useful and gets people interested in my forums - I am looking in to adding more newsgroups even. This is with vb 3.5 gold.
oezer
10-12-2005, 08:24 PM
@lierduh
have you any ideas about the tricky problem at posting #118 (https://vborg.vbsupport.ru/showpost.php?p=793038&postcount=118) ?
rfairbairn
10-12-2005, 09:52 PM
Hi,
We are going to install this on a test board (thats why i havnt clicked install yet),
But we are having problems with installation, mainly how do we install, the readme seams to be outdated, or are we reading it wrongly.
Any help would be great.
Thanks in advance
lierduh
10-12-2005, 10:04 PM
@lierduh
have you any ideas about the tricky problem at posting #118 (https://vborg.vbsupport.ru/showpost.php?p=793038&postcount=118) ?
News servers do not hold all posts from id 1. They purge older ones regularly. What you see is the max ID number, not total number of posts.
lierduh
10-12-2005, 10:10 PM
Hi,
We are going to install this on a test board (thats why i havnt clicked install yet),
But we are having problems with installation, mainly how do we install, the readme seams to be outdated, or are we reading it wrongly.
Any help would be great.
Thanks in advance
The readme is outdated as it was written for vB3.0x. However you can always ask which part that you find confusion.
Folks, I had been waiting for Gold before releasing a new version. Now that the Gold is out, but I have been busy with other hacks and I will travel overseas in two days time. So there is no chance we can see a new version for at least two weeks. Everytime I push something out quickly, I tend to introduce many bugs. So I would rather not push it.
lierduh
10-12-2005, 10:25 PM
I plan to use this mod for mailing list archive.
In the readme file, it says:
Warning: Make sure using the new forums you created in step '3.', don't associate
any of your existing forums to a newsgroup, otherwise all posts
currently in there will be exported, so be careful.
But if set Send message to USENET send_message=0, would this help? What happens if I set this to 1 at a later date? Will everything in the forum be sent?
By the way, this mod doesn't seem to support IMAP. Or does it?
I just checked the code. No, it will not send messages if send_message=0, however if you change this to 1 later on. All the held messages will be sent!
No, this hack does not support IMAP. It was originall written for NNTP, that is why a lot of settings names etc. are tied to news instead of mails. No fixed date is planed at the moment to include IMAP support. This hack has become complicated for new users because all the settings I introduced from the past requests. The total number of users are not that many anyway.
donnacha
10-15-2005, 04:19 PM
I'm having a problem, suggestions would be very much appreciated.
Following the readme and using the ms newgroup given as an example, I got to section 6:
6. Run the script for the first time by going to
http://www.yourserver.com/vbdir/gateway.php?debug=1
This will take
a while if you are importing a lot of posts for the first time.
Depending on your browser, it may buffer the output and it may
appear like it's hanging. Be patient. :)
I enter:
http://www.edinburghtalk.com/vbdir/gateway.php?debug=1
but Firefox just displays my domain's homepage. IE does the same. No hanging as described in the readme, no usenet posts appear in the forum (http://www.edinburghtalk.com/forum/forumdisplay.php?f=31).
I wasn't sure if the "vbdir" part of the example URL is meant to be replaced by the actual path I my forum uses, so, I also tried
http://www.edinburghtalk.com/forum/gateway.php?debug=1
... but in both FF and IE that results in the following error:
<br /><strong>Warning</strong>: main(/home/edtalk/public_html/forum/includes/nntp.php): failed to open stream: No such file or directory in <strong>/gateway.php</strong> on line <strong>52</strong><br /><br />
<b>Fatal error</b>: main(): Failed opening required '/home/edtalk/public_html/forum/includes/nntp.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in <b>/home/edtalk/public_html/forum/gateway.php</b> on line <b>52</b><br />
Any ideas?
oldengine
10-17-2005, 02:07 PM
{[H:geilen]}{[H:!!!!]}{[H:***]}{[H:$$]}{[H:MAKE MONEY]}{[H:easy money]}{[H:test]}{[H:smoking gun]}{[H:Humour]}{[H:ebay]}{[H:e-bay]}{[H:dating] AND [B:girl]}
Edit: It works!
Is there any way to make {[H:test]} not kill "testing"?
Lierduh,
could you be so kind to correct the advanced hacking guide ? 3.5 is already out :nervous:
Modify SHOWTHREAD template
REPLACE this block of code
<td class="smallfont"><a href="newreply.php?$session[sessionurl]do=newreply&noquote=1&p=$FIRSTPOSTID"><if condition="$show['closethread']"><img src="$stylevar[imgdir_button]/reply.gif" alt="$vbphrase[reply]" border="0" /><else /><img src="$stylevar[imgdir_button]/threadclosed.gif" alt="$vbphrase[closed_thread]" border="0" /></if></a></td>
<td class="smallfont"><a href="newreply.php?$session[sessionurl]do=newreply&noquote=1&p=$LASTPOSTID"><if condition="$show['closethread']"><img src="$stylevar[imgdir_button]/reply.gif" alt="$vbphrase[reply]" border="0" /><else /><img src="$stylevar[imgdir_button]/threadclosed.gif" alt="$vbphrase[closed_thread]" border="0" /></if></a></td>
WITH
<if condition="$show['closethread']">
<td class="smallfont"><if condition="!$is_usenet"><a
href="newreply.php?$session[sessionurl]do=newreply&noquote=1&p=$FIRSTPOSTID">
<img src="$stylevar[imgdir_button]/reply.gif" alt="$vbphrase[reply]"
border="0" /></a><else /> </if></td>
<else />
<td class="smallfont"><a
href="newreply.php?$session[sessionurl]do=newreply&noquote=1&p=$FIRSTPOSTID">
<img src="$stylevar[imgdir_button]/threadclosed.gif"
alt="$vbphrase[closed_thread]" border="0" /></a></td>
</if>
THERE ARE two instances of above.
FIND
$quickreply
REPLACE it with
<if condition="!$is_usenet">
$quickreply
</if>
Wether there is a second instance nor a $quickreply as you mentioned before in this particular template. Could you update those instructions please ?
Can someone tell me how to limit the size of the 'from_name' field when importing groups ?
in some posts the size become long and that force the width size when displaying forums list.
Thank you,
donnacha
10-22-2005, 07:54 PM
Can anyone give me some pointers in dealing with my problem, described a few posts above (#128)?
I'd very much appreciate it if someone could get me moving in the right direction.
Neobud
10-23-2005, 12:29 AM
donnacha, the author of this scrpt is overseas at the moment so it might be some time before you get an educated answer. However, it looks like your site defaults to your home page as its 404 Error page. I suggest you check that all the files included within the zip file are placed exactly where they are meant to be (the file unzips into its correct directory structure).
Read the readme.txt file again. Your error messages suggest that you may not have all the files in the correct location.
I wasn't sure if the "vbdir" part of the example URL is meant to be replaced by the actual path I my forum uses, so, I also tried...
You must always refer to your OWN path to your OWN forums. The example provided is just that - an example! It won't work on your setup.
blist
10-23-2005, 01:09 AM
how are you guys automating gateway.php to run?
script seems to be running fine if I manually go the URL with
/gateway.php?debug=1
limey
10-23-2005, 03:08 AM
I don't think this has to do with the DC Seo URL Rewrite plugin but I get the error:
Fatal error: Call to a member function on a non-object in /functions_hacks.php on line 6
limey
10-23-2005, 03:37 AM
actually its those two lines that have to be added to showthread.php per instructions.
limey
10-23-2005, 03:49 AM
actually its those two lines that have to be added to showthread.php per instructions that cause the error message.
Hallo,
I have two questions:
1. is it possible to set this plugin to autorefrash the newsgroup becouse now I have to load gateway script to update latest posts from newsgroup.
2. Is it possible to set small message e.g "This message was send from MyDomains.com" when people are sending a messeges to the newsgroup from my forum.
Hope you understand my poor english :)
donnacha
10-24-2005, 08:52 PM
Neobud, thank you so much for your kind advice, I now have now have Usenet forums up and running at my site, www.edinburghtalk.com.
It turned out that the problem was down to a mistake (or, rather, omission) in the readme.txt, obviously there's a fair amount of stuff that hasn't been updated.
Anyway, thanks again for taking the time to address my problem, and thanks to Lierduh for making this incredible extention available for vb3.5 - it's going to make a huge difference to users of sites like mine.
I am now concentrating on making this more usable, in particular I want to find a way to make the "remove Reply button, use Quote buttons instead" amendment more user friendly, possibly by using a different version of the Quote button in Usenet forum or, perhaps, a repeated reminder throughout such threads.
oldengine
10-26-2005, 02:00 PM
Has anyone successfully implemented posting? If so, what usenet provider do you use and at what cost?
donnacha
10-26-2005, 03:44 PM
Has anyone successfully implemented posting? If so, what usenet provider do you use and at what cost?
I spent quite a while checking out the free servers but couldn't find any that allow posting and there seem to be questions of reliability, so, I started comparison-shopping among the most highly recommended pay services.
Under the assumption that our usage won't need as much download-allowance as the average usenet user downloading gig after gig of warez and pron, I decided that the best option was to buy 25gigs, non-expiring, from http://www.news.astraweb.com/ for a once-off payment of $10.
So far, the intensive initial sent up (involving downloading 10,000+ posts stretching back a month or so) and few days of updating, has used up about 6k of my 25G. At this rate, that $10 should cover me for several years!
One important thing to note is that I haven't actually experimented with posting although I can confirm that their server is sending back headers indicating that my account is allowed to post.
trancetopia
10-26-2005, 04:11 PM
Has anyone successfully implemented posting? If so, what usenet provider do you use and at what cost?
Posts on my forums have been sucessful and it's great to see my domain being picked up by google because of it :)
I use newshosting.com and it's $15 a month for unlimited bandwidth. If you use newhosting, you'll need to enable posting via their online CP but after that, it works a treat.
Good luck.
donnacha
10-26-2005, 04:16 PM
Posts on my forums have been sucessful and it's great to see my domain being picked up by google because of it :)
Interesting, how did you realize that google had picked you up? Do you use some sort of tool to check your google-ranking?
I use newshosting.com and it's $15 a month for unlimited bandwidth. If you use newhosting, you'll need to enable posting via their online CP but after that, it works a treat.
They were one of the companies I heard good things about, I think it was down to them, Giganews and a handful of others. If I was also using Usenet to download binaries etc I would probably consider an unlimited monthly account but, for NNTP Gateway alone, I think a one-off payment of $10 is enough.
These one-off accounts are also said to be pretty handy as a "fill-in" server, for when a few parts of something you're trying to download from your unlimited server are missing.
David_R
10-27-2005, 06:55 AM
is this addon working fine ?
i have vb 3.0.7 installed, will upgrade today, need to confirm if there are any problems with 3.5 version in advance ?
thank you
Atsuko
10-27-2005, 12:09 PM
Hello!
My bord is in Japanese, and using S_JIS encoding,
and I can use original vbllutein,
but can not your module.
Would you please give advice for using this module in Japanese?
oldengine
10-27-2005, 11:24 PM
Under the assumption that our usage won't need as much download-allowance as the average usenet user downloading gig after gig of warez and pron, I decided that the best option was to buy 25gigs, non-expiring, from http://www.news.astraweb.com/ for a once-off payment of $10.
I was all set to go with this until I saw "personal use only" in the terms of service.
I've got to do something. My freebie dried up:
Gateway version 2.3.2 2 group(s) gatewayed.
Could not connect to NNTP-server. (Connection refused (111))
donnacha
10-27-2005, 11:43 PM
I was all set to go with this until I saw "personal use only" in the terms of service.
Oh c'mon, that's just standard contract copperplate, doesn't mean anything other than they'd prefer you not to run your own ISP off any of their accounts. With an account of this kind, downloading miniscule amounts of text-only posts, you are, literally, the least of their worries.
For God's sake, we're talking about $10!!! If, in a sudden fit of insanity, Astraweb decide to mobilise their legal department, go elsewhere.
donnacha
10-27-2005, 11:44 PM
BTW, I'm astonished that you bothered to read the terms of service, what's the point? Isn't your time worth anything?
oldengine
10-27-2005, 11:49 PM
Yikes! Sorry I violated internet protocol by reading a terms of service page. :o
Question: on a particular newsgroup, are message numbers the same on ALL providers? In other words, without changing the "last message number" The board should pick up again where it left off?
donnacha
10-28-2005, 12:35 AM
Question: on a particular newsgroup, are message numbers the same on ALL providers? In other words, without changing the "last message number" The board should pick up again where it left off?
No, numbering depends on the retention of each service: the first first (free but no-posting) service I used had 10,000+ posts for a particular newsgroup whereas the second (paid and posting-allowed) only had 1,000+.
I cheated by changing the "start from" number to 1000, probably causing some overlap but the aim, successfully achieved, was to keep the 10,000 posts but continue to add new posts via the paid, posting-allowed service.
oldengine
10-28-2005, 12:58 AM
OK, I'm picking up on this. I set up my outlook express to have a look at the same provider and group and I found the header Xref: pubnews.domain.net uk.rec.my.newsgroup:22623 for the message prior to what I want to start with. So all I need to do is insert that number in my Newsgroups Maintenance Last Message Number.
This may be redundant for a lot of you, but I'l bet there are plenty of newbies too. :rolleyes:
Apparently the read only service I was using either took a break, dumped my newsgroup or dumped me. So on to the next one from www.newzbot.com or go with astraweb as recommended.
Hi lierduh,
since your add-on worked like a charme in 3.0.x I upgraded to 3.5 and installed it again. Now the board was running the last weeks - but one thing was left to do. I totaly forgot about that issue - until a whole bunch of original usenet-posters flooded my mailbox with complaints, why the heck we?ld provide a gateway when posts are not sorted in the right way (by reference).
First I was wondering - then I remembered the Advanced Hacking Guide and the problem with the big reply button. The modification-notes are for 3.0.x and can not be used in 3.5 because of the widespreaded code changes.
I believe I asked for an update of that AHG a couple of weeks ago and so far as I can see there was no response to my last post.
lierduh, could you be so kind to release a new version of this AHG asap? I?m in really big trouble with those usenet-people and in the meantime my usenet-provider adviced me to disable this gateway immediatly until it is completly fixed. Looks like the usenet-people had written a couple of complaints..
If you?ld not be able to provide us with a new version atm (I?m aware that life is more then just coding and internet ;) ), would you give permission to others to release the needed changes ? If so I would like to ask the coders in here, wether someone already has a solution for this particular problem or would be willing to give it a try.
Any help appreciated !
lierduh
11-04-2005, 10:25 PM
There are quite a few things I need do with this hack. I have been quite busy with things. I have not checked how much will be involved with the AHG. Due to the situation you are in, I would advice you to remove the Quick Reply button temporarity from all the forums. You should be able to do this by altering the template. You have my permission if someone is willing to make the changes.
lierduh
11-04-2005, 10:32 PM
Hello!
My bord is in Japanese, and using S_JIS encoding,
and I can use original vbllutein,
but can not your module.
Would you please give advice for using this module in Japanese?
Unfortunately I am not sure what is causing your problem. Probably due to double byte characters. There are quite a few other things I need to address first. So Japanese support won't be something near the top of the list.
lierduh
11-04-2005, 10:35 PM
Hallo,
I have two questions:
1. is it possible to set this plugin to autorefrash the newsgroup becouse now I have to load gateway script to update latest posts from newsgroup.
2. Is it possible to set small message e.g "This message was send from MyDomains.com" when people are sending a messeges to the newsgroup from my forum.
Hope you understand my poor english :)
You will find the anwers by going through the settings and readme.
Atsuko
11-07-2005, 09:08 PM
Unfortunately I am not sure what is causing your problem. Probably due to double byte characters. There are quite a few other things I need to address first. So Japanese support won't be something near the top of the list.
Thank you for yor reply.
I think it will be wonderful that I can use your hack.
I will check and try by myself.
mp3dreaming
11-07-2005, 10:29 PM
http://gt500forums.com/testvb/index.php
There seems to have been a problem with the database.
Please try again by clicking the Refresh button in your web browser.
An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists.
We apologise for any inconvenience.
heheheh...ooops :D :D
chrispadfield
11-17-2005, 10:45 AM
Wow, great hack - havn't used this for a long time but wanted to try again. Unfortunatly I am having two problems:
a) The first time I ran it I got this mySQL error:
UPDATE nntp_settings
SET value = WHERE varname = 'last_postid';
b) Although threads are being imported into the database, they are not showing up in the actual forum. They do however exist, ie I can enter a direct link to showthread and they appear in a search. The forum however is empty (says Threads 0, posts 0).
Any suggestions?
chrispadfield
11-17-2005, 11:09 AM
Wow, great hack - havn't used this for a long time but wanted to try again. Unfortunatly I am having two problems:
a) The first time I ran it I got this mySQL error:
UPDATE nntp_settings
SET value = WHERE varname = 'last_postid';
b) Although threads are being imported into the database, they are not showing up in the actual forum. They do however exist, ie I can enter a direct link to showthread and they appear in a search. The forum however is empty (says Threads 0, posts 0).
Any suggestions?
Ok, upon further investigation:
- The mySQL is real and is causing problems. I assume it is also why the counts in the forums are not being updated because this stops the processing.
- I was wrong about the threads appearing in the forum, i was looking at the wrong one.
There is however an error. Perhaps 3.5.1 made a difference here? I am trying to find the error now.
chrispadfield
11-17-2005, 11:19 AM
This code change (an ugly hack, but i was trying to be quick) fixed it:
if ($get_max_postid['postid'] < 1) {
$get_max_postid['postid'] = 0;
}
$db->query("UPDATE " . TABLE_PREFIX . "nntp_settings
SET value = " . $get_max_postid['postid'] .
" WHERE varname = 'last_postid'
");
babulgogoi
11-17-2005, 01:03 PM
Hi,
The Gateway script is not picking up attachments!!!
http://www.asiasrc.org/forum3.5/showthread.php?t=32
The attachment is available in the pipermail archive on Mailman.. at: http://asiasrc.org/pipermail/pleasureforum_asiasrc.org/2005-October/000052.html
Any idea pls?
webspider
11-18-2005, 10:19 AM
I'm using this script (works great BTW) to grab emails from google alerts. Basically I have a mailbox all my alerts are sent to and the script reposts the alert into a special forum. The problem is I can't get it to strip the footer most importantly the link to cancel the alert.
Any suggestions? Here is what I'm using in the strip footer.
Strip Footer strip_footer {Alert is brought to you by Google...} {Remove this Google Alert:}
This as-it-happens Google Alert is brought to you by Google...
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Remove this Google Alert:
http://www.google.com/alerts/remove?
Create another Google Alert:
http://www.google.com/alerts?hl=en
Sign in to manage your alerts:
http://www.google.com/alerts/manage?hl=en
oezer
11-19-2005, 09:47 AM
is somebody outthere which have nntp and vbseo? my nntp hack works fine, i installed vbseo and at this point nntp didn't work. i got no error codes, have someone any ideas?
i check out the newsserver, but this works already.. can someone give me a tip?
thx..
trancetopia
11-19-2005, 11:12 AM
Yes - I installed vBSEO yesterday and have just checked this hack works and it's all working great for me.
I did have probs with vBSEO working but that was because I was still running 3.5 RC3 so after an upgrade to 3.5.1 all was well.
I know this doesn't solve your problem but I can confirm that they both work together. Good luck.
oezer
11-19-2005, 11:59 AM
the only thing i change was this on Custom Rewrite Rules Section:
'^gateway\.php$' => 'gateway/'
'^gateway\.php\?debug=1' => 'gateway/debug/'
did you something else?
on my server i run a cron job with w3m (not lynx) to start the gateway.php
any ideas?
Krisekocm
11-19-2005, 11:41 PM
I get this error
Fatal error: Call to a member function query_first() on a non-object in /home/ocm/site/vhost/ocm/vbtest/includes/functions_hacks.php on line 6
when i try click on link on usenet ,,
Krisekocm
11-20-2005, 08:55 PM
i get this working but with out advance hacking ,,,,
oezer
11-21-2005, 09:36 AM
ok, have someone any ideas? i can't believe it. i have imported successful some groups, but since i installed vbSeo and at the same time i change the status of writing/posting at newsgroups there aren't importing news.
first i disabled the newsforum f.e. and post manually the first thread. after this i enable the newsgroup and run manually gateway.php but nothing is changeing.. the script is importing only one (1x) thread :(
Gateway version 2.3.2 1 group(s) gatewayed.
Connecting to server, server says: 201 news.f.de.plusline.net InterNetNews NNRP server INN 2.4.1 ready (no posting).
Info for linux.debian.user at news.f.de.plusline.net: 211 2755 101732 104486 linux.debian.user
Can we post? server responded: 440 Posting not allowed
Posting Message '[test] linux.debian.user' from Admin. Result: 500 What?
Getting message number 101749:
'Re: .htaccess and .htpassword' from Meni Shapiro. New thread.
Getting message number 101750:
please can someone give a tip? i don't know why this script is not running.. before i change the write/posting status and install vbSeo it runs perfect.. and now :(
Electronic Punk
11-22-2005, 04:56 PM
Been using this for a while to monitor 2 MS newsgroups and it is getting slow and actually slowing my entire forum down now, anyone else experience this and know how it might be fixed?
lierduh
11-22-2005, 06:21 PM
Can we post? server responded: 440 Posting not allowed
There is your anwser.
lierduh
11-22-2005, 06:25 PM
This code change (an ugly hack, but i was trying to be quick) fixed it:
if ($get_max_postid['postid'] < 1) {
$get_max_postid['postid'] = 0;
}
$db->query("UPDATE " . TABLE_PREFIX . "nntp_settings
SET value = " . $get_max_postid['postid'] .
" WHERE varname = 'last_postid'
");
The problem happens when you have a completely empty forum. I fixed that in the CVS a while back, but having trouble to find time to release a new version.:(
Krisekocm
11-22-2005, 09:03 PM
When i run gateway.php the script is importing only from one group !
but i setup up 2 groups how to make this working to update both ?
oezer
11-24-2005, 06:19 PM
There is your anwser.
hi lierduh,
i have disabled the posting function on the settings, but the scripts imports only 3 threads and breaks. i got no errors. have you any ideas why the script is not normally finished at the end of the time?
Gateway version 2.3.2 1 group(s) gatewayed.
Connecting to server, server says: 200 server ready - posting allowed
Info for adobe.acrobat.macintosh at adobeforums.com: 211 24126 21534 45659 adobe.acrobat.macintosh group selected
Getting message number 45295:
'Re: Calculation Forms' from Anne_Dewey@adobeforums.com. Thread found by References.
Getting message number 45296:
'Re: Slow Performance of Acrobat Form' from Anne_Dewey@adobeforums.com. Thread found by References.
Getting message number 45297:
on the 3rd message the script hangs up :(
scruby
11-29-2005, 08:40 PM
That is global/user setting, not by Forums. However it will be quite easy to implemented this as a hack through Plugin system. I will include this in the next version.
I got tired of waiting, so I threw together a quickie plugin that does this.
add a plugin, the hook you want is "showthread_start"
product is vbulletin (or you can create a product just for nntp hacks)
global $vbulletin;
$thread = verify_id('thread', $threadid, 1, 1);
if ($thread) {
$sql = "SELECT newsgroupid FROM " .
TABLE_PREFIX .
"nntp_groups WHERE forum = " .
$thread['forumid'];
if($vbulletin->db->query_first($sql)) {
unset($threadedmode);
$vbulletin->userinfo['threadedmode'] = 2; // 1 - threaded, 2 - hybrid
}
}
This makes it so that usenet threads are forced into beng threaded or hybrid mode (you pick which)
scruby
11-30-2005, 08:46 AM
This has come up before in the threads for the earlier versions of this hack, but I'm bringing it up again since this version of the nntp gatway is still in the alpha phase of development.
In a moderated newsgroup, it's disruptive to post replies to articles that weren't approved by the newsgroup's moderators.
I want to find a good way to deal with moderated newsgroups so that articles and threads don't show up immediately.
Ideally, outgoing messages would be queued for gateway.php in tables outside of vbulletin's thread and post tables, and wouldn't appear in the forums until the message is downloaded from the news server.
dethfire
12-01-2005, 05:44 AM
lierduh, thanks for your hard work, any idea when the next version will be released?
moftary
12-03-2005, 10:01 PM
Okay, this is only a quick hack so I could import my MBOX file (extracted from Yahoo Goops) direct. (most because my server is running qmail).
I hope this gets included in standard. (does not require much polish)
First, install mbox.php from PEAR into the includes directory.
I don't think we are to post complete code - if I'm wong on that please tell me - so here are just the changes to pop.php:
Before
class pop {
require_once('./includes/mbox.php');
After function prepare_connection( $user, $pass, $host = "127.0.0.1", $port = "110" )
if (! (strpos($host, '/')===false) ) { //mbox
$this->mbox = true; //mbox
$this->_mbox = new Mail_Mbox(); //mbox
} else { //mbox
Replace if ($host == '') {
return 0;
}
$this->port = $port;
$this->username = $user;
$this->password = $pass;
$this->host = $host;
With $this->password = $pass;
} //mbox
if ($host == '') { //mbox
return 0; //mbox
} //mbox
$this->host = $host; //mbox
after function connect()
{
Add//MBOX-START
if ($this->mbox) {
$this->pop_connect = $this->_mbox->open( $this->host );
if (!$this->pop_connect) {
echo "ERROR OPENING MBOX FILE\r\n";
return -1;
}
} else {
//MBOX-END
After return -2;
Add } //MBOX
Replace this block function howmany()
{
return $this->_howmany();
}
with
function _howmany()
{
if ($this->mbox) { //MBOX
return $this->_mbox->size( $this->pop_connect )-1; //MBOX
} else { //MBOX
$this->_write("STAT");
$results = $this->_gets();
$this->log .= $results;
list ($results, $messages, $bytes) = split(' ', $results);
return $messages;
} //MBOX
}
Lastly replace function delete_mail ( $id )
{
$this->_write("DELE $id");
$results = $this->_gets();
}
WITH
function delete_mail ( $id )
{
if ( !$this->mbox ) { //MBOX
$this->_write("DELE $id");
$results = $this->_gets();
} //MBOX
}
When testing this I imported 10585 messages in 5m20s (not really a benchmark without doing it via POP3 as a comparison however surely the overheads are a lot less with this system)
How does this work? Put a file reference in the host box eg
/usr/local/apache2/www/mbox_locost_oz
where mbox_locost_oz is the MBOX archive. If you are on a Windows server the code would need to be changed (it looks for "/" which will not appear in a host name - would need to be changed to "\")
It will not delete messages from the archive. I do not see this as a bad thing for my purposes (ie dump in starting messages)
I also in my testing dug up a problem when there are no posts at all (I think its a NULL issue) I get this error:
Invalid SQL:
UPDATE vb_nntp_settings
SET value = WHERE varname = 'last_postid';
And this comes (in gateway.php)from $get_max_postid = $db->query_first("
SELECT MAX(postid) as postid FROM " . TABLE_PREFIX . "post
");
ALSO somebody was complaining about lack of HTML formatting in Firefox:
in gateway.php change this line:
header("Content-Type: text/plain");
TO
header("Content-Type: text/html");
Or you could simply use /var/qmail/bin/maildir2mbox
moftary
12-03-2005, 10:21 PM
Oh c'mon, that's just standard contract copperplate, doesn't mean anything other than they'd prefer you not to run your own ISP off any of their accounts. With an account of this kind, downloading miniscule amounts of text-only posts, you are, literally, the least of their worries.
For God's sake, we're talking about $10!!! If, in a sudden fit of insanity, Astraweb decide to mobilise their legal department, go elsewhere.
Nuh hunney :)
I had my giganews account phrozed for that. When your forum get popular, a few of your users will spam newsgroups out of your forum getting your account to be suspended.
moftary
12-03-2005, 10:34 PM
Feature Request:
- Ignore messages with no reference 1/0
:)
I'm trying to install in ASmallOrange hosting server.
When I run gateway.php?debug=1
All I get is:
*****
Gateway version 2.3.2 1 group(s) gatewayed.
Connecting to server, server says: 200 NNTP Service 6.0.3790.206 Version: 6.0.3790.206 Posting Allowed
Info for microsoft.public.windowsxp.general at msnews.microsoft.com: 211 53164 1 1442385 microsoft.public.windowsxp.general
*****
I have tried waiting for 10 minutes, nothing happens.
Should I ask my host to open any port or something?
I have tried in 3.0.7 with 2.3.2 AND 3.5.2 with 3.5. It gets stuck in the same gateway thing.
noslzzp
01-03-2006, 03:48 AM
Questions/things to think about:
1. We have installed this awesome hack and we love it. We have noticed that for some UseNet posts, we are getting a large number of duplicate posts and sometimes duplicate thread entries. Has anyone else experienced this? I am not sure of what provides a "unique identifier" for each posts, but it gets to be a pain deleting dups.
2. We have multiple groups pulling down messages into ONE vB forum. If a user replies to a message, which group does it get sent to? :)
Tip:
===
If you have access to cron jobs, just do this to make the gateway run:
wget --quiet http://yoursite/forums/gateway.php
447k posts in 2 days. :) You gotta love it.
kadafi_alive
01-03-2006, 12:51 PM
Hmm,
I have installed it and got Newshosting as the server.
However, when I run gateway.php, it just keeps loading. Nothing happens.
I checked the setlastmsg log and it says:
1 group(s) gatewayed. Connecting to server, server says: 201 NNRP unlimited.newshosting.com (fe47-unl) Service Ready - support@newshosting.com (no posting) Server responded after user name: 381 PASS required Server responded after password: 281 Ok Info for alt.bbc.the-net at unlimited.newshosting.com: 211 373 5855 6227 alt.bbc.the-net Logging in to unlimited.newshosting.com, group alt.bbc.the-net: Max: 6227 Min: 5855 Set last message id for 'alt.bbc.the-net' to 6207
but yet the screen keeps loading and its blank
kadafi_alive
01-03-2006, 02:14 PM
I have managed to fix it however, it's WAY too slow.
To download 100 messages, it takes atleast 10 minutes even though I am using a premium pay usenet server.
ukbill69
01-03-2006, 06:04 PM
Thanks for a great script!!!
One question please someone answer!!
When someone replies in a newgroup the message is formatted like this once posted:
>>whats the answer to this question
>>kind regards
>>bill
The reply here
Is there a way to make >> in a quote box?
kadafi_alive
01-03-2006, 09:39 PM
Has anyone managed to download large groups without hanging?
thedvs
01-04-2006, 08:12 PM
just upgraded to vb3.5.3
now my cron doesnt work & if i try to run it manually i get a
Fatal error: Call to a member function on a non-object in /forums/includes/functions_image.php on line 224
also when it does work the new topics dont show up on the forum display?
moftary
01-08-2006, 02:04 AM
I'm trying to install in ASmallOrange hosting server.
When I run gateway.php?debug=1
All I get is:
*****
Gateway version 2.3.2 1 group(s) gatewayed.
Connecting to server, server says: 200 NNTP Service 6.0.3790.206 Version: 6.0.3790.206 Posting Allowed
Info for microsoft.public.windowsxp.general at msnews.microsoft.com: 211 53164 1 1442385 microsoft.public.windowsxp.general
*****
I have tried waiting for 10 minutes, nothing happens.
Should I ask my host to open any port or something?
I have tried in 3.0.7 with 2.3.2 AND 3.5.2 with 3.5. It gets stuck in the same gateway thing.
I think as you have successfully connected to the newsgroup server, this is not a closed port problem. AFAIK, there is no php function that you should enable/disable. For my configuration I just raised up the timeout value so the script dont timeout when importing thousands of usenet articles.
Sorry but I cannot be of much help.
aranthorn
01-14-2006, 07:43 PM
The attachment is not fully working at the moment, please wait for next release.
Is there going to be a 'next release'? I'd love to install, but I'd like the attachments to work before installing :D
aranthorn
01-15-2006, 01:41 PM
Well, I sorted out the attachments, now I just have to figure out the thumbnails.
Is this thing supported at all anymore? I understand that people get busy in life and can't always spend the time supporting donated code (thanks to all that do these modifications!), but a small note or unchecking the "Supported" box would end some of the confusion on what to expect.
Thanks for the hack, lierduh. It's a mammoth place to start tweaking from :D
thedvs
01-20-2006, 01:10 PM
this not working for me in 3.5.3, yet was fine in 3.5.1
this not working for me in 3.5.3, yet was fine in 3.5.1
I upgraded to 3.5.3 and it still works for me. Maybe you deleted the files needed to run it when you did the upgrade.
thedvs
01-21-2006, 01:54 PM
@aws no files were deleted or changed
are you sure yours is working properly? im getting no upgdates and this error...
Fatal error: Call to a member function on a non-object in /forums/includes/functions_image.php on line 224
@aws no files were deleted or changed
are you sure yours is working properly? im getting no upgdates and this error...
Fatal error: Call to a member function on a non-object in /forums/includes/functions_image.php on line 224
Look at my site http://ms-os.com. You can see new threads and posts. Those are all usenet forums.
That error happens when there is a problem with an image attachment in a usenet post. I get it from time to time. Go to newsgroup settings and dit each groups message id number. Increment it by one.
bogene2020
01-21-2006, 07:21 PM
AWS or Anybody else using this hack, I would like to know if it uses a lot of space on your server. How much space are you using up now ? Are the Usenet messages stored in your database or are they stored somewhere else ? Can you set older messages to auto delete ? Thanks
thedvs
01-21-2006, 07:46 PM
@aws thanks that did the trick, its all working now.
however now with a fresh new import im getting this txt as the posters username on certain usenet new posts...
<topic>
=?Utf-8?B?Zm9ydHdpbGxpYW0=?=
any idea how to combat this?
volarium
01-25-2006, 03:03 AM
How can I mask all email addresses that come through? I like the fact that it converts an email address to:
name (AT) domain (DOT) com.
But what if I want to completely eliminate the address? There are two places it shows up:
1. Within the post, if someone posted their email address.
2. In the "from" field, if they used a full email address for their sender name.
Can anyone tell me where in the code I can do this?
Thanks.
brisk
02-03-2006, 01:48 AM
hi, I have tw problems:
1: installed it, run gateway.php?debug=1, it hangs for 20 minutes, I have to kill it (click stop button of firefox). However, it seems posts are created in db
2: attachements are not created, instead, they are treated as text posts.
can anyone help me?
btw, the firefox never came back, and I don't see any output from the server, it's all blank.
thanks
brisk
02-03-2006, 02:12 AM
same here!!! can anyone help?
I have managed to fix it however, it's WAY too slow.
To download 100 messages, it takes atleast 10 minutes even though I am using a premium pay usenet server.
volarium
02-08-2006, 06:20 AM
Here's how I resolved my issue of masking email addresses, in case anyone else is interested.
Find:
$message['text'] = preg_replace('/([-_.\\w]+)@([\\w]+[-\\w]+)\\./', '\\1 (AT) \\2 (DOT) ', $message['text']);
Replace with:
$message['text'] = preg_replace('/([-_.\\w]+)@([a-zA-Z0-9\.]+)/', '\\1@xxxxxx', $message['text']);
Find:
$from_name = from_name($message['from']);
Replace with:
$sender_name = from_name($message['from']);
$from_name = preg_replace('/([-_.\\w]+)@([a-zA-Z0-9\.]+)/', '\\1', $sender_name);
I'm sure it's not the most efficient want to do it, but it seems to work for me.
http://vfrworld.com/forums/vf-vfr-mailing-list/
sensimilla
02-08-2006, 11:57 AM
Installed fine but I get this message:
This forum does not allow attachments, therefore attachment ignored.
1. How should i setup permissions?
2. Is there anyway to merge similar threads that the engine dont start 100 same lookin topics?
3. Videos posts looks like this :
M634XG[7"1N!@%&PD0(%EV5SB[:AZ:RU8*>[B#K;'8X6:`/-3"9ZD8G30?8-%
Thanks in advance for any help
KW802
02-11-2006, 02:57 AM
Anybody else having problems exporting posts that contain list, quote, code, or php tags? If any of those tags are used in a thread then the post has nothing exported.
I can see in functions_nntp.php in the format_text function that it attempts to convert those tags to be plain text dashes but I'm not seeing where the problem might be.
Thoughts?
:)
jarosciak
02-13-2006, 01:48 AM
I am having a real problem in 3.5.3
When I run gateway.php in debug mode:
Gateway version 2.3.2 101 group(s) gatewayed.
Connecting to server, server says: 200 SurgeNews Text-East.u (Version 2.0a-4) http://surgenews.com posting OK
Server responded after user name: 381 Helo myusername password required
Server responded after password: 281 Authorization accepted
Info for sci.lang at text-east.usenet.com: 211 46541 245219 291997 sci.lang selected (items,min,max)
Getting message number 288938:
'Re: Time in various languages...' from Peter T. Daniels. Thread found by References.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>S...
And it displays the whole posts and gateway.php stops.
and below that is:
Database error in vBulletin 3.5.3:
Invalid SQL:
INSERT INTO post
(postid, threadid, title, username, userid, dateline, pagetext,
allowsmilie, showsignature, ipaddress, iconid, visible,
isusenetpost, msgid, ref, parentid) VALUES
(NULL, 214260, 'Re: Time in various languages...',
'Peter T. Daniels', 0, '1137363805',
'Se?n O\'Leathl?bhair wrote:
[color=green][color=darkred]
> > > > Let\'s check that I understand you. Is the following correct?
> > > >
> > > > German \"Halb Neun\" meaning 08:30 is reasonable.
> >
> > Sure. It\'s halfway through t
jarosciak
02-13-2006, 01:49 AM
Can Someone help out. I spent last 4 hours trying to figure this one out.
Looks like there is something with posting to post database.
But why doesn't it work?
Joe
sensimilla
02-13-2006, 06:25 AM
looks like this topic is unsupported anyway.. its a pity , great addon in my opinion
jarosciak
02-13-2006, 10:58 AM
Lierduh, can you please look at the code above?
I can even give you ftp and forum access if needed.
Please let me know
joe
Deepdog009
02-13-2006, 11:09 AM
only probs is the gateway.php file doesn't continue in the cron area, so must setup server cron. also have prob with exporting sometimes, it works and then it doesn't work depending on the auth from server. some hosts dont support import or export. other than that its hecca cool dude. thanks a mil Lierduh. if i had some extra cashola, I be PP U.
jarosciak
02-13-2006, 12:20 PM
Could anyone look at the problem above?
My whole forum is stuck for couple of days now, no support here.
I will gladly pay to someone who can figure out what is causing my problem.
Joe
KW802
02-13-2006, 02:45 PM
Re: /includes/functions_image.php
So am I missing something obvious or do we need to use a modified version of functions_image.php from vB 3.0.x with vB 3.5.x in order to get the attachment thumbnails working? :)
Deepdog009
02-13-2006, 05:40 PM
Thread Items of interest
https://vborg.vbsupport.ru/showthread.php?t=65152
3.0 version / take a look my help solve some problems with 3.5
lierduh page 1
http://gt500forums.com/testvb/index.php
dodgez page 2
http://phorums.com.au/forumdisplay.php?f=21
lierduh page 5
http://www.cyburbia.org/forums/
Cyburbia page 5
http://www.techenclave.com/forums/
Acers page 7
You won't find smtp in the scripts. If you need more info about mail(), please check:
http://php.mirrors.ilisys.com.au/ma...nction.mail.php
Ok, I think I have it partially figured out re: attachments... But I'm getting this debug message, and have set everything to allow attachments... Any idea for what I might be missing?
The Pimp / page 4
Getting message number 971197:
This forum does not allow attachments, therefore attachment ignored.
http://www.maximumgamer.com/forums
ixian page 9
http://www.edinburghtalk.com/forum/
donnacha page 9
The Gateway script is not picking up attachments!!!
http://www.asiasrc.org/forum3.5/showthread.php?t=32
The attachment is available in the pipermail archive on Mailman.. at: http://asiasrc.org/pipermail/pleasu...ber/000052.html
Any idea pls?
babulgogoi page 11
The problem happens when you have a completely empty forum. I fixed that in the CVS a while back, but having trouble to find time to release a new version.
lierduh page 12
1.) add a plugin, the hook you want is "showthread_start"
2.) product is vbulletin (or you can create a product just for nntp hacks)
PHP Code:
global $vbulletin;
$thread = verify_id('thread', $threadid, 1, 1);
if ($thread) {
$sql = "SELECT newsgroupid FROM " .
TABLE_PREFIX .
"nntp_groups WHERE forum = " .
$thread['forumid'];
if($vbulletin->db->query_first($sql)) {
unset($threadedmode);
$vbulletin->userinfo['threadedmode'] = 2; // 1 - threaded, 2 - hybrid
}
}
scruby page 12
Look at my site http://ms-os.com. You can see new threads and posts. Those are all usenet forums.
That error happens when there is a problem with an image attachment in a usenet post. I get it from time to time. Go to newsgroup settings and dit each groups message id number. Increment it by one.
AWS page 13
Here's how I resolved my issue of masking email addresses, in case anyone else is interested.
Find:
Quote:
$message['text'] = preg_replace('/([-_.\\w]+)@([\\w]+[-\\w]+)\\./', '\\1 (AT) \\2 (DOT) ', $message['text']);
Replace with:
Quote:
$message['text'] = preg_replace('/([-_.\\w]+)@([a-zA-Z0-9\.]+)/', '\\1@xxxxxx', $message['text']);
Find:
Quote:
$from_name = from_name($message['from']);
Replace with:
Quote:
$sender_name = from_name($message['from']);
$from_name = preg_replace('/([-_.\\w]+)@([a-zA-Z0-9\.]+)/', '\\1', $sender_name);
I'm sure it's not the most efficient want to do it, but it seems to work for me.
http://vfrworld.com/forums/vf-vfr-mailing-list/
volarium page 14
Hope all dont mind if posting sites again to view by new installers.
This hack is very useful and should be given more attention.
Hope this helps somebody.
sensimilla
02-13-2006, 05:48 PM
@Deepdog009
Outstanding reply, thanks alot!
KW802
02-13-2006, 06:00 PM
Deepdog009: Thanks for the recap. :) Unfortuntaley neither of my two issues are addressed. :( I searched both this thread and the older vB 3.0.x thread and didn't find references to either. Before I started hacking the files I was hoping somebody else came across them.
jarosciak
02-14-2006, 02:22 AM
Perfect reply but not to my questions. Eh, it's frustrating when there is no support for such a great script. Only if I could figure out how to get it to work. It seems so close.
joe
KW802
02-14-2006, 12:06 PM
Re: /includes/functions_image.php
So am I missing something obvious or do we need to use a modified version of functions_image.php from vB 3.0.x with vB 3.5.x in order to get the attachment thumbnails working? :)Since attachments are obviously working for some of you guys/gals, could you please tell me where you obtained the functional copy of /includes/functions_image.php from since it is not included in neither the download attached to this thread and it is no longer a standard vB 3.5 file? :disappointed: If it's a case of modifying the old vB 3.0.x version could you let me know what modifications you did to it? Changing the $vboptions to $vb->options is easy enough but I'm not sure what to replace the "global $vboptions" with since "global $vb->options" results in an error.
I can work around the problem with the code/quote/list/whatever threads but am stuck a bit on the functions file.
Does this hack work with vbulletin 3.5.3? Any plans to converting it to plugin?
Does this hack work with vbulletin 3.5.3? Any plans to converting it to plugin?
Yes it does.
jarosciak
02-16-2006, 03:02 AM
I ended up reworking the whole damn script, using only parts of the one presented here.
Now I have my own version of NNTP gateway and it works like a charm.
I am planning to do also a remote windows version for this program.
Joe
KW802
02-16-2006, 12:12 PM
Joe,
I'm also in the midst of rewriting chunks of it to make it work since people here either don't know (or don't care) that some parts of it don't work or simply don't feel like sharing their solutions. Maybe we should talk? :D
jarosciak
02-16-2006, 12:28 PM
Hi KW802,
I've got a whole script written in vb.net as windows app.
Basically what it does, it gives you a list of newsgroups. You can select those you want to sync.
It gets all the messages and feeds them into mysql database.
You can see this script working here: www.n-n-a.com .
It should be very easy to feed it into vb.net forum.
First of all, it's extremely fast. It gives you progress in percentage for each newsgroup and I can pull millions of posts a day.
Do you want to give me some helping hand to get it to work with vbulletin?
Joe
KW802
02-16-2006, 03:25 PM
Joe,
Thanks but I would be in need of a PHP based solution. I've already re-written parts of functions_nntp.php file to handle the quote/php/code/list bb codes and will be tackling the functions_image.php file issue next. I figure at this point I'll just hack the PHP files to suit the needs of the site I'm running it on and go from there.
I am having no problems with this script at all. Everything works and has always worked. No problems with bbcode, images, attachments or anything else that others in this thread have problems with. The only time I ever had a problem is when the usenet provider purges one of the groups. This is fixed by running setlastmessage.php after the run dies.
KW802
02-16-2006, 08:36 PM
I am having no problems with this script at all. Everything works and has always worked. No problems with bbcode, images, attachments or anything else that others in this thread have problems with. The only time I ever had a problem is when the usenet provider purges one of the groups. This is fixed by running setlastmessage.php after the run dies.And the "functions_image.php" file that is included from functions_nntp.php and works with this version running on vB 3.5.x was acquired from where? As I said above, that file is NOT included with the zip file attached to this thread, is NOT a standard vB 3.5.x file, and the vB 3.0.x version will NOT work as-is.
Have you verified lately that outgoing quotes are working since the upgrade to 3.5?
srpompon
02-17-2006, 03:01 AM
Great script!! GREAT! im to happy...
attachs dont work.. but is great!
why in some forums like http://www.cyburbia.org/forums/showthread.php?t=19169 the attachs work?
please sorry for my bad english.
Ivan
And the "functions_image.php" file that is included from functions_nntp.php and works with this version running on vB 3.5.x was acquired from where? As I said above, that file is NOT included with the zip file attached to this thread, is NOT a standard vB 3.5.x file, and the vB 3.0.x version will NOT work as-is.
Have you verified lately that outgoing quotes are working since the upgrade to 3.5?
I changed that block of code to use the new image class that vbulletin has although I do actually have the function image file. Must be leftover from an older version after upgrade. Forgot I had modified that part of the script.
Outgoing qutes do show. I read the newgroups with a news reader and all posts from my forums have quoted text sent from my forums.
It is possible that I have made more changes to this hack then I remember. Whenever I install a hack I always have to change something to make it work since I run on IIS and use .phtml extension.
I guess I should document them in the hack threads, but, in reality most would be of no use if you don't run IIS.
Deepdog009
02-18-2006, 01:49 AM
Hi all, just wanted to advice everybody that this week I received a FLAGG from Usenet. Why I received it Im not sure, well they say in the email because of spamming, Im innocent I tell you.
They're looking into it and will get back to me when they finish the investigation. Holy crap Batman.
Don't know if other members or one of the groups has singled me out 4 pain.
I posted less than several times using this script, all posts were related to groups content and no spamming. Maybe it was the links (userid and forumid).
To make a long story short I can't post anymore until they give me an anwser.
Has anybody had any problems posting to the groups? (exporting).
F_ck!!!
srpompon
02-18-2006, 01:57 PM
please sorry for my bad english.
Now the attachs work in my 3.5.3, for this i copy a functions_image.php file from another old vb instalation to my includes.
And i comment some lines in the file incliudes/functions_nntp.php
// if (!$forumperms)
// {
// logging("This forum does not allow attachments, therefore attachment ignored.");
// }
// else
// {
$forumperms2 = true;
// }
i dont know php i only know C, this is a very uggly solutions buts work.
if anyone know php please solve this in a good way.
in some attachs whit names like "dirty monkey.jpg" the filename parcer fails at the space and say "unknow extencion" this is the only problem.
thanks,
MrPompon
srpompon
02-19-2006, 02:46 AM
This is the filename error:
Successfully connected to the 'pop3.orchidswamp.com' pop3 server.
Retrieving 1 E-mails from the 'pop3.orchidswamp.com' pop3 server.
Getting message number 1:
extensions are not accepted, as currently set up in the control panel.
extensions are not accepted, as currently set up in the control panel.
'[orquidea] BC. HIPPODAMIA' from Carlos Keller. New thread.
the filenames are:
filename="Bc. Hippodamia 'Kelvin Lucky' AM.AOS, 01 (ID).jpg"
filename="Bc. Hippodamia 'Kelvin Lucky' AM.AOS, 02 (ID).jpg"
anyone know howto solve this?
thanks!
MrPompon
srpompon
02-19-2006, 02:31 PM
new error on some attachs
<b>Fatal error</b>: Call to a member function on a non-object in <b>/www/docs/orchidswamp.com/public_html/includes/functions_image.php</b> on line <b>224</b><br />
8-)
Grinler
02-21-2006, 06:13 PM
Can someone tell me what the purpose of setlastmsg.php is for? I did not run it first..is that going to be a problem? I do not appear to be having any probs. Also did anyone port the advanced hack instructions over to 3.5.3?
srpompon
02-21-2006, 06:20 PM
i dont run the setlastmsg.php and work fine in my 3.5.3
Grinler
02-22-2006, 03:21 PM
On another note, has anyone who uses this script ever had a problem with any usenet providers when they found out what you were using the script for? Did they cancel your service or tell you that it was not allowed? Are there any known services that know about this script and do not care if you use it?
On another note, has anyone who uses this script ever had a problem with any usenet providers when they found out what you were using the script for? Did they cancel your service or tell you that it was not allowed? Are there any known services that know about this script and do not care if you use it?
As long as you stay under the alloted download limits you'll be OK.
I've been running this hack using GigaNews 2 gig per month account for 3 years and have never had a problem. If you pull binaries then you'll need a larger amount. I pull about 35 text groups and I have never used anywhere near my allotment.
Grinler
02-22-2006, 05:19 PM
Any idea if they know what you are using it for? Just curious as though it does not break any AUP they may not like it. Btw, how do you like giganews?
KW802
02-22-2006, 08:02 PM
I changed that block of code to use the new image class that vbulletin has although I do actually have the function image file. Must be leftover from an older version after upgrade. Forgot I had modified that part of the script.I'd be interested in seeing the modified version using class_image.php instead, doesn't matter if it's phmtl or php. :)
srpompon
02-23-2006, 01:20 PM
I'd be interested in seeing the modified version using class_image.php instead, doesn't matter if it's phmtl or php. :)
i also...
laxyy
02-24-2006, 03:53 AM
This:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html dir="ltr" lang="en">
<head>
<title>Scheduled Task Manager - (my site) - vBulletin Admin Control Panel</title>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<link rel="stylesheet" href="../cpstyles/vBulletin_3_Default/controlpanel.css" />
<script type="text/javascript">
<!--
var SESSIONHASH = "";
function set_cp_title()
{
if (typeof(parent.document) != 'undefined' && typeof(parent.document) != 'unknown' && typeof(parent.document.title) == 'string')
{
parent.document.title = (document.title != '' ? document.title : 'vBulletin');
}
}
//-->
</script>
<script type="text/javascript" src="../clientscript/vbulletin_global.js"></script>
</head>
<body style="margin:0px" onload="set_cp_title();">
<div class="pagetitle">Scheduled Task Manager</div>
<div style="margin:10px">
<!-- END CONTROL PANEL HEADER -->
<p><b>Mailing list gateway</b></p><p>Done</p>
<!-- START CONTROL PANEL FOOTER -->
<p align="center"><a href="http://www.vbulletin.com/" target="_blank" class="copyright">vBulletin v3.5.0 Release Candidate 1, Copyright ©2000-2005, Jelsoft Enterprises Ltd.</a></p>
</div>
</body>
</html>
Just raw HTML.
its good to get update from news group
I just installed this mod,, but facing some problem and its not updating the contain rapidly,
its gives error when i run it
"Another instance of gateway.php is running, try again in 30 minutes if the script was crashed."
its megarly updating less than hundred post each time
Plz guide me in this
Thanx
laxyy
02-24-2006, 03:53 AM
its good to get update from news group
I just installed this mod,, but facing some problem and its not updating the contain rapidly,
its gives error when i run it
"Another instance of gateway.php is running, try again in 30 minutes if the script was crashed."
its megarly updating less than hundred post each time
Plz guide me in this
Thanx
Maddog417
02-26-2006, 05:33 PM
I'm also having all sorts of problems with this hack. For starters, the documentation is a fiasco and there are so many different issues and problems here on the forums I'm not certain what is working on this hack.
I installed the files as best I could given that the files included in the current version aren't even mentioned in the Readme. Whenever I attempt to run the http://www.yourserver.com/vbdir/gateway.php?debug=1 script, I get the following error:
Warning: fsockopen(): unable to connect to myemail.com:110 in /includes/pop.php on line 40
Connection timed out (110)
Warning: fwrite(): supplied argument is not a valid stream resource in /includes/pop.php on line 107
Warning: fgets(): supplied argument is not a valid stream resource in /includes/pop.php on line 99
Warning: fwrite(): supplied argument is not a valid stream resource in /includes/pop.php on line 107
Warning: fgets(): supplied argument is not a valid stream resource in /includes/pop.php on line 99
DoneI'm trying to get this to work for a Mailing List, not a newsgroup. So far I can't even get the gateway.php to run at all.
Does anyone have this working for vb3.5.4 for a mailing list? If so, can you provide some tips on exactly how you did it? Thanks.
Maddog417
02-26-2006, 10:54 PM
Every time the gateway.php attempts to run, I also get this:
Database error in vBulletin 3.5.4:
Invalid SQL:
UPDATE nntp_settings
SET value = WHERE varname = 'last_postid';
MySQL Error : You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE varname = 'last_postid'' at line 2 Error Number : 1064
Why doesn't any of you guys takes this hack and be in charge of delivering timely updates and charge a fee for it? This hacks appears to be abandoned and it is needed badly. There is a ton of money to be made with these abandoned hacks. There are a ton of people that don't know a line of code and that don't want to put up with these buggy hacks, lack of updates problem and don't mind to shell out money. Remember, the majority of Vb customers don't know a line of code. Where is that paid hack directory anyway?
Every time the gateway.php attempts to run, I also get this:
Looks like the querry wasn't run when you installed the hack. Did you follow the install instructions and open the gateway settings page before you added any newsgroups?
Salvar
02-27-2006, 10:23 PM
It is giving me the error:
Getting message number 388042:
This forum does not allow attachments, therefore attachment ignored.
Is this fixed already?
It is giving me the error:
Getting message number 388042:
This forum does not allow attachments, therefore attachment ignored.
Is this fixed already?
That isn't a bug. It means you don't allow attachments in your usenet forums. Enable posting of attachments and you won't get that message. The post is still being imported it is just not grabbing the attachment.
Maddog417
02-28-2006, 12:51 PM
Ok, I finally got it running, which was a real chore since the readme was so out of date. I'm using this for a mailing list, not for a newsgroup. Everything seems to be working okay except that, instead of combining the messages into the appropriate thread, it wants to create a new thread for nearly every message.
Anyone else have this working correctly for a mailing list? If so, how did you get it to combine the posts into the appropriate thread instead of creating a new one? It makes it nearly impossible to follow discussions like this and, of course, threaded and hybrid mode are useless.
toibs
03-05-2006, 09:23 AM
So.... Have tried reading through the first few pages from this...
I want to be able to pull pages from both a yahoo group and a Newsgroup - dont want to be able to send posts back to them as yer (tho in the future will probably want to..)
Will it do this??
Secondly, has anyone tried this under 3.5.4 yet, and does it work?
Thanks guys
Paul
Hornstar
03-05-2006, 05:35 PM
The latest version: V3.5.0Alpha 1 (21 Jul 2005)
Last Update: 04. Aug 2005
I guess this is no longer being updated or supported, and for a great hack like this :/
toibs
03-07-2006, 09:09 PM
Ok, I finally got it running, which was a real chore since the readme was so out of date. I'm using this for a mailing list, not for a newsgroup. Everything seems to be working okay except that, instead of combining the messages into the appropriate thread, it wants to create a new thread for nearly every message.
Anyone else have this working correctly for a mailing list? If so, how did you get it to combine the posts into the appropriate thread instead of creating a new one? It makes it nearly impossible to follow discussions like this and, of course, threaded and hybrid mode are useless.
Yup, exactly the same problems here also - i get a new thread for each message :(
Anyone any clues??
The newsgroups option works a treat tho!!! Absolutely perfect!!
Paul
maybe someone is willing to put together a working version of this hack? it is really great, exept for the fact that it's not being developed any more :(
KW802
03-07-2006, 09:46 PM
I'd be interested in seeing the modified version using class_image.php instead, doesn't matter if it's phmtl or php. :)Looks like I'll be giving up on trying to get the attachments working correctly for now. I don't have time to debug it properly and nobody who claims that they've got it working properly seems interested in sharing. :ermm:
KW802
03-07-2006, 09:47 PM
maybe someone is willing to put together a working version of this hack? it is really great, exept for the fact that it's not being developed any more :(Depends upon your needs. Except for binaries it's working fine so far once you get past the initial hurdles.
dkendall
03-08-2006, 05:29 PM
The initial message retrieval from NNTP is not working properly in gateway.php.
When the NNTP server replies that the min. msg index is 1 and the last fetched msg is 0, the code decides to use 1 (min) for lastmsg then iterates from lastmsg+1 to max.
To fix the problem, I changed this line of code:
$lastmsg = ($group['lastmsg'] >= $news->min()) ? $group['lastmsg'] : $news->min();
To this:
$lastmsg = ($group['lastmsg'] >= $news->min()-1) ? $group['lastmsg'] : $news->min()-1;
David
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.