![]() |
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 |
All times are GMT. The time now is 08:09 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:
|