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)

ullo 10-06-2006 09:49 PM

I have tested the script with Attachments.
I have used the version changed by Torneval and i have also commented a line in functions_image (the line 224).
See my old post here : https://vborg.vbsupport.ru/showthrea...=92588&page=25

I don't seen great problems a part the types of attachment and the dimension of them. I hate to have images of great dimension and to have videos files (clips and similar). But at the moment i can't stop to download them. I have used an .htaccess file to not upload this type of file (i hate in particular video... ).
php_value post_max_size 180000
php_value upload_max_filesize 150000

But it not work.

I think that this problem with attachments depend on the type of hack that was written for an old version of vbulletin and to download images i need to use functions_image that was thought for the old version 3.0.

Using the old version is it possible to stop attachment of video and files of great dimension ?
The old hack , if i use it with vbulletion 3.0. worked good with attachment ???

ullo 10-06-2006 09:57 PM

Quote:

Originally Posted by mdevour
Dear Aylwin,

I've been trying to gain my sea legs asking about the process of posting hacks here. See this thread in vBulletin Questions.

I'm also working on another small hack as practice for some later parts of this project.

I will read over the code for this hack and make a first attempt at installing it soon. I'm ready for that now.

Mike D.

I'm also interested in the project but i have not any experience in php. For me php code and a cat are the same...

mdevour 10-06-2006 11:15 PM

Quote:

Originally Posted by ullo
I'm also interested in the project but i have not any experience in php. For me php code and a cat are the same...

My php tends to resemble a little puppy, kinda fuzzy and likely to leak, but I feel about the same!! <grin>

Mike D.

ullo 10-07-2006 03:36 AM

Quote:

Originally Posted by John Diver
Hey,

I'm not getting pictures, can pictures be included in posts? Almost all posts I'm getting have images.

Here is my forum for the posts: http://www.deuceace.com/forumdisplay.php?f=24

It also doesn't seem to be showing much text, am I able to change this or is it a limitation of what I am allowed to take from the sites?

Pictures can be included but it is not possible for me at the moment to apply the dimension limits fixed in vbulletin attachment setting. At the moment i have also the problem that the hack work only if you insert the photo in a database and not in a file.
An old post of KevinM contain some help for fix the dimension of the images but it not work for me now.
https://vborg.vbsupport.ru/showthrea...t=65152&page=9

To include the photo you need to change functions_nntp.php by following the instructions of TMM-TT in the precedent page.

https://vborg.vbsupport.ru/attachmen...4&d=1159222924
and download the functions_image of an old version of vbulletin.

Then you need also to comment the line 224 of the functions_image.php file.

{
// $thumbnail['filedata'] = $DB_site->escape_string($thumbnail['filedata']);
}

Aylwin 10-07-2006 04:03 AM

Quote:

Originally Posted by ullo
I hate to have images of great dimension and to have videos files (clips and similar). But at the moment i can't stop to download them.

Wierd. I kinda have the opposite problem. I'm unable to get large attachments. If the email size is larger than around 2.5MB then gateway.php will hang. So I need to filter out all emails larger than 2.5MB to get this mod working properly on my site.

ullo 10-07-2006 05:06 AM

Quote:

Originally Posted by Aylwin
Wierd. I kinda have the opposite problem. I'm unable to get large attachments. If the email size is larger than around 2.5MB then gateway.php will hang. So I need to filter out all emails larger than 2.5MB to get this mod working properly on my site.

At the moment i think to exclude all attachment and use only "pure text", in fact my provider allow this setting. What system have you used to allow attachment ? In the original script attachment are not allowed. I have used the original functions_image and changed some code using Torneval instuctions.
https://vborg.vbsupport.ru/attachmen...4&d=1159222924

In any case i have not tested any attachments greater than 2.5 MB. Max is 1.5 MB.

Is it possible that your problem depend on php.ini ? Is it possible that depend on some vbulletin internal setting ? Have you contacted VBulletin support ?

ullo 10-07-2006 05:23 AM

Quote:

Originally Posted by Aylwin
Wierd. I kinda have the opposite problem. I'm unable to get large attachments. If the email size is larger than around 2.5MB then gateway.php will hang. So I need to filter out all emails larger than 2.5MB to get this mod working properly on my site.

Pardon my curiosity but. ... What system have you used to filter out email larger than 2.5 MB ? If you have use it , i can solve my problem. Have you used htaccess or changed some part of the code ?

ullo 10-07-2006 05:40 AM

Quote:

Originally Posted by esfron
The biggest issue in import is when clicking on the 'go to last post' button on forumhome, it says no thread specified and it leads to: /showthread.php?p=0#post0.

I didn't test export to usenet, mailing list, attachments.

Is it possible to change the template and avoid the problem, not showing this types of links in the template ? I think yes but i need to verify.



In Template Edit
Forum Home Templates - FORUMHOME: - forumhome_lastpostby
i have changed the link "goto" :

<a href="showthread.php?t=$lastpostinfo[lastthreadid]" title="<phrase 1="$lastpostinfo[lastthread]">$vbphrase[go_first_unread_in_thread_x]</phrase>"><strong>$lastpostinfo[trimthread]</strong></a>

Original :
<a href="showthread.php?$session[sessionurl]goto=newpost&amp;t=$lastpostinfo[lastthreadid]" title="<phrase 1="$lastpostinfo[lastthread]">$vbphrase[go_first_unread_in_thread_x]</phrase>"><strong>$lastpostinfo[trimthread]</strong></a>

ullo 10-07-2006 05:43 AM

Quote:

Originally Posted by mdevour
My php tends to resemble a little puppy, kinda fuzzy and likely to leak, but I feel about the same!! <grin>

Mike D.

:p :p :p :up: :up: :up: :banana:

KidCharlemane 10-16-2006 05:46 PM

I seem to be having a problem with the hack only processing one group while the other sits empty. Has anyone else experienced this?


All times are GMT. The time now is 07:40 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.01510 seconds
  • Memory Usage 1,755KB
  • 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
  • (8)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