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 10-31-2006 06:23 PM

Quote:

Originally Posted by TheBlackPoet
when i installed the update.... it doesnt give me the option to select permissions in the usergroup.. i unstalled and reinstalled everything... i dont have the buddy installed.. so i cant figure out what the issue it..

Try to rebuild your bitfields:
http://www.yoursite.com/forums/admin...buildbitfields

TheBlackPoet 10-31-2006 06:40 PM

i rebuilt the bitfields (which was cool).. it was successful... but.. i still go to my usergroup...and the downloads options is not there.. i can edit the downloads as an admin... but i cant select permissions so when i go to the page on the front end.. im not allowed to view the page...

CyberRanger 10-31-2006 06:41 PM

Quote:

Originally Posted by TheBlackPoet
i rebuilt the bitfields (which was cool).. it was successful... but.. i still go to my usergroup...and the downloads options is not there.. i can edit the downloads as an admin... but i cant select permissions so when i go to the page on the front end.. im not allowed to view the page...

Make sure you've uploaded includes\xml\bitfield_ecdownloads.xml

TheBlackPoet 10-31-2006 06:43 PM

okay... i dont know what i did... but i reloaded ALL the files.... and it worked... i think my problem was in the ftp... thanks for the quick response!

Black Tiger 10-31-2006 07:15 PM

I just noticed that the changelog was posted "today".
But I've already got a 5.04 version. I presume I have a beta then? Are there changes between the version I already have, and the one from today?

CyberRanger 10-31-2006 07:17 PM

Quote:

Originally Posted by Black Tiger
I just noticed that the changelog was posted "today".
But I've already got a 5.04 version. I presume I have a beta then? Are there changes between the version I already have, and the one from today?

Yes, you had a beta. You should install the version that was posted today in the product announcement.

Black Tiger 10-31-2006 07:25 PM

Oke thanks for the quick reply!

Black Tiger 10-31-2006 07:37 PM

@Cyberranger: I promised to say if my problem was fixed.
I could not fix it, because I could not revert the templates. Reason for that, was because all templates were original and not edited. In that case the revert option is blanked out.

However.... with the new 5.04 the problem is fixed. I don't need to use any "go" with a single file or select it. The only thing I have to do is to use the "approve" from the pulldown and immediately the file is approved. This is how it workd the very 1st time I installed it.
So my problem is fixed with this new version.

Many thanks again!

Black Tiger 10-31-2006 07:41 PM

Ehmmz.... sorry I was too quick, but now I know the cause now to my problem.

As soon as I use the vBA code in the downloads.php file, the problem returns.

The only thing I do is add the following code to the downloads.php:
Code:

define('VBA_PORTAL', true);
define('VBA_PAGE', 'RSide');

When this is not in there... it works great. How can I fix it?

CyberRanger 10-31-2006 07:48 PM

Quote:

Originally Posted by Black Tiger
Ehmmz.... sorry I was too quick, but now I know the cause now to my problem.

As soon as I use the vBA code in the downloads.php file, the problem returns.

The only thing I do is add the following code to the downloads.php:
Code:

define('VBA_PORTAL', true);
define('VBA_PAGE', 'RSide');

When this is not in there... it works great. How can I fix it?

Oh ... I do not know! If you modify downloads.php, all bets are off! :)

If you want to use vba, I'd suggest you use the add-on we've developed (https://vborg.vbsupport.ru/showthread.php?p=922535) and not mess with downloads.php

Hornstar 10-31-2006 08:02 PM

1 Attachment(s)
Thanks, ive been looking forward to this. The upgrade went smoothly. :)

Some requests or questions.

If I no longer want people posting how do I close it? if that is not an option can it be a request then.

Request: Before they are allowed to download for the first time only, they need to accept(tick) a box which has our disclaimer, tos, aup, or whatever we like to be included. and that then gets recorded against their name in their member profile. Also in the admincp, give us the option to then reset people who have accepted it, so they have to accept it again if we make any changes to the policy.
This would be really good.

Request: at the top of the page under a file category it has
Download File Date Downloads Comments

I would like to add Status to the end of that so it would be like:
Download File Date Downloads Comments Status

Now when a file gets added, the user who uploads it can add a status, eg. unknown (default), Undetected, Patched, etc. We could add our own as each forum would have different content and would want their own unique status.

Request: for a search box to be added to the left of the page. I have added a pic to show you what I mean.


