vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   NNTP Gateway (Usenet/Newsgroups) (https://vborg.vbsupport.ru/showthread.php?t=35247)

rawnet 03-24-2002 11:53 AM

Spot the NT user here.

Newsgroup names are case-sensitive. Have changed my newsgroups to lower case and it seems to be working now!!

:D

renaud_ 03-24-2002 01:29 PM

Hi,

thanks for all,

i can't gateway an POP3 account ...
Quote:

POP3: premature NOOP OK, NOT an RFC 1939 Compliant server
I can't understand what's the mistake ...

Any idea ?

rawnet 03-24-2002 02:11 PM

Hi,

My gateway.php script is doing the job, but it is timing out.

How do I increase the timeout for this script specifically?

Ross

Erwin 03-24-2002 06:26 PM

Quote:

Originally posted by rawnet
But according to my forums, there doesn't seem to be any messages downloaded.

Can anyone give me an idea as to what could be going wrong?



Try a different newserver. Some newservers just don't work with this hack. This hack definitely works. Your newserver settings must be right if you are getting that output page. But the newserver may not allow downloading of messages from an external program like that.

Gilby 03-25-2002 02:39 AM

Quote:

Originally posted by Erwin
Try a different newserver. Some newservers just don't work with this hack. This hack definitely works. Your newserver settings must be right if you are getting that output page. But the newserver may not allow downloading of messages from an external program like that.
It should now work with every server, and if it doesn't let me know.

antigravityboy 03-26-2002 06:22 PM

Yeah
First I wanted to say thanks to GameCrash for the cool interface addon. I finally got the script running on my bulletin board. I just have 1 problem to work out. When it gets picture files, .jpg's it does not display them as links to a picture it shows up as something like this.
begin 644 Catherine_Bell_02.jpg
M_]C_VP!#``$!`0$!`0$!`0$!`0$!`0$!`0$!`0$!`0$!`0$!`
0$!`0$!`0$!
M`0$!`0$!`0$!`0$!`0$!`0$!`0$!`0$!`0'_VP!#`0$!`0$!`
0$!`0$!`0$!
M`0$!`0$!`0$!`0$!`0$!`0$!`0$!`0$!`0$!`0$!`0$!`0$!`
0$!`0$!`0$!
M`0$!`0'_P``1"`#(`FP#`2(``A$!`Q$!_\0`'P```@(#`0$!` 0$`````````
M``D("@8'"P4$`P(!_\0`1!```00"`0,#`P,"`@<%!@<`!`(#! 08!!P@`$1()
etc, etc,

Anybody have any idea on how I can fix this.
Thanks a lot!

mood 03-26-2002 06:55 PM

Gilby,

Since upgrading to VB 2.2.4 my gated groups show me all messages as though they would be from a user in my Ignore list though none are as they are pseudo gateway "guests"

I'm using your last release with the mail list addition.

Any ideas?

PS: Could you get any results with the three way gateway? (list/nntp/forum)

Thanks for your help

Gilby 03-26-2002 09:30 PM

Quote:

Originally posted by mood
Gilby,

Since upgrading to VB 2.2.4 my gated groups show me all messages as though they would be from a user in my Ignore list though none are as they are pseudo gateway "guests"

I'm using your last release with the mail list addition.

Any ideas?

Can you point me at an example of this? I'm still running 2.2.2 here.

Quote:

Originally posted by mood

PS: Could you get any results with the three way gateway? (list/nntp/forum)

Nope, not yet.

Okiewan 03-26-2002 09:43 PM

Awesome hack, can't wait to get it working :)
Had problems with my isp's news, went on someone's suggestion here and signed-up with mammothnews.net.

Checked the account with outlook... no problems. Still getting the same issues as before (with other news servers)

Help please?

here is what is displayed using showqueries:

Quote:

Query: SELECT template FROM template WHERE title='options'
Time before: 0.03379499912262
Time after: 0.034965038299561

--------------------------------------------------------------------------------

Query: SELECT sessionhash,userid,host,useragent,styleid FROM session WHERE sessionhash='9322c3bbd3bd5a1472c3fe8344acbbc5' AND host='66.187.5.96' AND useragent='Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1;'
Time before: 0.041798949241638
Time after: 0.042446970939636

--------------------------------------------------------------------------------

Query: SELECT user.*,userfield.* FROM user LEFT JOIN userfield ON userfield.userid=user.userid WHERE user.userid='16119'
Time before: 0.042775988578796
Time after: 0.043499946594238

--------------------------------------------------------------------------------

Query: SELECT templatesetid,replacementsetid,userselect FROM style WHERE styleid='1'
Time before: 0.044497013092041
Time after: 0.044846057891846

--------------------------------------------------------------------------------

Query: SELECT template,title
FROM template
WHERE (title IN ('gobutton','timezone','username_loggedout','usern ame_loggedin','phpinclude','headinclude','header', 'footer','forumjumpbit','forumjump','nav_linkoff', 'nav_linkon','navbar','nav_joiner','pagenav','page nav_curpage','pagenav_firstlink','pagenav_lastlink ','pagenav_nextlink','pagenav_pagelink','pagenav_p revlink')
AND (templatesetid=-1 OR templatesetid='12'))


ORDER BY templatesetid
Time before: 0.045173048973083
Time after: 0.053406953811646

--------------------------------------------------------------------------------

Query: SELECT COUNT(*) AS count FROM session WHERE userid=0 AND lastactivity>1017184919
Time before: 0.055305004119873
Time after: 0.065440058708191

--------------------------------------------------------------------------------

Query: SELECT COUNT(DISTINCT(userid)) AS count FROM session WHERE session.userid>0 AND session.lastactivity>1017184919
Time before: 0.065888047218323
Time after: 0.068994998931885

--------------------------------------------------------------------------------

Query: SELECT * FROM usergroup WHERE usergroupid=6
Time before: 0.088593006134033
Time after: 0.089588046073914

--------------------------------------------------------------------------------

Query: SELECT varname,value FROM nntp_settings
Time before: 0.27212595939636
Time after: 0.29269301891327

--------------------------------------------------------------------------------

Query: SELECT * FROM nntp_groups WHERE enabled=1
Time before: 0.29306304454803
Time after: 0.29737997055054

--------------------------------------------------------------------------------


Warning: Cannot add header information - headers already sent by (output started at /home2/okiewan/public_html/forums3/global.php:120) in /home2/okiewan/public_html/forums3/gateway.php on line 483
1 group(s) gatewayed.
200 enews1.newsguy.com NNRP server INN 1.90.12 1-Feb-02 ready (posting ok).
381 PASS required
281 Ok
211 10644 348343 359040 rec.motorcycles.dirt
ArrayLogging in to news.mammothnews.net, group rec.motorcycles.dirt
Query: SELECT post.postid,post.username,post.userid,post.datelin e,post.attachmentid,post.pagetext,post.showsignatu re,post.ipaddress,thread.pollid,thread.title,post. threadid,thread.forumid FROM thread,post WHERE post.isusenetpost=0 AND thread.threadid=post.threadid AND post.dateline=thread.dateline AND post.userid=thread.postuserid AND (thread.forumid=80)
Time before: 1.1375050544739
Time after: 1.1587400436401

--------------------------------------------------------------------------------

Query: SELECT post.postid,post.username,post.userid,post.datelin e,post.attachmentid,post.pagetext,post.showsignatu re,post.ipaddress,thread.title,post.threadid,threa d.forumid,thread.msgid,thread.prefix FROM thread,post WHERE post.isusenetpost=0 AND thread.threadid=post.threadid AND (thread.forumid=80)
Time before: 1.1590980291367
Time after: 1.1634229421616

--------------------------------------------------------------------------------


Thanks in advance and thanks for the great hack.
In addition, It did work with the test server listed earlier in this thread.

Robert Basil 03-26-2002 10:03 PM

Just to let Gilby know, we are running the 1.9 version of his script and VB 2.2.1 with www.newsranger.com as our news host using a crontab every 15 minutes with about 9,000 usenet messages (100+ added daily), and everything is running great!

I plan on adding a few mailing lists (with the new SMTP support) sometime this weekend and will let you know how it works.

Thanks for the great hack bro!

P.S. We are on our own dedicated server and have not noticed any spikes is processor usage at all. :)

