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)

njolakoski 09-09-2006 01:22 PM

Okay here, I want it so the hack, when your looking at the files displays both Author and Filename, not just the Filename, when you are looking at the files...

Draygonia 09-09-2006 01:49 PM

Theres a big issue with that, I have my cmps index file in my public_html next to my forums folder and the url to the downloads is /forum/downloads and when I click on it on the homepage of my site it says /downloads and I dont want that path, I tried changing it in the navbar, but it doesnt like to change :(

ang2el 09-09-2006 01:49 PM

does it work with vb 3.6?

RS_Jelle 09-09-2006 02:36 PM

Quote:

Originally Posted by njolakoski
Okay here, I want it so the hack, when your looking at the files displays both Author and Filename, not just the Filename, when you are looking at the files...

You need to edit the downloads_cat_filebit template for that ;)
Just add $file['_author'] where you want in it.

Quote:

Originally Posted by Draygonia
Theres a big issue with that, I have my cmps index file in my public_html next to my forums folder and the url to the downloads is /forum/downloads and when I click on it on the homepage of my site it says /downloads and I dont want that path, I tried changing it in the navbar, but it doesnt like to change :(

AdminCP -> vBa CMPS -> Default Settings -> Navbar Replacements
Add downloads.php there ;)

Quote:

Originally Posted by ang2el
does it work with vb 3.6?

Yes, it works fine with vBulletin 3.6 :)

njolakoski 09-09-2006 06:58 PM

I get a parse error

RS_Jelle 09-09-2006 07:39 PM

Quote:

Originally Posted by njolakoski
I get a parse error

Can you give the exact error message? :)

Black Tiger 09-09-2006 09:31 PM

*Bump*
Can anybody help me please with my 4 points/questions/bugs(?) which I posted on #349 and #350?

5.) <-- forget this one, is fixed now.
6.) My supermods with upload rights get the files "unnapproved" and I as admin have to approve them. Is it not possible that supermods get also automatical approval of files?

Hornstar 09-10-2006 05:25 AM

Just wondering what the new feature list will be in the next version, as I have several ideas/thoughts etc. that may make this that little bit better. (I love the work you guys have done so far, but thought i may share some ideas, hope you dont mind.)

But here are some ideas/requests that my members and myself thought were usefull.

1. A close button
2. A move button.
3. Under the word Grade: add a new line called Support: and the person who added the download can add a link to where support will be given, they have the option of closing it so no one posts there and instead in the support thread, or support can be given in both places if they keep it open.
4. A per user section. where only they can see files they added in that section., kind of like rapidshare i suppose, so then I can set usergroup options per usergroup, and only the better usergroups to have that feature.
5. An advertising section, where we can explain and link them to the payments section on the site so they can upgrade there account so they can gain more downloads, features etc.
6. Limit the amount of downloads they can do in 1 day per usergroup.
7. Have a time count down process like rapidshare for certain usergroups and have that time increase with the more files they download etc.
8. all the above ideas need to be per usergroup configurable from the admincp.
9. On the left hand side where you see Latest Files, Most Popular Files and Top Contributors under that add Categories. That way they can choose another category from whereever they are at all times, and it fills in that spcae a little better.
10. Also on the left hand side add a search box so they can search at all times as well.

I'm not sure how many of these are already going to be done for the next version, but thought they are some good ideas that im sure most will agree on.

GH84 09-10-2006 06:17 AM

First off all I want to thank the authors for this great work.
One point I would modify if possible is the rating system. Perhaps it could be changed to the vB-Standart one in the next version. Cause this "A-F-System" isn“t well know in all countrys.

Goodspeed 09-10-2006 11:30 AM

Is it possible to automatically create a thread in approtiate forum for discuss about a file instead of commenting it using build it system?

RS_Jelle 09-10-2006 02:58 PM

Quote:

Originally Posted by Black Tiger
*Bump*
Can anybody help me please with my 4 points/questions/bugs(?) which I posted on #349 and #350?

5.) I also edited the files, but download count isn't showing up in users postbit.
6.) My supermods with upload rights get the files "unnapproved" and I as admin have to approve them. Is it not possible that supermods get also automatical approval of files?

