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 03-12-2007 07:23 PM

Quote:

Originally Posted by ANT-ESSENTIAL (Post 1201868)
Hi ,
My download button links to http://www.vaya.ws/forum/images/fres...s/download.gif

Where do i change this ?

If you want to change the path to the download.gif, modify the downloads_file template. (search for download.gif).
Quote:

Originally Posted by ANT-ESSENTIAL (Post 1201868)
Many Thanks in advance ..

Btw .. Great Mod!

Thanks! Glad you like it.

ANT-ESSENTIAL 03-12-2007 07:54 PM

hey what a quick and perfect reply!

we have one more issue.. the comments box , the width is too wide (on all the forum acutally) where do i find the style template to edit the with of the box.

Many Thanks again!

CyberRanger 03-13-2007 11:39 AM

Quote:

Originally Posted by ANT-ESSENTIAL (Post 1201909)
the comments box , the width is too wide (on all the forum acutally) where do i find the style template to edit the with of the box.

You could try adjusting "Message Area Width (pixels)" in your style under stylevars.

weedheaven 03-13-2007 02:09 PM

Works perfect 3.6.5 :) *clicked install*

bashy 03-14-2007 06:47 PM

Hi

How do i edit the Important Information please?

I have done it once but cannot find it now, I have searched phrases and templates :(

CyberRanger 03-14-2007 06:51 PM

Quote:

Originally Posted by bashy (Post 1203520)
Hi

How do i edit the Important Information please?

I have done it once but cannot find it now, I have searched phrases and templates :(

admincp -> downloads -> settings :)

bashy 03-14-2007 07:13 PM

typical, so easy eh pmsl... cheers m8

Stifmeister2 03-15-2007 03:19 PM

Is there any way to make the uploads work when safe mode is on and "copy" is in "disable_functions"?


My host isn't too happy about changing the php configs, because the same configs are for all their customers. :(

RS_Jelle 03-15-2007 03:39 PM

Quote:

Originally Posted by Stifmeister2 (Post 1204199)
Is there any way to make the uploads work when safe mode is on and "copy" is in "disable_functions"?


My host isn't too happy about changing the php configs, because the same configs are for all their customers. :(

No, there's no method to get around the problem then. Either they need to disable php safe mode, either they need to allow the copy function. DownloadsII isn't supporting database storage of files like the attachments feature of vBulletin does.

It's a strange host, they just entirely disallow the uploading of files using php, a strange thing (cause that's a widely used php feature) :confused:

Daky 03-17-2007 04:20 AM

Hi,

I am wondering is it possible to limit # of categories per page?
I limited to show 15 files per page, but when I list my categories i have like 50+ on one page?

This is my tree:

-Music
--Music1
---1
---2
---3
---50

--Music2
---1
---2
---3
---50

I hope i explained it good
Thank you

RS_Jelle 03-17-2007 06:14 AM

That's not possible at this moment and I don't think we are going to build something like that in v6. We are doing it more like the vBulletin forum categories, and that option isn't avaiable there. Just limit your categories :D

Atakan KOC 03-17-2007 11:49 AM

Download Home Page = 203 queries
Category View = 53 queries
File View = 52 queries

Very very poor...... :S

Daky 03-17-2007 02:16 PM

Quote:

Originally Posted by RS_Jelle (Post 1205424)
That's not possible at this moment and I don't think we are going to build something like that in v6. We are doing it more like the vBulletin forum categories, and that option isn't avaiable there. Just limit your categories :D

