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)

Sanjiyan 02-20-2002 02:14 PM

Quote:

Originally posted by Gilby


Did anything happen? Any errors appear?

nope no errors, just a blank white IE screen.

I didnt run it as cron, I just ran it from the address bar on IE, as I dont have access to cron and this will be ok with me, cos I can use MS TASK to run the url every 1 hour :P

Gilby 02-20-2002 02:14 PM

Quote:

Originally posted by Erwin Loh
One question: If I don't do a cron job, then I have to manually run the gateway.php file myself - is that right?
That's correct.

Sanjiyan 02-20-2002 02:25 PM

If you wish to try the link on my site Gilby:

http://www.wocs.net/gateway.php

You can see it just gives you a blank screen.

Urm I run my forums on the root of my domain, mainly because thats all I have on my website for now and the for seeable future.

Thanks

Sanjiyan 02-20-2002 02:26 PM

Quote:

Originally posted by Gilby


I fixed the SQL in the first post. Please give this update a try. I removed the footer column at the last minute because I didn't implement any use for it and it might confuse some just by being there.

I have ran a file compare on the sql file I edited and your new one and they are exatcly the same so I shall refrane from uploading this one, as theres no changes to the code. Just thought I'd let you know.

dost 02-20-2002 02:26 PM

Quote:

Originally posted by Sanjiyan
nope no errors, just a blank white IE screen.

I didnt run it as cron, I just ran it from the address bar on IE, as I dont have access to cron and this will be ok with me, cos I can use MS TASK to run the url every 1 hour :P

Same thing happened to me, but I found a solution. I searched my machine and found a file called pear.php.in, then I copied it to my forum folder and renamed it to pear.php and it worked.

Gilby: Some Turks use both the Re: and Ynt: prefix for replies in newsgroups. What can I do to recognize posts starting with Ynt: prefix as replies?

Thanks for the great hack

Sanjiyan 02-20-2002 02:30 PM

Quote:

Originally posted by dost
Same thing happened to me, but I found a solution. I searched my machine and found a file called pear.php.in, then I copied it to my forum folder and renamed it to pear.php and it worked.

Gilby: Some Turks use both the Re: and Ynt: prefix for replies in newsgroups. What can I do to recognize posts starting with Ynt: prefix as replies?

Thanks for the great hack

I dont have complete access to my webhosts hard disk only to my website as it where, is it possible for you to send me that file and I can see if I can do the same? or do you want me to leave this to you Gilby?

dost 02-20-2002 02:33 PM

Well, I attached the pear.php that comes with my nusphere installation. I hope that's not illegal :)

And be careful about choosing an empty forum for the news posts. I was trying it on my computer and I chose an existing forum, then it posted 140 posts in a minute from my computer to the newsgroup. It was too late when I realized it and I had to apologize :surprised

Gilby 02-20-2002 02:37 PM

Quote:

Originally posted by dost
Same thing happened to me, but I found a solution. I searched my machine and found a file called pear.php.in, then I copied it to my forum folder and renamed it to pear.php and it worked.

Ah... I was puzzled. The only thing I could figure was that there were no newsgroups in the database. Since it looks like the PEAR is a problem, I'll have to modify the NNTP class to not require it.

Quote:

Originally posted by dost

Gilby: Some Turks use both the Re: and Ynt: prefix for replies in newsgroups. What can I do to recognize posts starting with Ynt: prefix as replies?

On line 124 and 125, replace those similar lines with:
Code:

if (eregi("^(Re:|Ynt:)", $message[subject])){
$subject = eregi_replace("^((Re:|Ynt:)[ ]*)+","",$message[subject]);


Sanjiyan 02-20-2002 02:39 PM

Quote:

Originally posted by dost
Well, I attached the pear.php that comes with my nusphere installation. I hope that's not illegal :)

And be careful about choosing an empty forum for the news posts. I was trying it on my computer and I chose an existing forum, then it posted 140 posts in a minute from my computer to the newsgroup. It was too late when I realized it and I had to apologize :surprised


still dont work, still getting a blank white screen with no error messages, with the status bar saying 'Done'

Gilby 02-20-2002 02:43 PM

Quote:

Originally posted by dost
And be careful about choosing an empty forum for the news posts. I was trying it on my computer and I chose an existing forum, then it posted 140 posts in a minute from my computer to the newsgroup. It was too late when I realized it and I had to apologize :surprised
Yeah, I should have mentioned that. Sorry about that. I added a little warning to the readme.txt.


All times are GMT. The time now is 11:01 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.01524 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
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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