I answered them already yesterday (see #360) ;)

5.) It should work fine normally. Be sure you enabled the setting:
AdminCP -> Downloads -> Settings -> Show Download Stats -> Yes
And ofcourse check the template edit in the postbit (or post_legacy template when you use that one (and I see you use it, so be sure you edited it and not the postbit template)).

6.) Then they have wrong permissions for their usergroup:
AdminCP -> Usergroups -> Usergroup Manager -> Super Moderators -> Edit Usergroup -> ecDownloads Permissions -> Can Avoid Purgatory -> Yes

Eigenlijk stom dat ik dat allemaal in het Engels schrijf :p

Quote:

Originally Posted by GH84
First off all I want to thank the authors for this great work.
One point I would modify if possible is the rating system. Perhaps it could be changed to the vB-Standart one in the next version. Cause this "A-F-System" isn?t well know in all countrys.

First of all thanks for the nice feedback :)
I think we really need to make a list of what we ware planning to change in the next big release, lol. In version 6 the rating feature will be changed to a vBulletin like system with stars.

Quote:

Originally Posted by Goodspeed
Is it possible to automatically create a thread in approtiate forum for discuss about a file instead of commenting it using build it system?

No, this isn't possible at the moment. At the moment we aren't planning such a feature, but I was thinking about including some hooks in the code so we (and/or other people) can easily create some add-ons. Creating a hook location after the "file add" code would be something obvious then, so creating an add-on to do this would be very easy then.

Black Tiger 09-10-2006 03:12 PM

I completely missed 360 for some reason, stupid me.
Thanks very much for your reply (nja engelstalig forum dus blijven we maar in die taal verder gaan he).:)

1-4 are now clear to me
5 is fixed (forgot to enable them again).
6 Ahaaa... well I thought purgatory was to purge files.:)
So al my questions solved, a big thanks and again, a marvelous hack, super!


I still got a little question I'm not sure about:
Quote:

At the moment, you have to specify a directory in your forums directory (or your root if you don't use a forums directory for vBulletin), so you have to use the ".". It's used also for the image paths, ..., so you can't use an absolute path.
I used now /home/satfun/public_html/files/ so an absolute path and it works fine. My forums are in /home/satfun/public_html/bbs/. You write i have to use "." in the path, not the absolute path. How should I do it then since my download section is not placed under my forums directory?

RS_Jelle 09-10-2006 03:40 PM

Quote:

Originally Posted by Black Tiger
I still got a little question I'm not sure about:

I used now /home/satfun/public_html/files/ so an absolute path and it works fine. My forums are in /home/satfun/public_html/bbs/. You write i have to use "." in the path, not the absolute path. How should I do it then since my download section is not placed under my forums directory?

It's used also for the image url's, but I see you aren't using the image upload feature. There is no other way at the moment, but if you don't upload images you won't have any problems with it ;)

Black Tiger 09-10-2006 04:04 PM

Oke, thanks for the quick support!

Black Tiger 09-10-2006 04:25 PM

I got some suggestions for future releases or upgrades:

1.) In the Manage Files Section, put the word "search" next to the search option on top, some of the moderators thought this was a mod tool in stead of a search tool, because of the default values in there.:)

2.) In the drop-down menu for managing, add a seperate "move" funktion. Now you have to use the edit funktion to move files which is a bit.. euhmz.. what's the Engelish word.... in Dutch it's "omslachtig". Such a move funktion would need a seperate screen I guess and that needs some coding, but hee.. it's just a suggestion, right? :D

But it's a great hack anyhow and works perfectly with vBA too!

footose 09-11-2006 12:58 AM

Any luck with the apostrophies :D

jarvis 09-11-2006 01:52 AM

I seem to have an issue... I think I have tried to search through all the pages for something that looked the same - so sorry if it has been asked a dozen times. :hurt:

Everything seems to work fine, but when clicking on the download button, a window just pops up and sits there *thinking*

Maybe I am doing this wrong, but I am trying to link to other web servers in our server farm to offload the bandwidth. I am using the linked file area and putting the link to the file, i.e. http://www2.example.com/downloads/examplefile.zip

Is this correct, or is the linking supposed to be to another page - and not directly to the file?

Thanks for the help! :knockedout:

Zia 09-11-2006 05:20 AM

hi westpointer/Rs_Jelly

can u make it able to import files from external host?
as we have two(02) host SG & PW
downloads located in SG , can it import files from PW?

also got some req. for future release
1.quick reply type msg posting box.
2."Report Broken Link" & "Email this page" button
3. Must Rate before download.(also show msg
4.Enable Quota System/Limit Bandwidth/
5.Turn Of any catagory/sub-catagory/sub-sub-catagory .

RS_Jelle 09-11-2006 08:54 AM

Quote:

Originally Posted by footose
Any luck with the apostrophies :D

I didn't have the time to work on this yet, but I know what kind of bug it is. It's a wrong stripped character (wrong backslashes). It's on my to do list, so I'm going to fix it.
Quote:

Originally Posted by jarvis
Is this correct, or is the linking supposed to be to another page - and not directly to the file?

This is correct, it's a link to a php file of DownloadsII which counts the amount of downloads etc. and that file links you to the actual file. This is also a bit of a protection against hotlinking.

@Zia: we really need to create a list of our planned features, lol. You have guessed them all correct except 3. But I don't understand 4? There is already a bandwidth limitation feature (usergroup permissions)?

jarvis 09-11-2006 12:04 PM

Quote:

Originally Posted by RS_Jelle
This is correct, it's a link to a php file of DownloadsII which counts the amount of downloads etc. and that file links you to the actual file. This is also a bit of a protection against hotlinking.

Hmmm... the I think I have it setup correctly. Any idea why a 'linked' file to one of my other webservers just brings up a new explorer window that just stays in the 'loading' process?

http://www.mhogaming.com/forums/downloads.php is the reference link. Everything else seems to work okay except for the actual download. I am linking to files on our other web servers as to save drive space and bandwidth for our main web server.

Thanks!

CyberRanger 09-11-2006 12:34 PM

Quote:

Originally Posted by jarvis
http://www.mhogaming.com/forums/downloads.php is the reference link. Everything else seems to work okay except for the actual download. I am linking to files on our other web servers as to save drive space and bandwidth for our main web server.

Thanks!

That is odd. Could there be something on the other server that is preventing the download? If you create a link to this file, http://www.brentandmary.net/albums/l...ront.thumb.jpg, does it work?

jarvis 09-11-2006 01:16 PM

Quote:

Originally Posted by westpointer
That is odd. Could there be something on the other server that is preventing the download? If you create a link to this file, http://www.brentandmary.net/albums/l...ront.thumb.jpg, does it work?

Yeah, I checked that last night. I wasnted to make sure that the MIME types weren't unrecognized by IIS/Windows. The direct link works fine, just when launched from Downloads, it just 'sits' there.

Thanks so much!

**Edit - I just created a test download with your link. http://www.mhogaming.com/forums/down...?do=file&id=13 . It still doesn't work. :(

CyberRanger 09-11-2006 02:13 PM

#################################
# DownloadsII 5.0.3 Changelog #
#################################

westpointer
- Linked downloads don't open any more in the same window

Jelle
- Some more code cleanup (removed ec_demo mode, ...)
- Fixed a bug with tags being stripped from the description
- Fixed the "Bandwidth value maxed out at 4294967 KB" issue (int(10) to bigint(30))
- Removed the filesize condition from the download delay time
- Sort on total comments in the dropdown box
- Sort on file name in the category view now also clickable in the table header
- Fixed an unnecessary query for the vBulletin editor when viewing a file and comments are disabled
- Updated DownloadsII.txt and renamed it to Readme-Install.txt

Thanks to Jelle! He has made the vast majority of the changes for this release!

CyberRanger 09-11-2006 02:15 PM

Quote:

Originally Posted by jarvis
Yeah, I checked that last night. I wasnted to make sure that the MIME types weren't unrecognized by IIS/Windows. The direct link works fine, just when launched from Downloads, it just 'sits' there.

Thanks so much!

**Edit - I just created a test download with your link. http://www.mhogaming.com/forums/down...?do=file&id=13 . It still doesn't work. :(

I made a small change in ver 5.0.3 that may (or may not) help. I'm not sure why you are having this problem. A linked file is simply opened with:

PHP Code:

header("location: $file[url]"); 

I made that:

PHP Code:

header("Location: $file[url]");
exit(); 


DementedMindz 09-11-2006 03:41 PM

WestPointer and Jelle thanks for the update and all the hard work.

jarvis 09-11-2006 03:44 PM

Thanks, I will let you know.

Can I just overwrite files, or do I need to go through the import process again?

thanks!

Black Tiger 09-11-2006 03:47 PM

Indeed great work and nice support! Will download 5.03. (and clicked motm link).:)

