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 06-21-2007 12:49 PM

Quote:

Originally Posted by pxd (Post 1273185)
We've been told about 1 month ago that there will be a quick release to address the thumbnail upload issue where only download author should have access to managing thumbnails. Is there an update anywhere around?

My head drops in shame ... no update yet. RL is kicking me hard. But I have a major project that should be complete next Wednesday, freeing up a lot of my time.

pxd 06-21-2007 12:52 PM

Quote:

Originally Posted by CyberRanger (Post 1273198)
My head drops in shame ... no update yet. RL is kicking me hard. But I have a major project that should be complete next Wednesday, freeing up a lot of my time.

Head up, that's ok, we all have duties!
Just please do not forget to keep us updated, my project has been on hold because of this fix, eh...

Artes_Marciales 06-21-2007 02:37 PM

Hi,
this mod works in the last version 3.6.7. tpl??

Kind Regards!

RS_Jelle 06-21-2007 02:51 PM

Quote:

Originally Posted by Artes_Marciales (Post 1273277)
Hi,
this mod works in the last version 3.6.7. tpl??

Kind Regards!

Yes, it does ;)

Artes_Marciales 06-21-2007 03:14 PM

Then I should have made something bad. . . :(

I have followed these steps,

Upload the contents of 'upload' to your forum directory
Quote:

Import product-downloads.xml into your products be going to Plugin System -> Manage Products -> Add/Import Product
Change the permissions on the directory called 'downloads' making it writeable and executable (chmod 777)
(Note for advanced users: you also have the option to place the 'downloads' folder anywhere in your web server's path)
Go to your 'Usergroup Manager' and assign usergroups permissions
Go to the 'Settings' menu under 'Downloads' in your admincp and fill them out accordingly
Create directories in the 'Categories' menu under the 'Downloads' in your admincp
but the Downloads doesn't appear me C. P. as in the imgen
https://vborg.vbsupport.ru/attachmen...8&d=1154030011

which could be my error :confused:

RS_Jelle 06-21-2007 03:20 PM

This is a sign that you didn't upload all files from the upload folder to your vBulletin forums directory. In the /includes/xml/ directory there's a cpnav file which controls these links in the AdminCP navigation. So only uploading the files, gives you already these links (but ofcourse it won't work fully until you also imported the product).

So be really sure you uploaded all DownloadsII files to your forums directory and not only downloads.php for example.

Artes_Marciales 06-21-2007 03:43 PM

Ohh,
is that I am a little idiot and I ascended this way foum/upload :confused:

Now Work for my too!
Thanks RS Jelle!! :)

CyberRanger 06-21-2007 11:35 PM

Quote:

Originally Posted by pxd (Post 1273200)
Head up, that's ok, we all have duties!
Just please do not forget to keep us updated, my project has been on hold because of this fix, eh...

Still, this needs to be done asap. I recognize that the ability for anyone who can add images can add them to any entry is a serious flaw.

hehe ... I really posted this so I could comment that our thread has 100 pages now!

rowlandc 06-22-2007 11:12 AM

What would be nice in the new version, I don't know if this is hard, but to had a function where the most popular download resets automaticle every day,week,year...

I had one question also, in the settings menu you have a setting which is either on or off which says 'Sort by Weight - If not, the downloads will be sorted alphabetically.' My downloads arn't sorted alphabetically. For example I have a file name called 'whatever 01' I then upload a file called 'whatever 02'...Sometimes if I do the 2 before the 1 I will get one at the top while I want it to be at the bottom.

RS_Jelle 06-22-2007 11:00 PM

That bug is on CyberRangers list of bigger known bugs in v5.0.4. It's a strange thing from ecDownloads: it affects the category sorting and not the files sorting as it says.

The suggestion has already been done some times, but I wasn't sure about it how to implement it. We would need to change the downloads log also, so you can't prune it to less dan 7 days as the "popular files this week" tops are enabled.

tekguru 06-23-2007 06:58 AM

Quote:

Originally Posted by RS_Jelle (Post 1273089)
Did it occur since you updated to vB 3.6.7? Or is it a new DownloadsII install on vB 3.6.7 or something else? He says that there's no usergroup table, but the usergroup table is a default vBulletin table ... Try editing a usergroup and just save it, so it rebuilds your bitfields if necessary

This is a new forum running 3.67PL1 with a fresh install of the Mod so no upgrades anywhere.

Following your advise I've just reedited and saved all usergroups so we'll see if that fixes the error.

RS_Jelle 06-23-2007 07:32 AM

Quote:

Originally Posted by tekguru (Post 1274466)
This is a new forum running 3.67PL1 with a fresh install of the Mod so no upgrades anywhere.

Following your advise I've just reedited and saved all usergroups so we'll see if that fixes the error.

Just edit one usergroup is enough to do a rebuild, when it's necessary :)

maidos 06-23-2007 08:54 AM

do you have option allowing to have only a certain usergroup to access in one category for example i want my vip members to access vip category.. is this possible?

RS_Jelle 06-23-2007 10:25 AM

Quote:

Originally Posted by maidos (Post 1274510)
do you have option allowing to have only a certain usergroup to access in one category for example i want my vip members to access vip category.. is this possible?

There's a categories restriction setting in the DownloadsII usergroup permissions ;)

tekguru 06-23-2007 10:54 AM

Quote:

Originally Posted by RS_Jelle (Post 1274483)
Just edit one usergroup is enough to do a rebuild, when it's necessary :)

Argh wish I'd known that as it took quite a while :)

armkbdotcom 06-24-2007 06:10 AM

Hello mates,

I wonder if any one of you found some sub-addon to this one, in order to extract a preview frame from imported video files

thanks

RS_Jelle 06-24-2007 10:59 AM

Quote:

Originally Posted by armkbdotcom (Post 1275173)
Hello mates,

I wonder if any one of you found some sub-addon to this one, in order to extract a preview frame from imported video files

thanks

There's no add-on to do this at the moment. I also don't know how you could do this using PHP (if you know a method, you may always tell us about it) :D

entertain 06-24-2007 04:11 PM

Hello all,

I'm not able to upload files with over 20MB or something like this.

But I had set the usergroup permissions at 30MB.

What is the problem there? And how can i change that?

RS_Jelle 06-24-2007 08:02 PM

That's because PHP has got an upload limit. You can change it using your php.ini if you are on your own server or a VPS. Otherwise you need to upload a .htaccess file to your forum directory (or add this to an existing .htaccess file in your forum directory):

Code:

php_value upload_max_filesize 30M
php_value post_max_size 30M


entertain 06-24-2007 08:58 PM

I have uploaded a .htaccess file into /forum/ with this Code in it:

Code:

php_value upload_max_filesize 30M
php_value post_max_size 30M

Is this right?

*edit:*
That do not work. :o

Can you please upload a .htaccess file?

RS_Jelle 06-24-2007 10:53 PM

Then you possibly need to ask to your host what their limit is/to check it for you ;)
30 megabytes is a lot to upload using PHP, so they possibly limit it (also the .htaccess method).

entertain 06-25-2007 06:46 AM

But can you please upload a htaccess file, because I think, that I did something wrong. :o

RS_Jelle 06-25-2007 07:30 AM

1 Attachment(s)
Here you go ;)
It's in a zip, because vB.org doesn't allow uploading .htaccess files to the attachments.

