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)

nebu 06-27-2007 08:17 PM

Quote:

Originally Posted by RS_Jelle (Post 1277753)
Just try the .htaccess and see if it solves the problem.

tell me what to do plz.

Majest 06-27-2007 10:48 PM

Quote:

Originally Posted by RS_Jelle (Post 1273057)
Quote:

Originally Posted by Majest (Post 1269583)
Is there a way to have the message interface match the style?

Also is there a way to have Top Contributors be Top Authors instead of Top Uploaders?

Clicks Install. ;)

1. How do you mean? I don't understand your question. The message editor is the default vBulletin one, so you just have to change its styles in the "Styles & Templates" AdminCP part. Or do you mean the large editor for the reply field for comments? This will be replaced by a small Quick Reply field in v6.

2. Edit the "ecdownloads_top_contributors" phrase to change the text.

1. I have a custom style and I want the comment messaging style to not be the vBulletin one, but to match my style.

2. I want it so to authors show up as top contributors and not top uploaders.

I am pretty new with vbulletin editing so I am not 100% following what you mean. If you could explain in more detail I would be greatly appreciative.

CyberRanger 06-27-2007 11:00 PM

Quote:

Originally Posted by nebu (Post 1277951)
tell me what to do plz.

Like Jelle has said already, you need to create a file named .htaccess (not the period in front of the name). Put the following two lines into the file:

Code:

php_value upload_max_filesize 30M
php_value post_max_size 30M

Upload the file into your forum directory (the same location where downloads.php is located.)

This will increase the size of the file you can upload to 30MB.

nebu 06-28-2007 12:09 PM

if i create a new file (xxxx.txt) and try to rename it to .htaccess,
it say "pls insert a name"

how to create a .htaccess

CyberRanger 06-28-2007 12:16 PM

Quote:

Originally Posted by nebu (Post 1278375)
if i create a new file (xxxx.txt) and try to rename it to .htaccess,
it say "pls insert a name"

how to create a .htaccess

Your service provider may have your access restricted where you cannot create hidden files (that's what the period in front of the name does, assuming your host is running some version of unix).

Normally, files are renamed to add the period at the beginning either via direct command line access or via the renaming feature of your ftp program. If you don't know how to do either of those, your best bet is to contact your host and ask them to create the file with the information we told you to put in it.

nebu 06-28-2007 12:19 PM

now i understand ;)
its done and i try to upload now

nebu 06-28-2007 12:31 PM

