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)

trackpads 05-14-2010 05:16 AM

Aws, any luck? Thanks!

-jason

AWS 05-15-2010 04:59 PM

I haven't tested it yet and probably will not now. I decided that I wasn't going to upgrade to vbulletin 4 on the site I use this on and instead have started on an IPB usenet plugin for when I convert the site.

offline 06-25-2010 06:52 PM

Quote:

Originally Posted by HappyAndyK (Post 1560707)
Hello,

I am trying to implement this under a b installation, running 3.7.1.

How ever I am stuck at the place where I am suppose to edit the admincp/index.php file as I am unable to locate the side piece of code,

Code:

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

can any one shade some light :)

thank you.

3.8.5.....

Code:

                                        construct_nav_option($navoption['text'], $navoption['link']);
                                }
                        }

                        // have all the options, so do the group
                        construct_nav_group($navgroup_holder['group']['text'], $navgroup_holder['group']['nav_file']);

                        if ($navgroup_holder['group']['hr'] == 'true')
                        {
                                construct_nav_spacer();
                        }
                }
        }
  construct_nav_option('NNTP Gateway Settings', 'nntp_settings.php', '<br />');
  construct_nav_option('NNTP Gateway Newsgroups', 'nntp_groups.php', '<br />');


toibs 07-15-2010 06:41 PM

Quote:

Originally Posted by AWS (Post 2037461)
I haven't tested it yet and probably will not now. I decided that I wasn't going to upgrade to vbulletin 4 on the site I use this on and instead have started on an IPB usenet plugin for when I convert the site.

I may well be interested in this, since i'm seriously contemplating moving the whole thing lock stock to IPB - i would miss a couple of mods i have, however it is far outweighed by the costs and improvements i would get rather than Vb's new pricing structures...

Ta
Paul

tms1791 08-12-2010 01:22 AM

TMM-TT, you are my HERO.

I'm simply looking to archive some mailing lists, and thanks to your efforts, I was able to get this going (so far) with a minimum of bashing-head-on-desk.

I haven't given it an extensive testing yet, but I did notice a couple of issues (vb4).

1. If "show similar threads" (or whatever the option name in vb is) is turned on, gateway.php gronks. Apparently, the function being called to find that list (fetch_similar_threads()) doesn't exist in vb4.

2. There's a couple of TABLE_PREFIX's missing, in the query that starts on line 342.

Other than that, so far, so good. #2 was an easy fix, but I don't know about #1. I'd really like that feature, but can live without it if need be.

Thanks again!

shempsall2009 09-15-2010 06:49 PM

Hi all I have installed this on vb4... also patched it and followed the quick instructions above..

I have ran setlastmsg.php and deleted it but nothing seems to be happening... Please could someone point me in the right direction... Thanks

AtomicAcidbath 09-19-2010 09:16 AM

Fix for 'Show Similar Threads' problem in 4.x

File: gateway.php

At line 586, Find:
Code:

if ($vbulletin->options['similarthreadsearch'])
{
    require_once(MY_DIR . '/includes/functions_search.php');
    $similarthreads = fetch_similar_threads($subject);
}

Replace with:
Code:

if ($vbulletin->options['similarthreadsearch'])
{
    require_once('./global.php');
    require_once(DIR . '/vb/search/core.php');
    $searchcontroller = vB_Search_Core::get_instance()->get_search_controller();
    $stl = $searchcontroller->get_similar_threads($subject);
    $similarthreads = implode(',', $stl);
}

Rename all occurrences of variable $foruminfo something else like $forum_info. It's in there 6 times.

scottct1 10-28-2010 01:40 PM

I just moved to vb4 and this mod is working but I am having a strange issue...

When it imports email it adds a ? to the first line of a post.

I can't figure out where this ? is coming from....

Aylwin 11-15-2010 10:14 AM

First of all, big thanks to TMM-TT for updating this plug-in for vB4! I'm a long time user but only just recently upgraded to version 4.

I thought I'd contributed a modification I've made that checks if the email sender is also a forum user. If yes, then the post is added as that user. The reason I've done this is because I want our mailing lists to be fully integrated with our forums. Anyway, it's implemented as an option so you can choose whether or not to enable it.

I've also fixed the TABLE_PREFIX issue pointed out by tms1791 and added the 'Show Similar Threads' fix shared by AtomicAcidbath.

Additionally, the admincp files (nntp_groups.php and nntp_settings.php) were giving me SQL errors so I had to change "TYPE=MyISAM" to "ENGINE=MyISAM".

By the way, I think someone should create a new thread for this plugin in the 4.0 forum. That way, we can focus on 4.0 discussions and perhaps further development over there.

DISCLAIMER: I'm not really a proper coder so I can't guarantee that my version works. All I know is that it seems to work on my site.

CRDeveloper 11-27-2010 10:20 PM

I didn't know this was possible, one of my members suggested yesterday haha.

I will try ASAP, running 4.1.0 Beta!


All times are GMT. The time now is 11:13 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.01761 seconds
  • Memory Usage 1,746KB
  • 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
  • (4)bbcode_code_printable
  • (2)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