![]() |
It is giving me the error:
Getting message number 388042: This forum does not allow attachments, therefore attachment ignored. Is this fixed already? |
Quote:
|
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. |
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 |
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 :/ |
Quote:
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 :(
|
Quote:
|
Quote:
|
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 |
thats strange - i didnt have that problem at all... luckilly enough it worked "straight out the box" (Tho still have the above mentioned problems with email.... :( )
|
Quote:
Also, the problem (mentioned long ago) with the gateway spewing HTML when used with FireFox and the scheduled task manager is caused by this: Code:
if (!headers_sent()) David |
Another issue I've run into...
If an NNTP user has not provided a display name (at least in Outlook Express), the "From" field in his posts is "<name@domain.tld>" and the from_name function in functions_nntp.php returns an empty string. My workaround is to add this: Code:
if(!$from_name) Code:
return $from_name; https://vborg.vbsupport.ru/showpost....&postcount=209 ... so that only the "name" portion of the e-mail address is displayed. Hopefully, the maintainer of this code can add this to the official version :) David |
Quote:
Code:
function logging($text) AFAIK, the scheduler won't allow you do specify the DEBUG parameter, so you'll also have to modify gateway.php and add this: Code:
$nntp['debug'] = 1; |
I found and fixed a few bugs:
To get the vBulletin user id from the NNTP post e-mail address, locate the following lines in gateway.php: Code:
//Separate name and email address Code:
//Get user id from email address Fix up the SQL statements in the if ($threadid) / else block in gateway.php as follows: Code:
// if the correct thread was found, insert it. Code:
//Insert post and follow up Code:
Title: Associate by Email David |
Here's another mod I've made to this hack.
In wrestling with getting it working, I needed to blow away my vBulletin threads/posts several times, and re-import everything from USENET. Since some of the postings originated in vBulletin, it was skipping them (which was mucking up the threading). Locate the whole if (trim($message['user-agent'])... block of code in gateway.php and tweak it as follows: Code:
$skip_post = 0; Code:
Title: Full import from USENET
|
I found that the NNTP gateway was choking on some articles that had a period on a line by itself.
This seems to be used to indicate the end of the article, but in fact, there was more text to follow. I worked around this by changing function get_article in nntp.php. I replaced this code: Code:
while(!feof($this->fp)) { Code:
while(!feof($this->fp)) { David |
Hey dkendall glad 2 C U be on the Ball with yo add ons. This hack has some po 10 show if it be enhanced and bug free.
I had a problem with it last month! Some groups dont like link backs to userid and forumid. I X-nessed all dat stuff ( signiture, id, links and anything dat might get da boot ) from my ex-posts. Usenet groups be picky when importing from the groups and exporting. All newbies trying diss out be careful when posting to Usenet. Dont put more than one group per forum!!! Mod yo posts. Got a ??? Can U fix it so that can delete posts from a certain Usenet user in VBull??? When I try to delete a user from Usenet in VBull I get message user not found goback. Got posts by user but VBull says cant find user, what the hec. Can U tell me how to fix??? |
Wow...that took me about 10 reads to fully understand you. Usenet post are not posted as real vbulletin users..they are actually considered guest posts.
|
Quote:
Quote:
I suppose it would be possible to automatically register unknown email addresses in VB (perhaps using the email address as the username too), but I don't think that's a feature I would want to use. David |
Has anyone gotten the footer striper to work. It doesn't work as far as I can tell.
|
By the way, the thing about attachments not working. It may be because guests don't have permission to post attachments, and these posts are being put through as guests.
|
I implemented the e-mail address masking feature mentioned earlier in this thread. But we use vBulletin for tech suport, and sometimes we post messages telling users to e-mail us directly.
So I've tweaked the masking feature so that it does not strip out addresses from certain domains. I've also made it configurable in the NNTP Gateway Settings by adding these variables: Code:
Title: Email Address Mask Code:
// Get email mask settings Code:
//Hide real email address for mailing lists Code:
//Mask real email addresses in message text Code:
//clean up name Finally, add this code to the end of functions_nntp.php: Code:
function mask_email_callback($parts) David |
Oh, been away 4 awhile. Your ? about links is pertaining to the settings in admincp. I deleted the links coming back to forum. I deleted most info linking back and setup to only show post info without sig and footer.
dkendall when U export your posts do U experience sometimes some posts dont up to usenet? Why is that? Is there a fullproof way to verify that all posts were exported to usenet without problems. I think it might have something to do with mod posts. Ive noticed that non mod posts work ok, but mod posts sometimes dont export. Updated files and now getting this message on some posts: Warning: Invalid argument supplied for foreach() in /includes/functions_threadedmode.php on line 202 Email mask setting changes page 18 Used updates from page 17, working beauts! |
Hi
I am having a massive problem with duplicated threads being imported. I have even tried setting the time delay to 2 seconds between posts incase it was a slow server issue. I have set the cron to run once an hour, which works fine. I get no errors, I just get duplicate threads and lots of them, any ideas or help would be great.. |
Hmmm. I answered this yesterday, but my reply hasn't shown up!
Quote:
Quote:
When you start using the NNTP gateway, you have to make sure the "Last Message Index" in NNTP Gateway Newsgroups is set to zero. Also, it won't import posts from NNTP that originated in vBulletin unless you use the full_import_from_usenet mod I posted earlier. David |
Ok, testing your updates, working ok so far. I guess U be right about some posts showing up with error message if begining thread not found. That sucks.
Im still having a minor problem with Moderation. When posts arent moderated they successfully export to NNTP, but when posts are moderated sometimes they dont feed to NNTP. Does NEbody know why that is???:cross-eyed: Grinler got one 4 ya! U B O ta |
Quote:
|
Quote:
When the gateway copies posts to NNTP, it keeps track of the last message copied. If you have a moderated post that is older than an unmoderated post, and the unmoderated post is copied over to NNTP, the gateway may never look at the older post. David |
Quote:
thanks lierduh for the quick response, this solved the problem. |
By george i C it now, tricky aint it
Keep up the good work:banana: |
"dkendall" can you tell me please wich of your BugFix will fixe the double posting (double message count) ? I have running this script in a subforum and it double all the post (and counts) to the main forum.
Thanks |
ok forget what i wrote below.... it works!!!. The newsserver nedded a few mins to show the new posts.
But i have a question: How to modify the attached message that will be send to the newsgroup It currently send this: ---------- uername Profile: http://forums.yourdomain.com.au/member.php?userid=34 View this thread: http://forums.yourdomain.com.au/showthread.php?t=3247 ---------- just curiouse... how does the script post to newsgroups? it seems to post on forum but Not to the newsgroup. The news server i use allow to post (i are able to send mails via outlook express to the newsgroup) Thanks |
I installed this hack and I am currently getting this error (using GigaNews)
Code:
Gateway version 2.3.2 1 group(s) gatewayed. |
Someone please, I need some help. I have had some smart people look at my install and no one knows what is going on.
I am hosted at Asmallorange.com in shared hosting. I have had a ticket escalated all the way to the admin: Quote:
I am trying to connect to GigaNews. I have tried editing nttp.php several times to change the port to 23, 80, and 119, all of which GigaNews accepts. All of them returned the same error: Quote:
|
are you able to connect to the news server though another newsreader (eg. outlook express)?
|
Quote:
Yes. and actually the thing 'magically' started working. Importing topics STILL :D Fantastic hack. |
We found that some articles posted in vBulletin were not showing up in the NNTP newsgroups, and the following error was logged:
Posting Message 'Re: blah blah blah' from testuser. Result: 441 (615) Article Rejected -- Duplicate Message-ID <testuser.25r4mk@ultrasoft.com> (GLE=0) This error is caused by the following code in sendnews in functions_nntp.php: Code:
$msgid = $u . '.' . base_convert ($msgid_date, 10, 36) . '@'.$nntp_settings['email']; Consequently, if the same user posts twice (or more) all their messages get the same Message-ID. The fix is simple. Use the global variable instead, as follows: Code:
$msgid = $u . '.' . base_convert ($nntp['msgid_date'], 10, 36) . '@'.$nntp_settings['email']; While we don't use moderation, a similar bug would seem to be the cause of the problem Deepdog009 reported with moderated posts getting left behind when non-moderated posts are replicated (causing the last_postid to get incremented). Again in function sendnews in functions_nntp.php, the $good_to_set_postid variable is local in scope. When a moderated post is replicated, the local variable is set to zero (false), rather than the $nntp['good_to_set_postid'] global variable. Having done these fixes, I found an additional problem whereby replies to the posts that had failed to replicate were themselves being rejected (because their parent posts were missing in NNTP). I worked around this by setting the last_postid value in the NNTP Gateway Settings page to zero, then re-running the gateway. It won't duplicate posts because those already sent to NNTP are flagged in the database. Regards, David |
I the forums are updating at around 1 post per second. Is the the normal rate that everyone else is getting?
It seems like downloading a few hundred MB of text should take minutes... not a week. Is it because it has to put into the db and posted? |
Hey Guys, having some frustrating times with this, the latest posts are being pulled down and sync'd with my forum fine, however when I post I'm getting a 441 posting failed error:
The Full text from gateway.php?debug=1 is: Quote:
Thanks in advance Claire. |
All times are GMT. The time now is 01:05 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|