http://www.sportbikeworld.com/status

Okiewan 03-26-2002 10:21 PM

Disregard! Posts are coming down. Got to thinking about the error about "headers already... " Changed the "last post" number, it started working. :)

Okiewan 03-27-2002 04:37 AM

New problem.. trying to get a cron job set up and she no work:

Code:

25,55 * * * * lynx-source http://dirtrider.net/forums3/gateway.php?log=cron >/dev/null
sure does look right to me, any ideas?

Gilby 03-27-2002 04:43 AM

Quote:

Originally posted by Okiewan
New problem.. trying to get a cron job set up and she no work:

Code:

25,55 * * * * lynx-source http://dirtrider.net/forums3/gateway.php?log=cron >/dev/null
sure does look right to me, any ideas?

you need a space between the lynx and -source

GameCrash 03-27-2002 06:15 AM

One problem I have is that the messages are not added to the correct threads when they have different titles... fastforwards hack does this without problems (I think he uses any messageid or something like this...)

Gilby 03-27-2002 06:21 AM

Quote:

Originally posted by GameCrash
One problem I have is that the messages are not added to the correct threads when they have different titles... fastforwards hack does this without problems (I think he uses any messageid or something like this...)
I designed it to do it that way simply because when the subject is changed, most likely it was done because it warrented it's own thread, or maybe it even was supposed to be a new thread.

