vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   NNTP Gateway for Usenet ( Newsgroups ), Mailing Lists (https://vborg.vbsupport.ru/showthread.php?t=92588)

Rik Brown 12-27-2006 02:36 AM

Quote:

Originally Posted by KW802 (Post 1145470)
For the most part. The only problem I have yet is where if a new thread arrives with a subject of something like "RE: Whatever..." and "Whatever..." doesn't already exist then it seems like it keeps creating new "RE: Whatever..." threads with each import (as opposed to keeping them all together). I haven't looked at the code lately in an attempt to fix it.

Thanks for the feedback.

Regarding the "Re: " problem, I have that too. But I've been running a query against our forums after each mail exchange to remove the "Re: " in current vb thread titles before the next NNTP mail exchange. It seems to help somewhat in this respect, but not 100%.

If I get to understand PHP coding better, I'd like to alter the mod to remove the "Re: " part from all incoming titles as vb doesn't need them (and it looks better without them).

Thanks. -- Rik

kjhkjh 12-28-2006 06:18 PM

Quote:

Originally Posted by Rik Brown (Post 1125807)
Donnacha:

I just upgraded to vb 3.6.4 and exported messages in debug mode. It showed the messages being exported to my newsgroup server. I also logged onto the newsgroup server with my newsgroup reader and confirmed that my messages were there and that nothing looked strange in the headers, etc. Hopefully, it was just a temporary glitch for you?

Regards. -- Rik

Have other people found this easy to install and get working with vb 3.6.4?

I think that I'm gonna try it now. Is it just the same file that I have to use as the 3.5 that is downloable from the top post?

Thanks.

Rik Brown 12-29-2006 10:09 AM

Quote:

Originally Posted by kjhkjh (Post 1146500)
Have other people found this easy to install and get working with vb 3.6.4?

I think that I'm gonna try it now. Is it just the same file that I have to use as the 3.5 that is downloable from the top post?

Thanks.

It is easy to install. However, there are many mods that have been applied to this mod since the last release. You will likely want to go through the notes in this thread and apply most of the mods created by dkendall and a few others as well. It may well be that people here are operating many different versions of this mod.

As for vb 3.6.4, this mod basically works well for me but I only exchange Usenet newsgroups and do not utilize features for binary files or maillists. Others would have to give you feedback there.

Regards. -- Rik

ps: Its definitely worth the effort to get it going. We went from a few thousand messages to 450,000 online in one month.

LPH2004 01-02-2007 02:00 PM

If I use vbulletin cron then the scheduled tasks stop but using the plesk interface to setup the job fails with errors from line 1-6 about files not existing. I can manually run the gateway.php file from the browser and there is an import.

Any thoughts on the matter?

Update: The error messages:

full/path/of//gateway.php: line 1:
?php: No such file or directory
full/path/of//gateway.php: line 2: :
command not found
full/path/of//gateway.php: line 3: P:
command not found
full/path/of//gateway.php: line 4:
Release: command not found
full/path/of//gateway.php: line 5:
*/: No such file or directory
full/path/of//gateway.php: line 6:
/********************************************: No such file or directory
full/path/of//gateway.php: line 7:
syntax error near unexpected token `Usenet/Newsgroup'
full/path/of//gateway.php: line 7: `
NNTP (Usenet/Newsgroup) Gateway 1.9'

Update In Case Others See This:

The first line comes from <?php ...
The other lines are from comments in the gateway.php script. But the script does not seem to run so there must be something that I set wrong in the plesk interface.

woodp 01-02-2007 03:25 PM

Quote:

Originally Posted by LPH2004 (Post 1149157)
full/path/of//gateway.php: line 1:
?php: No such file or directory

That sure doesn't look like a proper path ...

Shouldn't it be more like ./gateway.php assuming you dropped the scripts in your /forum/ subdirectory?

LPH2004 01-02-2007 03:41 PM

The cronjob is definitely running every 15 minutes but with the errors and so the php file does not execute. I updated my message with the ideas that the comments in the gateway.php file are causing the error. I just removed those comments from the file and will see what the next run through says. This is what was entered into the plesk interace. Do I also need to tell it about php?

0,15,30,45 * * * * /full/path/gateway.php

Thanks for the help.

Update: OK. After removing the comments from the script ... these are the 'new' errors

full/path/of//gateway.php: line 1:
?php: No such file or directory
full/path/of//gateway.php: line 2: :
command not found
full/path/of//gateway.php: line 3:
syntax error near unexpected token `E_ALL'
full/path/of//gateway.php: line 3:
`error_reporting(E_ALL & ~E_NOTICE);'

So - the php being interpretted. Hmm. Google search time

woodp 01-02-2007 03:48 PM

Quote:

Originally Posted by LPH2004 (Post 1149208)
0,15,30,45 * * * * /full/path/gateway.php

Nope, there's no way a normal UNIX setup is going to place files at /full/path - Just ain't gonna happen.

Please provide the full path to your forums and the full path to your gateway.php script. If you can telnet, simply type 'pwd' from the forum subdirectory.

I'm guessing it's something like /home/{youruserid}/public_html/forum ...

LPH2004 01-02-2007 04:20 PM

Thank you. I figured out the correct line now. The php interpreter does need to be stated prior.

0,15,30,45 * * * * /full/path/to/php /full/path/gateway.php

The space between is important. Another way would be for the user to add the information into the gateway.php script. Something like

#!/usr/local/bin/php

as the first line.

Now, I am a happy camper :glasses:

Thank you for all of your help.

Oh - additional instructions in case someone else trips over this post...

If you need to find the path of your php interpreter then use the php info in the admincp.

bashy 01-04-2007 03:41 PM

Hi

What do i need to have this up and running, Does it have to be used for posting, can it just be used for downloading the binaries?

I am a little baffled with regards to setup requiering email addresses as so on...

In the server setup side of it, what do i put in here "Newsgroup/Mailing list E-mail" please?

Can i use NTL's free server for this news.ntlworld.com?

growler 01-05-2007 08:04 PM

I'm running 3.6.4,

What file do I add the two (construct_nav_option) lines from the installation instructions to? I've looked in a few files and don't see:

Edit ./admincp/index.php file

construct_nav_option($vbphrase['vbulletin_options'], 'options.php?null=0', '<br />');

-Thank you,
Growler


All times are GMT. The time now is 07:43 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.01515 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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