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)

Black Tiger 03-04-2008 03:27 PM

Quote:

where is this addon???
Like I said, it's in the vbSEO google/yahoo sitemap generator. This generator can also be installed stand-alone without vbseo,works great.
You can find it here at vb.org.

Quote:

ps: this mod run on 3.7.0??
Yes it should, because I've got it running on vb 3.7.0 beta 5.

@Econobarn: Sorry I don't know why it gives the error when you have defined the filetype, I guess you have to wait until RSJelle has a look at your problem.

RS_Jelle 03-05-2008 07:26 AM

Quote:

Originally Posted by hornstar1337 (Post 1452708)
Question, I just noticed you mentioned version 6 above. Approx how far away is this version? will it be 3.7 ready when it is released?

Thanks.

When it's ready :)
At the moment I'm redoing the layout again as I'm not satisfied with the new one I previously created.

The current version works fine with vBulletin 3.7, except for the optional profile template edits (as the 3.7 profile is totally new).

Quote:

Originally Posted by mark|3 (Post 1452863)
Don't think i am using the the vbadvanced module :x
sorry for the confusion


for instance in download .php, i would like to have the ads at the top as well as at the end of the page. I have the header ad as its being displayed throughtout my forum. But how to i display at the end of this page.

and also i would like to have an advert just above the comment boxes.

Thanks

For adding ads to the top and the bottom of the script, open the DOWNLOADS template. $dmain is the downloads page content, so you can add your ads code above and below it.

For adding it above the file comments, you need to edit the downloads_file template. Put your ads code above
Code:

<if condition="$dl->allowcomments">
Quote:

Originally Posted by ArticleRus (Post 1452890)
Is there anyway to make a member only accessible to use download once they've reach certain no of post?

Create an extra members usergroup and use the vB promotion system to promote users to it when they have a certain amount of posts. Then just use the DownloadsII usergroup permissions.

Quote:

Originally Posted by batman1983 (Post 1453080)
Is there a RSS Feed for the newest downloads?

Not yet at this moment, but it's on our todo list.

[QUOTE=maidos;1453119]when i deleted the category the subcategory still exist.../QUOTE]

You already asked this some time ago. Like I said, you first need to delete the sub-categories (manually) and then remove the category itself.

Quote:

Originally Posted by exportforce (Post 1453696)
Jelle?
Any news about the new update?

It will be released when it's ready :)
At the moment I'm redoing some stuff for the second time.

Quote:

Originally Posted by econobarn (Post 1454113)
I ran into an issue...one of my users is trying to upload a .cfg file...I have 'cfg' listed in the allowed file types but they keep getting this error:

All my settings are correct, I can duplicate the issue...I'm curious to why that file type won't upload...

If that's the exact error message, it isn't from DownloadsII. Are you getting it on a white page etc. (not vB styled)? Maybe it's blocked by your server configuration.

Can you pm me your site url and a username/login for your downloads section, so I can check it out?

Quote:

Originally Posted by Warcaptain (Post 1455594)
It would be nice if there was a mod of this that used the existing attachment system too.

for example:
-the filetype permissions are the same for attachments as they are for downloads
-when uploading an attachment for a thread or post you can select which catagory the attachment should be (would go in default catagory otherwise)

itd be a cool way of being able to search and browse through all the files on the forums.

either way, nice.. keep it up and i enjoy it!

please keep me updated because as soon as this functionality is added I WANT IT!

We aren't going to mere DownloadsII with the attachments system in the near future, but for v6 I created a similar extensions management.

glennybee 03-05-2008 11:43 PM

Quote:

Originally Posted by Black Tiger (Post 1456291)
Probably you can but there is a better solution. Create a separate directory on your webserver, for example http://www.yoursite.com/large/ or something like that.
FTP the 10mb file into that directory.
Then go to your "add file" option in Downloads II and use the "link to file" option.
The only thing you have to do is to add the filesize in bytes yourself, but that's easy.
Suppose your file is 10,2mb then do 10,2x1024x1024 and you should have the size in bytes, but leave of the numbers after the komma, so if the output is 10695475,2 just put 10695475 as the filesize. It works great.
When you have to delete the file, remember to delete them from downloads II and also from that directory because linked files are not deleted automatically (ofcourse).

Thank you very much Black Tiger, I would never have thought of that. :)

beowulf68 03-07-2008 02:01 AM

How can I extract download files statistics on a monthly basis like:

a) date and time of download

b) who (username or email)

c) filename

We assume files can only be downloaded by registered users.

Thanks!

UPDATE: ignore above, found out about the Download stats in Downloads admincp.

beowulf68 03-07-2008 05:25 AM

Hi

I have installed 5.0.6 into vb 3.7 beta 5.

When I try to add a file, it complains with "Fields marked in RED must be filled in!" and does not allow me to add the file.

