vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   NNTP Gateway for Usenet ( Newsgroups ), Mailing Lists (https://vborg.vbsupport.ru/showthread.php?t=65152)

lierduh 08-03-2004 12:56 AM

Quote:

Originally Posted by Marv
lierduh,
after upgrading the files I was wondering wyh nothing happend. So I manually run the gateway.php and received this:



I?m not very familiar with the sql database. vBulletin has a prefix "vb3" in the database - is that part of the problem ? At least I don?t really understand what this error-msg is trying to tell me... :ermm:

It means the gateway.php can not connect to the server for that query.
Please try again, and let me know if it persists.

Rob Eh 08-03-2004 01:14 AM

lierduh, that cured the problem with blank posts.

Thanks! :up:

john_rsd 08-03-2004 11:43 AM

Dear lierduh

Quote:

Originally Posted by lierduh
The software retrieves messages from a pop3 account and import them into the forums threaded.

>snip<

Jul 31 2004 (release version 2.2.0)[list][*] Provided ability to thread messages by subject for mailing lists

I have 2.2.0 but thread by subject does not seem to work. Very strange

xb_ 08-03-2004 11:44 AM

Quote:

Originally Posted by lierduh
You have a very wierd problem there. sessions.php is not involved with the gateway.php, how can you have error message associated with it?

heh. i'm not sure, my only guess would be that vbulletin has reorganized the including of files in 3.0.3. However because of your reply i decided to give it another go with the newer version. Which didn't give me a session error, but it did give me a prefix error
Quote:

Invalid SQL: UPDATE forums_ thread
SET firstpostid = 3214
WHERE threadid = 1858
mysql error: Table 'www.forums_' doesn't exist

mysql error number: 1146

Date: Tuesday 03rd of August 2004 12:08:12 PM
Script: <masked>/gateway.php
Referer:
Username: Unregistered
That seems to be a problem around line nr 1050; one space too much. After i've removed that space it started importing.

Still i was left with two messages:
Quote:

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in <somepath>/htdocs/global.php on line 334

Warning: Invalid argument supplied for foreach() in <somepath>/htdocs/includes/functions.php on line 2223
Both seem to be related with a certain template array.
It appears to work alright tho, besides those messages. yet i'm crossing my fingers for attachements.

john_rsd 08-03-2004 11:59 AM

http://proteluser.com/bbs3/showthread.php?t=2074

I sent 2 messages to check thread by subject which failed.

I then sent a reply to see of the RE part was needed in the subject.

The last message i sent was corrupted and instead of looking like this as it was in the first post

Quote:

At a gathering of science reporters several years ago, Dr. George
Lundberg, former editor of the Journal of the American Medical
Association, said that the Internet "is the most important advance in
medical communications since the printing press." If Dr. Lundberg is
correct, perhaps one of the Web's most useful tools for advancing
medical communications is e-mail.
It now looked like this

Quote:

> At a gathering of science reporters several years ago, Dr.=20
> George Lundberg, former editor of the Journal of the American=20
> Medical Association, said that the Internet "is the most=20
> important advance in medical communications since the=20
> printing press." If Dr. Lundberg is correct, perhaps one of=20
> the Web's most useful tools for advancing medical=20
> communications is e-mail.
>=20
We looked at this before but now i can replicate it as it was me who sent the message and replied to it. All messages were sent from outlook2003 in plain text format.

trackpads 08-03-2004 01:06 PM

Quote:

Originally Posted by lierduh
Please remember the Killfile looks throught the entire header when the 'H:' is used. So you can easily include a unique news post string. eg.
{[B:your search string] AND [H:news.group.name]}

I could but the problem is that I have about 60 usenet forums where I want the killfile but never need it in the Mlists. I would have to add a kill word for each of the 60 usenet forums to get the same affect.

Thanks again!

-Jason

fonzerelli_79 08-03-2004 04:35 PM

the old gateway.php file looks to have fixed it - now all i have to deal with is the fact ive got thousands of threads with no content!!!

Rob Eh 08-03-2004 04:40 PM

Prune those threads, reset your last article # and let it start again.

fonzerelli_79 08-03-2004 04:40 PM

does anyone know if there is a way to mass prune threads in a specific forum where the posts are blank - doesnt seem to be this option in the mass prune forum tools admin page

thanks :)

lierduh 08-03-2004 09:28 PM

Quote:

Originally Posted by trackpads
I could but the problem is that I have about 60 usenet forums where I want the killfile but never need it in the Mlists. I would have to add a kill word for each of the 60 usenet forums to get the same affect.

