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)

nemesislq 08-27-2007 04:35 PM

Hi CyberRanger, I seem to be having a similar problem as maidos. If you would not mind I could use your help...I can create categories & subs to, but I can't get files added through the forum or import them in admincp. I have set the "downloads" folder permissions to 777. I know this is vague so if its OK I will PM you access to the site and ftp.

CyberRanger 08-27-2007 04:39 PM

1 Attachment(s)
Are you checking the box after each file that you want to upload? I uploaded two from that directory without error.

CyberRanger 08-27-2007 04:40 PM

Quote:

Originally Posted by nemesislq (Post 1326812)
Hi CyberRanger, I seem to be having a similar problem as maidos. If you would not mind I could use your help...I can create categories & subs to, but I can't get files added through the forum or import them in admincp. I have set the "downloads" folder permissions to 777. I know this is vague so if its OK I will PM you access to the site and ftp.

sure, PM away

CyberRanger 08-27-2007 05:03 PM

1 Attachment(s)
Quote:

Originally Posted by nemesislq (Post 1326812)
Hi CyberRanger, I seem to be having a similar problem as maidos. If you would not mind I could use your help...I can create categories & subs to, but I can't get files added through the forum or import them in admincp. I have set the "downloads" folder permissions to 777. I know this is vague so if its OK I will PM you access to the site and ftp.

The upload worked great for me by doing http://www.dungeonlan.com/forum2/dow...hp?do=add&cat=. Are you sure you were trying to upload a file that has an allowed extension? (right now you have that set to zip rar tar gz)

Here's the test file http://www.dungeonlan.com/forum2/dow...p?do=file&id=1

EDIT: on thing I did notice is that your style is preventing you from seeing the displayed error message if you try to upload an file with an invalid extension.

Check out the two attachments. There is an error message but you can't see it until you highlight where it is.

maidos 08-27-2007 05:19 PM

oh i didnt see the those box where u can tick on under import anyway works great now thanks XD

nemesislq 08-27-2007 05:27 PM

OK thanks so much .. .. I was trying to upload a .jpg file originally, and thought that because it was listed in allowed image extensions it would let me upload it.

"Allowed Image Extensions
Users will only be able to upload files with the following specified extensions. Note: must be lower case, separated by spaces ----jpg jpeg jpg2 gif png"




So would I need to add the jpg extension to the list under---------"Allowed File Extensions
Users will only be able to upload files with the following specified extensions. Note: must be lower case, separated by spaces-----zip rar tar gz.

CyberRanger 08-27-2007 05:28 PM

Quote:

Originally Posted by nemesislq (Post 1326846)
So would I need to add the jpg extension to the list under---------"Allowed File Extensions
Users will only be able to upload files with the following specified extensions. Note: must be lower case, separated by spaces-----zip rar tar gz.

Correct, allowed file extensions are the files themselves that users download. The image extensions are for "screenshots" that you want to include about the file.

nemesislq 08-27-2007 05:30 PM

All makes sense now :D thanks again..

KPalicz 08-27-2007 06:05 PM

How do I adjust the font size?

Specifically at download page home, it lists the number of files for each category. I'd like to increase the font size of that number if at all possible. Any ideas?

Stifmeister2 08-27-2007 06:14 PM

Good work guys, upgrading... :)

RS_Jelle 08-27-2007 09:21 PM

Quote:

Originally Posted by KPalicz (Post 1326868)
How do I adjust the font size?

Specifically at download page home, it lists the number of files for each category. I'd like to increase the font size of that number if at all possible. Any ideas?

You need to edit the downloads_main_catbit template for this ;)

In that template you need to search for:
HTML Code:

<span class="smallfont">{$cat['files']}</span>
And replace it with:
HTML Code:

{$cat['files']}

KPalicz 08-28-2007 04:58 PM

Awesome, thanks!

maidos 08-28-2007 05:01 PM

i have a suggestion, can you make members post a comment on each download page?
and disable the post ccount