Request: How to add advertisements to the left or right side of a page.

Request: How to add a banner to the top of a page for that category only. (under the navbar) eg. Under the category of game demos, I would have a nice big banner on the top of the page saying Game Demos, this would make the page look like it is for the game demos.


I know some of these requests may be good for lots of people or maybe some for me, however which ones may become default, and which ones not, because I would still like to know how to do them myself if they are not default.


Thanks again.

RS_Jelle 10-31-2006 08:05 PM

BlackTiger, you may pm me an admin account, so I can check out the problem with the vBa CMPS page integration (it's something with the vBa URL rewrite -I think-), but I can't garantee you that I can fix it :)

Black Tiger 10-31-2006 08:25 PM

@RS_Jelle: I used the vba addon but it won't give me my right side column.

But maybe indeed I've done something wrong there. I will create an admin account and pm it to you. Thanks.

Hornstar 10-31-2006 08:29 PM

you are fast at replying :) I edited my post thinking no one would beat me lol, well I think my post may be lost quite quickly, so here it is https://vborg.vbsupport.ru/showpost....&postcount=691

Thanks again.

CyberRanger 11-01-2006 02:42 PM

I've uploaded a new add-on for DownloadsII: DownloadsII PM moderation notification Add-On As stated in the release thread, the add-on does this: when a user uploads a file via DownloadsII and that file is placed in moderation, all users that have the usergroup permission "Can Manage Moderation Queue" set to "Yes" will receive a PM notifying them about the file.

BUT ... the real reason I created it was to demonstrate how the new hooks that have been added to DownloadsII ver 5.0.4 can be used. The PM notification add-on uses the hooks dl_post_upload_add and dl_post_upload_edit. My hope is that other programmers will use these hooks to add other features to DownloadsII. (Hint - maybe for vbux integration!). By using the hooks, DownloadsII can be a modular program; different programmers can create modules that tie into the hooks that are available.

If you are a programmer and you see where another hook would be handy, let me know. There are currently five hooks: dl_pre_upload, dl_post_upload_add, dl_post_upload_edit, dl_pre_download, dl_post_download.

ShadowOne 11-01-2006 02:46 PM

You may only upload or link to the following extensions: zip rar tar gz

It wont let me add anything... someone help please....

CyberRanger 11-01-2006 02:48 PM

Quote:

Originally Posted by ShadowOne
You may only upload or link to the following extensions: zip rar tar gz


It wont let me add anything... someone help please....

What is the type of file you are trying to upload? If it's not one of the extensions listed, you'll need to add the extension in admincp -> Downloads -> Settings -> Allowed File Extensions.

ShadowOne 11-01-2006 03:00 PM

ahhh thanks... is there an image for buttons/downloads.gif ?

EvilHawk 11-01-2006 03:03 PM

Quote:

Originally Posted by CyberRanger
I've uploaded a new add-on for DownloadsII: DownloadsII PM moderation notification Add-On As stated in the release thread, the add-on does this: when a user uploads a file via DownloadsII and that file is placed in moderation, all users that have the usergroup permission "Can Avoid Moderation Queue" set to "Yes" will receive a PM notifying them about the file.

ΙNMHO "Can Manage Moderation Queue" is a more appropriate user group permission for such an action ... ;)

CyberRanger 11-01-2006 03:04 PM

Quote:

Originally Posted by EvilHawk
ΙNMHO "Can Manage Moderation Queue" is a more appropriate user group permission for such an action ... ;)

LOL .... yes it is and that is the permission that is used. I wrote the wrong thing!

CyberRanger 11-01-2006 03:09 PM

Quote:

Originally Posted by ShadowOne
ahhh thanks... is there an image for buttons/downloads.gif ?

Yes, it's part of the install files at upload\images\buttons. Depending on your style, you may need to copy download.gif to another location. (Note - it's download.gif not downloads.gif)

NiceWorld 11-01-2006 06:23 PM

Quck question, when I link to external files, is the source encoded (i.e. to avoid hotlinking by users finding out the exact location)?

Thanks

CyberRanger 11-01-2006 06:38 PM

Quote:

Originally Posted by NiceWorld
Quck question, when I link to external files, is the source encoded (i.e. to avoid hotlinking by users finding out the exact location)?

Thanks

No, if you want the source encoded, you need to upload the file and not link to it externally.