error again :(

CyberRanger 06-28-2007 12:36 PM

Quote:

Originally Posted by nebu (Post 1278391)
error again :(

I"m sorry but you need to provide a lot more info (what is the error, what were you trying to do, what program were you using, etc) before we can try to help.

Adding or modifying a .htaccess file isn't really part of this mod but we understand the need for it. If you can't get it to work, you really need to ask your host for assistance.

nebu 06-28-2007 12:36 PM

when i create a .htcaccse in my forum root directory,
i cant start the forum

CyberRanger 06-28-2007 12:45 PM

Quote:

Originally Posted by nebu (Post 1278395)
when i create a .htcaccse in my forum root directory,
i cant start the forum

That means you have an error in the file.

At this point, you really need to either read up on creating the file (google "creating a .htaccess file") or have your host help you create the file. I'm afraid there's not much else we can do unless you want to PM me your site info along with an admin ftp login and password.

nebu 06-28-2007 12:56 PM

i get the error message ... in german :)

Code:

Serverfehler!

Die Anfrage kann nicht beantwortet werden, da im Server ein interner Fehler aufgetreten ist. Der Server ist entweder ?berlastet oder ein Fehler in einem CGI-Skript ist aufgetreten. Bitte achten Sie darauf, dass die Dateien und Verzeichnisse ueber die korrekten Berechtigungen verfuegen. Der Vollzugriff (777) ist nicht erlaubt. Aendern Sie die Berechtigungen mittels chmod auf maximal 755.

Sofern Sie dies f?r eine Fehlfunktion des Servers halten, informieren Sie bitte den


captainslater 06-28-2007 01:01 PM

Nebu, did you chmod your downloads-directory and sub-directories to 755?

RS_Jelle 06-28-2007 01:54 PM

Quote:

Originally Posted by coolgus (Post 1277917)
-1. It had a limit of 5 mb but I changed it and problem remains with his account only.

Is his account the only one in that usergroup? Or not? :D

coolgus 06-28-2007 10:11 PM

there is one more account in this usergroup. I tried to delete it and recreated it but still occurs. seems like this problem is username associated. even today where no upload/download had happened, maximum limit message keep repeated. Also the other account in this usergroup has no problem whatsoever.

FYI using the url link works fine and I'm not getting the max limit reach message

CyberRanger 06-28-2007 10:29 PM

Quote:

Originally Posted by coolgus (Post 1278758)
there is one more account in this usergroup. I tried to delete it and recreated it but still occurs. seems like this problem is username associated. even today where no upload/download had happened, maximum limit message keep repeated. Also the other account in this usergroup has no problem whatsoever.

FYI using the url link works fine and I'm not getting the max limit reach message

Is he a member of an additional usergroup that has a limit?

If no, PM me your url along with an admin account and password plus the user's name and I'll check it out.

nebu 06-29-2007 06:00 AM

Quote:

Originally Posted by captainslater (Post 1278407)
Nebu, did you chmod your downloads-directory and sub-directories to 755?

no, its 777

CyberRanger 06-29-2007 11:18 AM

Quote:

Originally Posted by CyberRanger (Post 1278399)
That means you have an error in the file.

At this point, you really need to either read up on creating the file (google "creating a .htaccess file") or have your host help you create the file. I'm afraid there's not much else we can do unless you want to PM me your site info along with an admin ftp login and password.

Quote:

Originally Posted by nebu (Post 1278957)
no, its 777

What I said above is really my last word on this. We've told you exactly what to do.

If you need more help, either ask your host or PM me the info I requested above and I'll help you.

Dr.Alzaabi 07-01-2007 06:27 AM

Hello bro
Great!
it works perfectly but
when i tried to download any file i get this msg

Warning: copy() has been disabled for security reasons in /downloads.php on line 690
ERROR: File not found.

any help?

pn: SAFE MODE ON

CyberRanger 07-01-2007 10:03 AM

Quote:

Originally Posted by Dr.Alzaabi (Post 1280381)
Hello bro
Great!
it works perfectly but
when i tried to download any file i get this msg


Warning: copy() has been disabled for security reasons in /downloads.php on line 690
ERROR: File not found.

any help?

pn: SAFE MODE ON

You'll need to have your host enable copy. There's no other way for the program to work. That's way overly restrictive security.

Big-K 07-01-2007 12:35 PM

UPDATE: THIS IS SOLVED - I logged out and logged back in

Hello,

I just installed this wonderful hack.

Everything is smooth..so far, but when I got stuck at this point
Quote:

Create directories in the 'Categories' menu under the 'Downloads' in your admincp
If you would like to import files go to the 'Import' menu under 'Downloads' and specify a directory to import

There's no Downloads directory in my AdminCP. I have copied all files in "Uploads" and imported the product. What's missing?

Rickeo 07-01-2007 12:37 PM

You will be a living legend for this :) Thank yoooooouuuuuuuuuuu :D:D:D:D

~Rick~

Rickeo 07-01-2007 01:49 PM

I get this error on 3.6.7 PL1 when importing the product

No phrasetypeid!

Any help here please??


Rickeo 07-01-2007 03:04 PM

Sorry issue resolved :s sorry about that

~Rick~

RS_Jelle 07-05-2007 10:02 AM

A question to you all: are you using the Stats feature (downloads.php?do=stats) of DownloadsII? Should we keep it or remove it? Would it be better to integrate it in the AdminCP instead of the public pages? If you use it, why and how do you use it (what purpose etc.)? And what new features would you like in it if we have to keep it?

rowlandc 07-06-2007 09:39 AM

I don't use it much and I believe in adding it in the admin cp would be better. I use it to give my an overview of how much my members are downloading.

You could add it as a sub menu under the download information log. It would be nice in the admin cp that the download section with all the states be developed more. At the moment its great to see how many times someone downloads a file on which day but more information would be interesting e.g. a time.

At the moment I get some members which download the file 4 times in a row. If I new the time in-between those downloads I could see if they are just a bunch of lechers. So if I see it’s a couple of minute’s interval between each download I can assume he’s just had problems downloading. If he downloads every hour then it’s possible he’s a bot sucking my bandwich.

