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)

oldengine 10-12-2005 07:44 PM

Can this be set up to work exclusively with only one news group?

Edit:
Man that was a dumb question. IT'S WORKING GREAT!
I'm clicked in on 3.0.

ixian 10-12-2005 08:05 PM

Quote:

Originally Posted by oldengine
Can this be set up to work exclusively with only one news group?

uk.rec.engines.stationary

It can be set up to use as many or as few as you wish, yes.

See my forums for an example of it in action: www.maximumgamer.com/forums

Note that I have also installed the User Agreements Hack specifically for use with this hack - when you first go to view any of my newsgroup forums (I have 3 currently) you have to agree to the rules specific to that forum before you can go on. It works with guests to (although when you delete your cookies you'll have to agree to it again). I mainly use it to warn my regular members that they are entering wild country:).

I also installed the Exclude Forums From Search hack which allows users to specify forums they don't want to see when they click "New Posts" or "Today's Posts".

I love this hack, very useful and gets people interested in my forums - I am looking in to adding more newsgroups even. This is with vb 3.5 gold.

oezer 10-12-2005 08:24 PM

@lierduh

have you any ideas about the tricky problem at posting #118 ?

rfairbairn 10-12-2005 09:52 PM

Hi,

We are going to install this on a test board (thats why i havnt clicked install yet),

But we are having problems with installation, mainly how do we install, the readme seams to be outdated, or are we reading it wrongly.

Any help would be great.

Thanks in advance

lierduh 10-12-2005 10:04 PM

Quote:

Originally Posted by oezer
@lierduh

have you any ideas about the tricky problem at posting #118 ?

News servers do not hold all posts from id 1. They purge older ones regularly. What you see is the max ID number, not total number of posts.

lierduh 10-12-2005 10:10 PM

Quote:

Originally Posted by rfairbairn
Hi,

We are going to install this on a test board (thats why i havnt clicked install yet),

But we are having problems with installation, mainly how do we install, the readme seams to be outdated, or are we reading it wrongly.

Any help would be great.

Thanks in advance

The readme is outdated as it was written for vB3.0x. However you can always ask which part that you find confusion.

Folks, I had been waiting for Gold before releasing a new version. Now that the Gold is out, but I have been busy with other hacks and I will travel overseas in two days time. So there is no chance we can see a new version for at least two weeks. Everytime I push something out quickly, I tend to introduce many bugs. So I would rather not push it.

lierduh 10-12-2005 10:25 PM

Quote:

Originally Posted by Aylwin
I plan to use this mod for mailing list archive.

In the readme file, it says:

Warning: Make sure using the new forums you created in step '3.', don't associate
any of your existing forums to a newsgroup, otherwise all posts
currently in there will be exported, so be careful.


But if set Send message to USENET send_message=0, would this help? What happens if I set this to 1 at a later date? Will everything in the forum be sent?

By the way, this mod doesn't seem to support IMAP. Or does it?

I just checked the code. No, it will not send messages if send_message=0, however if you change this to 1 later on. All the held messages will be sent!

No, this hack does not support IMAP. It was originall written for NNTP, that is why a lot of settings names etc. are tied to news instead of mails. No fixed date is planed at the moment to include IMAP support. This hack has become complicated for new users because all the settings I introduced from the past requests. The total number of users are not that many anyway.

donnacha 10-15-2005 04:19 PM

I'm having a problem, suggestions would be very much appreciated.

Following the readme and using the ms newgroup given as an example, I got to section 6:

6. Run the script for the first time by going to
http://www.yourserver.com/vbdir/gateway.php?debug=1
This will take
a while if you are importing a lot of posts for the first time.
Depending on your browser, it may buffer the output and it may
appear like it's hanging. Be patient. :)


I enter:

http://www.edinburghtalk.com/vbdir/gateway.php?debug=1

but Firefox just displays my domain's homepage. IE does the same. No hanging as described in the readme, no usenet posts appear in the forum (http://www.edinburghtalk.com/forum/f...play.php?f=31).

I wasn't sure if the "vbdir" part of the example URL is meant to be replaced by the actual path I my forum uses, so, I also tried

http://www.edinburghtalk.com/forum/gateway.php?debug=1

... but in both FF and IE that results in the following error:

<br /><strong>Warning</strong>: main(/home/edtalk/public_html/forum/includes/nntp.php): failed to open stream: No such file or directory in <strong>/gateway.php</strong> on line <strong>52</strong><br /><br />
<b>Fatal error</b>: main(): Failed opening required '/home/edtalk/public_html/forum/includes/nntp.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in <b>/home/edtalk/public_html/forum/gateway.php</b> on line <b>52</b><br />


Any ideas?

oldengine 10-17-2005 02:07 PM

{[H:geilen]}{[H:!!!!]}{[H:***]}{[H:$$]}{[H:MAKE MONEY]}{[H:easy money]}{[H:test]}{[H:smoking gun]}{[H:Humour]}{[H:ebay]}{[H:e-bay]}{[H:dating] AND [B:girl]}

Edit: It works!

Is there any way to make {[H:test]} not kill "testing"?

Marv 10-18-2005 02:47 PM

Lierduh,

could you be so kind to correct the advanced hacking guide ? 3.5 is already out :nervous:

PHP Code:

Modify SHOWTHREAD template

REPLACE this block of code

<td class="smallfont"><a href="newreply.php?$session[sessionurl]do=newreply&amp;noquote=1&amp;p=$FIRSTPOSTID"><if condition="$show['closethread']"><img src="$stylevar[imgdir_button]/reply.gif" alt="$vbphrase[reply]border="0" /><else /><img src="$stylevar[imgdir_button]/threadclosed.gif" alt="$vbphrase[closed_thread]border="0" /></if></a></td>

<
td class="smallfont"><a href="newreply.php?$session[sessionurl]do=newreply&amp;noquote=1&amp;p=$LASTPOSTID"><if condition="$show['closethread']"><img src="$stylevar[imgdir_button]/reply.gif" alt="$vbphrase[reply]border="0" /><else /><img src="$stylevar[imgdir_button]/threadclosed.gif" alt="$vbphrase[closed_thread]border="0" /></if></a></td>
    

WITH

<if condition="$show['closethread']">
<
td class="smallfont"><if condition="!$is_usenet"><a
href
="newreply.php?$session[sessionurl]do=newreply&amp;noquote=1&amp;p=$FIRSTPOSTID">
<
img src="$stylevar[imgdir_button]/reply.gif" alt="$vbphrase[reply]"
border="0" /></a><else />&nbsp;</if></td>
<else />
<
td class="smallfont"><a
href
="newreply.php?$session[sessionurl]do=newreply&amp;noquote=1&amp;p=$FIRSTPOSTID">
<
img src="$stylevar[imgdir_button]/threadclosed.gif"
alt="$vbphrase[closed_thread]border="0" /></a></td>
</if>

THERE ARE two instances of above.

FIND
$quickreply

REPLACE it with

<if condition="!$is_usenet">
$quickreply
</if> 

Wether there is a second instance nor a $quickreply as you mentioned before in this particular template. Could you update those instructions please ?


All times are GMT. The time now is 12:53 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.01709 seconds
  • Memory Usage 1,776KB
  • 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
  • (1)bbcode_php_printable
  • (4)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