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)
-   -   Usenet gateway (https://vborg.vbsupport.ru/showthread.php?t=7100)

mcncyo 05-22-2001 10:07 AM

the only thing i can't get installed with CPAN is the Bundle::MySQL i went to CPAN website and it isn't listed anymore.

Does anyone know where i can get it?

fastforward 05-22-2001 12:16 PM

Quote:

Originally posted by cyo
the only thing i can't get installed with CPAN is the Bundle::MySQL i went to CPAN website and it isn't listed anymore.

Does anyone know where i can get it?

It's actually part of 'Msql-Mysql-modules-1.2216' They must have changed the name on me :)

Here's the link: http://search.cpan.org/search?dist=Msql-Mysql-modules

annams 05-22-2001 04:36 PM

I am using the default template and have BB code turned on in the forums. Whenever a new post is made while keeping the "Automatically parse URLs" turned on, the resulting post shows up with the following text in the usenet:

[ url

No url is sent to the usenet posting. This was a problem present in the older version. Can you please provide a fix.

Thanks.

Gilby 05-22-2001 06:13 PM

Quote:

Originally posted by annams
No url is sent to the usenet posting. This was a problem present in the older version. Can you please provide a fix.
Here is a fix (within the remove_bb_code subroutine), replace this:
PHP Code:

    $text =~ s/\[url=(\")?//ig; $text =~ s/(\")?\](.)+\[\/url\]//gi;      # url
    
$text =~ s/\[email=(\")?//ig; $text =~ s/(\")?\](.)+\[\/email\]//gi;  # email 

with this:
PHP Code:

    $text =~ s/\[url(=)?(\")?//ig; $text =~ s/(\")?\](.+)\[\/url\]/ $2/gi;      # url
    
$text =~ s/\[email(=)?(\")?//ig; $text =~ s/(\")?\](.+)\[\/email\]/ $2/gi;  # email 

The probelm was that it didn't recognize the url code when it was like: [ url ] http://www.gilby.com [ /url ]

I also made it so that any internal text that is in the url code is not removed, so if I had [ url="http://www.gilby.com" ] My Site [ /url ], it would replace it with http://www.gilby.com My Site. Still not perfect, but no text is lost.

fastforward 05-22-2001 09:09 PM

Thanks Gilby. I wasn't looking forward to trying to fix that one :)

AWS 05-22-2001 11:36 PM

I got this hack running on Win2k and Apache. Check it out at http://resource-zone.com

If any else wants to get it running with NT I'll post a howto to this thread. The way I set it up should also work with IIS.
Bob

jarvis 05-23-2001 12:19 AM

Ooh, ooh.... me, me!!

I want an NT/IIS how-to!! :D

I gave it an initial effort, but realized I was in over my head, and I couldn't translate some of the needed modules over to ActiveState Perl. Would love to try your suggestions.

Thanks!

NgtCrwlr 05-23-2001 01:11 AM

fastforward, words just can't tell you how much I appreciate your vBulletin usenet hack. I had installed the hack on rc2 dev board just to see if I could get all the perl modules installed etc. The rest is history... I am now working on customizing the vB2 final usenet hack.

I'm wondering if you are planning to release your usenet templates? The templates are my next project and if you don't mind... being able to use your templates as a guide would sure save time and a few brain cells.

Thanks again for sharing your brilliant work.

Cheers!

Larry "NgtCrwlr" Mingus
http://www.makeitsimple.com

PS: You should hook up with a hosting company because anyone using your hack will soon need a dedicated server. :D

fastforward 05-23-2001 02:05 AM

Ah.. kind words indeed. It makes it all worthwhile :)

I can't take all the credit though. My thanks go to:
  • Gilby for his code fixes and orphan handling functions.
  • Chris Padfield for keeping me motivated early on and providing the feature list.
  • Tamarian for not suing after trashing his forums ;)
  • Anybody else brave enough to install this hack on their production server :eek:
  • Jelsoft for ummm... that forum software thingy they wrote :p
  • And most importantly, Randall Schwarz for Perl and all the Perl module writers... Yayyy! :D

PS I've had a few requests for the templates so I'll make the them available tomorrow.

Dontom 05-23-2001 07:29 PM

Hi, I am trying to install this hack - does this mean Date/Parse.pm is not installed?

TIA
:D
Tom

Code:

Can't locate Date/Parse.pm in @INC (@INC contains: /usr/lib/perl5/5.6.0/i386-lin
ux /usr/lib/perl5/5.6.0 /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5
/site_perl/5.6.0 /usr/lib/perl5/site_perl .) at ./newnews.pl line 48.
BEGIN failed--compilation aborted at ./newnews.pl line 48.



All times are GMT. The time now is 03:53 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.01737 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
  • (2)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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