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)

AndrewD 04-27-2004 06:36 PM

Quote:

Originally Posted by Ian Emu-UK
Thanks :)

THis is not a straightforward thing to fix without changing standard VB code, which is something I am trying hard to avoid.

However, you can try editing the phrase called unknown_location (go into the admincp, languages and phrases, search in phrases). If you change the text from "Unknown location" to "Viewing" then you get very close to what you want.

Ian Emu-UK 04-27-2004 09:01 PM

Well, thanks for looking anyway and I'll try what you suggested as it's certainly better then "Unknown location" ;)

OGT 04-27-2004 11:08 PM

Quote:

Originally Posted by Ian Emu-UK
Right not it says:



on who's online when someone is browing the main links page.

if it said

To get links to show up in who's online follow the directions in the second half of this post, replacing test with local_links.php

AndrewD 04-28-2004 04:24 AM

Quote:

Originally Posted by OGT
To get links to show up in who's online follow the directions in the second half of this post, replacing test with local_links.php

Thanks for pointing this out. :tired:

Natch 04-29-2004 03:39 AM

Also note that the Admin is the only one who sees "unknown location" - regular users see "Viewing Forum" or something similar ...

hopester 04-29-2004 09:48 AM

Quote:

Originally Posted by AndrewD
I've released (see first post) a new beta version fixing/dealing with several requests in this thread:

- snip
- progress information for downloads of local files

Did you ever get this feature working Andrew as I've never seen it work on mine or anyone elses site?

Thanks

AndrewD 04-29-2004 11:48 AM

Quote:

Originally Posted by hopester
Did you ever get this feature working Andrew as I've never seen it work on mine or anyone elses site?

Thanks

Yes, I'm not sure what's going on for you guys. This works fine for me.

Our downloads are all pdfs. Clicking on an entry in the links/files database on our site opens the standard Internet Explorer "save as" dialogue, then gives a progress bar as the file is downloaded, indicating size and estimated time remaining.

Exactly the same thing happens with Mozilla Firefox - Save As dialogue, then progress bar.

Any more information that might be helpful in tracking this down?

hopester 04-29-2004 12:02 PM

I just checked your site, the one thing that jumped out at me was the file sizes shown, in my version no file sizes are shown. I'll pm you a link.

Thanks for your help

AndrewD 04-29-2004 05:22 PM

Quote:

Originally Posted by hopester
I just checked your site, the one thing that jumped out at me was the file sizes shown, in my version no file sizes are shown. I'll pm you a link.

Thanks for your help

Tell me - have you set you your links as relative or absolute urls? I suspect you've entered full urls in the form http://www.site.com/directory/file. When you use that format, the code bypasses the file size check (because it assumes that it will have to read the entire file to find out how big it is - it's not smart enough to recognise that the file is on the local file system).

If you use a relative url, e.g /directory/file, then the code simply checks the file size and reports it to the user. THis also makes it possible to give the proper progress bar during the download.

hopester 04-29-2004 05:42 PM

It still fails both ways but using relative it also fails the link test as well. I'll pm you an admin login so you can see the link types.


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