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)

nafae 03-03-2002 12:43 AM

no, my nntp server is the one that my isp uses

Gilby 03-03-2002 12:45 AM

Quote:

Originally posted by saab340
Also I just remembered, I changed the time to show correct time... ie not time when cron (ie when downloaded)

and I see that some of the posts which are replied... ie Re: something

will show in different posts. What is the cause of this? time issue?

Thanks (Gilby You are doing a great job)

this is the mod for time....
// if ($group[lastmsg] == 0){
$date = strtotime($message[date]);
//} else {
//$date = time();
//}

With that code change, youdon't get a parsing error? You commented out the } which should produce a parse error, unless you added one somewhere else. Uncomment that and see if you still have problems.

Gilby 03-03-2002 12:47 AM

Quote:

Originally posted by nafae
no, my nntp server is the one that my isp uses
Most ISPs will not allow you to access the server from outside the network of the ISP. They only allow local users to use their news server. You may be able to use it if you put in your username and password that you use with that ISP.

nafae 03-03-2002 12:50 AM

so the next step would be, assuming that I can't access my isp's usnet group... I purchase a username to another usenet server? What are the typical prices and where can I buy a usenet account :confused:

Gilby 03-03-2002 12:55 AM

Quote:

Originally posted by nafae
so the next step would be, assuming that I can't access my isp's usnet group... I purchase a username to another usenet server? What are the typical prices and where can I buy a usenet account :confused:
You can check with your webhost to see if they have a usenet server you can use. You can install php on your home computer and run the gateway script from there (connecting to your servers mysql database), or you can get a usenet account. Typically, they cost under $10 a month. I haven't used any of them though, but just do a search in google for them and you should have no problem finding one.

nafae 03-03-2002 12:57 AM

ok, thanks for your help.

saab340 03-03-2002 01:05 AM

remove // from } ?

I did this like you suggested early on, to show correct thread date...

I dont understand? It seems correct.

Please confirm.

Gilby 03-03-2002 01:15 AM

Quote:

Originally posted by saab340
Also I just remembered, I changed the time to show correct time... ie not time when cron (ie when downloaded)

and I see that some of the posts which are replied... ie Re: something

will show in different posts. What is the cause of this? time issue?

Ignore my last thing... I just saw it wrong. What exactly is happening? Which of the times that you used "posts" above should it be "threads"?

saab340 03-03-2002 01:24 AM

My problems are [] listed right before each post on the topic, and when replied... they will show up on a different post.

some Re: posts also show as a different topic.

Gilby 03-03-2002 01:30 AM

Quote:

Originally posted by saab340
My problems are [] listed right before each post on the topic, and when replied... they will show up on a different post.


some Re: posts also show as a different topic.

That shouldn't be happening. Is the prefix column in the thread table set to default to NULL? If not, change it to do that.

Otherwise, if all else fails, we can hardcode it to not use my undocumented feature for you:

Change:
Code:

                if ($prefix[$newthread[forumid]] and !$isreply){
                        $cat = "[".$prefix[$newthread[forumid]]."] ";
                } elseif ($isreply and $newthread[prefix]) {
                        $cat = "Re: [".$newthread[prefix]."] ";
                } elseif ($isreply){
                        $cat = "Re: ";
                } else { $cat = ''; }

Into this:
Code:

                if ($isreply){
                        $cat = "Re: ";
                } else { $cat = ''; }



All times are GMT. The time now is 11:02 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.02164 seconds
  • Memory Usage 1,744KB
  • 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
  • (2)bbcode_code_printable
  • (5)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