RS_Jelle 11-01-2006 10:18 PM

Please vote for DownloadsII in the Mod of the Month November 2006 contest :)

You can also nominate it again for a next MotM (the link for that is under the install/unistall link).

DementedMindz 11-01-2006 10:21 PM

Quote:

Originally Posted by RS_Jelle
Please vote for DownloadsII in the Mod of the Month November 2006 contest :)

You can also nominate it again for a next MotM (the link for that is under the install/unistall link).

did both and thanks again :)

Hornstar 11-02-2006 03:20 AM

Hey just wondering if you could comment on this post https://vborg.vbsupport.ru/showpost....&postcount=691

If any of that is a paid job let me know, and ill consider it.

Thanks.

Zia 11-02-2006 05:19 PM

Quote:

Originally Posted by Icy
I'm having a weired problem.. I add .mp3 extension.. Add files using mass import.. chmod 777 just the download directory.. But none can download any single file.. Its just stop after few seconds/minutes.. Sometimes its stop after downloading 200 kb sometimes after 1 mb sometimes after 75 kb :confused:.. I did upgrade from Ron|n's eCDownload.. I'm on vB 3.6.0.. Any help? Also a quick question to Westpointer.. When u 'll integrate it with vBPlaza?

Edit: My file name is Artcell - Rahur Grash [www.golpo.net].mp3 I've tried removing [www.golpo.net] but still same results.. Is thr anything I've to do to use it with vB 3.6.0 ?


this issue still burning our brain out...:S

unenergizer 11-02-2006 05:43 PM

How come I can not see the files my members have posted? What do I need to do about this? What steps do i take?

EDIT: Nevermind. I figured everything out. You can delete this now.

CyberRanger 11-02-2006 05:46 PM

Quote:

Originally Posted by UNEnergizer
How come I can not see the files my members have posted? What do I need to do about this? What steps do i take?

Are the members files being held in moderation awaiting approval?

RS_Jelle 11-02-2006 08:42 PM

Quote:

Originally Posted by hornstar1337
Hey just wondering if you could comment on this post https://vborg.vbsupport.ru/showpost....&postcount=691

If any of that is a paid job let me know, and ill consider it.

Thanks.

  1. Just remove their permissions to add files :)
  2. This isn't possible at the moment and isn't very easy to create quickly. Although it isn't very difficult also (add a new field to the user table and check for it, so that's an easy thing). I will look into this to create a plugin for it ;)
  3. This is one of the top requests: custom file fields. I can't promise anything, but ofcourse we will try to get this in the next big release.
  4. Adding a search box to the left column isn't very difficult, just an easy template edit:
    Open the downloads_wrapper_site template
    Find:
    Code:

    <br />$dl->downloadsmessage
    Above add:
    Code:

    <div align="left">
            <form action="./downloads.php?do=search" method="post">
            <input type="text" name="query" maxlength="75" size="20" />
            <br /><input type="submit" name="submit" value="{$vbphrase['ecdownloads_search']}" />
          </form>
    </div>

  5. The same as point 5, just another code to add, your advertising code (img or something else).
  6. This requires file edits when you want a field for this in the category admin. If there aren't a lot of categories, you can use template conditionals.
    Place them below $navbar in the DOWNLOADS template.
    For example:
    Code:

    <if condition="$cleancatid == '5'">
    <img src="http://www.yoursite.com/images/banner.gif" alt="banner" />
    </if>

    Ofcourse you just change the number 5 to the correct category id.

To become default: I really want a search field placed on each page in a next big release, so that will become default normally. We are also considering the custom file fields like I said. I don't think the custom category fields for advertisements are going to make it to become a default feature, not that many people would use this.

Hornstar 11-03-2006 01:43 AM

Quote:

Originally Posted by RS_Jelle
  1. Just remove their permissions to add files :)
  2. This isn't possible at the moment and isn't very easy to create quickly. Although it isn't very difficult also (add a new field to the user table and check for it, so that's an easy thing). I will look into this to create a plugin for it ;)
  3. This is one of the top requests: custom file fields. I can't promise anything, but ofcourse we will try to get this in the next big release.
  4. Adding a search box to the left column isn't very difficult, just an easy template edit:
    Open the downloads_wrapper_site template
    Find:
    Code:

    <br />$dl->downloadsmessage
    Above add:
    Code:

    <div align="left">
            <form action="./downloads.php?do=search" method="post">
            <input type="text" name="query" maxlength="75" size="20" />
            <br /><input type="submit" name="submit" value="{$vbphrase['ecdownloads_search']}" />
          </form>
    </div>

  5. The same as point 5, just another code to add, your advertising code (img or something else).
  6. This requires file edits when you want a field for this in the category admin. If there aren't a lot of categories, you can use template conditionals.
    Place them below $navbar in the DOWNLOADS template.
    For example:
    Code:

    <if condition="$cleancatid == '5'">
    <img src="http://www.yoursite.com/images/banner.gif" alt="banner" />
    </if>

    Ofcourse you just change the number 5 to the correct category id.