my downloads dir is chmod 777

Thanks!

pipin 03-07-2008 10:27 AM

Quote:

Originally Posted by beowulf68 (Post 1459074)
Hi

I have installed 5.0.6 into vb 3.7 beta 5.

When I try to add a file, it complains with "Fields marked in RED must be filled in!" and does not allow me to add the file.

my downloads dir is chmod 777

Thanks!

Do you use GARS too?

beowulf68 03-07-2008 11:41 AM

Hi,

Yes I have GARS activated to.

Thanks!

Black Tiger 03-07-2008 12:29 PM

Probably it's GARS then, I have 5.06 running on 3.7.0 b5 without any problems.

By the way... what is GARS?

RS_Jelle 03-07-2008 01:01 PM

Quote:

Originally Posted by beowulf68 (Post 1459226)
Hi,

Yes I have GARS activated to.

Thanks!

I posted a fix here on the GARS forums.

Quote:

Originally Posted by Black Tiger (Post 1459262)
By the way... what is GARS?

"Geek Article and Review System", a commercial system to turn forums into an articles, tutorials, or reviews section. You can find it on http://www.thevbgeek.com/

beowulf68 03-07-2008 01:54 PM

Thanks. It is working now!

Kingster 03-07-2008 03:38 PM

RS_Jelle, I'd like to provide you some basic code for supporting resumes when downloading...

Keep in mind, I have't converted this as of yet to plug in to the downloads.php but I'm definitely getting ready to, if you choose not to in your next version. I'm dealing with big files (UT3 maps and mods), hitting 20-30M easy, so I need this.

Still looking for RSS support out of your mod, but, I'll not look to solve that if you're working on it. If it's on the "to-do" list with no active work toward it, let me know, and I'll pull something together for that.

Lastly, if you want me to just shut the hell up, let me know. :)

Here goes for supporting resuming downloads...
PHP Code:

    //  Begin writing headers
    
header("Cache-Control:");
    
header("Cache-Control: public");
    
header("Content-Type: $ctype");
 
    
$filespaces str_replace("_"" "$filename);
    
// if your filename contains underscores, replace them with spaces
 
    
$header='Content-Disposition: attachment; filename='.$filespaces;
    
header($header);
    
header("Accept-Ranges: bytes");
   
    
$size filesize($file); 
    
//  check if http_range is sent by browser (or download manager) 
    
if(isset($_SERVER['HTTP_RANGE'])) {
        
// if yes, download missing part    
 
        
$seek_range substr($_SERVER['HTTP_RANGE'] , 6);
        
$range explode'-'$seek_range);
        if(
$range[0] > 0) { $seek_start intval($range[0]); }
        if(
$range[1] > 0) { $seek_end  =  intval($range[1]); }
          
        
header("HTTP/1.1 206 Partial Content");
        
header("Content-Length: " . ($seek_end $seek_start 1));
        
header("Content-Range: bytes $seek_start-$seek_end/$size");
    } else {
        
header("Content-Range: bytes 0-$seek_end/$size");
        
header("Content-Length: $size");
    } 
    
//open the file
    
$fp fopen("$file","rb");
   
    
//seek to start of missing part 
    
fseek($fp,$seek_start);
 
    
//start buffered download
    
while(!feof($fp)) {  
        
//reset time limit for big files
        
set_time_limit(0);    
        print(
fread($fp,1024*$speed));
        
flush();
        
sleep(1);
    } 


REVHEAD 03-08-2008 02:09 AM

Hi guys

I am trying to upload the new Cysis patch to my server its like allmost 400 meg, I have set in the .php.ini max uploud to 500M and max post size to 500M, but its still not finnishing the download before giving me an error, I know PHP has a limmit of file sizes.

Is there anyway around this , can I try something else? my previous limmit was 100M and that worked .

Thanks in advance.

Black Tiger 03-08-2008 02:44 AM

You could try the solution I gave to Glennybee. Look a few posts higher in post #2403 it's quoted in there.

maidos 03-08-2008 08:35 AM

hm yeah but couldnt u make that fix on the upcoming version ? so if u delete the category all subcategories will be gone aswell?

InoffLine 03-08-2008 11:38 AM

When a logged in user enters downloads main page, he is shown as a logged out, but in categories and files everything is ok

REVHEAD 03-08-2008 12:54 PM

Quote:

Originally Posted by Black Tiger (Post 1459779)
You could try the solution I gave to Glennybee. Look a few posts higher in post #2403 it's quoted in there.

That works thanks :up:

REVHEAD 03-08-2008 01:13 PM

I need to edit the upload and download permissions, I have forgotten were that is ,can you please point me in the correct direction ,sorry guys its been a while.

Black Tiger 03-08-2008 03:03 PM

It's done in the Admincp -> Usergroups.

maidos 03-08-2008 03:42 PM

