![]() |
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... |
All times are GMT. The time now is 12:26 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|