Anyways to make it simple, a time section in the log would be most welcome. The states page should be added to the admincp because its not peoples problem about how much people are downloading, only admins need to worry about that in my opinion.

I hope it helps ;)

csavern 07-07-2007 07:35 PM

when i upload a file to the board then add images of something to the upload i just made all the pics are strait down the page not next to each other..
someone know what i might need to edit to fix this problem

Sean James 07-08-2007 01:18 AM

Can this modication, search your current vBulletin attachments and add them?

A|X 07-08-2007 03:53 AM

how to display order category?

RS_Jelle 07-08-2007 07:55 AM

Quote:

Originally Posted by rowlandc (Post 1284227)
I don't use it much and I believe in adding it in the admin cp would be better. I use it to give my an overview of how much my members are downloading.

You could add it as a sub menu under the download information log. It would be nice in the admin cp that the download section with all the states be developed more. At the moment its great to see how many times someone downloads a file on which day but more information would be interesting e.g. a time.

At the moment I get some members which download the file 4 times in a row. If I new the time in-between those downloads I could see if they are just a bunch of lechers. So if I see it?s a couple of minute?s interval between each download I can assume he?s just had problems downloading. If he downloads every hour then it?s possible he?s a bot sucking my bandwich.

Anyways to make it simple, a time section in the log would be most welcome. The states page should be added to the admincp because its not peoples problem about how much people are downloading, only admins need to worry about that in my opinion.

I hope it helps ;)

Thanks for the feedback. Your suggestions were already incorporated in the next release: the downloads log is now also displaying the download time and ip address (and when you click on it, it does an ip lookup using the vBulletin ip system). You can find a screenshot of it here.

Any other people with information about how they use the Stats feature (or the fact that they aren't using it)? And what you want as a new feature in it?

Quote:

Originally Posted by csavern (Post 1285297)
when i upload a file to the board then add images of something to the upload i just made all the pics are strait down the page not next to each other..
someone know what i might need to edit to fix this problem

Have a look at this post. Someone already asked this and I coded it for him, so you just need to upload the attached downloads.php file instead of your current one.

Quote:

Originally Posted by Griffin80 (Post 1285503)
Can this modication, search your current vBulletin attachments and add them?

No, it has nothing to do with the vBulletin attachments at the moment. It's a separate downloads database.

Quote:

Originally Posted by A|X (Post 1285541)
how to display order category?

When you are viewing a category, there's a "Sort Files" dropdown menu at the bottom of the page. You can also click on the header names for sorting.

iBaker 07-08-2007 09:20 AM

Hi
I hope someone can help with this.

I have changed the layout in the downloads.php file to use the downloads_panel_top template. I also wanted to have the standard vBulletin category row across the top of the panel which includes the standard collapse button so the dpanel of latest files, popular files and top contributors could be collapsed.

This is my downloads_panel_top template which includes my changes but I can't seem to get the collapse button to work - any help is greatly appreciated!

Code:

<!-- IB added for category row heading -->
<table id="downloads{$dpanel}" class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
    <thead>
        <tr>
            <td class="tcat" colspan="3">
                <a style="float:right" onclick="return toggleMultiCollapse('downloads')"><img id="collapseimg_downloads{$dpanel}" src="images/buttons/collapse_tcat.gif" alt="{$vbphrase['collapse_this']}" border="0" /></a>
                Downloads
            </td>
        </tr>
    </thead>
    <tbody id="collapseobj_downloads{$dpanel}" style="{$vbcollapse['collapseobj_downloads']}">
<!-- end IB added for category row heading -->

<!-- IB removed for category row heading
<table cellpadding="0" cellspacing="0" border="0" class="tborder" width="100%" align="center">
        <tr>
            <td>
                <table cellpadding="6" cellspacing="1" border="0" width="100%">  -->
        <tr align="center">
            <td class="thead" width="33%"><span class="smallfont">{$vbphrase['ecdownloads_latest_files']}</span></td>
            <td class="thead" width="33%"><span class="smallfont">{$vbphrase['ecdownloads_most_popular_files']}</span></td>
            <td class="thead" width="33%"><span class="smallfont">{$vbphrase['ecdownloads_top_contributors']}</span></td>
        </tr>
        <tr align="left">
            <td class="alt1" width="33%" valign="top">
                <fieldset class="fieldset" style="margin:0px 0px 0px 0px">
                    <legend>{$vbphrase['ecdownloads_latest_files']}</legend>
                    <div style="padding:0px">
                        <table cellpadding="0" cellspacing="0" border="0" align="center" width="100%">
                            <tr>
                                <td width="100%">
                                    <table cellpadding="2" cellspacing="{$stylevar['cellspacing']}" border="0" width="100%">
                                        $dpanel_latest_bits
                                    </table>
                                </td>
                            </tr>
                        </table>
                    </div>
                </fieldset>
            </td>
            <td class="alt1" width="33%" valign="top">
                <fieldset class="fieldset" style="margin:0px 0px 0px 0px">
                    <legend>{$vbphrase['ecdownloads_most_popular_files']}</legend>
                    <div style="padding:0px">
                        <table cellpadding="0" cellspacing="0" border="0" align="center" width="100%">
                            <tr>
                                <td width="100%">
                                    <table cellpadding="2" cellspacing="{$stylevar['cellspacing']}" border="0" width="100%">
                                        $dpanel_popular_bits
                                    </table>
                                </td>
                            </tr>
                        </table>
                    </div>
                </fieldset>
            </td>
            <td class="alt1" width="33%" valign="top">
                <fieldset class="fieldset" style="margin:0px 0px 0px 0px">
                    <legend>{$vbphrase['ecdownloads_top_contributors']}</legend>
                    <div style="padding:0px">
                        <table cellpadding="0" cellspacing="0" border="0" align="center" width="100%">
                            <tr>
                                <td width="100%">
                                    <table cellpadding="2" cellspacing="{$stylevar['cellspacing']}" border="0" width="100%">
                                        $dpanel_contrib_bits
                                    </table>
                                </td>
                            </tr>
                        </table>
                    </div>
                </fieldset>
            </td>
        </tr>

<!-- IB removed for category row heading
                </table>
            </td>
        </tr> -->

<!-- IB added for category row heading -->
    </tbody>
<!-- end IB added for category row heading -->

</table>


majorvbuser 07-09-2007 10:55 AM

Few questions apologies if they have been answered previously, but at over 100 pages, it's a little time consuming to determine.

1) In this screen shot :
https://vborg.vbsupport.ru/attachmen...9&d=1154030030

