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)

James T Brock 11-24-2004 06:19 PM

Try running the gateway manually using the debug mode and see what message you get.

Also, if you host didn't change anything, maybe it's your new server?

SaN-DeeP 11-25-2004 03:30 AM

Quote:

Originally Posted by James T Brock
Try running the gateway manually using the debug mode and see what message you get.

Also, if you host didn't change anything, maybe it's your new server?

This is the result on running it manually..
gateway.php?debug=1
HTML Code:

Gateway version 2.3.2  10 group(s) gatewayed.
Could not connect to NNTP-server. (Connection timed out (110))
Not connected
Not connected
Could not connect to NNTP-server. (Connection timed out (110))
Not connected
Not connected
Could not connect to NNTP-server. (Connection timed out (110))
Not connected
Not connected
Could not connect to NNTP-server. (Connection timed out (110))
Not connected
Not connected
Could not connect to NNTP-server. (Connection timed out (110))
Not connected
Not connected
Could not connect to NNTP-server. (Connection timed out (110))
Not connected
Not connected
Could not connect to NNTP-server. (Connection timed out (110))
Not connected
Not connected
Could not connect to NNTP-server. (Connection timed out (110))
Not connected
Not connected
Could not connect to NNTP-server. (Connection timed out (110))
Not connected
Not connected
Could not connect to NNTP-server. (Connection timed out (110))
Not connected
Not connected


Nick0r 11-26-2004 07:55 PM

Hi guys
what providers can you use for this, giganews just told me I can't use it with their $7 account.

lierduh 11-27-2004 01:36 AM

Quote:

Originally Posted by James T Brock
How do I change the blue font color on the usenet quotes to a different color? Im using a black background, and it's kind of dark. What file do I have to edit in-order to change it?

Search for "blue" in the script and replace with something else.

lierduh 11-27-2004 01:37 AM

[QUOTE=mcncyo]last couple of days i am gettting this error

Quote:

Invalid SQL: UPDATE forum
SET replycount = replycount + 1,
threadcount = threadcount + 1,
lastpost = '1101084923',
lastposter = 'Alexandr B.',
lastthread = 'tet',
lastthreadid = 10889
WHERE forumid IN ()

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 ')' at line 8

mysql error number: 1064

Date: Sunday 21st of November 2004 06:56:01 PM
Script: http://forum.*.com/gateway.php
Referer:
Username: Unregistered
IP Address: **.**.***.**
Something is corrupted. Either your script or one of the vB3 function files, or your database.

jcrash 11-27-2004 01:49 PM

Quote:

Originally Posted by jcrash
Anyone else having problems with imported posts not getting added to the original thread and instead creating a NEW thread with the exact same title? This is getting to be a real bother.



Anyone?

MovieMaster 12-05-2004 09:10 PM

Any plans to add YENC decoding of attachments? As it stands now, this wont cut it with those, which is rapidly becoming the post method of choice for attachments.

MovieMaster 12-06-2004 03:12 PM

It also doesnt care for multipart messages (attachments in parts) see it fails on those as well. Is that the case, or is it just me?

Electronic Punk 12-10-2004 01:22 PM

I don't want to add the exclude list to the getnew function, but don't want the NNTP posts showing up on the getnew bit. How can I do this?
Thinking of creating a variable that I can add 55, 56 to and it will ignore new posts in these forums. Anyone get that?

Anyway, got this hack in private testing at the moment, but nearly there.
Sounds very cool indeed, just don't wanna let my members on it just yet in case I have overlooked something and spam real usenet users with my rubbish!! :)

Also is there any way that they can have the correct time stamps on? Currently they just all have the time they were actually imported!
Thanks, sweet hack ;)

lierduh 12-10-2004 04:06 PM

Quote:

Originally Posted by Electronic Punk
I don't want to add the exclude list to the getnew function, but don't want the NNTP posts showing up on the getnew bit. How can I do this?
Thinking of creating a variable that I can add 55, 56 to and it will ignore new posts in these forums. Anyone get that?

Also is there any way that they can have the correct time stamps on? Currently they just all have the time they were actually imported!
Thanks, sweet hack ;)

1. Are you saying you do not want to modify the template but you don't mind modifying the php script? It is possible, but I don't see the point.

2. Please go through the settings, you will find the answer there.

lierduh 12-10-2004 04:08 PM

Quote:

Originally Posted by MovieMaster
It also doesnt care for multipart messages (attachments in parts) see it fails on those as well. Is that the case, or is it just me?

Binary attachment spanning through multiple messages is not supported. I think a lot of the news reader do not even support that.

lierduh 12-10-2004 04:12 PM

Quote:

Originally Posted by MovieMaster
Any plans to add YENC decoding of attachments? As it stands now, this wont cut it with those, which is rapidly becoming the post method of choice for attachments.

Will consider to add the support for this, excluding multipart yEncoded binaries.

Andy R 12-10-2004 05:18 PM

I am changing newsgroup providers from Newsfeeds.com to Giganews.com and it looks like the message numbers might be different? Are message numbers the typically the same between different newsgroup providers? Can I assume it is safe to just "plugin" the new server info and messages will be brought in properly?

