vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Major Additions - Links and Downloads Manager (https://vborg.vbsupport.ru/showthread.php?t=119041)

glowinggal 08-24-2006 09:35 PM

Quote:

Originally Posted by Marsupilami
Question/Request:

Reason:
When downloading remotely stored items, the php-script gets terminated after (normally) 30 seconds, and thus giving an incomplete download.

Or is there a way around the PHP script termination cutting the remote download?


This must be the issue on our LDM too - many users will complain somtimes a link is broken and once it's gone through this "30 second timeout" seems that the link is actually broken.

Jaxel 08-24-2006 11:53 PM

Okay... let me summarize the problems I am having with 2.2.5...

1. clear_thumbnails() does not exist
2. SCAN mass upload feature is broken... all links get default values of:
- file size listed as -999bytes
- date listed as 12/31/69 05:00
- parent forum = 1 (instead of open access none)

AndrewD 08-25-2006 03:45 AM

Quote:

Originally Posted by Jaxel
Okay... let me summarize the problems I am having with 2.2.5...

1. clear_thumbnails() does not exist
2. SCAN mass upload feature is broken... all links get default values of:
- file size listed as -999bytes
- date listed as 12/31/69 05:00
- parent forum = 1 (instead of open access none)

Not sure about (1) - I can't reproduce the problem with 2.2.5 gold - I recall that problem but thought it was fixed a while ago.

(2) is definitedly a bug in 2.2.5 and is fixed in 2.2.6 - which I keep hoping will be uploaded before this weekend.

AndrewD 08-25-2006 03:51 AM

Quote:

Originally Posted by glowinggal
This must be the issue on our LDM too - many users will complain somtimes a link is broken and once it's gone through this "30 second timeout" seems that the link is actually broken.

Just to be clear -

If an entry in LDM

a) points to a downloadable file (i.e. has a filetype that appears in the VBulletin Attachments table), and
b) is set up as a full url (i.e. http::/site/dir/file.typ) - NB it doesn't matter if site is actually your own site or somebody else's

then you are likely to have problems with running out of CPU time if the file is bigger than a few MBytes. This is because the work of retrieving the file and then retransmitting it to the user is expensive. There isn't much one can do about that.

LDM is much more efficient if the file is actually stored on your own server and the entry is set up using the local file name rather than as a full url.

Note also that these problems do not occur if the entry points to a filetype that is not in the VBulletin attachment table, because in this situation, LDM itself is not actually managing the transfer - the user's browser and the original site are doing all the work. However, this gain in efficiency is achieved at a loss of secrecy about the location of the file.

AndrewD 08-25-2006 03:52 AM

Quote:

Originally Posted by dlutt
Andrew, attached you'll find an updated translation for the new LDM 2.2.5.

I've corrected some typos, changed the translation for some phrases etc.

Phrases are translated to "German - formal Sie". If I've time the next days I will perhaps add "German - Du".

Daniel

Thanks - will update everything soon.

Majed37 08-25-2006 10:15 AM

Quote:

Originally Posted by AndrewD
The real link to display the entry is always of the form local_links.php?linkid=NN&catid=MM and the real link to access that link id always local_links.php?action=jump&id=NN&catid=MM (sorry about the inconsistency), with local_links.php in your forum directory.

At the time the linkbit is being built inside LDM (i.e. when the display pages are being constructed, NN and MM are held in two variables called $linkid and $catid. So you could modify the linkbit template to display this informatioin if you wish.

thank you Andrew

your hints helped me. But I wana explain why I want to give my users the ability to know the full url. because they need to upload thier images into my server, then can put the link as source of the image :

thats mean : I like to give the user a link after he/she upload an image. so he can i.e. put that link in html tag as <img src="image_link" />
in this case the image will apear directly without need to jump or click.

Jaxel 08-25-2006 12:45 PM

Hey Andrew, I noticed you fulfilled my request and set the hits grab at the beginning of a download instead of at the end, thus letting the "hits" system work for shared servers that how a low wait_timeout... However, I noticed that the system still holds a sustained connection in which I get an error report after 20 seconds (my wait_timeout setting). If the hits grab is now at the beginning of the file, is there still a need to sustain the connection which is killed off by wait_timeout?

AndrewD 08-25-2006 12:48 PM

Quote:

Originally Posted by Jaxel
Hey Andrew, I noticed you fulfilled my request and set the hits grab at the beginning of a download instead of at the end, thus letting the "hits" system work for shared servers that how a low wait_timeout... However, I noticed that the system still holds a sustained connection in which I get an error report after 20 seconds (my wait_timeout setting). If the hits grab is now at the beginning of the file, is there still a need to sustain the connection which is killed off by wait_timeout?

I imagine that the connection is being held by VBulletin itself. I don't explicitly let this go. I will take a look at the options.

Jaxel 08-25-2006 04:02 PM

Hey Andrew... any possibility for an extra profile field for links? Just an extra field where I can store an additional piece of information, but not part of the description? So I can call this extra piece of information in a template somewhere?

AndrewD 08-25-2006 04:02 PM

Quote:

Originally Posted by Majed37
thank you Andrew

your hints helped me. But I wana explain why I want to give my users the ability to know the full url. because they need to upload thier images into my server, then can put the link as source of the image :

thats mean : I like to give the user a link after he/she upload an image. so he can i.e. put that link in html tag as <img src="image_link" />
in this case the image will apear directly without need to jump or click.

If I understand you correctly, the url you want is http://yoursite/youforum/local_resize.php?linkid=NN.


All times are GMT. The time now is 06:04 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.02042 seconds
  • Memory Usage 1,751KB
  • 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
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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