It shows an image in the left hand column , I was hoping to insert e-book covers into that column, but when I'm adding a new download I just can't see the field where you link to or upload the image you want to see in that download column.

2- Right now it seems to only allow you to upload compressed files, can it be set to allow PDf files?

3- When I use the "link to " method, it allows PDF ofc, but opens them up in Adobe rather than allowing the user to save to their chosen destination, any way around this ?

Thank you.

RS_Jelle 07-09-2007 11:58 AM

Quote:

Originally Posted by iBaker (Post 1285686)
Hi
I hope someone can help with this.

I have changed the layout in the downloads.php file to use the downloads_panel_top template. I also wanted to have the standard vBulletin category row across the top of the panel which includes the standard collapse button so the dpanel of latest files, popular files and top contributors could be collapsed.

This is my downloads_panel_top template which includes my changes but I can't seem to get the collapse button to work - any help is greatly appreciated!

Have a look at this tutorial about collapsable boxes in vBulletin. It's explaining it in full detail :)

Quote:

Originally Posted by majorvbuser (Post 1286620)
Few questions apologies if they have been answered previously, but at over 100 pages, it's a little time consuming to determine.

1) In this screen shot :
https://vborg.vbsupport.ru/attachmen...9&d=1154030030

It shows an image in the left hand column , I was hoping to insert e-book covers into that column, but when I'm adding a new download I just can't see the field where you link to or upload the image you want to see in that download column.

2- Right now it seems to only allow you to upload compressed files, can it be set to allow PDf files?

3- When I use the "link to " method, it allows PDF ofc, but opens them up in Adobe rather than allowing the user to save to their chosen destination, any way around this ?

Thank you.

  1. After you added a file, you can upload additional images using the upload form underneath the file description. There's also a usergroup permission to control this image uploading.
  2. You can choose the file extensions you want to allow using the DownloadsII settings in the AdminCP.
  3. You can force the download window for the file extensions you want using the DownloadsII settings in the AdminCP.

