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 10-23-2006 06:50 PM

yup its already in the box before i even write anything for a description.

phill2003 10-23-2006 06:59 PM

One more suggestion.

Could you look at the feasability of adding a way of doing the download perms an a per cat basis, so we could have some catagorys for normal users and some for premium members depending on usergroup or user perms.

thanks

phill

CyberRanger 10-23-2006 08:31 PM

Quote:

Originally Posted by DementedMindz
yup its already in the box before i even write anything for a description.

Have you edited the template that produces that page? (I think it's ecdowloads_file_addit but I'm not positive)

DementedMindz 10-23-2006 08:32 PM

no i even made sure in dreamweaver that it wasnt in there. Im having a hard time figuring out where its coming from.

CyberRanger 10-23-2006 08:32 PM

Quote:

Originally Posted by phill2003
One more suggestion.

Could you look at the feasability of adding a way of doing the download perms an a per cat basis, so we could have some catagorys for normal users and some for premium members depending on usergroup or user perms.

thanks

phill

If you look at the product announcement post, that's the #1 item I'd like to enhance. The other is multiple files per entry.

phill2003 10-24-2006 02:56 PM

Quote:

Originally Posted by CyberRanger
If you look at the product announcement post, that's the #1 item I'd like to enhance. The other is multiple files per entry.


yea sorry i noticed that after writing the post :)

Hornstar 10-25-2006 09:38 AM

I've been loving this for a while now, and it is good to see that the new features in 5.0.4 will be pretty much exactly what im looking for :) So I cant wait.

However do you have an estimated release date? or need any beta testers?

Also I was considering some paid custom work if it is even possible, to implement this into a cms that I have So all its features would be implemented into the cms. If you are interested then please pm me.

uspange 10-25-2006 12:26 PM

After reading the instructions and installing everything seemed fine until the import. I am geting this error:
Code:

Invalid argument supplied for foreach() in /admincp/downloadadmin.php (Zeile 331)
When I am prompted to enter the absolute path I can read the suggestion:
Code:

/pages/0g/06/d0002307/home/htdocs/forums/admincp/.
which I alter a bit to point to my real path like

Code:

/pages/0g/06/d0002307/home/htdocs/forums/test/.
I have created a directory directly unter /forums called "test" and I placed "putty.exe" in that folder.

My "downloads" directory is chmodded to "777" and I have added "exe" to the list of extensions.

It does not give me an error when I enter the path and click "Import Files" but than I am lost. In the next screen under "All files" I see "(not filled out)" and all the other files are blank. Am I supposed to see the files sitting in the folder?

If I enter "putty.exe" into "File Name", check my category, activate "Import" and click "Import Files" I get the above error message.

Can anyone point me to the right direction?

Thanks!

CyberRanger 10-25-2006 06:17 PM

Quote:

Originally Posted by uspange
When I am prompted to enter the absolute path I can read the suggestion:
Code:

/pages/0g/06/d0002307/home/htdocs/forums/admincp/.
which I alter a bit to point to my real path like

Code:

/pages/0g/06/d0002307/home/htdocs/forums/test/.
Thanks!

Try taking out the "." after test/

CyberRanger 10-25-2006 06:25 PM

1 Attachment(s)
Here's a beta of version 5.0.4. I believe it to be stable but a little more testing would be good.

#################################
# DownloadsII 5.0.4 Changelog #
#################################

CyberRanger
- Fixed small bug in class_downloads.php ($dl to $this)
- Fixed possible wrong background on some tables
- Added option to restrict daily files downloaded by usergroup
- Enhanced option to restrict daily downloads based on MB and/or number of files
- Removed left side bar (tops) from most of the views with option to display
- Modified search results: added small description and category name, removed # of downloads and rating
- Added "download delay" setting to usergroups
- Fixed bug in mass upload if the file name contained an apostrophe
- Added IP check for max daily MB and file download check
- Modified templates downloads_wrapper_side and dowloads_wrapper_none so that the "disclaimer" will appear if no tops are wanted.
- Added setting in admincp for cleaning log entries that are older than x days.
- added javascript prompt before deleting file