But you really can't do anything wrong. If you put those two lines in a file and called it .htaccess, that's all. Then you just need to upload it to your forum directory and you are done.

nebu 06-25-2007 12:36 PM

i uploaded 2 files and it works well.

but now i allways get the message:

"The upload failed! Upload error."

and i dont know why.....

can you give me a hint plz where i have to seach for an answer

RS_Jelle 06-25-2007 03:32 PM

Quote:

Originally Posted by nebu (Post 1276077)
i uploaded 2 files and it works well.

but now i allways get the message:

"The upload failed! Upload error."

and i dont know why.....


can you give me a hint plz where i have to seach for an answer

Is the extension on the list of allowed extensions (AdminCP -> Downloads -> Settings)?
Is it a large file (PHP has got an upload limit, look at this post for more information)?
Maybe you linked the previous files and you are now uploading one from your computer? So be sure the downloads directory is writable (777 chmod).
...

Stifmeister2 06-25-2007 05:30 PM

I have to say the support for this mod is one of the best ever! :)

nebu 06-25-2007 06:33 PM

Quote:

Originally Posted by RS_Jelle (Post 1276204)
Is the extension on the list of allowed extensions (AdminCP -> Downloads -> Settings)?
Is it a large file (PHP has got an upload limit, look at this post for more information)?
Maybe you linked the previous files and you are now uploading one from your computer? So be sure the downloads directory is writable (777 chmod).
...

