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)
-   -   Usenet gateway (https://vborg.vbsupport.ru/showthread.php?t=7100)

annams 05-11-2001 06:14 PM

Does the news server need to be connected / disconnected for fetching data from every newsgroup? Can the same connection be reused for all the newsgroups currently being processed?

Please read the above question in light of resource usage problems I am having.

fastforward 05-11-2001 07:37 PM

Quote:

Originally posted by annams
Does the news server need to be connected / disconnected for fetching data from every newsgroup? Can the same connection be reused for all the newsgroups currently being processed?

Please read the above question in light of resource usage problems I am having.

The script will only reconnect for each group if you have the 'Multiple Servers' option enabled. This was the the very reason I made that an option. If it's set to No, the script will make one and only one connection for the entire run.

It may be too difficult to get the script to remember where the it died on the previous run and adjust the order accordingly, but adding an option to limit the number of groups may be doable. However, the option is already there (sort of). All you need to do is adjust the batch size option. This was why the option was included. By usung this method, you can guarantee that at least some messages will be pulled from each group and that all outgoing messages will be processed.

annams 05-11-2001 09:33 PM

Yes, I had the multiple servers option, while disabled the script runs much faster. Thank you.

jarvis 05-14-2001 07:55 PM

Okay, I've searched thru most of the posts on this great hack, but I may have skipped over, or it just isn't there.

I'm not a technical expert, but would like to think I can tackle this task. Has anyone implemented this on a Win32 system, and if so, did you use the Active Perl install? Does the ActivePerl install have all of the needed mods required for this? Lastly, do I have to install an ISAPI filter thru the IIS MMC, 'cuz right now all I see is the PHP filter listed there.

Thanks, and don't laugh too hard. :)

fastforward 05-14-2001 08:58 PM

Quote:

Originally posted by jarvis
Okay, I've searched thru most of the posts on this great hack, but I may have skipped over, or it just isn't there.

I'm not a technical expert, but would like to think I can tackle this task. Has anyone implemented this on a Win32 system, and if so, did you use the Active Perl install? Does the ActivePerl install have all of the needed mods required for this? Lastly, do I have to install an ISAPI filter thru the IIS MMC, 'cuz right now all I see is the PHP filter listed there.

Thanks, and don't laugh too hard. :)

I wondered how long it would be before someone wanted to run this on NT :)

The short answer is, it might work.

The latest Active state ports provide just about all the Unix functions (even fork) so there shouldn't be any problems there. The only thing I know of that Windows doesn't support is the ALRM system calls. I haven't used that so it doesn't matter.

However, you may have problems with some of the modules that are required for the script to run. I know for a fact that Active State doesn't provide binaries for all of them. If you have MSVC 5 or higher you should be able to compile all the modules just as you do for a Unix installation. You just substitute 'make' with 'nmake'.

Good luck and let me know if you have any success :)

PS. I know nuffink about the PHP/ISAPI stuff so you're on you own there :)

n3n 05-14-2001 11:33 PM

replies to a post not working..

i see the first post from usenet but the child replies do not seem to be posted on usenet.. -.-;;

fastforward 05-15-2001 01:05 AM

Quote:

Originally posted by n3n
replies to a post not working..

i see the first post from usenet but the child replies do not seem to be posted on usenet.. -.-;;

My guess is this:

You started a thread locally, then you replied to it a couple of times, also locally. Then you ran the script once and only once.

Run it again. The replies can only be sent when it's known what the message id is of the post it's replying to. As the thread starter hadn't been sent to usenet it doesn't have a message id.

fastforward 05-15-2001 01:25 AM

Just a quick update on how the next release is going for those interested.

I've managed to get it working so that you can reply to individual posts within a thread and have it show up correctly threaded on usenet. It requires one single code edit in newreply.php and a hidden input field in the newreply template.

I've also fixed the stripping of bbcode problems... I think. The only way to really test it is over time.

There were also a few other little things that I fixed including SNA's request for a workaround for his CNEWS set up.

I need a bit longer to test it but I'll be putting up a new version of dBforums.com tomorrow with a complete new set of templates for the usenet forums to better accomodate usenet posts.

If you want anything else (anything easy) included in the next release speak now or forever hold your peace :)

tamarian 05-15-2001 01:39 AM

Quote:

Originally posted by fastforward


If you want anything else (anything easy) included in the next release speak now or forever hold your peace :)

How about a a listing of the database schema? Only the relevant table/fields.

I'm still running the old hack 1.8 on RC3 since my database is no longer compatible with the last hack. Couldn't figure which fields I didn't revert/update.

Looking forward to the update!

Gilby 05-15-2001 01:43 AM

Quote:

Originally posted by tamarian
How about a a listing of the database schema? Only the relevant table/fields.

I'm still running the old hack 1.8 on RC3 since my database is no longer compatible with the last hack. Couldn't figure which fields I didn't revert/update.

Looking forward to the update!

Yeah, that would be nice... a script that will check to see if it set right and if it's not, then it changes it to the right thing would be nice. But let's see the next version first (the bbcode bugs are annoying).


All times are GMT. The time now is 01:11 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.01777 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
  • (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