Thanks again!

-Jason

You can surely find the common words amongst the news groups where the mailing lists do not possesss. eg. the news server? look for things in the Path: and Xref...

lierduh 08-03-2004 09:45 PM

Quote:

Originally Posted by john_rsd
Dear lierduh



I have 2.2.0 but thread by subject does not seem to work. Very strange

Have you set the option in AdminCP to 1? A message must have "Re: " in the beginning of the subject before it can be threaded.

lierduh 08-03-2004 09:51 PM

Quote:

Originally Posted by xb_
heh. i'm not sure, my only guess would be that vbulletin has reorganized the including of files in 3.0.3. However because of your reply i decided to give it another go with the newer version. Which didn't give me a session error, but it did give me a prefix error
That seems to be a problem around line nr 1050; one space too much. After i've removed that space it started importing.

Still i was left with two messages:
Both seem to be related with a certain template array.
It appears to work alright tho, besides those messages. yet i'm crossing my fingers for attachements.

Thanks for that, there was an extra space in that line.

Usually Warnings do not affect php scripts. Strange I am not getting any warnings, even in the error log. Have you had other hacks done involves templates?

lierduh 08-03-2004 10:38 PM

Quote:

Originally Posted by john_rsd
http://proteluser.com/bbs3/showthread.php?t=2074

It now looked like this
We looked at this before but now i can replicate it as it was me who sent the message and replied to it. All messages were sent from outlook2003 in plain text format.

I have found the reason for this:


A third thing that can cause "messy" email is the fact that some older mail programs do not gracefully handle the advanced character sets that let us use "special characters" such as bullet marks, foreign letters, and other non-standard characters.
Eudora and many other email programs use something called "quoted-printable" encoding to send these special characters, which requires that the receiving email program support an email standard called MIME. If the email program of your recipient is not "MIME-compliant," then they might see text that looks like this:

See ++++=20 >See ++++ run. Run, ++++, run.=20 See Jane dance.=20 >Dance,.=20 Jane, dance.=20

The solution is to turn off "quoted-printable" encoding for messages that are going to people with older mail programs.

In Eudora, there is a button in the compose mail window marked "QP." Usually it's toggled on. Press it to turn it off. It will stay off until you turn it on again.

Outlook and Outlook Express do not use quoted-printable encoding by default. You can make sure it's not on in Outlook at Tools>Options>Mail Format>Settings. The "Encode text as" item lets you choose none, quoted-printable or base64 encoding. In Outlook Express, the same choices can be found at Tools>Options>Send>Plain Text Settings (under Mail Sending Format).



extracted from:
http://www.techsoup.org/print/printp...0&type=article

Will come up with a solution for this for this project. I need you to send more reply emails to the test account with this feature.

trackpads 08-04-2004 04:53 AM

For some reason I opened it today and I am getting this -

Code:

<br />
<b>Warning</b>:  array_merge() [<a href='function.array-merge'>function.array-me
rge</a>]: Argument #1 is not an array in <b>/home/trackpad/public_html/forum/glo
bal.php</b> on line <b>335</b><br />
<br />
<b>Warning</b>:  in_array() [<a href='function.in-array'>function.in-array</a>]:
 Wrong datatype for second argument in <b>/home/trackpad/public_html/forum/inclu
des/functions.php</b> on line <b>2172</b><br />
<br />
<b>Warning</b>:  Invalid argument supplied for foreach() in <b>/home/trackpad/pu
blic_html/forum/includes/functions.php</b> on line <b>2177</b><br />


xb_ 08-04-2004 09:58 AM

Quote:

Originally Posted by lierduh
Usually Warnings do not affect php scripts. Strange I am not getting any warnings, even in the error log. Have you had other hacks done involves templates?

I have one hack involving templates, which is auto add template to all styles or something similair. However these kind of warnings might not be so hack (specific) related. I'm having two or three more hacks pending with similair warnings. These warnings started to occur after upgrading to php5 and upgrading to vB 3.0.3. I'm not sure (yet) which upgrade exactly implemented this.

Quote:

Originally Posted by trackpads
For some reason I opened it today and I am getting this

This is exactly what i'm describing. Keep reading ;)

Gonna read some of vB.com about this, if they mention it.

[edit] they did: http://www.vbulletin.com/forum/bugs....iew&bugid=1588 It is a result of php5. I'm using the bugreport as an example to resolve the warnings throughout vB about array_merge. And it seems to fix things.[/edit]

john_rsd 08-04-2004 06:42 PM

Quote:

