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)

Gilby 03-10-2002 09:19 PM

Quote:

Originally posted by Picolet
So is there a way to login using your username and password to your ISP news server?
Depending on your ISP, you might be able to use your regular username and password that you use to log in to teh internet. You may need to ask your ISP if there is a way for you to log in to the server from an external site.

Quote:

Originally posted by Picolet

How do you include username and password I do not se anywhere in the settings to set those......

In the nntp_groups table, there is a column for the username and one for the password.

Brian Cruz 03-10-2002 09:40 PM

I just installed the hack, and everything seems to work except for proper branching of posts when they appear in the newsgroup.

This is what happened: I started a new thread, and then posted a reply. Then I replied to that reply, but instead of continuing the branch, it appeared as a reply to the original post. When it appears this way on the newsgroup, it could make reading the thread difficult.

Gilby 03-10-2002 09:44 PM

Quote:

Originally posted by Brian Cruz
This is what happened: I started a new thread, and then posted a reply. Then I replied to that reply, but instead of continuing the branch, it appeared as a reply to the original post. When it appears this way on the newsgroup, it could make reading the thread difficult.
vB is not a threaded forum software, but apparently in version 3 of vB, this will be supported.

However, in a future version of this hack, I may try to find out which post it is a direct reply to by looking at the quotes in the post.

Brian Cruz 03-10-2002 09:57 PM

Quote:

Originally posted by Gilby


vB is not a threaded forum software, but apparently in version 3 of vB, this will be supported.
However, in a future version of this hack, I may try to find out which post it is a direct reply to by looking at the quotes in the post.

Fair enough. Until then, I'll use this hack for reading instead of posting. And thanks for the quick reply!

Picolet 03-10-2002 10:46 PM

Database error in vBulletin 2.2.2:

Invalid SQL: UPDATE forum SET replycount=replycount+1,threadcount=threadcount+1, lastpost='1014743904',lastpost er='John Andrews' WHERE forumid IN ()
mysql error: You have an error in your SQL syntax near ')' at line 1

What is causing this?

AJR 03-11-2002 04:58 AM

Thumbs up to you Gilby on an excellent job! I installed it a few days ago and everything is working great...except for a few minor internal issues! I tried the other usenet hack, but it seemed to be way to slow (don't know why). I only retrieve one newsgroup (rec.games.pinball) for my site right now, but the initial 4,200 messages came through in about 2 minutes! Each update (every 4-6 hours) takes less than 20 seconds! My updates are spread out that long because I can't get the crontab working for some reason. No biggie... I'll figure it out!

Here is what I am running:
- vBulletin 2.2.0
- vBPortal 3.0pr7
- Mammothnews.net server

I have been a member of Mammothnews.net for about 2 years now, and for only $9.95/mo, I get EVERYTHING! I was tired of incomplete binary multi-threads (especially when downloading MAME games)!

Anyway, here is a list of things I'd like to see in your upcoming versions (all relate to vBulletin and all were able in other usenet hack):
- As mentioned a few posts above, 'isusenetthread' as a table field would be very helpful so that usenet posts AND threads could not be counted on the forum homepage.
- Ability to not show new usenet posts when 'Get New Posts' is clicked.

Other than that, everyone loves being able to access rec.games.pinball from my site now! It is the only means for some to access the newsgroup at work (on their lunch hour of course :) ). Keep up the great work!

antigravityboy 03-11-2002 07:19 AM

Hey Gilby
Thanks for creating this hack, I have been waiting for this for a long long time.
I tried going to the gateway.php url on my server and I got this error.

Database error in vBulletin 2.2.2:

Invalid SQL: SELECT post.postid,post.username,post.userid,post.datelin e,post.attachmentid,post.paget ext,post.showsignature,post.ipaddress,thread.title ,post.threadid,thread.forumid, thread.msgid,thread.prefix FROM thread,post WHERE post.isusenetpost=0 AND thread.threadid=post.threadid AND (thread.forumid=1)
mysql error: Unknown column 'thread.prefix' in 'field list'

mysql error number: 1054

Any idea on what I need to fix.
Thanks everybody

Gilby 03-11-2002 02:44 PM

Quote:

Originally posted by antigravityboy

mysql error: Unknown column 'thread.prefix' in 'field list'

Did you run the SQL? You need to run it for this hack to work as it adds columns to some tables, like the prefix column in the thread table, and it adds new tables.

antigravityboy 03-11-2002 06:32 PM

Thanks for the reply Gilby
I did run them, I had fastforwards hack before so I get this error when I run nntp.sql
SQL-query :

CREATE TABLE nntp_groups (
newsgroup varchar(200) NOT NULL default '',
forum varchar(32) NOT NULL default '0',
prefix varchar(255) NOT NULL default '',
lastmsg int(11) NOT NULL default '0',
server varchar(64) default NULL,
username varchar(32) default NULL,
password varchar(32) default NULL,
enabled int(11) NOT NULL default '1',
PRIMARY KEY (newsgroup),
KEY forum (forum)
) TYPE=ISAM PACK_KEYS=1

MySQL said:

Table 'nntp_groups' already exists

or this error when I run upgrade.sql

Error
SQL-query :

CREATE TABLE nntp_groups (
newsgroup varchar(200) NOT NULL default '',
forum varchar(32) NOT NULL default '0',
prefix varchar(255) NOT NULL default '',
lastmsg int(11) NOT NULL default '0',
server varchar(64) default NULL,
username varchar(32) default NULL,
password varchar(32) default NULL,
enabled int(11) NOT NULL default '1',
PRIMARY KEY (newsgroup),
KEY forum (forum)
) TYPE=ISAM PACK_KEYS=1

MySQL said:

Table 'nntp_groups' already exists

Would it be easier to just delete all the old tables and re-run the nntp.sql, I just did not know which ones I need to delete.
Thanks

Gilby 03-11-2002 06:47 PM

Quote:

Originally posted by antigravityboy
Would it be easier to just delete all the old tables and re-run the nntp.sql, I just did not know which ones I need to delete.
Thanks

Delete the nntp_* tables and rerun the upgrade.sql script. I guessing that the tables have duplicates in them since you've run them a few times. If after doing that and it doesn't work, then run the few lines at the bottom of the sql file separately, one line at a time.


All times are GMT. The time now is 01:01 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.01718 seconds
  • Memory Usage 1,751KB
  • 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
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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