vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Major Additions - DownloadsII (https://vborg.vbsupport.ru/showthread.php?t=120122)

DementedMindz 09-14-2006 07:26 AM

ahhh that looks nice up there. thanks

anarx 09-14-2006 08:45 PM

It looks very, very nice!
Will it work for VB 3.6.1 ? :)

Black Tiger 09-14-2006 08:54 PM

Yes it does. I've got it running without problems on 3.6.0 and also 3.6.1 at the moment.

trackpads 09-14-2006 11:36 PM

Question,

I have taken the precaution of moving the file path to below my root and everything works fine except when someone uploads images to accompany downloads. They are broken because it is trying to refer to the above the root directory.

is there a way to specify a path for downloads and a path for the seperate images to prevent this?

Thanks!

-Jason

Black Tiger 09-14-2006 11:52 PM

Probably you have done it like this:
/home/domain/public_html/downloads
and your forums are in /home/domain/public_html/yourforums
or something like that.
But as i understood a few topics ago from the coder, it should be relative to your forums path.
In this example, your relative path should be:
../downloads/
and then images should work.
I hope I understood the explanation of the coder correctly.
It's explained in msg #399.

trackpads 09-15-2006 12:21 AM

Thanks but not in my case. I appreciate the help though. My forums are here:

http://www.trackpads.com/forum

And my setting is this:

../../downloads/

This places it here in my webserver path:

/home/myaccount/downloads where my forum is
/home/myaccount/public_html/forum

The reason I did this was that I kept finding some jackass who was somehow getting shell scripts into that folder because it was chmod 777. The only way to prevent it was either move it or change the chmod which I cant do.

The other problem is that since I have more than 1998 files (over 12K now) the ftp will not display them, just the first 1998. So it is hard to manage the directory.

Thanks again,

-Jason

RS_Jelle 09-15-2006 04:52 AM

The images are using the same path, so it's a known problem (that's why we don't recommend it at this moment) :)
You can fix it by modifying downloads.php. Find $dl->url in it and replace them (but not all) with the correct site url to the images.

You don't need to change for example:
PHP Code:

if (!is_dir($dl->url)) 

Only the images (img html tag), for example:
PHP Code:

<img src="'.$dl->url.$thumb_x['thumb'].'" 

Change this example to (or something like that):
PHP Code:

<img src="/downloads/'.$thumb_x['thumb'].'" 

Your second problem is also a known one, we need to built in an option that creates directories to seperate the files so you don't get such large directories.

Hornstar 09-15-2006 04:54 AM

Quote:

Originally Posted by hippsta
Hiya I've read through all 28 pages of this thread and am very impressed by WP and Jelle, so i have no doubt that you can handle this one.
(Your sheer dedication should get you guys MotM, btw and i voted for it)

Everything works great so far as i can tell, however.. on my site not all files are to be downloadable, but i would like all to be viewable so to speak, without downloading...

Like A Play/View Button? To listen to a song, or view an image. Preferably in the download_file template

I got in there lol and was trying things to create a link to it but i couldn't figure it out so that it was universal... {$file['url']} didn't get exactly there...

Please Help Me Out. You guys are the best


I may post some example url's later so you guys can take a look at other systems out their, but i think you guys have been requested this already.


Just like in the above quote. I too would really like this.

So not only would users be able to download it, but if it is a supported file type, they could either open it, or play it like youtube/google video etc.

Also a way to embed google video/you tube video etc. so users can post youtube video onto the site, and it plays on the site, and they can comment on it on the site, but it doesnt waste the bandwidth of the site.

Also was there mention of a paid/lite version and are you guys developing this on a site that I can check out the progress etc.

Thanks.

RS_Jelle 09-15-2006 05:16 AM

Quote:

Originally Posted by hornstar1337
Just like in the above quote. I too would really like this.

So not only would users be able to download it, but if it is a supported file type, they could either open it, or play it like youtube/google video etc.

Also a way to embed google video/you tube video etc. so users can post youtube video onto the site, and it plays on the site, and they can comment on it on the site, but it doesnt waste the bandwidth of the site.

AdminCP -> Downloads -> Settings -> Open Directly in Browser
Add the file extension on that list to open it in the browser directly. There is no real embedded option at this moment.
Quote:

Originally Posted by hornstar1337
Also was there mention of a paid/lite version and are you guys developing this on a site that I can check out the progress etc.

I don't know where you read that. We aren't creating such a thing and there are no plans for it :)
The next thing we are working on is version 6, a big release with many new features :cool:

TheBlackPoet 09-15-2006 11:16 AM

My Last Hack To Install.... Im Down To The Wire.... I Have To Go To Work... And I Made The Decision To Install One Last Hack..... For The Next 6months?
I Found What I Was Looking For And Furiously Followed Your Instructions....

Eureka!!!

Thank You And Have A Great Day!!!


All times are GMT. The time now is 04:29 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.03653 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
  • (3)bbcode_php_printable
  • (3)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