Jelle
- Fixed W3C errors in $dmemberfiles
- Fixed manfiles mass update (wasn't working any more)
- Fixed a bug which caused old downloads titles to disappear
- Fixed category images of sub-categories, which weren't displayed in IE
- Moved assignuser permissions condition from the templates to downloads.php and changed permissions slightly
- Changed the word "purgatory" to "moderation queue" in the phrases

Black Tiger 10-25-2006 06:43 PM

Found a typo in the Readme-Install.txt.:)
Quote:

Add below:

$dmemberinfo

Find in MEMEBERINFO:
Should be MEMBERINFO.

CyberRanger 10-25-2006 06:56 PM

Quote:

Originally Posted by Black Tiger
Found a typo in the Readme-Install.txt.:)

Should be MEMBERINFO.

got it, thx!

Black Tiger 10-25-2006 08:38 PM

Hmmz.. Cyberranger, have a look at post #484, you wrote I was not forgotten, see my bugreport in #454 about the approvals.

However.... it's not fixed. Approvals still don't work from the pulldown menu in this beta.

DementedMindz 10-25-2006 09:43 PM

cyberranger is this bug fixed? Known Bugs:

* I dont use a username it says Unknown (Uploaded by Demented) any way to just have it show the uploader instead of Unknown (Rats! I forgot to fix this with ver 5.0.3)

CyberRanger 10-25-2006 10:07 PM

Quote:

Originally Posted by Black Tiger
I got a little problem now since upgrading to the newest version.
At first I could approve files by the "manager file" setting, selecting approve and that was it (use the drop-down menu). But this does not work anymore.
Now i have to click every file which needs approval and approve it in the download section then.

Normally you should be able to approve multiple files by selecting multiple files (die vinkjes er in zetten) and click "go" below. But standaard the setting next to go is [pin] and [categorie] which takes care nothing gets approved.

So like how it's now, you cannot select multiple files for multiple categories to approve at once. So this does not work either.

Can both be fixed? Or at least the drop-down menu approval option which worked fine before?

bringing the whole post forward. I thought we'd fixed this .... but ... I guess not!

CyberRanger 10-25-2006 10:07 PM

Quote:

Originally Posted by DementedMindz
cyberranger is this bug fixed? Known Bugs:

* I dont use a username it says Unknown (Uploaded by Demented) any way to just have it show the uploader instead of Unknown (Rats! I forgot to fix this with ver 5.0.3)

Let me look at this again. Jelle and I can't decide if this is a bug or a feature!

CyberRanger 10-25-2006 10:16 PM

1 Attachment(s)
Quote:

Originally Posted by Black Tiger
Hmmz.. Cyberranger, have a look at post #484, you wrote I was not forgotten, see my bugreport in #454 about the approvals.

However.... it's not fixed. Approvals still don't work from the pulldown menu in this beta.

I checked this out and it does work. (at least on my three test sites)

In the attached pics, I've clicked "Check All". I already had these approved so then I can the select list at the bottom to "unapprove", click "Go" and it works fine. Works too when I go back and approve them.

Black Tiger 10-25-2006 10:31 PM

So you have to click "go"?

In the first version which I had installed, it approved without having to click "go". Selecting "approve" from the pulldown was enough.

Maybe this was changed then to make mass-approvals possible.

I tried with and without the "check all", but still no effekt.
In the attach pics I use the pulldown where it says now "action".
No effekt on my downloads. Still not working.

I can't get a single (or 2 or 3) files approved this way.

CyberRanger 10-25-2006 10:40 PM

Quote:

Originally Posted by Black Tiger
So you have to click "go"?

Yes, I changed that a while back. It was way too easy to accidently select delete with no confirmation at all. Now, at least you must click "Go".

Quote:

Originally Posted by Black Tiger
I tried with and without the "check all", but still no effekt.
In the attach pics I use the pulldown where it says now "action".
No effekt on my downloads. Still not working.

I can't get a single (or 2 or 3) files approved this way.

I don't know what else to tell you. It is working correctly for me. You may want to see if any of your templates need reverted. That's the only other item I can think of.

After you selected action of "approve", you clicked "Go", right? Then what happened? Were you taken to the main downloads page?

uspange 10-26-2006 04:55 AM

Quote:

Originally Posted by CyberRanger
Try taking out the "." after test/

Well, I haven?t told you, but I have tried variants of the path, most of them displayed an error right after I have clicked Import.