Go back in this thread and you'll find a change that can be made to change how this works.

GameCrash 03-27-2002 06:45 AM

Really? I didn't see something like this, sorry. I'll search for it :)

Okiewan 03-27-2002 02:41 PM

thanks, will give it a try :)
I'm thinking it's not executing a *.php file?

trainer 03-27-2002 04:28 PM

is there a free newsgroup place that i can setup an accout to use this addon? or do i have to pay a site to get access to newsgroups to work with this addon

rawnet 03-27-2002 04:52 PM

Trainer - there are a few mentioned in this thread - likely that you'll have to pay for it, but only $10/month or something - worry more about your ISP charges as your database size and bandwidth go through the roof!! ;)

rawnet 03-27-2002 05:00 PM

Hello,

How do we stop Usenet postings from appearing when someone clicks on the "New Threads Since Last Visit" link in the forums?

I have installed the hack okay, but received a lot of complaints as my users became lost in the mix between my forum postings and newsgroup postings.

Any ideas how to disable this? Is a hack available? I'd also like to stop them appearing in my Latest Discussion block of vbPortal (but I suspect that's a rather different matter!!!).

Any ideas guys?

Ross

Okiewan 03-27-2002 07:02 PM

Quote:

I have installed the hack okay, but received a lot of complaints as my users became lost in the mix between my forum postings and newsgroup postings.
Ditto!

antigravityboy 03-27-2002 07:17 PM

Anybody have an idea on what I have to do so that binary attachments are displayed as pictures and not cryptic code.
Still trying to figure it out.
Thanks

Gilby 03-27-2002 07:19 PM

Quote:

Originally posted by antigravityboy
Anybody have an idea on what I have to do so that binary attachments are displayed as pictures and not cryptic code.
Still trying to figure it out.
Thanks

The problem is with uuencoded attachemnts that are not attached using mime. That should give you some stuff to look for, but I'll address this issue in a future release when I have a chance.

antigravityboy 03-27-2002 07:24 PM

Thanks I will check with my hosting company

Okiewan 03-28-2002 03:17 PM

Anyway to truncate author names ? Either from the newsgroups or ALL authors?

Brian Cruz 03-29-2002 06:49 PM

I've noticed that whenever one of my users includes a link in their newsgroup post, it's gets converted to a tinyurl.com link when viewed on the actual group. Can this function be turned off? It's hard for us to promote our site when the link isn't even ours!

rawnet 03-29-2002 06:56 PM

Hi,

I'm having problems with my gateway.php script not importing all the posts from the Newsgroup.

Really I only need those in the past 3 months or so, not the entire newsgroup which contains hundreds of thousands it seems(the alt.military newsgroup for example).

I'm getting the message that my script has exceeded it's maximum execution time - so, how do I import all the required newsgroup postings, or limit them to the past x posts in a particular newsgroup?

Thanks for the continued support on this dude,

Cheers for now,

Ross

Gilby 03-29-2002 07:15 PM

Quote:

Originally posted by Brian Cruz
I've noticed that whenever one of my users includes a link in their newsgroup post, it's gets converted to a tinyurl.com link when viewed on the actual group. Can this function be turned off? It's hard for us to promote our site when the link isn't even ours!
TinyURl turns your long links into shorter ones that fit nicely into emails and do not wrap. You can adjust the length at when it turns them into a TinyURL by going in the settings and entering in a higher number.

Gilby 03-29-2002 07:21 PM

Quote:

Originally posted by rawnet
I'm getting the message that my script has exceeded it's maximum execution time - so, how do I import all the required newsgroup postings, or limit them to the past x posts in a particular newsgroup?
You shouldn't get that error, unless the php installation you are using is running in safe mode, which is likely the case for you. Anyways, you'll need to log into your newsgrop server with another news program and find the id of the message you want to start from and enter that number in the database under the lastmsg column. The number can be found in the header of the message at the end of the Xref line.

Brian Cruz 03-30-2002 12:53 AM

Quote:

Originally posted by Gilby


TinyURl turns your long links into shorter ones that fit nicely into emails and do not wrap. You can adjust the length at when it turns them into a TinyURL by going in the settings and entering in a higher number.

Thanks Gilby, I should have realized that!

BTW, I noticed something odd while looking through the database with phpMyAdmin. Every thread I look at has a msgid value of <Matthew.Hunter.2anka@toonzone.net>, even non-newsgroup threads. Matthew Hunter is the name of one if my users. Any idea why this is?

Gilby 03-30-2002 01:01 AM

Quote:

