The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Graphical Interface for the NNTP Gateway Details »» | |||||||||||||||||||||||||||
Graphical Interface for the NNTP Gateway
Developer Last Online: Oct 2012
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
|
Comments |
#32
|
||||
|
||||
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.
|
#33
|
|||
|
|||
It should send the new posts to the newsgroup when you syncronize it the next time...
|
#34
|
|||
|
|||
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 |
#35
|
|||
|
|||
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"); Code:
if ($calledby != "interface") { $ad = ""; header("Content-Type: text/plain"); include("global.php"); } else { $ad = "../"; $headers_sent=1; } |
#36
|
|||
|
|||
Hooray for people who don't know SQL like me!!
Thanks! |
#37
|
|||
|
|||
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 |
#38
|
|||
|
|||
Quote:
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. |
#39
|
|||
|
|||
Deleted [Problem solved]
|
#40
|
|||
|
|||
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? |
#41
|
|||
|
|||
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... |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|