Originally Posted by lierduh
Have you set the option in AdminCP to 1? A message must have "Re: " in the beginning of the subject before it can be threaded.

lierduh

I now installed 2.2.1 also

Where is the option in the AdminCP?

I found the attachment option and set to 0 as i do not want attachments, the delay between messages option (set to 1 to see what happens) but nothing for threading?

john_rsd 08-04-2004 06:48 PM

Quote:

Originally Posted by lierduh
I have found the reason for this:


A third thing that can cause "messy" email is the fact that some older mail programs do not gracefully handle the advanced character sets that let us use "special characters" such as bullet marks, foreign letters, and other non-standard characters.
Eudora and many other email programs use something called "quoted-printable" encoding to send these special characters, which requires that the receiving email program support an email standard called MIME. If the email program of your recipient is not "MIME-compliant," then they might see text that looks like this:

See ++++=20 >See ++++ run. Run, ++++, run.=20 See Jane dance.=20 >Dance,.=20 Jane, dance.=20

The solution is to turn off "quoted-printable" encoding for messages that are going to people with older mail programs.

In Eudora, there is a button in the compose mail window marked "QP." Usually it's toggled on. Press it to turn it off. It will stay off until you turn it on again.

Outlook and Outlook Express do not use quoted-printable encoding by default. You can make sure it's not on in Outlook at Tools>Options>Mail Format>Settings. The "Encode text as" item lets you choose none, quoted-printable or base64 encoding. In Outlook Express, the same choices can be found at Tools>Options>Send>Plain Text Settings (under Mail Sending Format).



extracted from:
http://www.techsoup.org/print/printp...0&type=article

.

Ah, good, at least once a problem is defined a solution can be looked for.

I did not find the options mentioned in the article in Outlook 2003 version or Outlook express 6

Quote:

Originally Posted by lierduh

Will come up with a solution for this for this project. I need you to send more reply emails to the test account with this feature.

lierduh

You want me to send more junk email :D ??

Seems strange requests these days when people usually do not want any more emails!

I am joking, no probs, i can send some reply

BTW I did not turn on any 'feature' just turned off all "HTML" and "rich text" options in Outlook 2003.

Excellent work..

john_rsd 08-04-2004 06:54 PM

Quote:

Originally Posted by john_rsd
lierduh

I now installed 2.2.1 also

Where is the option in the AdminCP?

I found the attachment option and set to 0 as i do not want attachments, the delay between messages option (set to 1 to see what happens) but nothing for threading?


Sorry

Found it

It was not in the nntp settings within the vb admincp. I ran the file externally and it was OK.

Now all is well, must have been a cache issue or something.

john_rsd 08-04-2004 09:12 PM

lierduh

Still something up with thread by subject

http://www.proteluser.com/bbs3/forumdisplay.php?f=2

See subject

Quote:

Re: [LF] AW: [LF] Tin Whiskers,Tin Finish and Accelerated Stress Testing
This was not threaded with the other posts even with 'Re' in front. Its common for mail lists to have a prefix like [name] so could 2 instances like this cause a problem?

AW is a common prefix also for reply.

This was post i expected to see it threaded with and it had already done this with one previous post.

Quote:

[LF] AW: [LF] Tin Whiskers, Tin Finish and Accelerated Stress Testing
Same with the thread
Quote:

[LF] LF with RF
which had 2 replies and was missed

This mostly worked 8 out of 10 times before with original gateway.php and Kevins mod.

http://proteluser.com/bbs3/forumdisp...0&daysprune=-1

What you think?

cyc 08-05-2004 12:00 PM

Hi

Has anyone noticed some posts created within in the forum are not threading properly when view with a newsreader or via google groups etc.. I have always disabled the post reply button in usenet sections, so users are forced to quote properly.

An example of what i'm talking about is

View in threaded moded within forum;

Code:

Post 1
        | Post 2
                    | Post 3
                              | Post 4


Viewed using newsreader;

Code:

Post 1
        | Post 2
        | Post 3 (reply quoting 2)
        | Post 4 (reply quoting 3)

I'n this case all posts to the thread originated from our forum and where posted within 25 minutes of each other.

lierduh 08-06-2004 12:23 AM

Quote:

Originally Posted by cyc
Hi

I'n this case all posts to the thread originated from our forum and where posted within 25 minutes of each other.

If the user clicks the Big Reply button, the posts will be threaded to the top message. If the Quote button is pushed, the post will be threaded under the one which one is replying.

I have some advanced gateway tweaking guide which automatically hides the big Reply button for USENET forums. I will post it somewhere later. The method needs to change vB php code, hence the advanced title.