possible if ppl can see the files that has been voted on download main page.
And throttle the A,B,C grading and implement images voting picture instead

Black Tiger 03-09-2008 11:06 PM

I got a little problem in 3.7.0 b5. The amount of downloads is not displayed anymore in the Postbit.
I tried to do the memberinfo template edit, but text named in the readme is not corresponding anymore with the actual memberinfo content.

glennybee 03-10-2008 06:59 PM

Hi folks, me again lol...

I was wondering....the upload and download counts on each members profile....where are they stored?

In the database?

If I wanted to adjust a members count manually, how would I do this?

Thanks,
Glen

EDIT:

It's ok, I found the field in the MYSQL database. :)

upnorth 03-10-2008 08:00 PM

small fix request!
When you go to the "Add file" page and fill out all the fields and hit submit, if you try to upload a file with an extension that is not allowed, the page refreshes with an error stating " You may only upload ..." but it deletes the previous content that you typed into the "description" field?

Is this just happening to me?

Black Tiger 03-10-2008 09:43 PM

@Upnorth: No that's normal behaviour. Why should it keep the contect of the description if you are not allowed to upload it anyway?

upnorth 03-11-2008 02:10 PM

The reason I think this is important is that if a user selects an incorrect file by mistake then they have to retype everything in their description from scratch instead of being giving the opportunity to re select the proper file. From a user perspective is this way more friendly...make sense?

Black Tiger 03-11-2008 02:34 PM

Ofcourse that makes sense and I agree with you. Happened to me too so now I really take care to not make mistakes.:)

On the other hand, if no mistake was made and the file already was uploaded or something and the user wants to upload another file (so with another description) then the one he had in mind, he has to wipe the description and stuff.
Little work but still....

However I agree with you that this would happen less, and choosing the wrong file like you describe it could happen more often.

That's why I support your suggestion to change it so the description and stuff will not be wiped. If it's possible to make it ofcource.
But RSJelle can tell us, I'm sure of that.

lifeonmars 03-11-2008 07:02 PM

I have checked all of the fixes spoken about here & am still having an issue with the upload limit.

I have the .htaccess setup in the correct folder.
Quote:

php_value upload_max_filesize 300M
php_value post_max_size 300M
Its showing up on my admin cp that those are correct.

I have made sure all permissions are set correctly.

Any ideas?

any clue?

upnorth 03-12-2008 05:51 PM

Another glitch I came across....at least I think its a glitch :)

I just tried to upload a file of size 100MB to see if my board to handle it. When I hit the add file button the page sat there for a couple of seconds and then looked like it just refreshed it self as if you were starting over. File wasn't uploaded and there was no error?

Any ideas?

Black Tiger 03-12-2008 06:09 PM

@Lifeonmars: sorry, if you don't get an error notice now, I have no clue and you have to wait for RSJelle to answer to the problem.

@Upnorth: Yep, I had the same problem. Filesize is too big.
Not everytime an error notice is given, at my site also the screen just refreshes without notice.

So you also have to do the .htaccess adjustment or ask the host how high the upload filesize setting is for your site.

bonjurkes 03-14-2008 11:23 PM

I have a weird problem, i am using vb 3.7

when i want to upload a file from download script it says please fill the fields marked with RED, but there is no fields marked with red, i filled every field.

When i want to import via admincp than it says

The following files were successfully imported:
Could not import the following files because the import file could not be read or the export file could not be written to: filename.rar

Download folder has chmod 777 so i don't know what can be the problem

mikkitine 03-16-2008 07:36 AM

I have a problem. I was importing files from another folder to the main downloads folder on my server. I cancelled the import partway when I suddenly remembered to add some extra info to the files I was importing. Then I restarted the importing process and the files were successfully imported. At this point, not one file had been downloaded from my site. Now, when I check the main downloads page, I see that the total number of downloads has gone from 0 to 4294967283.

Can anybody help me to solve this problem? :rolleyes:

EDIT: Well, I guess I changed 4294967283 to 1 through PhPMyAdmin and my issue was solved as downloading a second file updated the number of downloads from 1 to 2.

maidos 03-17-2008 04:26 PM

wondering on the upcoming version can you setupa downloads bar like megauploadn and show the current status of how much mb left to upload....
and when its done it will give u a link to the download page

i dont mind providing u some graph for it

Majest 03-18-2008 07:47 AM

I have an issues with the latest version. I recently put in two new sections in my downloads and have set it so only certain usergroups can access them. The problem is they are unable to see it. No matter which way I put the Exclude Categories section and the To permit this usergroup to view all categories options. It is either they can see the excluded categories (6 and 7, which out of these two I only want them to see 6) or they can only see categories 1-5.

Any help in resolving this would be appreciated as I have run out of ideas myself.

maidos 03-18-2008 06:15 PM

