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)

RS_Jelle 11-03-2006 07:11 PM

Quote:

Originally Posted by hornstar1337
1. I meant posting comments not files sorry. eg. close the thread. I want to close the file, so they can still download but not post comments.

2. Okay cool and to help out, this site is using DownloadsII it appears and they have implemented pretty much everything im looking for, so maybe if you take a look at this site, it will help you to implement some of the features.
Code:

http://www.mpcdownloads.com/forums/downloads/Age-of-empires/HODXP.zip/3957.html
This link above will show you the disclaimer they have integrated somehow.

**I also was wondering if you could possibly make the links either like they are and vbseo compliant as well. If you need to know more on this let me know, as a lot more people are using vbseo it would be great to have it default.** (The above link has been made like that because of vbseo)

3. That would be great. It would really help out, and when you do it, it may be wise to have it usergroup permissioned as well. eg. only mods can change the status.

4. I was trying to get a search box like the one I showed you in the pic with the drop down menu with those extra options. The one in the above link works. on my site www.gamerzneeds.net/forums/files.html the search works, but the drop down menus do not work. here is the code I used.
Code:

<!-- BEGIN TEMPLATE: searchbox -->

<table cellspacing="3" width="100%"><tbody><tr><td class="tborder"><table class="tborder" align="center" cellpadding="5" cellspacing="0" width="100%">
 <tbody><tr>
  <td class="thead" colspan="2" align="center"><span class="smallfont">Search Downloads</span></td>
 </tr>
 <tr>
  <td style="background-color: rgb(255, 255, 255); background-position: right center; background-repeat: repeat-y;" align="center" background="images/newskin/misc/rowbg3.jpg">
<form action="./downloads.php?do=search" method="post">
        <input type="text" name="query" maxlength="75" size="20" />
        <br />
        <p><select name="where"><option value="1">Title</option><option value="2">Description</option><option value="3">Author</option><option value="4" selected="selected">Search All</option></select>&nbsp;       
        <input type="submit" name="submit" value="{$vbphrase['ecdownloads_search']}" /></p></form>
</td></tr>
</tbody></table></td></tr></tbody></table>



<!-- END TEMPLATE: searchbox -->

Also What is the code you have used to create the boxes around things eg. latest files. As that is the box I would like to get around the search box.

5. Thanks

6. Thanks, although that may be a possibility for now. Once I start adding around 50 categories I think it will be a bit messy maybe.
Is there any easier way? or a possibility of it being easier in the next version?


Thanks for your reply and hope im not being to much trouble.

1. I'm sorry but this isn't possible at the moment.
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>

4. This site isn't running DownloadsII, but the older ecDownloads of Ron1n (a modified one). Such dropdowns won't work, because there is no option to do such search actions (you can only do a general search at the moment). The next big release will contain a more advanced search system, this is on our todo list.
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 ;)

Hornstar 11-03-2006 09:32 PM

Quote:

Originally Posted by RS_Jelle
1. I'm sorry but this isn't possible at the moment.
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>

4. This site isn't running DownloadsII, but the older ecDownloads of Ron1n (a modified one). Such dropdowns won't work, because there is no option to do such search actions (you can only do a general search at the moment). The next big release will contain a more advanced search system, this is on our todo list.
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 ;)

Thanks heaps, I really appreciate all the time you are putting in. and I will try out the above code now. Thanks.



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.

I was trying to edit this template: downloads_file

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.

Lionel 11-03-2006 10:14 PM

no removing the 90% did not solve it. I think the problem somehow is with the downloads_wrapper_top template.

CyberRanger 11-03-2006 11:48 PM

Quote:

Originally Posted by Lionel
no removing the 90% did not solve it. I think the problem somehow is with the downloads_wrapper_top template.

See what happens if you set admincp->downloads->settings-> 'Display "Tops" on all pages?' to "Yes". That will cause the downloads_wrapper_top template to not be used when viewing the file details.

Lionel 11-03-2006 11:56 PM

Quote:

