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)

Mondi 09-22-2009 08:34 PM

1 Attachment(s)
Thanks guys for this great mod! Very happy with it....

Quick one: How to change the dropdown image as shown on the attached .gif?

I simply want the code to point at another image which will blend better with the design of the page. Where can I find the code to alter?

Thanks for your assistance!

RS_Jelle 09-24-2009 10:40 AM

Quote:

Originally Posted by Mondi (Post 1889101)
Thanks guys for this great mod! Very happy with it....

Quick one: How to change the dropdown image as shown on the attached .gif?

I simply want the code to point at another image which will blend better with the design of the page. Where can I find the code to alter?

Thanks for your assistance!

It's in the ecdownloads_download_pic phrase ;)

Log on 09-24-2009 01:04 PM

very nice

thanx

g0dfather1984 09-24-2009 04:51 PM

Quote:

Originally Posted by RS_Jelle (Post 1768146)
1. Click the "Update Counters" link at your downloads section. The left side statistics are being cached.

2. This isn't possible at the moment, but probably in the future it will.



1. Did you check the usergroup permissions? The "error" is caused by an upload limit you can set on a per usergroup basis.

2. Line 5721 of /includes/functions.php is the global_complete hook, but DownloadsII isn't using this plugin location. So the PHP warning is caused by another mod.

You will get the security token error when an upload is timing out, which is caused by a PHP server setting. Have a look at http://www.vbulletin.com/forum/showp...23&postcount=3 (the vB attachment system will give you the same problem with large files).



Try reuploading all files. This is clearly a problem at your server side :)



Did you upload the upload folder itself (wrong)? Or only its content (correct)? :D

May I add to this?

You can also increase the PHP maximum upload file size on your website by creating a file called:

.htaccess

And placing the following lines inside that file:

php_value upload_max_filesize 40M
php_value post_max_size 40M


Then upload the file in the same folder as your script.

This worked for me.

Joseph C 09-24-2009 10:09 PM

Installed :) AMAZING

YourLocalNerd 09-25-2009 06:39 PM

I am trying to figure this out but am coming up empty thus far so I thought I'd throw it out there to see if someone else has already done this.

I am trying to make the file type restrictions not affect a certain user/usergroup.

Any ideas?

I apologize if I've completely missed the obvious here.

j1mmy 09-26-2009 10:13 AM

When you click on the filename to download, I am trying to remove the download link which appears next to the file name on the left hand side. I can't seem to find it in any of the templates, how can I remove this?

YourLocalNerd 09-28-2009 12:25 PM

Quote:

Originally Posted by YourLocalNerd (Post 1890552)
I am trying to figure this out but am coming up empty thus far so I thought I'd throw it out there to see if someone else has already done this.

I am trying to make the file type restrictions not affect a certain user/usergroup.

Any ideas?

I apologize if I've completely missed the obvious here.

OK, finally found (yes feeling kind of like a moron here)...

in downloads.php find:

PHP Code:

if ($upload == true)
        {
            if (!
strstr("|".str_replace(" ","|",$dl->ext)."|",$ext))
            {
                
$errors['message'] .= '<center>'.$vbphrase['ecdownloads_invalid_extension'].': '.$dl->ext.'</center><br />';
            }
        } 

and replace with:

PHP Code:

if ($upload == true)
                {
                        if (!
strstr("|".str_replace(" ","|",$dl->ext)."|",$ext) && $vbulletin->userinfo['userid'] != "X")
                        {
                        
$errors['message'] .= '<center>'.$vbphrase['ecdownloads_invalid_extension'].': '.$dl->ext.'</center><br />';
                        }
        } 

with "X" being the userid of the person you want exempt.

Daky 09-29-2009 07:00 PM

Quote:

Originally Posted by Xphusion (Post 1786729)
all u have to do it set it up so

1. NO one can access the downloads area cept admins
2. set up a special user group (with access to the downloads)
3 (Registered Members group) set it so after a Minimum amount of posts in the forums the user get promoted to (the user group you just made)

simpler terms
User signs up (registered Member) --->... makes 5 post in the forums.....1 minute later the the user is now in a (special group) and he/she can access the downloads

Hi
Is this promotion possible to work on daily base?
Say, need 10posts per day to access download. Day gone, u loose promotion,.....
Next day same thing, and so on?

Dragonlair 10-02-2009 10:59 AM

I'm still trying to find out how (if possible) to change the limits from daily to weekly or to lower the maximum limit to something UNDER 1 Mb. Anybody have any ideas?


All times are GMT. The time now is 12:49 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.04486 seconds
  • Memory Usage 1,756KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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