RS_Jelle 08-28-2007 06:40 PM

Quote:

Originally Posted by maidos (Post 1327481)
i have a suggestion, can you make members post a comment on each download page?
and disable the post ccount

There's already a comment feature, but you need to enable it in the DownloadsII settings in the AdminCP and set the correct usergroup permissions. Those comments aren't calculated in the vBulletin postcount.

maidos 08-28-2007 08:32 PM

oh, how about comments for guest?

RS_Jelle 08-28-2007 09:48 PM

Quote:

Originally Posted by maidos (Post 1327637)
oh, how about comments for guest?

Like I said: you can give the usergroups you want permissions for commenting. And standard vBulletin has got a guests usergroup, so you can set it.

y2krazy 08-28-2007 10:53 PM

I uploaded a screenshot (a JPEG image) as a download file; however, I also had to add it as an image after I made the sumission for something to show up; otherwise, I could only download the file and not see a preview. Is there a way to make it recognize an image file if it is uploaded and automatically generate it as the first image? That way you don't have to upload it twice? Also, this should be changeable via the AdminCP for those that wouldn't want this feature enabled. Thanks! :)

RS_Jelle 08-29-2007 12:05 PM

Quote:

Originally Posted by y2krazy (Post 1327712)
I uploaded a screenshot (a JPEG image) as a download file; however, I also had to add it as an image after I made the sumission for something to show up; otherwise, I could only download the file and not see a preview. Is there a way to make it recognize an image file if it is uploaded and automatically generate it as the first image? That way you don't have to upload it twice? Also, this should be changeable via the AdminCP for those that wouldn't want this feature enabled. Thanks! :)

DownloadsII is meant for files, not for images. You upload for example a piece of software in a zip file and you can add some screenshots of it with the images features, that's our primary target. For adding images only, you need to get a gallery (and there are some free ones on vBulletin.org, for example PhotoPlog Lite).

EWGF 08-29-2007 01:03 PM

Upgrade went well :)

y2krazy 08-29-2007 09:02 PM

Quote:

Originally Posted by RS_Jelle (Post 1328055)
DownloadsII is meant for files, not for images. You upload for example a piece of software in a zip file and you can add some screenshots of it with the images features, that's our primary target. For adding images only, you need to get a gallery (and there are some free ones on vBulletin.org, for example PhotoPlog Lite).

Will do. Thanks. ;)

miodrag 08-29-2007 09:10 PM

Hi there people! :)
I am having a problem with php safe mode.
Thing is that I can't download files larger than 8mb.
I don't need to upload larger files, since i could upload them over ftp, but it would be nice if there is some chance that people could download files larger than my php limit. :)

Thanks in advance! :)

maidos 08-30-2007 06:00 AM

on downloads, settings theres a settings ´like this

Display "Tops" on all pages?

but even if iset on yet it doesnt seem to appear:/

RS_Jelle 08-30-2007 10:53 AM

Quote:

Originally Posted by miodrag (Post 1328349)
Hi there people! :)
I am having a problem with php safe mode.
Thing is that I can't download files larger than 8mb.
I don't need to upload larger files, since i could upload them over ftp, but it would be nice if there is some chance that people could download files larger than my php limit. :)

Thanks in advance! :)

If you can't change your php.ini (so if it's not your own server), you can use a .htaccess file to override this setting.

Quote:

Originally Posted by maidos (Post 1328626)
on downloads, settings theres a settings ?like this

Display "Tops" on all pages?

but even if iset on yet it doesnt seem to appear:/

Try the "Update Counters" feature (on the public downloads.php page) and be sure the "Number of "xxx" to Display" DownloadsII settings aren't set to 0.

maidos 08-30-2007 12:40 PM

i have done what you have instructed me but yet im unable to view it, please take a look on your own please

RS_Jelle 08-30-2007 12:44 PM

Quote:

Originally Posted by maidos (Post 1328843)
i have done what you have instructed me but yet im unable to view it, please take a look on your own please