Originally posted by Brian Cruz
Every thread I look at has a msgid value of <Matthew.Hunter.2anka@toonzone.net>, even non-newsgroup threads. Matthew Hunter is the name of one if my users. Any idea why this is?
Well, I don't use the msgid column in the thread table for anything. Although, I do update it and it must be doing it incorrectly. Small artifact from moving from fastforward's hack. I'll have to change that in the next release, but it causes no problems except taking up a little space and a little processor time.

Brian Cruz 03-30-2002 01:22 AM

Quote:

Originally posted by Gilby


Well, I don't use the msgid column in the thread table for anything. Although, I do update it and it must be doing it incorrectly. Small artifact from moving from fastforward's hack. I'll have to change that in the next release, but it causes no problems except taking up a little space and a little processor time.

Okay. One other thing I noticed is when a user of mine named Babs&Buster4EvR makes a post, his name shows up in the newsgroup as Babs&amp; Buster4EvR, and the e-mail is BabsampBuster4EvR.2akbm@toonzone.net. It seems to be converting the ampersand to HTML. It's not a big deal, but I thought I'd mention it.

BTW, do you plan on adding a custom newsgroup e-mail option someday? That's probably the one thing I miss most from FastForward's hack.

Gilby 03-30-2002 01:28 AM

Quote:

Originally posted by Brian Cruz
BTW, do you plan on adding a custom newsgroup e-mail option someday? That's probably the one thing I miss most from FastForward's hack.
What did he have in his hack? My plan is to make an email to PM gateway where someone could reply to the post made on the newsgroup privately and it'd go in the forums as a PM. I was also going to make it where the email address only worked for a week, which is why I callled it as timelimit.whatever.com for the domain. However, that might take a while to roll out as i'm woring on other projects.

Brian Cruz 03-30-2002 03:04 AM

Quote:

Originally posted by Gilby


What did he have in his hack? My plan is to make an email to PM gateway where someone could reply to the post made on the newsgroup privately and it'd go in the forums as a PM. I was also going to make it where the email address only worked for a week, which is why I callled it as timelimit.whatever.com for the domain. However, that might take a while to roll out as i'm woring on other projects.

With FastForward's hack, a custom profile field had to be created that would contain a user-specified e-mail address that they wanted to appear in their usenet posts. Each post was sent to the newsgroup with that e-mail address.

The reason I liked that method was that a user could alter their e-mail address to prevent spambots from picking it up (i.e. myname@yahoo-spamblock.com). I worry that your idea may cause spam to end up in people's PM boxes.

Gilby 03-30-2002 03:10 AM

Quote:

Originally posted by Brian Cruz
The reason I liked that method was that a user could alter their e-mail address to prevent spambots from picking it up (i.e. myname@yahoo-spamblock.com). I worry that your idea may cause spam to end up in people's PM boxes.
That's the reason that it'd be a time limited address. And it'd bounce any emails that did not have the email address in the to or cc line.

jarvis 04-04-2002 01:24 AM

I'm a UNIX idiot and would like to install this hack. :) I do have access to a shell, but I do not know how to do the first part of this install "running the nntp.sql".

Could anyone give me a hand here? It could be via PM or email to jarvis@mhogaming.com as to keep the thread on-topic.

Thanks in advance!! :nervous:

GameCrash 04-04-2002 07:04 AM

Do you have phpMyAdmin? That would make this much easier...

jarvis 04-04-2002 12:59 PM

Gamecrash,

I do have PhpMyAdmin... now that being said, I'm still lost. :confused:

Is this a completely new dB that I set up? I'm usually not this helpless, but I find myself needing some exact syntax to get going.

Thanks a million! :D

Sanjiyan 04-04-2002 08:47 PM

Quote:

Originally posted by Gilby
E-mail gateway support
New in this version, you can now gateway with an email list. This will fetch emails from a POP email account and send via php's mail function to the mailing list's email address. To set up the list, in the newsgroup field, enter in the email address to send outgoing posts to. In the server field, enter in the pop3 server, and in the username and password fields enter in, you guessed it, the username and password to your pop account. Note: the email gateway capabilities has not been fully tested, so it might not work with your POP server. Also, it does not work in combo with a news<->forum gateway in the same forum (you can use either kind though in differnet forums within your forums). [/B]
So does that mena, I can get the forums to pick up email from a pop3 account, ie it can pickup email from a mailbox and automatically post it to a forum for me?

Gilby 04-04-2002 08:50 PM

Quote:

Originally posted by Sanjiyan


So does that mena, I can get the forums to pick up email from a pop3 account, ie it can pickup email from a mailbox and automatically post it to a forum for me?

That's exactly what it means. It can also send posts to an email address too.


All times are GMT. The time now is 05:05 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.02122 seconds
  • Memory Usage 1,861KB
  • 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
  • (2)bbcode_code_printable
  • (20)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