If the message numbers are different, then does the system link new posts via this number or does it use another way of referencing posts to threads?

Thanks for your help!

Electronic Punk 12-10-2004 06:02 PM

Quote:

Originally Posted by lierduh
1. Are you saying you do not want to modify the template but you don't mind modifying the php script? It is possible, but I don't see the point.

2. Please go through the settings, you will find the answer there.

1. Basically yes :) - it is really down to aesthetics.
2. Thanks, I'll have a good look through! Edit: Found it :)

Torqued 12-10-2004 06:52 PM

Quote:

Originally Posted by lierduh
Will consider to add the support for this, excluding multipart yEncoded binaries.

When importing mail, would it be possible to add support for the following:

1: Specify a user ID to import the mail as - I have several users configured as "newsbots", and it would be nice to be able to associate the imported posts to their profiles.
2: Specify which post icon to use

MovieMaster 12-12-2004 10:40 PM

Quote:

Originally Posted by lierduh
Binary attachment spanning through multiple messages is not supported. I think a lot of the news reader do not even support that.

Most every major nntp client supports multi thread attachments, and its the common standard in posting of large binary files.

kkiely 12-16-2004 07:28 PM

If posts to USETNET are moderated then do they get sent out after they get approved or not? I think I have the 3.0 version of this hack installed.

kkiely 12-18-2004 02:24 AM

a few other questions:

1. when a user named JohnCates posts to USENET their username is printed with a random set of letts at the end. JohnCates comes out like
JohnCates.1hfjsc@domain.com

instead of:

JohnCates@domain.com


2. I use giganews but they told me that the news feed is for personal use only. Is there anyone here who knows of any news feeds that are commerical.

3. I had someone post spam onto USENET through my site. Previously I wasn't moderating the posts to USENET but now I am. Is there any other way to make sure people don't spam - other than moderating the posts that get sent to USENET?

lierduh 12-19-2004 10:09 AM

Quote:

Originally Posted by kkiely
If posts to USETNET are moderated then do they get sent out after they get approved or not? I think I have the 3.0 version of this hack installed.

I would think so.

Not sure which version you are talking about. The most recent version is 2.3.2.

lierduh 12-19-2004 10:10 AM

Quote:

Originally Posted by kkiely
a few other questions:

1. when a user named JohnCates posts to USENET their username is printed with a random set of letts at the end. JohnCates comes out like
JohnCates.1hfjsc@domain.com

instead of:

JohnCates@domain.com

You will find the answer in the group settings.

Dio 12-19-2004 12:32 PM

Problem solved!

trackpads 12-19-2004 12:39 PM

Quote:

Originally Posted by Dio
What exactly goes in this field (see attached image)?

lierduh;

I know you are busy but can you help me out? I cannot for the life of me figure out the killfile.

Lets say for example that I want to block any messages with the words 'baboon' and 'banana' from either the subjects or messages. What would I put? I just need an example to get started.

Thanks again for all your work,

-Jason

Dio 12-19-2004 01:54 PM

Quote:

Originally Posted by trackpads
lierduh;

I know you are busy but can you help me out? I cannot for the life of me figure out the killfile.

Lets say for example that I want to block any messages with the words 'baboon' and 'banana' from either the subjects or messages. What would I put? I just need an example to get started.

Thanks again for all your work,

-Jason

Jason,

This is one of the things that I actually understand how to do! So for example if you wanted to filter out (via the killfile) 'baboon' and 'banana', you would put this in the Value area (see attached image): {[H:banana]}{[H:banana]}{[B:baboon]}{[H:baboon]}

H: represents what is filtered out of the header
B: represents what is filtered out of the body

You can also use this for email addresses.

Does this help?

Dio 12-19-2004 01:59 PM

Problem solved! Let the pigeons loose.....

trackpads 12-19-2004 03:22 PM

Quote:

Originally Posted by Dio
Jason,

This is one of the things that I actually understand how to do! So for example if you wanted to filter out (via the killfile) 'baboon' and 'banana', you would put this in the Value area (see attached image): {[H:banana]}{[H:banana]}{[B:baboon]}{[H:baboon]}

H: represents what is filtered out of the header
B: represents what is filtered out of the body

You can also use this for email addresses.

Does this help?

yes, thanks!

Dio 12-19-2004 05:09 PM

Ok, I have another question that I can't seem to resolve myself. Everything is working fine, but one nagging issue. When the gateway.php file runs (via chron) it sends up and downloads all new messages. On the next download if my site sent up a message, it is posted as a guest user (see attached image). Is there a way to stop this double posting?

kkiely 12-19-2004 05:28 PM

Quote:

Originally Posted by lierduh
You will find the answer in the group settings.


i couldnt find where

lierduh 12-19-2004 06:09 PM

Quote:

Originally Posted by Dio
Ok, I have another question that I can't seem to resolve myself. Everything is working fine, but one nagging issue. When the gateway.php file runs (via chron) it sends up and downloads all new messages. On the next download if my site sent up a message, it is posted as a guest user (see attached image). Is there a way to stop this double posting?

