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)

???`S?LV?R???` 03-06-2004 07:47 AM

In the url box i just put the source of the file right? http://www.example.com/test/example.mp3

AndrewD 03-06-2004 08:02 AM

Quote:

Originally Posted by ???`S?LV?R???`
In the url box i just put the source of the file right? http://www.example.com/test/example.mp3

Should work fine - sure there are no spaces or something in your filename? I just tried this with an mp3 and everything was ok.

Give me the link to an mp3 on your site and I'll try to link to it.

AndrewD 03-06-2004 08:05 AM

I have fixed the category bugs reported earlier this week. Please reinstall, as there is also a template fix.

To confirm - if you had left the default permissions forumid as -999 and you edited a category without selecting another forum, then the category would disappear into the big blue yonder.

If you have encountered this problem, you can repair it by running the sql query given by Zhin Jio.

PHP Code:

UPDATE local_linkscat SET catforum=-999 WHERE catforum=0


AndrewD 03-06-2004 08:19 AM

Quote:

Originally Posted by ???`S?LV?R???`
In the url box i just put the source of the file right? http://www.example.com/test/example.mp3

Another thought - what web server software are you using? If you refer to a file on your local server (i.e. skip the http: stuff), then my code looks for a file somewhere below $_SERVER["DOCUMENT_ROOT"]. I think this should be set with a correctly configured server.

???`S?LV?R???` 03-06-2004 09:18 AM

im confused what you mean andrew..

AndrewD 03-06-2004 09:19 AM

Quote:

Originally Posted by ???`S?LV?R???`
im confused what you mean andrew..

Your forum is hosted on a site that runs a certain type of web server. Do you know what the server software is? e.g. is is Apache, etc?

???`S?LV?R???` 03-06-2004 09:21 AM

apache

AndrewD 03-06-2004 09:39 AM

Quote:

Originally Posted by ???`S?LV?R???`
apache

OK, then can you give me the *exact* file name you were putting into the URL box?

???`S?LV?R???` 03-06-2004 09:41 AM

asksd.mp3

AndrewD 03-06-2004 10:01 AM

Quote:

Originally Posted by ???`S?LV?R???`
asksd.mp3

OK, there is a bug in my code, but there are two ways round this.

1) Simply put either a forward slash in front of asksd.mp3, i.e /asksd.mp3, or use a full URL, i.e. http://yoursite/asksd.mp3

2) VB comes pre-configured to handle downloads of bmp, doc, gif, jpg, pdf, png, psd, txt and zip. To handle mp3, you have to go into your VBulletin AdminCP, and set up the proper mimetype for MP3 files. This is done under "Attachments". I'd have to check the right mimetype.

Your easiest option is probably (1) - can you try it and see. Can you also upload the attached file, tryit.php, onto your server, run it and let me know what it prints.


All times are GMT. The time now is 06:06 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.03160 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
  • (1)bbcode_php_printable
  • (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