its all as it sould be ........
in dont find the mistake :(

RS_Jelle 06-25-2007 07:16 PM

Strange, as it gives only that error if the move_uploaded_file PHP function failes to move the file to the downloads directory. You can get the error when the file is too large for PHP's upload limit, when you haven't done the chmod or when the function is on the forbidden functions list of your host (some hosts implements very strict/strange security things).

Are you running PHP in safe mode (you can see this on the home of your AdminCP)?

nebu 06-26-2007 03:04 PM

safe mode is off

CyberRanger 06-26-2007 04:20 PM

Quote:

Originally Posted by nebu (Post 1277009)
safe mode is off

If you try uploading a small file, does it work?

armkbdotcom 06-26-2007 07:37 PM

Hello,

Any solution if my download folder located away from public www folder like ../../downloads/ ?
I suppose there should be some sort of small php file which will read from ../../downloads/ and spit out image and and wherever there is <img for thumbnails, it should be replaced with that script.

CyberRanger 06-26-2007 07:53 PM

Quote:

Originally Posted by armkbdotcom (Post 1277189)
Hello,

Any solution if my download folder located away from public www folder like ../../downloads/ ?

Currently, the downloads folder must be accessible to the web server. The next major version will add the option you seek.

nebu 06-26-2007 09:46 PM

Quote:

Originally Posted by CyberRanger (Post 1277049)
If you try uploading a small file, does it work?


i can upload small files, yes!
but my both first try files were 6,58 and 5,74 MB big.

and now i cant upload such big files.


my server limit is 8 MB per file
safe mode is off

the only thing i changed twice is the rename option in the menu

RS_Jelle 06-26-2007 09:58 PM

So I already gave you the solution in my first post :)
All information about changing this limit can be found here (change the 30M to what you want).

armkbdotcom 06-27-2007 11:32 AM

1 Attachment(s)
Quote:

Originally Posted by CyberRanger (Post 1277200)
Currently, the downloads folder must be accessible to the web server. The next major version will add the option you seek.

I have made small modification and replaced all dl->url with 'thumb/' where thumbnails are saved/retrieved. So right now thumb folder is located in my forum root. Hopefully after mentioned major release I will just set thumb folder and this will work? Just wanted to know that my small modification will not cause any mass rename operations after your major upgrade.

nebu 06-27-2007 01:19 PM

Quote:

Originally Posted by RS_Jelle (Post 1277281)
So I already gave you the solution in my first post :)
All information about changing this limit can be found here (change the 30M to what you want).

but .... i changed NOTHING!
after installation iuploaded 7 MB files and now i cant upload 3 MB files ....
i dont know why :(

RS_Jelle 06-27-2007 03:29 PM

Quote:

Originally Posted by armkbdotcom (Post 1277624)
I have made small modification and replaced all dl->url with 'thumb/' where thumbnails are saved/retrieved. So right now thumb folder is located in my forum root. Hopefully after mentioned major release I will just set thumb folder and this will work? Just wanted to know that my small modification will not cause any mass rename operations after your major upgrade.

I don't know yet how it will be like. That part still needs to be written, that's the only empty spot in the upgrade script ... Normally it won't be a big problem if you change some code also in the upgrade script as it will also be redoing the downloads folder with sub-folders etc.

Quote:

Originally Posted by nebu (Post 1277674)
but .... i changed NOTHING!
after installation iuploaded 7 MB files and now i cant upload 3 MB files ....
i dont know why :(

Maybe your host changed something? Just try the .htaccess and see if it solves the problem.

coolgus 06-27-2007 07:10 PM

Strange Problem. Suddently one of my users who have access to the moderation of files, can't edit/upload new file since he's getting the message "Maximum Upload Limit would be Exceeded by this file. Try a smaller file"

Strange thing is that he could upload/edit without any problem and now he's getting this message. Other user with the same permissions (usergroup) can upload without any problem. Is this a bug ?

CyberRanger 06-27-2007 07:12 PM

Quote:

Originally Posted by coolgus (Post 1277901)
Strange Problem. Suddently one of my users who have access to the moderation of files, can't edit/upload new file since he's getting the message "Maximum Upload Limit would be Exceeded by this file. Try a smaller file"

Strange thing is that he could upload/edit without any problem and now he's getting this message. Other user with the same permissions (usergroup) can upload without any problem. Is this a bug ?

Could he be exceeding the max upload limit for his usergroup? What is it set at?

coolgus 06-27-2007 07:26 PM

Quote:

Originally Posted by CyberRanger (Post 1277903)
Could he be exceeding the max upload limit for his usergroup? What is it set at?

-1. It had a limit of 5 mb but I changed it and problem remains with his account only.


All times are GMT. The time now is 02:05 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.04556 seconds
  • Memory Usage 1,845KB
  • 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_code_printable
  • (21)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