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)

AndrewD 06-09-2007 06:39 AM

Quote:

Originally Posted by Rouzbeh1 (Post 1264216)
thank you very much
to understand it clearly, is there any option too add per entry or they will be set in admin panel and the rest work exactly as the concept of mirroring....?
the second question is: for example i have set my apache to allow ONLY 1 connection per IP at the same time (second connection gets error page 503 displayed)or in another case, the file doesn't exist on that mirror.... would there be any option (if possible) to check the error code on the server (like 404 error if file doesn't exist on that mirror.....) i know that this option could be meaning for you to spend much time, so ONLY IF you have the time, it would be perfect to have this option, to avoid users get forwarded to broken links etc.

thanks again for the awesome work here :)

The idea is that the mirrors will only be set on the admin page. It seems much more logical that way, much more straightforward for the submitting user, and also straightforward to reconfigure at a later stage if you want to add another mirror.

The find and replace features that I will use can be straightforward or very sophisticated - basically they use the regular expression pattern matching code that is built into php.

Concerning your next point, I will take a look at what is involved. I agree it makes sense to pick up the error code, if any, when trying to retrieve a file, and respond appropriately. I suspect that it's straightforward when using the cURL module to access files.

As an aside, I'm wondering if this may be why some people have difficulties with the LDM jukebox from remote sites. At least, the windows media player plugin sends two or three separate requests to the server, depending on which browser is being used. It doesn't bother reading the full file each time - just picks up the headers and first bytes - but this may be why it hangs on the remote server but not on a local server.

Rouzbeh1 06-09-2007 01:49 PM

Quote:

Originally Posted by AndrewD (Post 1264617)
The idea is that the mirrors will only be set on the admin page. It seems much more logical that way, much more straightforward for the submitting user, and also straightforward to reconfigure at a later stage if you want to add another mirror.

The find and replace features that I will use can be straightforward or very sophisticated - basically they use the regular expression pattern matching code that is built into php.

Concerning your next point, I will take a look at what is involved. I agree it makes sense to pick up the error code, if any, when trying to retrieve a file, and respond appropriately. I suspect that it's straightforward when using the cURL module to access files.

As an aside, I'm wondering if this may be why some people have difficulties with the LDM jukebox from remote sites. At least, the windows media player plugin sends two or three separate requests to the server, depending on which browser is being used. It doesn't bother reading the full file each time - just picks up the headers and first bytes - but this may be why it hangs on the remote server but not on a local server.

it would be very handy not being forced to edit each single entry, to add an additional download link, but for my conditions, i am getting out of space on my servers, so one mirror may not include a complete list of all files added to LDM.
so it may lead too many broken links if we don't control the error codes....
FYI: 3507 Entries with avg. size of 85 MB per each file
i think i was not completely right when speaking of mirrors, because a mirror is a COPY of the original server with different base url.... what i was talking about was alternative download locations.
is there a possibility to chat with you in messengers so that i could explain what i exactly need before you spend your time on implementing this feature?

thanks:)

Ren? Kunze 06-09-2007 03:29 PM

If I would find a Coder to that make, you would have which against it. Thus one that of http://www.m-software.de/thumbshots.html tries to integrate into the system.

obmob 06-09-2007 03:59 PM

Quote:

Originally Posted by AndrewD (Post 1264617)
The idea is that the mirrors will only be set on the admin page. It seems much more logical that way, much more straightforward for the submitting user, and also straightforward to reconfigure at a later stage if you want to add another mirror.

The find and replace features that I will use can be straightforward or very sophisticated - basically they use the regular expression pattern matching code that is built into php.

Concerning your next point, I will take a look at what is involved. I agree it makes sense to pick up the error code, if any, when trying to retrieve a file, and respond appropriately. I suspect that it's straightforward when using the cURL module to access files.

As an aside, I'm wondering if this may be why some people have difficulties with the LDM jukebox from remote sites. At least, the windows media player plugin sends two or three separate requests to the server, depending on which browser is being used. It doesn't bother reading the full file each time - just picks up the headers and first bytes - but this may be why it hangs on the remote server but not on a local server.

This means we could have different versions of one file?

Maybe i can add different sizes for my wallpapers? :D

Epic Mike 06-09-2007 11:38 PM

Quote:

Originally Posted by AndrewD (Post 1264611)
These are two parameters which control php's handling of uploads. If you are on a shared server, you probably cannot change the settings directly, so you may want to speak to your hosting company.

At least with some versions of php, if *upload_max_filesize* has a larger value than *post_max_size*, file uploads bigger than *post_max_size* but smaller than *upload_max_filesize* fail without triggering a helpful error message for php to detect and report. (This may be fixed in recent versions of php - I'm not sure.) So the general advice is to set up php with the two values the same or make upload_max_filesize smaller.

Andrew, Thanks for taking the time to explain that a little more for me.
Mike

AndrewD 06-10-2007 05:29 AM

Quote:

Originally Posted by Ren? Kunze (Post 1264857)
If I would find a Coder to that make, you would have which against it. Thus one that of http://www.m-software.de/thumbshots.html tries to integrate into the system.

I took a look at the webthumbs 'extra' and it seems to work ok for me. There are three thngs to check a) is your site using php5 (webthumbs doesn't work with php4); b) have you uploaded the WebThumb.class.php file into your forums directory; c) is the webthumbs directory that you specified writeable (i.e. in linux, does it have 777 permissions).

I'll take a look at the other sites you mentioned. m-software's webshots looks easy, but my german is not good enough to understand everything on the page. I had problems in the past with artviper's code.

Ren? Kunze 06-10-2007 05:59 AM

Quote:

There are three thngs to check

a) is your site using php5 (webthumbs doesn't work with php4);
My PHP Version is 5.2.1

Quote:

b) have you uploaded the WebThumb.class.php file into your forums directory;
Yes it is

Quote:

c) is the webthumbs directory that you specified writeable (i.e. in linux, does it have 777 permissions).
Yes it is.

If you liked can I you times the entrance data give, so that you can look at it you.

stwilson 06-10-2007 05:37 PM

Quote:

Originally Posted by AndrewD (Post 1265292)
I took a look at the webthumbs 'extra' and it seems to work ok for me. There are three thngs to check a) is your site using php5 (webthumbs doesn't work with php4); b) have you uploaded the WebThumb.class.php file into your forums directory; c) is the webthumbs directory that you specified writeable (i.e. in linux, does it have 777 permissions).

Andrew,

I have tried to make the web thumbs piece work for a couple of months now with no success. I have everything setup as you describe (PHP5, class file in directory and directory is writable) but still nothing. Any suggestions on what I could try next?

AndrewD 06-11-2007 03:42 AM

Quote:

Originally Posted by stwilson (Post 1265629)
Andrew,

I have tried to make the web thumbs piece work for a couple of months now with no success. I have everything setup as you describe (PHP5, class file in directory and directory is writable) but still nothing. Any suggestions on what I could try next?

Yes, indeed - this was my bug - I imagine you are using a Linux server? I had tested on Windows. I will post the fix this evening.

stwilson 06-11-2007 04:10 AM

Quote:

Originally Posted by AndrewD (Post 1265943)
Yes, indeed - this was my bug - I imagine you are using a Linux server? I had tested on Windows. I will post the fix this evening.

Actualy, I'm on NT.


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