cyc 08-06-2004 10:42 AM

Quote:

I have some advanced gateway tweaking guide which automatically hides the big Reply button for USENET forums. I will post it somewhere later. The method needs to change vB php code, hence the advanced title.
Sounds good, I got around this by creating another style for usenet forums and commenting out the big replyto button. I just find some post don't thread properly :devious: dunno whats causing it.

fonzerelli_79 08-06-2004 12:36 PM

is anyone pruning their usenetgroup forum

my group has pulled about 160,000 posts so far and it keeps increasing - im fairly pleased with this in one respect in that the search engines will have plenty of pages to keep them busy which should hopefully increase traffic

however, the more and more posts there are the larger my database will be which means that backing up will be a pain just now but if i leave it as it is for a few months id have to back up a forum of millions of posts - not good

whats everyone else doing about this?

john_rsd 08-06-2004 07:52 PM

Slightly different request

Does the thread by subject query exist somehwre as a seperate item that can be run on existing forums?

What I mean is, does a query exist to run on the currently non-threaded posts in the forum to thread them?

Would be nice to tidy up the posts currently existing while threading by subject was not available. Manually doing it would be a terrible task ....

John

Sanjiyan 08-06-2004 08:31 PM

I am using 2.2.1 but I have a question, is there away for it to when it posts to the forums, to use the date it was posted to usenet and not the time it was posted to the forums?

I prefer to have the posts (time/date stamp) to be relative to the time/date it was posted originally to usenet, and not the time/date the script posted it to the website (forums)

Princeton 08-06-2004 11:27 PM

fantastic job on the upgrade!!!:up:

NietzscheKid 08-07-2004 01:01 AM

Hello.

I am very frustrated. I'd so love to install this mod but it does not work for me.

I have done what you recommended in post #3 about adding a new value to the registry key. But that did not change anything either. I still get this error:

Gateway version 2.2.1 1 group(s) gatewayed.
Could not connect to NNTP-serverNot connectedNot connected

I also do not have access to ssh or telnet so I cannot test it there either.

So, I am hoping that perhaps you have any info or tipps for this or is my case hopeless?

I do not run vb in debug mode. Is that the problem?

Thanks for any advice/help. :)

lierduh 08-07-2004 01:42 AM

Quote:

Originally Posted by NietzscheKid
Hello.

Gateway version 2.2.1 1 group(s) gatewayed.
Could not connect to NNTP-serverNot connectedNot connected

I also do not have access to ssh or telnet so I cannot test it there either.

Thanks for any advice/help. :)

There is nothing one could help you.:)

It basically means the script can not connect to the server. Either you entered the server wrong, or your web server does not allow you to connect on port 119. Perhaps email your host will get more information.

lierduh 08-07-2004 01:44 AM

Quote:

Originally Posted by Sanjiyan
I am using 2.2.1 but I have a question, is there away for it to when it posts to the forums, to use the date it was posted to usenet and not the time it was posted to the forums?

I prefer to have the posts (time/date stamp) to be relative to the time/date it was posted originally to usenet, and not the time/date the script posted it to the website (forums)

Too many options starting to become a problem.:)

If you go through the settings control panel, you will find the setting for this.

lierduh 08-07-2004 01:49 AM

Quote:

Originally Posted by john_rsd
lierduh

This was not threaded with the other posts even with 'Re' in front. Its common for mail lists to have a prefix like [name] so could 2 instances like this cause a problem?

AW is a common prefix also for reply.

What you think?

I just checked your forums, the messages seem to be threaded together probably. Are you sure those two messages were not imported before you turned on the option?

If you see AW (what language?) as a common reply prefix, you you simply add AW: to the existing re: fw: line in gateway.php. That will be easy to hack.

NietzscheKid 08-07-2004 02:16 AM

Hello.

It is working with the example you posted in your readme file.

However, I have tried, unsuccessfully, to install this newsgroup.

Group: alt.music.pearl-jam

server: group.google.com

This does not work for some reason.

Is there something wrong with these two entries? :ermm:

Again, sorry for these questions.

lierduh 08-07-2004 02:38 AM

Quote:

Originally Posted by cyc
Sounds good, I got around this by creating another style for usenet forums and commenting out the big replyto button. I just find some post don't thread properly :devious: dunno whats causing it.

I have uploaded the "Advanced_gateway_hacking_guide.txt".
The guide only contains the method to hide the big Reply button.

Go to the first page to download.

lierduh 08-07-2004 03:00 AM

Quote:

