![]() |
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"> 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 ;) |
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: 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. |
no removing the 90% did not solve it. I think the problem somehow is with the downloads_wrapper_top template.
|
Quote:
|
Quote:
|
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
|
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. ;) |
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. |
Quote:
This code should do the trick: Code:
<script type="text/javascript"> Quote:
The poster of the thread: do you want it to be a specified person or the person who placed the file? |
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... |
Thanks, I'll try the above when I get home.
|
Good news!!!!
My logo is a png file. I installed the png fix hack and had this in headinclude Quote:
Go figure! I removed the png hack and all is fine now. |
For further versions the "Categories", "Import" and "Downloads"-settings in the ACP should be phrased for translations...
|
What about mirror ability... Is that in your plans? :)
|
Quote:
Quote:
|
Quote:
I placed the code above this Code:
<a href="downloads.php?do=file&id={$file['id']}&act=down" {$target}><img src="$stylevar[imgdir_button]/download.gif" alt="{$vbphrase['ecdownloads_download']}" title="{$vbphrase['ecdownloads_download']} {$file['name']}" border="0" /></a> Can anyone else confirm if what he did should be done as well. Also how do I get the old download button to show instead of the new one, or is that not possible with this. thanks. |
You dont have to do anything! But as the code stands your users can still download using the thumbnail on the listing page thus bypassing the need to tick the disclaimer box, My code just makes both the thumbnail (if one is uploaded) and the download gif (little black on on the listing page) into links to the download page where the disclaimer link is and then the user has to click it to say they have read, Which is the whole point because if you can circumvent that then it has no meaning as you could argue that you do not accept it because you were not asked to.
|
Oh yea and i forgot in the template downloads_file you need to delete both instances of
Code:
$download |
Quote:
Thanks again! :D |
Quote:
I think this is a great idea that I'll probably spend some time with too.... but it does it complicated quickly! |
Quote:
WoW!!! That's great mate. Can't waite :) |
Quote:
I think this is a very useful addon as people will be driven to the downloads area by new posts and just adds to overall interactiveness of site. Thanks!! |
Is it possible changing the rate from the american grades to 1-10 instead?
|
Quote:
This would help. |
Quote:
|
Quote:
|
Quote:
PS - Make sure to vote for this mod if you guys like it. https://vborg.vbsupport.ru/showthread.php?t=130551 |
Quote:
Thanks again. |
Quote:
|
Quote:
Create New Thread ################################################## ##### # DownloadsII Create New Thread Add-On 1.0 # ################################################## ##### DownloadsII Create New Thread Add-On, is not a stand-alone mod. It requires DownloadsII 5.0.4 or higher. You can find it here: https://vborg.vbsupport.ru/showthread.php?t=120122 (free) // What does it do? // When a user uploads or updates a file via DownloadsII a thread is created or updated in the specificed forum. // Features // 1. Ability to global select the forum that receives the new thread and the userid of the thread creator. 2. Ability to decide what forum receives the new thread and the thread creator based on the category of the file 3. Option to have the thread created by the uploader or always assigned to the same user account 4. Option to never create threads by category 5. Usergroup permissions for being allowed to create a new thread 6. Link added between thread and Downloads file detail. 7. Updated Downloads entry creates new post in thread alerting of an update. 8. Database link to Downloads file entry removed if thread is deleted. 9. If the Downloads new entry is placed in moderation, so is the thread. |
so will upgrading wipe-out the downloads that are there? cause i remember one version did but i cannot remember...cause i dont want to have to re-add all of my dnlds again
|
Quote:
|
Quote:
I just thought of the best idea :D Basically the opposite of the above. This may not be able to be completed until downloads can have multiple files. So when a user creates a thread that post and file gets moved to the downloads database. Options would include: 1. Have the option for the mod to approve the thread before it is accepted or moved to the downloads database. 2. Set it up so each forum is linked to a category in downloads. eg. Forum1 is linked to category X (lets say I have a forum called mac downloads then I would also have a category called mac downloads, and they are both linked together, so when a new thread is created it is moved to that category. If it doesnt have a category that matches it then it is moved to a default category waiting to be approved or moved. 3. Have it say on the downloads database "Official support forum here" and have it link to the thread that created it. 4. Really need to be able to close the thread so no one can post in the downloads database as an option if #3 above is used. because people will be posting in the forum for that download. I know some of these features may have to wait, but what do you think of the idea so far? This would be by far the best thing for my forum ever. |
how about a points addon so people cannot download lots at once saving on bandwidth? where they reset everyday unless there a certain usergroup then they can earn more and no reset or something as this was draining my band quickly..
|
Quote:
|
how about with icash mod its very simple or even your own so you can do stuff like reset for certain usergroups i'm sure it wouldn't be too hard to add with your knowledge.. maybe no points for posting just a certain amount given everyday..
|
I finally had time to upgrade, it went well and less file edit for me this time :)
1) What data does Prune Download log entries delete? 2)Is there a way to have the same file entry in different category. example: I want to have a major update category but I also want the file listed in it's regular category. Rob |
Quote:
In the admincp -> downloads -> downloads, those are the records in dl_downloads. Quote:
|
I have a very simple question. I cant seem to add any new categarys to the downloads after this has been installed. If i try to add a new download i need to select a category which isnt possible as none are defined. Can you explain how you set up the very first categaory? I am using vbulletin version 3.6.3
|
Add it from the Admincp under downloads.
|
All times are GMT. The time now is 07:46 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|