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)

Mark Hewitt 02-23-2002 01:08 PM

Actually I've noticed my post above isn't entirely accurate. Basically because the forumdisplaybit has a "nowrap" set, long names even with spaces, do not wrap.

I don't want to get rid of this as it usually makes things look a lot neater than they would without it. So I use need a way to truncate the thread starters names.

Gilby 02-23-2002 05:15 PM

After working out the problem with Sanjiyan on his setup, I've solved the compatibility issue and am releasing a new update that is available in the first thread. If you've had problems with the sending of forum posts to the newsgroup, then this should fix them.

I also added one new feature, and that is multiple colors for the replies in imported posts. So each level has it's own color.

The database has not changed, so all you need to do is upload the gateway.php and the nntp.php files.

If you have any bugs or feature requests you want, please post them here and I'll add them to my list of things to add to the script.

Sanjiyan 02-23-2002 05:55 PM

Quote:

Originally posted by Gilby
After working out the problem with Sanjiyan on his setup.
Yep thanks for your help with that little problem I was having Gilby, domo arigato ^_^

Sanjiyan 02-23-2002 06:05 PM

Quote:

Originally posted by Gilby
new update
I bet you already know what I am gonna ask for...

Gilby, mate buddy pal, best buddy in all the world, (master arse kisser I am ^_- )

Do you think you could email me a copy of the nntp.php which gives me the feed back codes please...

I kinda like having them so I know that the servers working for me ^_^

Thanks in advance.

fsfl2k 02-23-2002 08:09 PM

I waited a few days for the problems to be worked out before downloading this and installing it.

I was able to install it and get it working with no problems.

The only error that arose was a mistake on my part and once corrected I was able to post and reply both on my forum and in a seperate news reader and all posts showed up with no glitches.

Thanks Gilby for taking the time to make this.
Couldn't ask for a better addition to my site.

Anthony

James Cridland 02-24-2002 04:13 PM

Great hack.

Users with Opera might like to know that you can set that browser to re-load a page every x minutes: so, if you've a permanent connection, you can force a gateway "ping" every half hour by leaving Opera on in the background.

Of course, it's also possible to add a meta-refresh in the gateway.php code itself, too - for those of us without telnet access... :)

Sanjiyan 02-24-2002 10:03 PM

Quote:

Originally posted by James Cridland
Great hack.

Users with Opera might like to know that you can set that browser to re-load a page every x minutes: so, if you've a permanent connection, you can force a gateway "ping" every half hour by leaving Opera on in the background.

Of course, it's also possible to add a meta-refresh in the gateway.php code itself, too - for those of us without telnet access... :)

I just set this up to run every hour on the hour using MS Task Schedular:

C:\PROGRA~1\INTERN~1\IEXPLORE.EXE http://www.wocs.net/gateway.php

That to me is the better way, apart from the fact that if I am playing Counter Strike it pulls me out of the game screen to show that this is running. which is annoying.

Gilby 02-24-2002 11:00 PM

I just updated the zip to include a bug fix. It's just the gateway.php that needs to be uploaded.

The bug is that on outgoing posts, my regular expression removed the letter 's' if it was at the beginning of a line (for you regex people, I used \s to match whitespace, but that didn't work). Version 1.7 fixes this bug.

I also added the Ynt: prefix to be looked for for replies just like the Re: is looked for. If other languages use other prefixes for replies and you need support for it, please let me know and I'll add them.

I probably won't be releasing a new version for a while, except in the case of a bug fix, and when the admin control panel integration is finished (that GameCrash has offered to create).

floleb7 02-25-2002 04:03 PM

can i have a newsgroup without login and pas for testing the hack ? (a newsgroup wich works for someone :D)

fsfl2k 02-25-2002 04:26 PM

I used the one posted earlier in the tread and it worked fine. Here it is again.

newsgroup: webdiscuss.test
server: webdiscuss.com
forum: a blank test forum id

Anthony


All times are GMT. The time now is 11:50 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.01724 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
  • (3)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