Very poor :(
I`d say this is a basic option that file manager should have it.
So i have music category and group1(rock) and group2(pop) under it. Now every group must have at least 50 sub.cats ,. and this is not possible :(

i don't know what to say :( :confused: :down:

RS_Jelle 03-17-2007 03:42 PM

Quote:

Originally Posted by Atakan KOC (Post 1205564)
Download Home Page = 203 queries
Category View = 53 queries
File View = 52 queries

Very very poor...... :S

That's something what we are working on :p
DownloadsII is a direct derivate from Ron1n's ecDownloads with some very poor code. Our main target for v5 was to fix the security issues (that's why ecDownloads isn't available any more) and some big bugs. v6 will be a completely new version, with new (better) code :D

I guess you have lots of categories, which is causing this amazing amount. There's no cache at the moment, v6 will cache lots of things (also the categories) in the datastore.

The amount isn't a gigantic problem at the moment, because it are a lot of small queries (the downloads category table isn't that large normally, so there are no huge table scans necessary for them). Ofcourse the amount is bad and they will be cached in v6 when possible.

Stifmeister2 03-17-2007 04:59 PM

v6 sounds promising then. :)

Any idea when it will be available??

Hornstar 03-18-2007 08:56 AM

If you need any beta testers I would love to test v6 ^^

Opus4 03-19-2007 02:39 AM

After having a disgruntled user go through every download and give a grade of F, we decided we don't even really need the rating system. Very few ratings were given for any downloads, other than those done maliciously. I can easily edit the templates to do away with all rating references, but is there an option I missed to do that automatically? (I didn't see anything mentioned in a quick search of this thread.)

If nothing like that already exists, could the rating system be optional in the next version? :)

Oh -- and we finally upgraded to the latest version recently... nice improvements, thanks!

Greek76 03-19-2007 10:30 AM

Is it possible to show a list of files that a user has uploaded with links to their files on the profiles yet? Im sure its been asked hundreds of times thanks.

Opus4 03-19-2007 01:42 PM

Quote:

Originally Posted by Greek76 (Post 1207210)
Is it possible to show a list of files that a user has uploaded with links to their files on the profiles yet? Im sure its been asked hundreds of times thanks.

I think this is covered by the instructions in the second post for placing $dmemberfiles above $footer in the MEMBERINFO template.

BozzaJos 03-19-2007 02:04 PM

CyberRanger or Jelle... could you take a look at my question I asked a couple of pages back? Really hope you could make something like that for v6

Post: https://vborg.vbsupport.ru/showpost....postcount=1066

Greek76 03-22-2007 06:54 PM

Actually yes that does work that way and it was my mistake lol. Thanks

DementedMindz 03-23-2007 01:04 PM

1 Attachment(s)
CyberRanger was wondering I just redid my whole site and the problem I thought was me before is really in this mod. On the add file page in the textarea there is a dot or period in the box by default why is that?

Attachment 62222

nasko 03-23-2007 08:43 PM

Hi,
This hack is great!
But i couldn`t find where to set up the maximum file size to be uploaded. Can someone help me?

CyberRanger 03-23-2007 09:07 PM

Quote:

Originally Posted by DementedMindz (Post 1210352)
CyberRanger was wondering I just redid my whole site and the problem I thought was me before is really in this mod. On the add file page in the textarea there is a dot or period in the box by default why is that?

Attachment 62222

I don't see this on the three sites I have using DownloadsII. Does anyone else see it? What we use is the standard message box. Not sure of anyway that a character could be there by default.:confused:

RS_Jelle 03-23-2007 09:10 PM

Quote:

Originally Posted by Opus4 (Post 1207051)
After having a disgruntled user go through every download and give a grade of F, we decided we don't even really need the rating system. Very few ratings were given for any downloads, other than those done maliciously. I can easily edit the templates to do away with all rating references, but is there an option I missed to do that automatically? (I didn't see anything mentioned in a quick search of this thread.)

If nothing like that already exists, could the rating system be optional in the next version? :)

Oh -- and we finally upgraded to the latest version recently... nice improvements, thanks!

