vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Links and Files Database (https://vborg.vbsupport.ru/showthread.php?t=60403)

Morrus 03-11-2004 04:37 PM

Quote:

Originally Posted by AndrewD
Would you mind setting me up as an admin on your board and PM me the account and password, so that I can take a look?

Not to worry - got it fixed! I'll ask the guy who did it what the problem was and let you know, just in case someone else has the same issue! :)

Thanks for your help!

AndrewD 03-11-2004 04:44 PM

Quote:

Originally Posted by Morrus
Not to worry - got it fixed! I'll ask the guy who did it what the problem was and let you know, just in case someone else has the same issue! :)

Thanks for your help!

No problem, am interested to know what went wrong.

Morrus 03-11-2004 04:47 PM

Here's what he said:

Quote:

In php.ini I changed the line
zlib.output_compression = On
to
zlib.output_compression = Off

Earlier when I was in there I had changed it too on (it was off). In the past I have found better performance from php websites having it on.
If the website does zlib compression as well it can cause problems. Most sites check to see if php has it on to avoid the problem, but it seems the link software doesn't.
So that was the (second) issue. The first, as you surmised was the allow_url_fopen. Don't know if that's any help to you (or anyone else who might end up in this situation).

AndrewD 03-13-2004 04:54 AM

Quote:

Originally Posted by Morrus
Here's what he said:

So that was the (second) issue. The first, as you surmised was the allow_url_fopen. Don't know if that's any help to you (or anyone else who might end up in this situation).

Morrus, the documentation on zlib compression is distinctly cryptic in this respect, so I asked for help and did not get a relevant answer. But...

[New version of local_links.php attached for testing - now removed]

97cobracpe 03-16-2004 10:49 PM

Installed without problems. Great Hack!

One suggestion, when I added a link for a video, it simply opened it up. I'd rather have it bring up the prompt to open or download first. Kinda like when you right click, save as. Is this possible? Maybe through the mime type?

refertech 03-16-2004 11:21 PM

We have talked about this before because i had the same problem with pdf and xls files on my board but if there's a way none of us have been able to figure it out just yet.

Mark

Natch 03-17-2004 02:11 AM

This issue can be resolved thru correct config of your mime types ON YOUR SERVER ...

However, if this is not possible for you, the PHP file headers can be used to modify the behaviour of downloads - this would require a new class to be added to detect the filetype (based on the extension) and apply the appropriate headers to the download link based on that ...

refertech 03-17-2004 05:34 PM

thats over my head but ill work on it and see what i can come up with.

Thanks Natch.

Mark

97cobracpe 03-17-2004 08:22 PM

Quote:

Originally Posted by Natch
This issue can be resolved thru correct config of your mime types ON YOUR SERVER ...

However, if this is not possible for you, the PHP file headers can be used to modify the behaviour of downloads - this would require a new class to be added to detect the filetype (based on the extension) and apply the appropriate headers to the download link based on that ...

I am interested in this. I run the server I'm on, so I have the capabities to make changes. Please, explain a little further :).

refertech 03-17-2004 11:40 PM

After some checking, I can also set my mime types on my server as well but I'm to unfamilar with how to do this so any adviced would be appreciated.

Thanks,

Mark


All times are GMT. The time now is 09:42 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.02022 seconds
  • Memory Usage 1,741KB
  • 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
  • (5)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