To become default: I really want a search field placed on each page in a next big release, so that will become default normally. We are also considering the custom file fields like I said. I don't think the custom category fields for advertisements are going to make it to become a default feature, not that many people would use this.

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.

hyony 11-03-2006 02:11 AM

Can it protect link? prevent ppl hotlink?
Thanks

Lionel 11-03-2006 10:19 AM

I have this rather strange issue on a new install on vb 3.60 where no template files was altered. Logo image does not display in any style, when in page downloads.php?do=add&cat=

it displays fine in other pages. A view source shows the logo as being there.

CyberRanger 11-03-2006 11:11 AM

Quote:

Originally Posted by hyony
Can it protect link? prevent ppl hotlink?
Thanks

Unless someone has ftp access to your site (where he can see the actual file name in the downloads folder), hotlinking is very unlikely. The file that is actually delivered to the user is copied from it's true location, renamed, delivered to the user, then deleted.

CyberRanger 11-03-2006 11:14 AM

Quote:

Originally Posted by Lionel
I have this rather strange issue on a new install on vb 3.60 where no template files was altered. Logo image does not display in any style, when in page downloads.php?do=add&cat=

it displays fine in other pages. A view source shows the logo as being there.

Can you attach some pics of what you mean? Are you talking about the vbulletin image in the upper left hand corner? If yes, it should be there.

Lionel 11-03-2006 11:44 AM

Quote:

Originally Posted by CyberRanger
Can you attach some pics of what you mean? Are you talking about the vbulletin image in the upper left hand corner? If yes, it should be there.

hi, i just PM you a link with username and passwd.

the problem appears to be in the downloads_wrapper_top template

Lionel 11-03-2006 11:59 AM

The problem appears to be with IE only.

CyberRanger 11-03-2006 12:09 PM

Quote:

Originally Posted by Lionel
The problem appears to be with IE only.

Right, IE only and only on your site when the "Add" option is selected. I'll look into it some more.

CyberRanger 11-03-2006 12:48 PM

Quote:

Originally Posted by Lionel
The problem appears to be with IE only.

One problem is that the page itself has a lot of errors. Please note that DownloadsII is valid xhtml 1.0. Used with the standard vbulletin style, the problem you are having doesn't occur. So ... somewhere there is a funky html code in a template you've modified that is causing the problem.

For example, here is a site that uses DownloadsII ver 5.0.4. Check out the validation: http://validator.w3.org/check?uri=ht...%3Fstyleid%3D1

Compare that to your site: http://validator.w3.org/check?uri=ht...doctype=Inline

There's probably something really minor that needs tweaked. I'll keep looking too. In the meantime, it would be good if you tried to clean up some of the errors.

BTW - I'd encourage everyone to run your site through: http://validator.w3.org/

Here's a site that doesn't validate yet works fine: http://www.xtreme-gamer.com/forums/d...o=file&id=1292 ODD!!!

CyberRanger 11-03-2006 06:26 PM

Quote:

Originally Posted by Lionel
The problem appears to be with IE only.

I did find an oddity in the template downloads_file.

Look for this:
PHP Code:

    <tr
     <
td class="alt1" width="25%">{$vbphrase['ecdownloads_file_name']}:</td>
     <
td class="alt2" colspan="2" valign="middle" align="left" width="90%">{$file['name']} ($size)</td>
     <
td class="alt1" rowspan="2" valign="middle" align="center" width="28%"><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></td>
    </
tr

Remove the width="90%" and see if that makes a difference when you are viewing the details for a file.


All times are GMT. The time now is 02:57 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.04056 seconds
  • Memory Usage 1,887KB
  • 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
  • (10)bbcode_code_printable
  • (1)bbcode_php_printable
  • (20)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