Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Graphical Interface for the NNTP Gateway Details »»
Graphical Interface for the NNTP Gateway
Version: 1.00, by GameCrash GameCrash is offline
Developer Last Online: Oct 2012 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 03-22-2002 Last Update: Never Installs: 28
 
No support by the author.

Current version is 1.2

You can always download the newest version in the first post.

This hack will allow you to administrate the NNTP Gateway hack created by Gilby via the Admin CP. This is version 1.1 and will work for NNTP Gateway version 1.8 and 1.9. It will NOT work for 1.7 and earlier.

It is tested with vBulletin 2.2.2 and vBulletin 2.2.4. It may work with 2.0.x, it may not.

For installation instructions please read the install.txt in the zip file.

I created a new thread to make sure I can answer your questions easier. So please do NOT Email, PM or ICQ me about this hack - you will be ignored.

Changelog

Version 1.2 (06.04.2002)
- fixed bug in nntpgateway.php that caused a reset of the last message id when editing a newsgroup

Version 1.1 (28.03.2002)
- Fixed bug in the gateway.php changes causing class.POP3.php3 not beeing included properly when calling via CP

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #32  
Old 05-25-2002, 04:38 PM
asarian's Avatar
asarian asarian is offline
 
Join Date: May 2002
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, I changed "cancontainthreads" to 1; now, at least, it is showing the posts. But it behaves like a regular forum, and not a NNTP gateway; that is, replies are simply posted in the forum, but do not make it to the news server.
Reply With Quote
  #33  
Old 05-25-2002, 06:42 PM
GameCrash GameCrash is offline
 
Join Date: Oct 2001
Location: Germany (Bavaria)
Posts: 262
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It should send the new posts to the newsgroup when you syncronize it the next time...
Reply With Quote
  #34  
Old 05-30-2002, 02:32 PM
Alby Alby is offline
 
Join Date: May 2002
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello

I installed everything recently, and when I try to use the "Manual Syncronisation" feature in the admin cp, it gives me this error:

Fatal error: Cannot redeclare stripslashesarray() in /*mydomain*/admin/global.php on line 33


Being a complete php dummy I cannot even guess where the problem is. Could anyone help?

Thanks!

Alby
Reply With Quote
  #35  
Old 05-31-2002, 06:26 AM
GameCrash GameCrash is offline
 
Join Date: Oct 2001
Location: Germany (Bavaria)
Posts: 262
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Are you sure you have replaced
Code:
header("Content-Type: text/plain");
include("global.php");

// Load NNTP classes
include("nntp.php");
// POP3 class
include("class.POP3.php3");
// Load Mime message parser
include("mime.php");
with
Code:
if ($calledby != "interface") {
  $ad = "";
  header("Content-Type: text/plain");
  include("global.php");
} else {
  $ad = "../";
  $headers_sent=1;
}
in the gateway.php?
Reply With Quote
  #36  
Old 06-06-2002, 02:46 PM
omniweapon omniweapon is offline
 
Join Date: Nov 2001
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hooray for people who don't know SQL like me!!

Thanks!
Reply With Quote
  #37  
Old 06-06-2002, 03:05 PM
omniweapon omniweapon is offline
 
Join Date: Nov 2001
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oh. Wait. Everytime i run gateway.php I get an error as follows.

Database error in vBulletin 2.2.5:

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=51)
mysql error: Unknown column 'thread.msgid' in 'field list'

mysql error number: 1054
Reply With Quote
  #38  
Old 06-12-2002, 10:58 PM
jschefdog jschefdog is offline
 
Join Date: May 2002
Location: Sunnyvale, CA.
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by asarian
Well, I changed "cancontainthreads" to 1; now, at least, it is showing the posts.
Where do you change "cancontainthreads"? I am having the same problem. I click the manual synchronization link, get no warnings or errors, but nothing ever shows up in the forum.

If I open gateway.php from IE, I get the following messages:

Notice: Undefined variable: calledby in c:\inetpub\wwwroot\test_vb\gateway.php on line 19

Warning: Cannot add header information - headers already sent by (output started at c:\inetpub\wwwroot\test_vb\gateway.php:19) in c:\inetpub\wwwroot\test_vb\gateway.php on line 21

Warning: Cannot add header information - headers already sent by (output started at c:\inetpub\wwwroot\test_vb\gateway.php:19) in c:\inetpub\wwwroot\test_vb\gateway.php on line 489

1 group(s) gatewayed. Logging in to .....

Problem resolved:See the NNTP Gateway Thread for details.
Reply With Quote
  #39  
Old 06-23-2002, 09:24 AM
Marv Marv is offline
 
Join Date: Jun 2002
Location: Germany
Posts: 372
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Deleted [Problem solved]
Reply With Quote
  #40  
Old 10-13-2002, 08:39 AM
MaXxed MaXxed is offline
 
Join Date: Jun 2002
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Firstly, great hack and for the most part performs perfectly. I have issues however, as follows:

1. Deleting a usegroup doesnt delete all posts.

2. When manually syncing, it will time out. However, syncing via calling gateway.php will not.

Any clues as to why?
Reply With Quote
  #41  
Old 10-13-2002, 09:31 AM
GameCrash GameCrash is offline
 
Join Date: Oct 2001
Location: Germany (Bavaria)
Posts: 262
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm, why didn't I get a email with the other posts??? Sorry that I didn't answer...

@MyXxed:

1. I'm not sure what you mean. If you set them to a standard forum all threads will be kept, but no newsgroup function will be anabled any more...

2. Well... if you call the script via command line for example, there will be no time limit. If you call it via web, It is called by apache and the time limits of apache may kill the script. I don't think there is something you can do except you are the owner of the server...
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:47 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.10026 seconds
  • Memory Usage 2,307KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete