The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
DownloadsII Details »» | |||||||||||||||||||||||||||||||||||||||
There's a vB4 version of this mod available: https://vborg.vbsupport.ru/showthread.php?t=231427
DownloadsII DownloadsII is a download database that integrates into vBulletin. It allows you to upload files, add images to them, create categories, link to external files - and more. It is very flexible and has many options. Because a lot of people keep on asking this: This mod works with any version of vBulletin 3.7.x and 3.8.x! It's also coded 100% XHTML 1.0 Transitional valid, just like vBulletin itself. Instructions & Support You can find an installation manual in the zip package (Readme-Install.txt). We try to answer most questions asked in this thread. Please don't send any pm's if we don't ask for them, as we said we try to give a high level of support in this thread. Don't forget to click the install link, so you will receive important update notifications. Screenshots & Live demo At the bottom of this post, you can find 6 screenshots of the front-end and back-end (AdminCP part) of the DownloadsII software. You can see the newest version in action at the Minatica.be Downloads (Dutch). Changelog (version 5.1.2) Jelle
Help!!! I can't upload large files?? This is probably the second most asked question. Have a look at this post for the solution. It doesn't work with GARS?! If you also use the latest version of GARS, you will get the "Fields marked in RED must be filled in!" error when uploading a file. I provided a fix here on the GARS forums. Addons We are offering 3 addons for this mod at the moment (have a look at the bottom of this post for them). DownloadsII contains 5 hook locations for the vBulletin plugin systems, so you can add extra functionality without file edits. Do you want to help expanding DownloadsII (if you are a coder)? Check out this post! Notes
Addons Download Now
Screenshots
Supporters / CoAuthors Show Your Support
|
Благодарность от: | ||
puertoblack2003 |
Comments |
#722
|
|||
|
|||
Quote:
2. I had a different idea of what you meant (I thought you meant a full page with a disclaimer and such a checkbox, but you mean it on the same page). Just replace the download buttons with a code like this: Code:
<script type="text/javascript"> <!-- function checkCheckBoxes(disclaimercheck) { if (disclaimercheck.disclaimer.checked == false) { alert ("You have to agree to the disclaimer if you want to download."); return false; } return true; } //--> </script> <form name="disclaimercheck" method="get" action="downloads.php" onsubmit="return checkCheckBoxes(this);"> <input type="hidden" name="do" value="file"> <input type="hidden" name="id" value="$file['id']"> <input type="hidden" name="act" value="down"> <input type="checkbox" name="disclaimer"> I have read and understand the <a href="http://www.yoursite.com/index.php?page=disclaimer">Disclamer</a>. <br /><input type="submit" class="button" value="Download"> </form> 6. The way to get around this requires modifying the DownloadsII PHP code a bit harder. Normally I've got some time this weekend, so I will try to send you a pm with some custom code to do it |
#723
|
|||
|
|||
Quote:
Edit:After trying to place that code in different spots, replacing code that I think was the downloads button code and so on, I got this same error message when trying to save the template Code:
The following error occurred when attempting to evaluate this template: Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/****/public_html/forums/includes/adminfunctions_template.php(3593) : eval()'d code on line 61 This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish. Which templates should I edit, and what part of the code do I replace. I'll keep trying but I think im going about this the wrong way lol. Thanks. |
#724
|
|||
|
|||
no removing the 90% did not solve it. I think the problem somehow is with the downloads_wrapper_top template.
|
#725
|
||||
|
||||
Quote:
|
#726
|
|||
|
|||
Quote:
|
#727
|
|||
|
|||
the only way so far I was able to display was by adding </td></tr></table> at the very top of downloads_wrapper_top template, but that messes up the bottom, past navbar
|
#728
|
|||
|
|||
I've been using this hack for a while, and thanks by the way, but I would love to see a future enhancement.
Hopefully this is fairly easy since I saw the PM modification for it, but what I would like to see is that each time a file is added/uploaded, it creates a thread in a specific forum announcing the upload with description, link ,etc. If no one had the time, I'd be willing to contribute to a fund. |
#729
|
|||
|
|||
I have a table that starts at the very top of header wraps around entire page and closes at bottom of footer
I don't know why it is behaving like that just for those two files, do=file and do=add, but i sort of got around that by closing the table at the very top of the wrapper_top template and restarting all over again. It does not display 100% properly, but at least I got my logo to display. These are the only two problematic display sitewide, with any style. |
#730
|
|||
|
|||
Quote:
This code should do the trick: Code:
<script type="text/javascript"> <!-- function checkCheckBoxes(disclaimercheck) { if (disclaimercheck.disclaimer.checked == false) { alert ("You have to agree to the disclaimer if you want to download."); return false; } return true; } //--> </script> <form name="disclaimercheck" method="get" action="downloads.php" onsubmit="return checkCheckBoxes(this);"> <input type="hidden" name="do" value="file"> <input type="hidden" name="id" value="{$file['id']}"> <input type="hidden" name="act" value="down"> <input type="checkbox" name="disclaimer"> I have read and understand the <a href="http://www.yoursite.com/index.php?page=disclaimer">Disclamer</a>. <br /><input type="submit" class="button" value="Download"> </form> Quote:
The poster of the thread: do you want it to be a specified person or the person who placed the file? |
#731
|
|||
|
|||
The disclaimer thing is awesome thanks.
One thing though, to get it to work right (so the download button will not work on the file listing page you need to make a couple of changes in downloads.php find Code:
$filethumb = '<a href="./downloads.php?do=file&id='.$file['id'].'&act=down" '.$target.'><img src="'.$dl->url.$thumb_x['thumb'].'" align="middle" title="'.$vbphrase['ecdownloads_download'].' '.$file['name'].'" alt="'.$vbphrase['ecdownloads_downloads'].'" border="0" /></a> '; Code:
$filethumb = '<a href="./downloads.php?do=file&id='.$file['id'].'" '.$target.'><img src="'.$dl->url.$thumb_x['thumb'].'" align="middle" title="'.$vbphrase['ecdownloads_download'].' '.$file['name'].'" alt="'.$vbphrase['ecdownloads_downloads'].'" border="0" /></a> '; Code:
$download = '<a href="./downloads.php?do=file&id='.$file['id'].'&act=down" '.$target.'><img src="'.$stylevar[imgdir_button].'/'.$vbphrase['ecdownloads_download_pic'].'" width="15" height="15" align="middle" title="'.$vbphrase['ecdownloads_download'].' '.$file['name'].'" alt="'.$vbphrase['ecdownloads_downloads'].'" border="0" /></a> '; Code:
$download = '<a href="./downloads.php?do=file&id='.$file['id'].'" '.$target.'><img src="'.$stylevar[imgdir_button].'/'.$vbphrase['ecdownloads_download_pic'].'" width="15" height="15" align="middle" title="'.$vbphrase['ecdownloads_download'].' '.$file['name'].'" alt="'.$vbphrase['ecdownloads_downloads'].'" border="0" /></a> '; Hope this helps... |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|