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)
-   -   Graphical Interface for the NNTP Gateway (https://vborg.vbsupport.ru/showthread.php?t=36475)

asarian 05-25-2002 04:38 PM

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.

GameCrash 05-25-2002 06:42 PM

It should send the new posts to the newsgroup when you syncronize it the next time...

Alby 05-30-2002 02:32 PM

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

GameCrash 05-31-2002 06:26 AM

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?

omniweapon 06-06-2002 02:46 PM

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

Thanks!

omniweapon 06-06-2002 03:05 PM

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

jschefdog 06-12-2002 10:58 PM

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.

Marv 06-23-2002 09:24 AM

Deleted [Problem solved]

MaXxed 10-13-2002 08:39 AM

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?

GameCrash 10-13-2002 09:31 AM

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...


All times are GMT. The time now is 07:23 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.01143 seconds
  • Memory Usage 1,740KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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