majorvbuser 07-10-2007 07:42 AM

OK, we were talking slightly at cross purposes. The image I linked to above in my post shows an image for the catagories, which can be controlled in admin cp under this option:

Image
This is the image used for this category. Enter the complete url, eg http://www.mysite.com/images/myimage.gif. (Optional, max length of 250 characters)

However what I am trying to achieve is to be able to add an image next to each of the downloads themsleves, not the catagories section.

For example I wish to use the mod to download ebooks and next to each ebook I would like to put the cover of the ebook there, however there does not seem to be anyway to add an image to represent the download, only add images for catagories.

2) Got it, thx.

3) Works a treat thanks. I didn't even suss it had an admincp end was still farting around with the menu options available from the mod ..

So (2) and (3) resolved, (1) I am still unable to achieve.

I've just PM'd you a link to the image I'm trying to change rather than try to explain it, it's on a (currently) private site.

Cheers.

RS_Jelle 07-10-2007 07:59 AM

My answer was correct for 1, reread it carefully :D
And have a look at the right bottom of this screenshot for a visual explanation.

Btw: if you click the install button in the first post, you will receive update notifications of this mod.

majorvbuser 07-10-2007 08:45 AM

1 Attachment(s)
Hi

I appreciate what your saying , I understood entirely what your saying I believe but again we are talking about different pages.

The page your showing in your screen shot is not the page I'm trying to add the image to, that's the page you end up on once you click the download you want after choosing the catagory .

The page I am trying to add , aww screw it let me do a screen shot.

Although in addition I can't see how your adding images to the page your talking about either. Once I upload the PDF using the "upload or link to a file" option, if I then use the upload a file option to try and add an image, it seems to upload fine but no image appears.

If i change the file name in the file name field to the name of the image I want to upload for that download then it simply overwrites the PDF that I want to be downloaded which is kinda what you would expect.

Not sure what I'm doing wrong frankly, I only see 1 upload file option so not entirely sure where the confusion is coming from.

Perhaps I have permissions set up wrong or something could you do a screen shot of the option your using to upload an image to accompany the actual downloaded file which in this case is a PDF.

majorvbuser 07-10-2007 09:05 AM

1 Attachment(s)
Ahh ok, I see the problem, sorry looking at your screen shot here :

https://vborg.vbsupport.ru/attachmen...0&d=1154030030

On your view you have a section for adding images below the filename.

On mine, that option does not exist. Hence the confusion, I was beginning to think I was going mad.

I'll attach a screen shot of what I see.

Do I need to turn that option on somwhere?

EDIT _ : I've found the problem, it was simply an option in ADMINCP

"Allow users with permission to view and post images."

That was all it was, problem solved, it was off as default so I didn't see the upload image box your talking about, hence the confusion.


ADDED: Big thanks for your patience :P Great Support

RS_Jelle 07-10-2007 09:09 AM

Okay, let's go over it a bit slower :p

AdminCP -> Usergroups -> Usergroup Manager -> Edit the usergroup you want (Administrators for your own account normally) -> DownloadsII Permissions -> Can Upload Images -> Yes -> Update

Now will you get the "upload an image" posssibility AFTER you added the file (the PDF in your case). The "upload an image" possibility is on the file page of it you get AFTER you clicked the Add-button for adding a file. It's located underneath the description like you see on this screenshot.

The image(s) you upload, will be shown underneath that description on the file page AND will be used as a thumb for the category view (this last thing is what you want, but this is not a separate upload thing, it's just using the standard images uploaded to a file AFTER you added it).

I hope that's enough information :D

majorvbuser 07-10-2007 09:17 AM

Yeah, sussed all that now, it was just the upload images option in admincp that was the problem. That was the missing piece of info that turned a molehill into a mountain.

Cheers for your patience anyway.

RS_Jelle 07-10-2007 09:21 AM

Ah, sorry. I forgot about that setting :)

dtv100 07-10-2007 09:30 AM

would love to see this happen :
Vastly enhanced permissions by usergroup and category
Multiple files per entry

thanks for this addon


All times are GMT. The time now is 10:29 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.04386 seconds
  • Memory Usage 1,907KB
  • 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
  • (3)bbcode_code_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