CyberRanger 09-11-2006 04:05 PM

Quote:

Originally Posted by jarvis
Thanks, I will let you know.

Can I just overwrite files, or do I need to go through the import process again?

thanks!

You need to overwrite the files in the upload folder and then re-import the product file.:)

jarvis 09-11-2006 04:25 PM

Yes!

This fixed my problem. Thanks for the great support! :)

trackpads 09-11-2006 07:37 PM

Excellent work on the upgrade!! I voted!!

Any way to have some type of support to upload really big files? I have seen Java apps like the one on Cafepress. Any ideas? Or maybe some type of ftp upload for users? I know phpbb has something like that I think.

Thanks!

-Jason

Devil Woman 09-12-2006 12:12 AM

I have added this to my site and what it is, is I was wondering if there is anyway of passwording a category? Or is this not able at the moment?

Thanks

DementedMindz 09-12-2006 12:13 AM

why would you password it why dont you just exclude it?

Devil Woman 09-12-2006 12:39 AM

exclude it? how would I do that?

DementedMindz 09-12-2006 12:41 AM

if you look at say registered users in the usergroup you will see the permissions there you can set. you can say have a movies section and say a games section and you can limit the games to only donators can download

CyberRanger 09-12-2006 02:09 AM

Quote:

Originally Posted by trackpads
Excellent work on the upgrade!! I voted!!

Thanks!
Quote:

Originally Posted by trackpads
Any way to have some type of support to upload really big files? I have seen Java apps like the one on Cafepress. Any ideas? Or maybe some type of ftp upload for users? I know phpbb has something like that I think.

Thanks!

-Jason

We get so many questions about uploading large files and spend a fair amount of time helping folks with modifying php.ini or .htaccess I really think Jelle and I need to discuss adding an ftp option. That would be a nice option to have available.

Hornstar 09-12-2006 02:32 AM

Quote:

Originally Posted by westpointer
Thanks!
We get so many questions about uploading large files and spend a fair amount of time helping folks with modifying php.ini or .htaccess I really think Jelle and I need to discuss adding an ftp option. That would be a nice option to have available.


Cant you alredy upload the file to the doanloads folder through ftp, and then just link to it? or wony permissions get transfered to it?

CyberRanger 09-12-2006 11:09 AM

Quote:

Originally Posted by hornstar1337
Cant you alredy upload the file to the doanloads folder through ftp, and then just link to it? or wony permissions get transfered to it?

Absolutlely, you can always do it that way and, of course, you don't have to put it in the downloads folder unless you want. You can place it in any folder that the web server can access.

Goodspeed 09-12-2006 02:27 PM

RS_Jelle thank you for your answer!

I have another question. Is it possible to move downloads directory outside forum root directory?

Thank you!

CyberRanger 09-12-2006 02:32 PM

Quote:

Originally Posted by Goodspeed
I have another question. Is it possible to move downloads directory outside forum root directory?

Thank you!

Yes, it can be any place you like as long as the web server can access the folder. In admincp -> Downloads -> Settings, you will need to modify the "Download URL" to point to the directory. Remember, this is relative to the forum directory, so if you have a directory structure like this:
  • forum
  • myfiles/downloads

The value for "Download URL" would need to be "../myfiles/downloads/"

BTW - "Download URL" is a poor name for that variable. It's really "Download Relative Path".

Goodspeed 09-12-2006 02:35 PM

westpointer, thank you very much for your detailed answer!

BTW is it possible to use subdirectories inside download folder accordingly to downloads categories?


All times are GMT. The time now is 08:58 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.02840 seconds
  • Memory Usage 1,858KB
  • 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
  • (2)bbcode_php_printable
  • (21)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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