vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   NNTP Gateway for Usenet ( Newsgroups ), Mailing Lists (https://vborg.vbsupport.ru/showthread.php?t=92588)

KW802 02-11-2006 02:57 AM

Anybody else having problems exporting posts that contain list, quote, code, or php tags? If any of those tags are used in a thread then the post has nothing exported.

I can see in functions_nntp.php in the format_text function that it attempts to convert those tags to be plain text dashes but I'm not seeing where the problem might be.

Thoughts?

:)

jarosciak 02-13-2006 01:48 AM

I am having a real problem in 3.5.3

When I run gateway.php in debug mode:

Gateway version 2.3.2 101 group(s) gatewayed.


Connecting to server, server says: 200 SurgeNews Text-East.u (Version 2.0a-4) http://surgenews.com posting OK

Server responded after user name: 381 Helo myusername password required

Server responded after password: 281 Authorization accepted

Info for sci.lang at text-east.usenet.com: 211 46541 245219 291997 sci.lang selected (items,min,max)

Getting message number 288938:

'Re: Time in various languages...' from Peter T. Daniels. Thread found by References.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>S...


And it displays the whole posts and gateway.php stops.

and below that is:

Database error in vBulletin 3.5.3:

Invalid SQL:
INSERT INTO post
(postid, threadid, title, username, userid, dateline, pagetext,
allowsmilie, showsignature, ipaddress, iconid, visible,
isusenetpost, msgid, ref, parentid) VALUES
(NULL, 214260, 'Re: Time in various languages...',
'Peter T. Daniels', 0, '1137363805',
'Se?n O\'Leathl?bhair wrote:
[color=blue][color=green]
&gt; &gt; &gt; &gt; Let\'s check that I understand you. Is the following correct?
&gt; &gt; &gt; &gt;
&gt; &gt; &gt; &gt; German \&quot;Halb Neun\&quot; meaning 08:30 is reasonable.

&gt; &gt;
&gt; &gt; Sure. It\'s halfway through t

jarosciak 02-13-2006 01:49 AM

Can Someone help out. I spent last 4 hours trying to figure this one out.
Looks like there is something with posting to post database.
But why doesn't it work?
Joe

sensimilla 02-13-2006 06:25 AM

looks like this topic is unsupported anyway.. its a pity , great addon in my opinion

jarosciak 02-13-2006 10:58 AM

Lierduh, can you please look at the code above?
I can even give you ftp and forum access if needed.
Please let me know
joe

Deepdog009 02-13-2006 11:09 AM

only probs is the gateway.php file doesn't continue in the cron area, so must setup server cron. also have prob with exporting sometimes, it works and then it doesn't work depending on the auth from server. some hosts dont support import or export. other than that its hecca cool dude. thanks a mil Lierduh. if i had some extra cashola, I be PP U.

jarosciak 02-13-2006 12:20 PM

Could anyone look at the problem above?
My whole forum is stuck for couple of days now, no support here.
I will gladly pay to someone who can figure out what is causing my problem.
Joe

KW802 02-13-2006 02:45 PM

Re: /includes/functions_image.php

So am I missing something obvious or do we need to use a modified version of functions_image.php from vB 3.0.x with vB 3.5.x in order to get the attachment thumbnails working? :)

Deepdog009 02-13-2006 05:40 PM

Thread Items of interest

https://vborg.vbsupport.ru/showthread.php?t=65152
3.0 version / take a look my help solve some problems with 3.5
lierduh page 1

http://gt500forums.com/testvb/index.php
dodgez page 2

http://phorums.com.au/forumdisplay.php?f=21
lierduh page 5

http://www.cyburbia.org/forums/
Cyburbia page 5

http://www.techenclave.com/forums/
Acers page 7

You won't find smtp in the scripts. If you need more info about mail(), please check:
http://php.mirrors.ilisys.com.au/ma...nction.mail.php

Ok, I think I have it partially figured out re: attachments... But I'm getting this debug message, and have set everything to allow attachments... Any idea for what I might be missing?
The Pimp / page 4

Getting message number 971197:
This forum does not allow attachments, therefore attachment ignored.
http://www.maximumgamer.com/forums
ixian page 9

http://www.edinburghtalk.com/forum/
donnacha page 9

The Gateway script is not picking up attachments!!!

http://www.asiasrc.org/forum3.5/showthread.php?t=32
The attachment is available in the pipermail archive on Mailman.. at: http://asiasrc.org/pipermail/pleasu...ber/000052.html
Any idea pls?
babulgogoi page 11

The problem happens when you have a completely empty forum. I fixed that in the CVS a while back, but having trouble to find time to release a new version.
lierduh page 12

1.) add a plugin, the hook you want is "showthread_start"
2.) product is vbulletin (or you can create a product just for nntp hacks)

PHP Code:

global $vbulletin;
$thread = verify_id('thread', $threadid, 1, 1);
if ($thread) {
$sql = "SELECT newsgroupid FROM " .
TABLE_PREFIX .
"nntp_groups WHERE forum = " .
$thread['forumid'];
if($vbulletin->db->query_first($sql)) {
unset($threadedmode);
$vbulletin->userinfo['threadedmode'] = 2; // 1 - threaded, 2 - hybrid
}
}
scruby page 12

Look at my site http://ms-os.com. You can see new threads and posts. Those are all usenet forums.
That error happens when there is a problem with an image attachment in a usenet post. I get it from time to time. Go to newsgroup settings and dit each groups message id number. Increment it by one.
AWS page 13

Here's how I resolved my issue of masking email addresses, in case anyone else is interested.

Find:

Quote:
$message['text'] = preg_replace('/([-_.\\w]+)@([\\w]+[-\\w]+)\\./', '\\1 (AT) \\2 (DOT) ', $message['text']);

Replace with:

Quote:
$message['text'] = preg_replace('/([-_.\\w]+)@([a-zA-Z0-9\.]+)/', '\\1@xxxxxx', $message['text']);

Find:

Quote:
$from_name = from_name($message['from']);

Replace with:

Quote:
$sender_name = from_name($message['from']);
$from_name = preg_replace('/([-_.\\w]+)@([a-zA-Z0-9\.]+)/', '\\1', $sender_name);

I'm sure it's not the most efficient want to do it, but it seems to work for me.
http://vfrworld.com/forums/vf-vfr-mailing-list/
volarium page 14

Hope all dont mind if posting sites again to view by new installers.
This hack is very useful and should be given more attention.
Hope this helps somebody.

sensimilla 02-13-2006 05:48 PM

@Deepdog009
Outstanding reply, thanks alot!


All times are GMT. The time now is 04:28 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.01677 seconds
  • Memory Usage 1,752KB
  • 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)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