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)

toibs 02-22-2010 03:44 PM

to be fair i'd go to $50 (Was thinking of others that might not be willing to pay as much.

So there ya go SecondV, thats at least $110 before even thinking about it!! if that isnt enticement, i dont know what is :D

Paul

TMM-TT 03-10-2010 08:31 AM

It actually works for vb4. I've tested it yesterday. I haven't tested postfunctions yet, but at least importing new posts/threads worked just fine.

Adding the code below to gateway.php (with your own HTTP_HOST-setting) and the script will pass the evil "bug" found in v4.0 (that I'm unable to describe right now, but this bug was about parsing urls). I added the code just after the "headers-sent" rows...

PHP Code:

// for vb4.0
if (!$_SERVER[HTTP_HOST]) {$_SERVER['HTTP_HOST'] = "forum.tornevall.net";} 


TMM-TT 03-12-2010 08:00 PM

Here's a patchfile (in the bottom of the post) with all changes I've done, diffed with the current attached zip in this thread!

It supports vb 4.0 (and there's some functions to run from console, like debug and "release the script from a earlier lock). It also looks for duplicate posts. This means if the post has already been posted from usenet into the forum, the post will not get duplicated in case of changes in the xref-header (also know as last message in admincp). If I don't remember wrong, the patch also fixes the last-post-link in the threadlist. The old file-attachment-issue is included, etc etc.

And of course: The handshake part has been fixed. I've also been playing with the signatures in this patch by the way, since I did'nt like the footer...

You may want to take a look. If someone have more handy functions in their plugin, feel free to contact me. Collecting everything in the same place would be nice. :)

http://tmm.tornevall.net/php/nntp_tornevall_100312.diff

Maybe I should write a readme or something?

toibs 03-15-2010 11:31 AM

TMM-TT,

Many thanks - What do you use to apply the Patchfile??

Would love to apply this and see if i can get it fully functional!!

Paul

d8tabyte 03-16-2010 12:04 PM

is there any way to get the users from the newsgroup posts to count as registered users and have the forums generate a new account for each user with a null password value or something? just so i can keep track of the newsgroup users?

toibs 03-16-2010 07:03 PM

Quote:

Originally Posted by toibs (Post 2004026)
TMM-TT,

Many thanks - What do you use to apply the Patchfile??

Would love to apply this and see if i can get it fully functional!!

Paul

Right. Have tried with both "patch" and "tortoiseSVN" and cant get it to patch!!!

Any pointers would be good!!

Paul

TMM-TT 03-17-2010 06:42 AM

It usually is patch -p0 or something like that you use (the patch is recursive, so it's not just gateway.php that gets patched), but if that's not working, I will put up a complete archive too.

toibs 03-17-2010 09:16 PM

Quote:

Originally Posted by TMM-TT (Post 2005316)
It usually is patch -p0 or something like that you use (the patch is recursive, so it's not just gateway.php that gets patched), but if that's not working, I will put up a complete archive too.

Hiya,

Nope tried on the server and it just sits there and does nothing. Checked and double checked path in the .diff file, and it doesnt want to play :(

if you could post the archive that would be great.

Just wanted to add, Many thanks for breathing new life into this Mod. There is nothing out there which will allow the same functionality, so thanks :)

Paul

TMM-TT 03-18-2010 05:01 AM

I tried to post this yesterday but the posting function was totally down...

But here it is, as promised:

http://tmm.tornevall.net/blog/2010/03/17/nntpgw_100312/

The source is on top of the blog, then there's a small changelog.
Questions and wishes will be answered if possible!

jarosciak 03-21-2010 11:47 AM

This is working nicely for USENET groups, but is there any way to import Google Groups?


All times are GMT. The time now is 05:42 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.02114 seconds
  • Memory Usage 1,741KB
  • 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
  • (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