vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   NNTP Gateway for Usenet ( Newsgroups ), Mailing Lists (https://vborg.vbsupport.ru/showthread.php?t=65152)

dethfire 08-10-2004 05:09 PM

alot of my imports have RE: in the title, how can I go through and delete that part from all my thread titles?

allan grossman 08-10-2004 05:41 PM

Quote:

Originally Posted by lierduh
allan, you are using the very original table created by Gilby's original hack. I remember in that SQL, the tables were created as ISAM.

If someone started new with the vB3 hack, the tables will be created using MyISAM table type.

I can't see the reason why MyISAM will cause the script to fail. Both of my nntp tables are MyISAM.

Thanks, lierduh - I'll convert the table. I guess I have been running this thing for awhile ;)

edit: Converted the table to MyISAM. All is well - thanks, lierduh :)

john_rsd 08-10-2004 11:09 PM

lierduh

Thanks for the updated mime.php file, i have uploaded it now. The forums should fill up a bit now.

Excellent work my friend!

john_rsd 08-11-2004 03:13 PM

Error messages

After isntalling the new mime.php i now get this error when importing some messages

Quote:

Warning: Unknown modifier 'b' in
/home/protelus/public_html/bbs3/gateway.php on line 346 />

Warning: Unknown modifier '>' in
/home/protelus/public_html/bbs3/gateway.php on line 346 />

Warning: Unknown modifier 'a' in
/home/protelus/public_html/bbs3/gateway.php on line 346 />
You can see the whole message here
http://proteluser.com/bbs3/showthread.php?t=2400

Never seen this error before, ill investigate more

Any information appreciated

lierduh 08-11-2004 11:17 PM

Quote:

Originally Posted by john_rsd
Error messages

After isntalling the new mime.php i now get this error when importing some messages



You can see the whole message here
http://proteluser.com/bbs3/showthread.php?t=2400

Never seen this error before, ill investigate more

Any information appreciated

Edit gateway.php, around line 333, replace the whole block with the following:
PHP Code:

[code]
                                if (!
$message['text'] and $message['html']){
                                        
$pattern = array(
                                                
"/\n/",
                                                
"/<br([^>]*)>/siU",
                                                
"/<[\/]*(div|p)([^>]*)>/siU",
                                                
"/<b>(.*)<\/b>/siU",
                                                
"/<i>(.*)<\/i>/siU",
                                                
"/<a[^>]*href=([^ >]*)>(.*)<\/a>/siU"
                                        
);
                                        
$replace = array(
                                                
" ",
                                                
"\n",
                                                
"\n\n",
                                                
"[b]\\1[/b]"
                                                
"[i]\\1[/i]"
                                                
"[url=\\1]\\2[/url]"
                                        
);

                                        
$message['text'] = strip_tags(preg_replace($pattern$replace$message['html']));
                                } 

[/
code


lierduh 08-11-2004 11:22 PM

Quote:

Originally Posted by xb_
I've set you up an account, details are in pm. There are only a few examples at this moment, since most of them i had already merged manually.

[edit] ok by now there are plenty examples :D[/edit]

Actually I need the original message headers.

Marv 08-12-2004 10:22 AM

Quote:

Originally Posted by Marv
Hi lierduh,

if possible, could you tell me what I have to do to make gateway.php pause between connecting to different ng?s ? Some newsservers are blocking the script in case the gateway is way to fast for an old and slow newsserver. (Err-Msg: "Too many connections. Your IP is temporarly blocked.")

Could someone help me with that problem ? I can run the gateway only once a day connecting to 9 newsgroups. That means I receive ~50 posts from the first newsgroup and while they are ported over to the db my Server-IP becomes blocked :ermm:
I guess the script works perfect as it should. I only must connect to a newsserver that seems to accept only 5 request per second. 5 connections to newsgroups are working fine - everything above becomes blocked. I guess that?s because the script doesn?t loop through each ng like the script imports the single posts. Instead it gateways all ng?s with only one request which means multiple connections at one time. (True or false ?)

Is there a way that gateway.php could pause between two ng?s for ? seconds ?

Regards,
Marv.

Blackbeard 08-12-2004 02:49 PM

I have also just installed this hack, seems i have got to 2 posts in the forum and the debug as stopped
refreshed and got this

Another instance of gateway.php is running, try again in 30 minutes if the script was crashed.

please help.

Blackbeard 08-12-2004 05:55 PM

Now all the post started appiering and as a test i used the microsoft one in the readme file, after 1000's of post appear on my forum i selected gateway to disable, but posts keep posting on the forum, why? when you start it dont it stop?

john_rsd 08-12-2004 09:48 PM

Quote:

Originally Posted by lierduh
Edit gateway.php, around line 333, replace the whole block with the following:

Thank you, off to try now.


All times are GMT. The time now is 06:31 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.01899 seconds
  • Memory Usage 1,763KB
  • 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_php_printable
  • (6)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