View Single Post
  #209  
Old 02-13-2006, 05:40 PM
Deepdog009's Avatar
Deepdog009 Deepdog009 is offline
 
Join Date: Dec 2004
Location: Almost out of PHP TZone
Posts: 485
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06681 seconds
  • Memory Usage 1,782KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (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)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete