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)

CyberRanger 10-26-2006 11:30 AM

Quote:

Originally Posted by uspange
I still do not know how the product should work. Should it display the files in the directory or should I type in the name of each file?

Here's how it should work! In my example below, my forum software is installed below the webroot in the folder vb36. I have another folder below the webroot named files. I'm going to place the files I want to import into that folder.

So I have:
  • webroot
    • files
    • vb36

When I first click on admincp -> Downloads -> Import, I see this:

http://www.brentandmary.net/images/e...dl_import1.gif

I then add the information for the files directory, giving me:

http://www.brentandmary.net/images/e...dl_import2.gif

When I click the "Import Files" button, the three files in my files folder are listed:

http://www.brentandmary.net/images/e...dl_import3.gif

I'm now able to fill out the information for each file and select which one's to import.

If you want me to really look under the hood, PM me with your site URL, a vb admin username and password, and an ftp user account and password.

uspange 10-26-2006 11:53 AM

Quote:

Originally Posted by CyberRanger
If you want me to really look under the hood, PM me with your site URL, a vb admin username and password, and an ftp user account and password.

Hey, thanks for the offer :) I have helped myself with creating a group that has the right to upload/link files and the only member is me. I than used Putty and moved the content of that one directory to the "downloads" folder and created the links manually.

Again, thanks for your support!

CyberRanger 10-26-2006 12:04 PM

Quote:

Originally Posted by uspange
Hey, thanks for the offer :) I have helped myself with creating a group that has the right to upload/link files and the only member is me. I than used Putty and moved the content of that one directory to the "downloads" folder and created the links manually.

Again, thanks for your support!

Well, yeah, that's good but I'm still worried there's a problem that may need addressed???:nervous:

uspange 10-26-2006 12:40 PM

Quote:

Well, yeah, that's good but I'm still worried there's a problem that may need addressed???
No worries, it works with my few files. I guess the path issue has something to do with my provider (managed server).

I will vote for you as well, good support that is! :up:

silks 10-26-2006 12:58 PM

Hi 1stly many thanks for this hack excellent

just 1 request and appoligies if this has been posted already

on the page with the big download button at the top right - if you have uploaded and image it shows at the bottom - which is great but i would like this image to show larger if possible - can anyone tell me what to edit please
thx

CyberRanger 10-26-2006 01:11 PM

Quote:

Originally Posted by silks
which is great but i would like this image to show larger if possible - can anyone tell me what to edit please
thx

In downloads.php, starting around line 825, find:

PHP Code:

                list($width$height$type$attr) = getimagesize($dl->url.$newfilename);
                if (
$width 100)
                {
                    
$ratio 100 $width;
                    
$newheight $ratio $height;
                }
                else
                {
                    
$newheight $height;
                }
                
$destimg = @imagecreatetruecolor(100,$newheight);
                
imagecopyresampled($destimg,$orig_image,0,0,0,0,100,$newheight,imagesx($orig_image),imagesy($orig_image)); 

The "100" controls the max width of the image. Change that to what you want.

silks 10-26-2006 01:17 PM

your a star
:) many thanks

Black Tiger 10-27-2006 11:53 PM

Quote:

After you selected action of "approve", you clicked "Go", right? Then what happened? Were you taken to the main downloads page?
No I'm not.

I select "approve" from the pulldown -and- activated the little square next to the pulldown to select it.
Then I click "Go", it does not matter if I click "go" on top or on bottom, I do not go to the main download page. The same "manage files" page where I'm at reloads again and the file is still not approved.

That is what's happening.

CyberRanger 10-28-2006 02:01 AM

Quote:

Originally Posted by Black Tiger
No I'm not.

I select "approve" from the pulldown -and- activated the little square next to the pulldown to select it.
Then I click "Go", it does not matter if I click "go" on top or on bottom, I do not go to the main download page. The same "manage files" page where I'm at reloads again and the file is still not approved.

That is what's happening.

How about PM'ing either me or RS_Jelle your site url along with a forum admin login and password. That way we can really investigate and help you out.

EvilHawk 10-28-2006 08:53 AM

A small request please for version 5.0.4, before it goes public, a seperate usergroup bitfield for file deletion rights...


All times are GMT. The time now is 10:09 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.06245 seconds
  • Memory Usage 1,755KB
  • 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
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)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