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)

Marv 06-27-2002 05:42 PM

hi,

meanwhile the script is up & running. Okay..gateway.php still doesn?t tell me "All done" after it?s finished but that?s no problem at all - beside that it works perfectly and gets the job done. That?s what matters.

May be someone could assist me with a minor problem. gateway.php has to be run in your browser everytime you want to synchronize posts with the newsserver. (BTW: I have to do this with Opera or Netscape cause MSIE always wants to [i]download[/] gateway.php instead of executing the file..)

As someone mentioned a few posts before you could use opera and the built-in refresh-option or do it seperatly in a html-file like this
Code:

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta HTTP-EQUIV="Refresh" CONTENT="900">
<meta NAME="Robots" CONTENT="NOINDEX,NOFOLLOW">
<title>Iframe Newsgroup Synchronizer</title>
</head>

<body>
Iframe Newsgroup-Synchronizer

<iframe src="http://www.yourdomain.com/forums/gateway.php" width="100%" height="400" name="gateway.php in a box">
<p>Ihr Browser kann leider keine eingebetteten Frames anzeigen:
Sie k&ouml;nnen die eingebettete Seite &uuml;ber den folgenden Verweis
aufrufen: <a href="http://www.yourdomain.com/forums/gateway.php">manuelle Newsserver-Abfrage</a></p>
</iframe>
</body>
</html>

We?re on a shared server and so we?re not allowed to run cronjobs. Is it possible to let this job be done by another php.file ?

What I was thinking of:
I guess the most users here - assumed 98 percent of all german bb?s are installed on shared web-servers - can?t do cronjobs.

A solution to that could be to include a - let me call it - "pusher-option" which forces gateway.php to execute without any browser output. (in case the script won?t work proper vb?s db is already configged to send you an eMail-notification every time the error appears)

To reduce bandwith and transfer-volume a new function should be added to this that gateway.php is only executable every 15 (or whatever) minutes.

In practice it would happen like this:
User clicks the newsgroup-forum-link --> this one opens the forum and at the same time is executing gateway.php in a hidden way (without output to the users browser).
After that certain others are viewing this newsgroup-forum but only after [x]-minutes the gateway.php should be executed again by a click on the forum-link.
Otherwise on Boards with a heavy user load your transfer-volume would increase rapidly - and it?s not necsessary to synchronize with the newsserver every 60 seconds and let the users wait another 30 seconds until gateway.php is through with this job until they can view the threads inside..

Meanwhile I?m quite sure this belongs to the request-Forum, but I`ll leave it in here also. May be someone?s stumbling over this posting and.... :classic:

Regards,
Marv.

Bro_Joey_Gowdy 06-28-2002 10:11 PM

anyone know of any cheap usenet account providers ?

Bro_Joey_Gowdy 06-29-2002 05:09 PM

Is this hack compatable with http://www.usenet-access.com ??

(thinks to himself - if I ask enough questions some is bound to reply)

Marv 06-29-2002 06:03 PM

Hi Joey,

it should, Joey. The Newsgate Script is still using standard-ports and
therefore I see no reason why it shouldn´t work.

*a friendly smile through the line*,
Marv.

Marv 06-29-2002 06:09 PM

um...that means.. so far as I remember - hadn?t some of us serious probs to
keep this script going with presupposed username/passwords?
In case thats correct, guess you have to check the whole thread.. so I hope
I?m wrong ;)

Bro_Joey_Gowdy 06-29-2002 08:40 PM

Thanks Marv,

God bless you !!

:D

mcncyo 07-01-2002 09:18 AM

does this hack with verison 2.2.6?

Bro_Joey_Gowdy 07-01-2002 11:19 AM

Quote:

Originally posted by cyo
does this hack with verison 2.2.6?
Yes

:cool:

(p.s. - awesome avatar - Im a Jesus Freak as well)

Frenck 07-07-2002 12:36 PM

My forum is using the attachment to files hack, but the gateway script seems to put the attachments into the database?!

How to make this script working with the attachments to files hack?

Besides this little problem, the script is running fine! Great work!

Odoin 07-09-2002 02:42 AM

This might have been asked before, but there is so many posts I do not have time to search through them...

My question is... Is there a way to limit the amount of messages inported by the NNTP client? I mean like this one news group has over 5000+ messages and the client will not download them all at one shot it seems to time out before it gets done. Then I have to take the last message id and mod the forum with it, and start over but then the dates are messed up and it looks like all the messages were posted today. Any ideas?

Thank you in advance.

Sincerely,

Mark Laudenbach


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