Yeah, but then you need to pm me your site url and the login of a test account as I don't know your site (it's not in your vB.org profile) :D
You also need to have files in your categories. If there aren't any files, there's nothing to display for the tops ...

tbaleno 08-31-2007 01:30 AM

Any chance of in the future adding a "hidden" flag to files so only the uploader can see them. This will make it great for people wanting to store files on the server without giving everyone access to them. Also, it would be good if you could give access based on user so someone could share with just a few others without having to create groups with just 3 or 4 people in them.

Hornstar 08-31-2007 10:55 AM

Thanks for the update. Went perfect, and fixed those few bugs I had.

ps. you are giving really good support above, don't know how you manage your time, but well done on the wonderful mod. cant wait to see what version 6 will offer ^^

KPalicz 09-01-2007 12:03 PM

Thanks again for the help on customizing the template. I've been tweaking several things. New download buttons, whee! Now I've got another question.

A lot of my files are things that can potentially be viewed or listened to online in a browser (like .pdfs, graphics, mp3s, etc), and a lot of the people visiting my page might be more interested in viewing instead of downloading everything to their hard drive. Is there a tag I can put into downloads_file that would open the file in a user's browser?

KPalicz 09-01-2007 02:02 PM

Ok! We figured it out. We can now open files online. Check it out in action:

http://www.youthrights.org/forums/do...do=file&id=117

The next step would be to keep track of viewed/opened files the same way downloads are tracked. Any suggestions for that?

KPalicz 09-01-2007 06:24 PM

Ok, we got it set up so the existing download counter counts the viewed/opened files too. I figured it wouldn't be worth it to keep a separate tally. Everything is working great. :D

Black Tiger 09-02-2007 01:13 AM

Discovered a little bug.
When using the "Manage files" option. Then select a file and do someting like "delete file", then after the action is taken (which works fine) you won't be put back in the filelist of the "Manage files" section.
You just get the head with the subhead (ping, category, approval) but no list of files anymore. However you should be put back in the "Manage Files" section with the list of the remaining file.

Furthermore if I select 2 files, then select 1 action next to 1 of the files, only that file is effected, so I don't quite understand the benefit of the selection squares.

PeteBlume 09-02-2007 07:54 PM

Is there any possibility to use the permission of the groups while seeing downloadinformation in the profile?

Hornstar 09-03-2007 05:26 AM

Edit, nvm got it, it is dl_files, ignore this post.

What is the table name that the files are stored in?

I ask because I am trying to change the below code (another files system)

Code:

$count_files = mysql_query("SELECT id FROM ccms_file");
$files_c = mysql_num_rows($count_files);
$files = number_format($files_c);

Which I dont use, as I use this files system.

Which shows my stats here

http://www.gamerzneeds.net/sig.php


Basically i'm trying to modify the code above so it will display the number of files for this instead. any help is much appreciated.
Thanks.


Edit, nvm got it, it is dl_files

WarLion 09-03-2007 06:01 PM

someone knows which is the template ffor the category look i have thub for each category but look so bad have the name and the imagen in the same place

i try to edit downloads_cat_subbit but not look i put the zelse> condicion to show only one but i guess this is not the template that im looking for

https://vborg.vbsupport.ru/

i like to see something like this

https://vborg.vbsupport.ru/

skooby 09-03-2007 11:12 PM

Quote:

Originally Posted by CyberRanger (Post 1278066)
Like Jelle has said already, you need to create a file named .htaccess (not the period in front of the name). Put the following two lines into the file:

Code:

php_value upload_max_filesize 30M
php_value post_max_size 30M

Upload the file into your forum directory (the same location where downloads.php is located.)

This will increase the size of the file you can upload to 30MB.

For a while DownloadsII was working for me and then all of a sudden my site got a 500 internal server error.

When i comment out these 2 lines, the site works again. If I leave them commented, I can upload files (but only small ones). Any ideas? Also there is a file stuck in the etc_tmp folder that I can't delete, like something is locking it. Not sure if that has anything to do with it. I'm on VB 3.6.5 running 4.0.5. below is the errorl