since import is only allowed for admin i promoted uploader for thatpurpose but can u make it so admins can only import files only please

tldagent 03-19-2008 06:10 AM

If I have several secondary user groups, this does not inherit the permissions of each user group. While one usergroup may be limited to categories 1,2,3 and another secondary group to 4,5,6 - if one of my users pays for both usergroups it doesn't inherit the permissions of both groups to enable to view the combination of both categories because it excludes categories in both groups.

Is there a possible fix or solution to this?

My users purchase products through the subscription which gives them access to download products as well as access to support forums for those products. Each usergroup is based on permissions and if they purchase two products, then two forums open to them and they are then a member of two usergroups. Each of these usergroups with separate download category permissions.

Thank you in advance for anyone who has encountered and possibly fixed this or knows of a solution.

This is a fantastic product though and much appreciate the time that went into it.

dancue 03-22-2008 10:01 PM

Anyway to get a tab on the profile with the download stats?

moreilly 03-23-2008 04:55 PM

I don't know if this has been asked yet or not, forgive me if it has.

I would like to know if there is a way when a user clicks the screenshot it shows the preview of the screenshot instead of forcing them to download the file?

The biggest complaint I get is when they find the file they are looking for, and they want to take a look at the screenshot, it downloads the file. Then they realize that if they click the Title url to the download, then they can take a look at the full size screenshot.

Thanks for the hard work on this mod, it is a great addition to my forums :)

tldagent 03-23-2008 05:54 PM

Quote:

Originally Posted by moreilly (Post 1472598)
I don't know if this has been asked yet or not, forgive me if it has.

I would like to know if there is a way when a user clicks the screenshot it shows the preview of the screenshot instead of forcing them to download the file?

The biggest complaint I get is when they find the file they are looking for, and they want to take a look at the screenshot, it downloads the file. Then they realize that if they click the Title url to the download, then they can take a look at the full size screenshot.

Thanks for the hard work on this mod, it is a great addition to my forums :)

I would think that you could change the link if you wanted to, or simply change the + mark image to an image that shows direct download. That's what we are doing because the + mark doesn't explain enough.

The image is located here: images/buttons/collapse_tcat_collapsed.gif

It doesn't seem to have it's own css and borrows the theme css and basically puts the tcat image in the place of a download. So create a new button and call it downloads II and upload it into your images file. Then go into the downloads.php file and search for the tcat text and change that button to match to the download button you've just created.

I realize this doesn't solve the issue of popping up, but while you are in that download.php file it will offer a bit of a solution.

If you want to remove the download.php function on the + button all together, simply go into the downloads.php file and search for:
HTML Code:

act=down
located on the tcat_collapsed location. If you remove the act=down, you are removing the action to download and thus calling the description rather than the download action.

Hope this helps!

moreilly 03-23-2008 07:45 PM

I had a buddy of mine help me fix the issue I was having. Here is the new code so that the screen shot is now viewable instead of downloading the file.

Change line 331 to
PHP Code:

$thumb_q $db->query_read("SELECT * FROM " TABLE_PREFIX "dl_images WHERE file = ".$file['id']." ORDER BY `id` ASC LIMIT 0,1"); 

Change line 339 to
PHP Code:

$filethumb '<a href="'.$dl->url.$thumb_x['name'].'" '.$target.'><img src="'.$dl->url.$thumb_x['thumb'].'" align="middle" title="'.$vbphrase['ecdownloads_download'].'&nbsp;'.$file['name'].'" alt="'.$vbphrase['ecdownloads_downloads'].'" border="0" /></a>&nbsp;'

Change line 343 to
PHP Code:

$filethumb '<a href="'.$dl->url.$thumb_x['name'].'" '.$target.'><img src="'.$dl->url.$thumb_x['thumb'].'" align="middle" title="'.$vbphrase['ecdownloads_download'].'&nbsp;'.$file['name'].'" alt="'.$vbphrase['ecdownloads_downloads'].'" border="0" /></a>&nbsp;'


hugh_ 03-24-2008 04:57 PM

1 Attachment(s)
Some of my members are reporting being told they've exceeded their daily limit despite being in a usergroup with no limits. I've re-imported the product file, confirmed they are seeing the error message by logging in as their username and checked the groups permissions were set correctly (see screenshot).

Any thoughts on the problem might be would be gratefully received...

Thanks!

hugh_ 03-24-2008 05:14 PM

Some additional feedback. With all limit settings at -1 I have the problem whether it's their primary or secondary usergroup (I also tried moving them to a different group) but changing the download limit to a high number is a workaround so it feels as if 'no limit' isn't being applied correctly...


All times are GMT. The time now is 12:06 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.04862 seconds
  • Memory Usage 1,891KB
  • 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_code_printable
  • (1)bbcode_html_printable
  • (4)bbcode_php_printable
  • (16)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