You can disable the rating feature using the user group permissions, but that's not removing the old ratings. It's only removing the rating form for new ratings. You can truncate the dl_votes table and reset the total vote score using phpMyAdmin, but then you still see the "No votes" message, so you still need to edit your templates. But editing them to remove it isn't that difficult, it's just one piece of code to remove in the downloads_file template (and don't forget the user group permission also):
HTML Code:

    <tr>
    <td class="alt1">{$vbphrase['ecdownloads_grade']}:</td>
    <td class="alt2" colspan="2" valign="middle" align="left">$grade</td>
    <td class="alt1" valign="middle" align="center" width="28%">$userscore</td>
    </tr>

Quote:

Originally Posted by BozzaJos (Post 1207330)
CyberRanger or Jelle... could you take a look at my question I asked a couple of pages back? Really hope you could make something like that for v6

Post: https://vborg.vbsupport.ru/showpost....postcount=1066

I don't think we will integrate such a feature, because it makes things a lot more difficult. I don't think many people will use it and it's just very difficult to integrate with neat thumbnails etc. (+ ImageShack is most of the time very slow :( ). I always try to keep things on my own site, those webservices aren't very professional to use (you don't manage them yourself, so you don't have any control about them).

Quote:

Originally Posted by DementedMindz (Post 1210352)
CyberRanger was wondering I just redid my whole site and the problem I thought was me before is really in this mod. On the add file page in the textarea there is a dot or period in the box by default why is that?

Attachment 62222

That's a strange problem, it's the first time I see it. What's your site url (you can pm it to me, it would be nice to create a normal user account also so I don't need to register, I'm so lazy :D) (you need to update your vB.org profile, your site link isn't working any more, it's a spam page now)?

Quote:

Originally Posted by nasko (Post 1210615)
Hi,
This hack is great!
But i couldn`t find where to set up the maximum file size to be uploaded. Can someone help me?

That's currently not an option, you only can control the maximum MB that a user can upload totally. Strange that this question didn't came up earlier, very good option and we didn't thought about it ourself also :p

nasko 03-23-2007 09:30 PM

Ok, tell me then from where to control the maximum MB that a user can upload totally?At the moment the maximum file size is around 12 mb, the users can't upload bigger files.

CyberRanger 03-23-2007 10:17 PM

Quote:

Originally Posted by nasko (Post 1210653)
Ok, tell me then from where to control the maximum MB that a user can upload totally?At the moment the maximum file size is around 12 mb, the users can't upload bigger files.

The total amount that a user can upload is set under usergroup permissions.

DementedMindz 03-23-2007 11:51 PM

Quote:

Originally Posted by RS_Jelle (Post 1210640)
That's a strange problem, it's the first time I see it. What's your site url (you can pm it to me, it would be nice to create a normal user account also so I don't need to register, I'm so lazy :D) (you need to update your vB.org profile, your site link isn't working any more, it's a spam page now)?

yeah im just waiting for the dns to update this way you can access it and I will send you a pm as soon as it does. I will set the user up and all this way you can see it for yourself. Like I said its a brand new site and brand new install of the downloads hack and it is there. I had it there before but I figured it was something I edited but its nothing I have edited cause its been there from the time I imported the product on a brand new install. I can even set up a test site and show you the same thing on a fresh install with nothing on it but this mod.

but when I was looking at the source here is what it showed.

Quote:

<td class="controlbar"><textarea name="message" id="vB_Editor_001_textarea" rows="10" cols="60" style="width:520px; height:250px" tabindex="1" dir="ltr">.</textarea></td>
you can see the period I made it bold here to show you.

DementedMindz 03-24-2007 12:25 AM

strange im testing it now and its not showing up again for some reason on a brand new install im going to remove everything from the other site I built to see where it happens.

nasko 03-24-2007 05:49 AM

Quote:

Originally Posted by CyberRanger (Post 1210672)
The total amount that a user can upload is set under usergroup permissions.

In the user permissions it is set up to ulimited but the maximum size file which they can upload is 12mb

basketmen 03-24-2007 11:44 AM

i think i miss this part

how people can report ilegal files to admin/moderator?

CyberRanger 03-24-2007 12:03 PM

Quote:

Originally Posted by basketmen (Post 1211021)
i think i miss this part

how people can report ilegal files to admin/moderator?

There isn't a way built into the program for that but we do have it on our request list.

CyberRanger 03-24-2007 12:06 PM

Quote:

Originally Posted by nasko (Post 1210653)
At the moment the maximum file size is around 12 mb, the users can't upload bigger files.

If you want to control the max file size a user can upload, try putting this in .htaccess
PHP Code:

php_value upload_max_filesize 10M
php_value post_max_size 10M 


subzero06 03-24-2007 01:09 PM

Quote:

Originally Posted by CyberRanger (Post 1211030)
If you want to control the max file size a user can upload, try putting this in .htacess
PHP Code:

php_value upload_max_filesize 10M
php_value post_max_size 10M 


and where do i put this .htacess file?

RS_Jelle 03-24-2007 01:12 PM

Quote:

Originally Posted by subzero06 (Post 1211056)
and where do i put this .htacess file?

Into your forum root, where you can find downloads.php ;)
Btw, a small correction: it's .htaccess (with two c's), otherwise it won't work.

subzero06 03-24-2007 01:20 PM

How come every time i upload a file it says The upload failed! Upload error. and the file is only 4mb

RS_Jelle 03-24-2007 01:47 PM

Quote:

Originally Posted by subzero06 (Post 1211063)
How come every time i upload a file it says The upload failed! Upload error. and the file is only 4mb

After placing the .htaccess, or also without the .htaccess?
Probably it's the php.ini upload limit setting. You can change this yourself when you have server access (SSH), but when you are on a shared host you need to ask this to your hosting company (and probably they won't change it, which is normal because of server loads).

subzero06 03-24-2007 01:54 PM

Quote:

Originally Posted by RS_Jelle (Post 1211077)
After placing the .htaccess, or also without the .htaccess?
Probably it's the php.ini upload limit setting. You can change this yourself when you have server access (SSH), but when you are on a shared host you need to ask this to your hosting company (and probably they won't change it, which is normal because of server loads).

Yeah i didnt use the .htaccess
It was the php.ini it was set for only 2mb file upload....i changed it to 4 and it worked!

CyberRanger 03-24-2007 03:31 PM

Quote:

Originally Posted by subzero06 (Post 1211082)
Yeah i didnt use the .htaccess
It was the php.ini it was set for only 2mb file upload....i changed it to 4 and it worked!

If you can change php.ini, you don't really need to mess with the .htaccess file in forum root.

Quote:

Originally Posted by RS_Jelle (Post 1211059)
Into your forum root, where you can find downloads.php ;)
Btw, a small correction: it's .htaccess (with two c's), otherwise it won't work.

Thanks for catching my typo!

Opus4 03-24-2007 04:55 PM

Quote:

Originally Posted by RS_Jelle (Post 1210640)
You can disable the rating feature using the user group permissions, but that's not removing the old ratings. It's only removing the rating form for new ratings. You can truncate the dl_votes table and reset the total vote score using phpMyAdmin, but then you still see the "No votes" message, so you still need to edit your templates. But editing them to remove it isn't that difficult, it's just one piece of code to remove in the downloads_file template (and don't forget the user group permission also)

Just in case anyone else does this, I changed the templates a while back -- there were 4 to edit to completely remove all rating/grade references:
  • downloads_cat
  • downloads_file
  • downloads_my
  • downloads_my_bit
One thing I noticed after modifying these templates is that the Admin CP always has a warning that these custom templates are out of date, saying that the default versions of them were updated in DownloadsII 5.04, but that I've last modified them in Downloads II 3.6.5.


All times are GMT. The time now is 01:24 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.03234 seconds
  • Memory Usage 1,857KB
  • 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_html_printable
  • (2)bbcode_php_printable
  • (26)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