Originally Posted by NietzscheKid
Hello.

Group: alt.music.pearl-jam

server: group.google.com

Again, sorry for these questions.

group.google.com does not even resolve DNS.

You need to find out what is the news server your host lets you use, or pay for one. They are very cheap anyway, do a search in this thread for ones to use.

trackpads 08-07-2004 10:01 AM

AKkkkk, now I am getting this error-

Code:

<br />
<b>Warning</b>:  array_merge() [<a href='function.array-merge'>function.array-merge</a>]: Argument #1 is not an array in <b>/home/trackpad/public_html/forum/global.php</b> on line <b>335</b><br />
<br />
<b>Warning</b>:  in_array() [<a href='function.in-array'>function.in-array</a>]: Wrong datatype for second argument in <b>/home/trackpad/public_html/forum/includes/functions.php</b> on line <b>2172</b><br />
<br />
<b>Warning</b>:  Invalid argument supplied for foreach() in <b>/home/trackpad/public_html/forum/includes/functions.php</b> on line <b>2177</b><br />


NietzscheKid 08-07-2004 11:53 AM

Quote:

Originally Posted by lierduh
group.google.com does not even resolve DNS.

You need to find out what is the news server your host lets you use, or pay for one. They are very cheap anyway, do a search in this thread for ones to use.

I don't understand. Does this hack allow me to use alt.music.pearl-jam from google but i need to find another server or what do you mean? Does anyone know or use a google newsgroup? If there's any kind soul who can give me a tipp on which news server supports google newsgroups like e.g. alt.music.xx, please give this poor woman some hints. I'd be forever in your debt. :)

Thank you :)

PS: I'd also gladly pay for a news server. The only thing that I really need to know is whether I could then use google's alt.music.xxx newsgroup to display in my forums?
I've seen google's newsgroup mentioned in this thread once and in the old hack thread also. So I assume this must be working?

Princeton 08-07-2004 02:34 PM

It's been a while since I used this ... please verify.
If is_running is set to 1 it WILL CHECK if another instance is running?

john_rsd 08-07-2004 07:10 PM

Quote:

Originally Posted by lierduh
I just checked your forums, the messages seem to be threaded together probably. Are you sure those two messages were not imported before you turned on the option?

If you see AW (what language?) as a common reply prefix, you you simply add AW: to the existing re: fw: line in gateway.php. That will be easy to hack.

lierduh

No, they were delivered to the mailbox but were not collected until after I upgraded.

But I did have the cache issue at that time as I could not see the option in the admincp to turn threading on. So most likely it was actually turned off. Seems to work now as you seen.

Regarding the parsing for the "Re:" I saw once instance of non threading

http://proteluser.com/bbs3/forumdisplay.php?f=8

Subject
Quote:

[Elecraft] KX1 Random Wire Antenna recommendations
Post http://proteluser.com/bbs3/showthread.php?t=2262 has had the "Re:" placed after the mailing list name between the []'s, I cannot even guess how that happened but i suspect it was down to the authors email client.

I guess the Re: has to be the first characters in the string to work?

xb_ 08-08-2004 12:39 AM

lierduh,

Could you implement something in the next version that will log the actual ip into the post as poster ip instead of the email addy (in a mailing list setup) ?

I'm also having alot of work merging replies to excisting threads, for some reason alot of the emails aren't glued together in the correct thread. I would apreciate it if it can be improved.

regards

lierduh 08-08-2004 05:38 AM

Quote:

Originally Posted by NietzscheKid
I don't understand. Does this hack allow me to use alt.music.pearl-jam from google but i need to find another server or what do you mean? Does anyone know or use a google newsgroup? If there's any kind soul who can give me a tipp on which news server supports google newsgroups like e.g. alt.music.xx, please give this poor woman some hints. I'd be forever in your debt. :)

Thank you :)

PS: I'd also gladly pay for a news server. The only thing that I really need to know is whether I could then use google's alt.music.xxx newsgroup to display in my forums?
I've seen google's newsgroup mentioned in this thread once and in the old hack thread also. So I assume this must be working?

Google does not own USENET. Google only archive them, that it, no more, no less.

What is USENET?
http://www.faqs.org/faqs/usenet/what-is/part1/

or a short version

http://whatis.techtarget.com/definit...213262,00.html

lierduh 08-08-2004 05:39 AM

Quote:

Originally Posted by trackpads
AKkkkk, now I am getting this error-

Perhaps reading a couple of pages back can help.


All times are GMT. The time now is 06:08 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02069 seconds
  • Memory Usage 1,904KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (33)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete