vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   NNTP Gateway (Usenet/Newsgroups) (https://vborg.vbsupport.ru/showthread.php?t=35247)

Ogmuk 03-16-2004 01:27 PM

Thanks. I tried it with that file but the same result. Actually the output is even weirder (small part of the output):
Quote:

Getting message number 49633: forum post
Getting message number 49634: forum post
Getting message number 49635: forum post
Getting message number 49636: Getting message number 49637: forum post
Getting message number 49638: forum post
Getting message number 49639: forum post
Getting message number 49640: Getting message number 49641: Getting message number 49642: forum post
Getting message number 49643: Getting message number 49644: Getting message number 49645: Getting message number 49646: Getting message number 49647: Getting message number 49648: Getting message number 49649: Getting message number 49650: Getting message number 49651: Getting message number 49652: Getting message number 49653: Getting message number 49654: Getting message number 49655: forum post
Getting message number 49656: forum post
Getting message number 49657: forum post
Getting message number 49658: forum post
Getting message number 49659: forum post
Getting message number 49660: forum post
Getting message number 49661: forum post
Getting message number 49662: forum post
To what else could this be related? Dated PHP/MySQL?

allan grossman 03-16-2004 02:32 PM

Quote:

Originally Posted by Ogmuk
Thanks. I tried it with that file but the same result. Actually the output is even weirder (small part of the output):

To what else could this be related? Dated PHP/MySQL?

I have no idea :(

I know I'm not a lot of help here - but the thing should work. I don't know why it doesn't.

Ogmuk 03-16-2004 03:39 PM

Quote:

Originally Posted by allan grossman
I have no idea :(

I know I'm not a lot of help here - but the thing should work. I don't know why it doesn't.

No problem ;) I hope others still read this thread.

Ogmuk 03-16-2004 10:30 PM

Looking back my guess is that emptying the fields useragent and organization caused this odd behavior, that or it just can't handle a full forum prune. I completely emptied the database of my test board and reinstalled. Its working like it should so I won't change those two fields anymore. :)

Only one problem that I still have, it won't add the imported messages to the search index. It will only add the messages that were posted via the forum to the search index. Is there anything specific I have to do to enable this? ;)

edit: I've just tried searching on your forum Allan but I can't search on any words from the Guest users. I assume that this feature isn't available yet so I'll just create the gateway on my live forum without a search option for now.

allan grossman 03-16-2004 11:14 PM

Quote:

Originally Posted by Ogmuk
Looking back my guess is that emptying the fields useragent and organization caused this odd behavior, that or it just can't handle a full forum prune. I completely emptied the database of my test board and reinstalled. Its working like it should so I won't change those two fields anymore. :)

Only one problem that I still have, it won't add the imported messages to the search index. It will only add the messages that were posted via the forum to the search index. Is there anything specific I have to do to enable this? ;)

edit: I've just tried searching on your forum Allan but I can't search on any words from the Guest users. I assume that this feature isn't available yet so I'll just create the gateway on my live forum without a search option for now.

I didn't know you couldn't search on guest users. I'm gonna quit indexing the Usenet forums :D

Can you search on guests from within the forum itself?

allan grossman 03-16-2004 11:16 PM

Quote:

Originally Posted by allan grossman
I didn't know you couldn't search on guest users. I'm gonna quit indexing the Usenet forums :D

Can you search on guests from within the forum itself?

If you rebuild the search index it'll work, I think.

Head back to my forum and search on the keyword "bassist". You'll see all kindsa Usenet hits.

Ogmuk 03-16-2004 11:25 PM

Quote:

Originally Posted by allan grossman
If you rebuild the search index it'll work, I think.

Yup, I think I mentioned that earlier too. Only if you update it manually it will work ;) I was hoping that it would be done automatically.

Another thing I noticed with some quick tests. For example when people use 5 spaces, is there a way to get the 5 spaces to show on your forum too? Some ASCII signatures will not be displayed correctly on your forum is one reason that it would be handy ;)

edit: and a bug I noticed if you edit some of the posts to view their content. This is one piece from a message:

PHP Code:

test test test  test test test  test test test  test test test  test test
test
[color=blue]
test test test  test test test  test test test  test test test  test test[/color]
test[color=blue]
>  
test test test  test test test  test test test  test test test[color=green]
> >  
test test test  test test test  test test test
> >  test test test  test test test  test test test[color=darkred]
> > > 
test test test  test test test  test test test  test test test  test[/color][/color][/color]
test test[color=blue][color=green][color=darkred]
> > > 
test test test  test test test  test test test  test test test
> > > test test test  test test test  test test test  test test test  test[/color][/color][/color]
test test[color=blue][color=green][color=darkred]
> > > 
test test test  test test test  test test test

etc


I'm referring to the large amount of useless repeating COLOR vbcode if it wasn't obvious

[_color=blue][_color=green][_color=darkred]text[_/color][_/color][_/color]

It adds to the database's size when importing hundreds of messages a day ;)

Ogmuk 03-17-2004 09:49 PM

Another thing. How difficult is it to make gateway.php, once it is loaded, convert the posts that were send via the forum into how they will be shown to the rest of the newsgroup, with 72 characters per line, signature, etc?

allan grossman 03-17-2004 11:30 PM

Quote:

Originally Posted by Ogmuk
Another thing. How difficult is it to make gateway.php, once it is loaded, convert the posts that were send via the forum into how they will be shown to the rest of the newsgroup, with 72 characters per line, signature, etc?

Each quoted post will be a different color. Nested quotes, nested colors :)

I don't think you can hack a 72-character display without doing some major alterations on vBulletin files, Ogmuk - the gateway picks up the post *after* it's been posted to the forum. You'd have to hack both newthread.php and newreply.php - and both would be systemwide changes.

Ogmuk 03-17-2004 11:44 PM

I meant it in a way that it would edit the original post and replace it with a 'paste' of the 'echo' (if that makes any sense), so that you can see how it looks without using a newsreader. I think it would only need to remember the latest posts which were uploaded so it can download these with the next synchronization and replace the originals (preferably without turning them into unregistered users. so it would need to only replace the post's content).

No idea if such a thing is possible though or how much work it would be to change this :)


All times are GMT. The time now is 07:34 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.01930 seconds
  • Memory Usage 1,765KB
  • 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
  • (7)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