You need to go through the settings, looks for organization_check.

lierduh 12-19-2004 06:17 PM

Quote:

Originally Posted by kkiely
i couldnt find where

I can't believe this. :)

When you click "NNTP Gateway Newsgroups", then click "Edit". There are only 9 settings there, there is only one with detailed description. I sill can't believe this...:)

Dio 12-19-2004 06:18 PM

Quote:

Originally Posted by lierduh
You need to go through the settings, looks for organization_check.

I changed it from 1 to 0. After making the changes I went and looked in the header of one of my posts. It listed the organization as:

Organization: Newsfeeds.com http://www.newsfeeds.com 100,000+ UNCENSORED Newsgroups.

So it is not showing up as my site. Is there another way around this, or will the NNTP hack know/identify that this is coming from my site?

lierduh 12-19-2004 06:26 PM

Quote:

Originally Posted by Dio
I changed it from 1 to 0. After making the changes I went and looked in the header of one of my posts. It listed the organization as:

Organization: Newsfeeds.com http://www.newsfeeds.com 100,000+ UNCENSORED Newsgroups.

So it is not showing up as my site. Is there another way around this, or will the NNTP hack know/identify that this is coming from my site?

The server changes your organization header and inserts advertising, That is the reason why your own posts get imported. You usually should be safe to set it to 0. Are you sure the setting was 0 before your own posts got imported?

Dio 12-20-2004 12:09 AM

Quote:

Originally Posted by lierduh
The server changes your organization header and inserts advertising, That is the reason why your own posts get imported. You usually should be safe to set it to 0. Are you sure the setting was 0 before your own posts got imported?

I set it to 0 after your suggestion. It appears that the solution you provided worked. Thank you very much for you help.

krohnathlonman 12-20-2004 03:49 PM

How about some kind of keyword filter so that if the thread has certain words in it the thread will not get posted. something like that would help the fight against spam.

Also a way to break the posting into a seperate process from the import will help the larger systems out quite a bit.

journey 12-22-2004 07:16 AM

I have the script up and running on a new vB3.03 install. It seems as though when I d/l posts/threads (from usenet) that my overall post/thread count statistics increment at a 2:1 ratio (the main forums view stats to the right of the individual forums seem normal though). ie, if I were to have downloaded 10k posts my overall post stats would read 20k. Why would posts / threads be double counted in the overall stats (but not on the individual stats)?

This happened both when I initially downloaded threads as well as everytime I d/l additonal posts when the cron job runs.

oh yeah, and non-usenet forums that are strictly local do correctly update the overall and forum specific post/thread count at a 1:1 ratio.

:pirate:

James T Brock 12-22-2004 09:27 AM

Quote:

Originally Posted by kkiely
2. I use giganews but they told me that the news feed is for personal use only. Is there anyone here who knows of any news feeds that are commerical.

Just use Giganews, plenty of us are using it for this purpose and it works fine! If you want to use something else than just do a google search for news providers, pretty much any good one is fine to use for the purpose of proving usenet on your forums.

Quote:

Originally Posted by kkiely
3. I had someone post spam onto USENET through my site. Previously I wasn't moderating the posts to USENET but now I am. Is there any other way to make sure people don't spam - other than moderating the posts that get sent to USENET?

People who spam your usenet forums should be treated the same as people who spam any other section of your site. Just ban them, how you decipline your users have nothing to do with this script.

journey 12-27-2004 01:35 AM

Quote:

Originally Posted by journey
I have the script up and running on a new vB3.03 install. It seems as though when I d/l posts/threads (from usenet) that my overall post/thread count statistics increment at a 2:1 ratio (the main forums view stats to the right of the individual forums seem normal though). ie, if I were to have downloaded 10k posts my overall post stats would read 20k. Why would posts / threads be double counted in the overall stats (but not on the individual stats)?

This happened both when I initially downloaded threads as well as everytime I d/l additonal posts when the cron job runs.

oh yeah, and non-usenet forums that are strictly local do correctly update the overall and forum specific post/thread count at a 1:1 ratio.

:pirate:

bump.

journey 12-27-2004 07:09 AM

Also, I was wondering how we can make posts from the usenet say something other than "guest". I saw on one other site they list the posts as being from "usenet poster".

James T Brock 12-30-2004 06:52 AM

Go into your admin panel and check the usergroup manager. Edit the usergroup for guests and change the name to whatever you want.

Zach 12-30-2004 04:36 PM

I just thought of this - but setting the sender as

abuse@localhost

might be kind of funny - some of the idiot spammers would collect that address - and start sending spam to the abuse account on their server :)

w0z 01-02-2005 02:48 PM

Sowwy my n00b question, but is anyone using this Hack in vB 3.0.4 ?

I have this currently installed on my production vB 3.0.3, is there anything I should pay attention when I upgrade vB to 3.0.4, do I have to do any additional steps after upgrading to ensure this Hack will continue to work? O_o

Cheers,
w0z


All times are GMT. The time now is 01:25 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
  • Page Generation 0.02344 seconds
  • Memory Usage 1,852KB
  • 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
  • (1)bbcode_html_printable
  • (24)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