Code:

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@nokturnalist.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.


RS_Jelle 09-04-2007 06:50 PM

Quote:

Originally Posted by Black Tiger (Post 1330447)
Discovered a little bug.
When using the "Manage files" option. Then select a file and do someting like "delete file", then after the action is taken (which works fine) you won't be put back in the filelist of the "Manage files" section.
You just get the head with the subhead (ping, category, approval) but no list of files anymore. However you should be put back in the "Manage Files" section with the list of the remaining file.

Furthermore if I select 2 files, then select 1 action next to 1 of the files, only that file is effected, so I don't quite understand the benefit of the selection squares.

I'm going to look into this :)
I'm not using this feature myself, so I just hotfixed it for the previous bug, but most likely not that good :p

Quote:

Originally Posted by PeteBlume (Post 1330962)
Is there any possibility to use the permission of the groups while seeing downloadinformation in the profile?

We are going to address this "bug" in a next release, as there are no permissions for this set at the moment.

Quote:

Originally Posted by hornstar1337 (Post 1331193)
What is the table name that the files are stored in?

A better way is to get the 'files' variable from the dl_main table, that's faster (there are some other statistics stored in that table) :)

Quote:

Originally Posted by WarLion (Post 1331584)
someone knows which is the template ffor the category look i have thub for each category but look so bad have the name and the imagen in the same place

i try to edit downloads_cat_subbit but not look i put the zelse> condicion to show only one but i guess this is not the template that im looking for

http://img504.imageshack.us/img504/465/catjr6.jpg

i like to see something like this

http://img232.imageshack.us/img232/1913/carfixec0.jpg

There's downloads_main and downloads_main_catbit you need to edit for the downloads.php main page. There's also downloads_cat_subs and downloads_cat_subbit for the sub categories displayed on category pages.

Quote:

Originally Posted by skooby (Post 1331752)
For a while DownloadsII was working for me and then all of a sudden my site got a 500 internal server error.

When i comment out these 2 lines, the site works again. If I leave them commented, I can upload files (but only small ones). Any ideas? Also there is a file stuck in the etc_tmp folder that I can't delete, like something is locking it. Not sure if that has anything to do with it. I'm on VB 3.6.5 running 4.0.5. below is the errorl

Code:

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@nokturnalist.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.


You get an internal error 500 if there's something wrong with the .htaccess file or its syntax. Are there any more rules than those two mentioned by CyberRanger in it?
Then check the chmod (file permissions) of the .htaccess file. It should have full read permissions for the three possible read levels.

skooby 09-04-2007 11:59 PM

Thanks for the response. Yes, I have the chmod set to 644 on the file (all 3 reads). The only other thing in the file is stuff for vBSEO. Like I said though, it worked fine for a bit and then it just stopped working. Not really sure why.

Flep 09-05-2007 04:18 AM

Hi,
if i upgrade to last version,will i lose my downloads ?

thx

reza1217 09-05-2007 05:50 AM

I absolutely love this mod. Using it in my forum. Click my signature to see it at work. Nice Job.:D

RS_Jelle 09-05-2007 05:53 AM

Quote:

Originally Posted by skooby (Post 1332561)
Thanks for the response. Yes, I have the chmod set to 644 on the file (all 3 reads). The only other thing in the file is stuff for vBSEO. Like I said though, it worked fine for a bit and then it just stopped working. Not really sure why.

Can you post the full content of your .htaccess file?

Quote:

Originally Posted by Flep (Post 1332637)
Hi,
if i upgrade to last version,will i lose my downloads ?

thx

You won't lose any data during a normal upgrade when you follow the instructions. The only way to remove your files and other database stuff, is uninstalling the product.


All times are GMT. The time now is 03:12 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.04118 seconds
  • Memory Usage 1,859KB
  • 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
  • (4)bbcode_code_printable
  • (2)bbcode_html_printable
  • (19)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