Originally Posted by CyberRanger
See what happens if you set admincp->downloads->settings-> 'Display "Tops" on all pages?' to "Yes". That will cause the downloads_wrapper_top template to not be used when viewing the file details.

no luck

Lionel 11-03-2006 11:59 PM

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

jarvis 11-04-2006 01:33 AM

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. ;)

Lionel 11-04-2006 05:10 AM

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.

RS_Jelle 11-04-2006 07:01 AM

Quote:

Originally Posted by hornstar1337
Thanks heaps, I really appreciate all the time you are putting in. and I will try out the above code now. Thanks.



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.

I was trying to edit this template: downloads_file

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.

You have to edit downloads_file indeed ;)

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:

Originally Posted by jarvis
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 will try to create this one ;)
The poster of the thread: do you want it to be a specified person or the person who placed the file?

phill2003 11-04-2006 04:38 PM

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&amp;id='.$file['id'].'&amp;act=down" '.$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;';
and change it too

Code:

$filethumb = '<a href="./downloads.php?do=file&amp;id='.$file['id'].'" '.$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;';
Then you need to find
Code:

$download = '<a href="./downloads.php?do=file&amp;id='.$file['id'].'&amp;act=down" '.$target.'><img src="'.$stylevar[imgdir_button].'/'.$vbphrase['ecdownloads_download_pic'].'" width="15" height="15" align="middle" title="'.$vbphrase['ecdownloads_download'].'&nbsp;'.$file['name'].'" alt="'.$vbphrase['ecdownloads_downloads'].'" border="0" /></a>&nbsp;';
and replace it with
Code:

$download = '<a href="./downloads.php?do=file&amp;id='.$file['id'].'" '.$target.'><img src="'.$stylevar[imgdir_button].'/'.$vbphrase['ecdownloads_download_pic'].'" width="15" height="15" align="middle" title="'.$vbphrase['ecdownloads_download'].'&nbsp;'.$file['name'].'" alt="'.$vbphrase['ecdownloads_downloads'].'" border="0" /></a>&nbsp;';
This stops the images being download links and the little giff downloading the fiel so people have now go to go into the download file page and click on the disclaimer tick box...

Hope this helps...

Hornstar 11-04-2006 09:10 PM

Thanks, I'll try the above when I get home.

Lionel 11-05-2006 05:30 AM

Good news!!!!

My logo is a png file.

I installed the png fix hack and had this in headinclude

Quote:

<!--[if lt IE 7.]>
<script defer type="text/javascript" src="/forums/clientscript/pngfix.js"></script>
<![endif]-->
Then I found out that the problem was not just with your hack, but with every form that does an add/edit.

Go figure! I removed the png hack and all is fine now.

captainslater 11-06-2006 06:20 AM

For further versions the "Categories", "Import" and "Downloads"-settings in the ACP should be phrased for translations...

fosman 11-06-2006 08:32 AM

What about mirror ability... Is that in your plans? :)

RS_Jelle 11-06-2006 09:50 AM

Quote:

Originally Posted by captain slater
For further versions the "Categories", "Import" and "Downloads"-settings in the ACP should be phrased for translations...

We know they aren't phrased and we will do this when we've got the time for it (maybe we also create admin help items in the product), but that's not a major issue (normally everyone understands english and only admins are seeing this).
Quote:

Originally Posted by fosman
What about mirror ability... Is that in your plans? :)

That's our biggest plan for the future together with custom file fields (it's mentioned in the first post) :)

Hornstar 11-06-2006 10:07 AM

Quote:

Originally Posted by phill2003
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&amp;id='.$file['id'].'&amp;act=down" '.$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;';
and change it too

Code:

$filethumb = '<a href="./downloads.php?do=file&amp;id='.$file['id'].'" '.$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;';
Then you need to find
Code:

$download = '<a href="./downloads.php?do=file&amp;id='.$file['id'].'&amp;act=down" '.$target.'><img src="'.$stylevar[imgdir_button].'/'.$vbphrase['ecdownloads_download_pic'].'" width="15" height="15" align="middle" title="'.$vbphrase['ecdownloads_download'].'&nbsp;'.$file['name'].'" alt="'.$vbphrase['ecdownloads_downloads'].'" border="0" /></a>&nbsp;';
and replace it with
Code:

$download = '<a href="./downloads.php?do=file&amp;id='.$file['id'].'" '.$target.'><img src="'.$stylevar[imgdir_button].'/'.$vbphrase['ecdownloads_download_pic'].'" width="15" height="15" align="middle" title="'.$vbphrase['ecdownloads_download'].'&nbsp;'.$file['name'].'" alt="'.$vbphrase['ecdownloads_downloads'].'" border="0" /></a>&nbsp;';
This stops the images being download links and the little giff downloading the fiel so people have now go to go into the download file page and click on the disclaimer tick box...

Hope this helps...

I have not done this yet, but everything seems to be working okay without having to do this yet.

I placed the code above this

Code:

<a href="downloads.php?do=file&amp;id={$file['id']}&amp;act=down" {$target}><img src="$stylevar[imgdir_button]/download.gif" alt="{$vbphrase['ecdownloads_download']}" title="{$vbphrase['ecdownloads_download']} {$file['name']}" border="0" /></a>
Then after I removed the above.


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.

phill2003 11-06-2006 11:13 AM

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.

phill2003 11-06-2006 12:23 PM

Oh yea and i forgot in the template downloads_file you need to delete both instances of
Code:

$download
if you want this disclaimer hack to work as intended...

jarvis 11-06-2006 12:38 PM

Quote:

Originally Posted by RS_Jelle
I will try to create this one ;)
The poster of the thread: do you want it to be a specified person or the person who placed the file?

Thanks, Jelle!! The poster could just be something as simple as a specified user ID, that way we could setup some sort of 'FileBot' or even assign an admin to be the poster.

Thanks again! :D

CyberRanger 11-06-2006 12:56 PM

Quote:

Originally Posted by jarvis
Thanks, Jelle!! The poster could just be something as simple as a specified user ID, that way we could setup some sort of 'FileBot' or even assign an admin to be the poster.

Thanks again! :D

I've created a feature like this for a different mod. Here's some of the options that I feel admins will want;
  1. Ability to decide what forum receives the new thread based on the category of the file
  2. Option to make creating a new thread required or give the person who is uploading the file an option for creating the thread
  3. Option to have the thread created by the uploader or always assigned to the same user account (pros and cons of both ways)
  4. Ability to track which threads where created via DownloadsII

I think this is a great idea that I'll probably spend some time with too.... but it does it complicated quickly!

fosman 11-06-2006 01:02 PM

Quote:

Originally Posted by RS_Jelle
We know they aren't phrased and we will do this when we've got the time for it (maybe we also create admin help items in the product), but that's not a major issue (normally everyone understands english and only admins are seeing this).

That's our biggest plan for the future together with custom file fields (it's mentioned in the first post) :)


WoW!!! That's great mate. Can't waite :)

jarvis 11-06-2006 01:08 PM

Quote:

Originally Posted by CyberRanger
I've created a feature like this for a different mod. Here's some of the options that I feel admins will want;
  1. Ability to decide what forum receives the new thread based on the category of the file
  2. Option to make creating a new thread required or give the person who is uploading the file an option for creating the thread
  3. Option to have the thread created by the uploader or always assigned to the same user account (pros and cons of both ways)
  4. Ability to track which threads where created via DownloadsII

I think this is a great idea that I'll probably spend some time with too.... but it does it complicated quickly!

It can get complicated, no doubt, but I think I am just looking for a basic thread creation for ANY file at this point by a specified user account in a specified forum. Anything above and beyond is just icing on the cake. :)

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!!

fosman 11-06-2006 05:28 PM

Is it possible changing the rate from the american grades to 1-10 instead?

Robbed 11-06-2006 08:19 PM

Quote:

Originally Posted by CyberRanger
I've created a feature like this for a different mod. Here's some of the options that I feel admins will want;
  1. Ability to decide what forum receives the new thread based on the category of the file
  2. Option to make creating a new thread required or give the person who is uploading the file an option for creating the thread
  3. Option to have the thread created by the uploader or always assigned to the same user account (pros and cons of both ways)
  4. Ability to track which threads where created via DownloadsII

I think this is a great idea that I'll probably spend some time with too.... but it does it complicated quickly!

Great ideas, We have a release forum so members create the thread manually.

This would help.

CyberRanger 11-06-2006 09:03 PM

Quote:

Originally Posted by CyberRanger
I've created a feature like this for a different mod. Here's some of the options that I feel admins will want;
  1. Ability to decide what forum receives the new thread based on the category of the file
  2. Option to make creating a new thread required or give the person who is uploading the file an option for creating the thread (for ver 1.0 of add-on, user will not have an option. Instead, decided per category.)
  3. Option to have the thread created by the uploader or always assigned to the same user account (pros and cons of both ways) (will be by category)
  4. Ability to track which threads where created via DownloadsII

I think this is a great idea that I'll probably spend some time with too.... but it does it complicated quickly!

Almost done with ver 1.0 of an add-on module to do this. Should be released tomorrow.:)

CyberRanger 11-06-2006 09:06 PM

Quote:

Originally Posted by fosman
Is it possible changing the rate from the american grades to 1-10 instead?

that's already planned for future releases. I think someone posted how to change it in this thread.

Robbed 11-06-2006 09:10 PM

Quote:

Originally Posted by CyberRanger
Almost done with ver 1.0 of an add-on module to do this. Should be released tomorrow.:)

Awesome, I still have to find time to upgrade to the latest version lol.

PS - Make sure to vote for this mod if you guys like it.

https://vborg.vbsupport.ru/showthread.php?t=130551

Hornstar 11-07-2006 10:16 AM

Quote:

Originally Posted by phill2003
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.

:) Thanks...until now, i didnt even know about the little pic that you could click on to download the file as well lol.

Thanks again.

CyberRanger 11-07-2006 11:07 AM

Quote:

Originally Posted by hornstar1337
:) Thanks...until now, i didnt even know about the little pic that you could click on to download the file as well lol.

Thanks again.

In the future, I think I'll change that link to go to the file listing instead of downloading the file. With folks setting up daily restrictions on how much can be downloaded, it's too easy for someone to click on that link without realizing that it initiates a download.

CyberRanger 11-07-2006 03:52 PM

Quote:

Originally Posted by jarvis
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. ;)

Done! I've released it as an add-on module.

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.

cOuNtErFiET 11-07-2006 07:18 PM

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

CyberRanger 11-07-2006 09:42 PM

Quote:

Originally Posted by cOuNtErFiET
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

Upgrade will maintain all previous information:)

Hornstar 11-09-2006 09:02 AM

Quote:

Originally Posted by CyberRanger
Done! I've released it as an add-on module.

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.


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.

gamesmastervide 11-10-2006 12:54 PM

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..

CyberRanger 11-10-2006 02:03 PM

Quote:

Originally Posted by gamesmastervide
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..

We are looking very closely with intergration for vbux. The addition of hooks in ver 5.0.4 was a big step in making it possible.

gamesmastervide 11-10-2006 03:03 PM

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..

Robbed 11-11-2006 12:52 AM

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

CyberRanger 11-11-2006 03:50 AM

Quote:

Originally Posted by Robbed
1) What data does Prune Download log entries delete?

The table dl_downloads can get really, really big for sites that have a lot of downloads. This prunes that table based on the value you enter. So, if you put a 5 in the field, any entries in dl_downloads that are over 5 days old are deleted.

In the admincp -> downloads -> downloads, those are the records in dl_downloads.

Quote:

Originally Posted by Robbed
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.

Sorry, not supported now but I can see where that would be handy.

ViolenT 11-11-2006 11:59 PM

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

Robbed 11-12-2006 12:58 AM

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
  • Page Generation 0.04206 seconds
  • Memory Usage 1,930KB
  • 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
  • (17)bbcode_code_printable
  • (26)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