As mentioned in my post the error is not displayed the moment I enter the "correct" path and click Import, it comes up after this screen:

http://www.niwis.com/Downloads/Diverse/download1.jpg

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?

Anyway, if I enter the file name inside the directory and press Import the error comes up:

http://www.niwis.com/Downloads/Diverse/download2.jpg

I have tried 5.0.4, same result.

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...

Black Tiger 10-29-2006 12:37 PM

@Cyberranger, I wrote you a PM.:)

CyberRanger 10-31-2006 01:13 PM

Quote:

Originally Posted by Black Tiger
@Cyberranger, I wrote you a PM.:)

Got it! What I noticed immediately was that the "Manage Files" page is throwing a javascript error that "Error: MM_jumpMenu is not defined". That function gets set in the template "DOWNLOADS". So, that tells me something is funky with at least that template. You should revert the following templates: DOWNLOADS, downloads_man, and downloads_man_bit. Then, re-import the product xml file.

RS_Jelle 10-31-2006 01:43 PM

Quote:

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

This is flagged for a future release ;)

5.0.4 is coming now :banana:

Mudvayne 10-31-2006 02:08 PM

Quote:

Originally Posted by RS_Jelle
This is flagged for a future release ;)

5.0.4 is coming now :banana:

N I'm eagerly waiting for the next release :p..

Black Tiger 10-31-2006 03:39 PM

@Cyberranger: I will try your advise about reverting and re-importing and let you know if it worked, thanks!

CyberRanger 10-31-2006 05:03 PM

#################################
# DownloadsII 5.0.4 Changelog #
#################################

CyberRanger
- Fixed small bug in class_downloads.php ($dl to $this)
- Fixed possible wrong background on some tables
- Added option to restrict daily files downloaded by usergroup
- Enhanced option to restrict daily downloads based on MB and/or number of files
- Removed left side bar (tops) from most of the views with option to display
- Modified search results: added small description and category name, removed # of downloads and rating
- Added "download delay" setting to usergroups
- Fixed bug in mass upload if the file name contained an apostrophe
- Added IP check for max daily MB and file download check
- Modified templates downloads_wrapper_side and dowloads_wrapper_none so that the "disclaimer" will appear if no tops are wanted.
- Added setting in admincp for cleaning log entries that are older than x days.
- Added Javascript prompt before deleting a file, image or comment
- Added five custom hook locations (dl_pre_upload, dl_post_upload_add, dl_post_upload_edit, dl_pre_download, dl_post_download)

Jelle
- Fixed W3C errors in $dmemberfiles
- Fixed manfiles mass update (wasn't working any more)
- Fixed a bug which caused old downloads titles to disappear
- Fixed category images of sub-categories, which weren't displayed in IE
- Moved assignuser permissions condition from the templates to downloads.php and changed permissions slightly
- Changed the word "purgatory" to "moderation queue" in the phrases
- Added a missing AdminCP footer to the edit category page
- Added rel noffolow attributes to the sort links for better SEO
- Changed some stop message pages in the AdminCP to redirection pages
- Improved pagination to the vBulletin coding standards (with a better security)
- Redirect after mass update corrected to manfiles
- Changed the tables code to prevent a small white space at the left and the right side + some various layout fixes
- Fixed an XSS security issue with the category view and search

RS_Jelle 10-31-2006 05:08 PM

This new release contains some security fixes of a high level, so we recommand everyone to upgrade immediately.

Also don't forget to revert the DownloadsII templates if you modified them (and redo the modifications then) :)

beduino 10-31-2006 05:11 PM

Hello!
tks for share your work! And lovely Downloads II!
All the best
Beduino

Black Tiger 10-31-2006 05:17 PM

Great work again guys, and the support is still super!
Thanks a million!!!

TheBlackPoet 10-31-2006 06:14 PM

when i installed the update.... it doesnt give me the option to select permissions in the usergroup.. i unstalled and reinstalled everything... i dont have the buddy installed.. so i cant figure out what the issue it..


All times are GMT. The time now is 03:04 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.05304 seconds
  • Memory Usage 1,866KB
  • 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
  • (5)bbcode_code_printable
  • (1)bbcode_php_printable
  • (22)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
  • (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