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-13-2007 02:43 PM

Quote:

Originally Posted by mark|3 (Post 1381590)
i am trying to install the file but somehow i am having problems installing this and achieving the correct end result.

In my admincp >
i see downloads
Setting
Categories
Import
Downloads.

But in my forum i do see the link download or have any function to allow downloads.

I am using vb 3.6.8 and have only downloaded the DownloadsII 5.0.6.zip file. Do i need to download the addons to make it work properly?

Thanks

You can find it at http://www.yoursite.com/forums/downloads.php

Also read the Readme-Install.txt for this:
Quote:

Perform the following OPTIONAL template edit (only required if you want a 'Downloads' link in your navigation bar)

Find in navbar:

HTML Code:

<td class="vbmenu_control"><a href="calendar.php?$session[sessionurl]">$vbphrase[calendar]</a></td>
If you are running vBulletin 3.6.7 (or higher), you need to search for the following as it changed slightly:

HTML Code:

<td class="vbmenu_control"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>
Add below:

HTML Code:

<td class="vbmenu_control"><a href="downloads.php$session[sessionurl_q]">$vbphrase[ecdownloads_downloads]</a></td>


NFLfbJunkie 11-13-2007 03:05 PM

I remember seeing somewhere how to add a border around the area that states the following on the downloads page:

Important Information
  • Use these files at your own risk!
  • Enjoy
Would anyone know where to find this or how to do this?

basketmen 11-13-2007 07:20 PM

Quote:

Originally Posted by Junkie (Post 1381783)
I remember seeing somewhere how to add a border around the area that states the following on the downloads page:

Important Information
  • Use these files at your own risk!
  • Enjoy
Would anyone know where to find this or how to do this?

You can edit or delete that text in admincp --> Downloads Settings

basketmen 11-13-2007 07:23 PM

btw i have question

i like this mod and want to use this to another my site that not using vbulletin, can i do this

or if you know any simillar script like downloadsII for non vbulletin site pleae give the link, i had searching and confuse :D

NFLfbJunkie 11-13-2007 07:33 PM

I know that the Important Information text can be deleted via the settings. I want to knwo how I can put a border around it so it looks a little neater.

RS_Jelle 11-13-2007 07:50 PM

Quote:

Originally Posted by Junkie (Post 1381783)
I remember seeing somewhere how to add a border around the area that states the following on the downloads page:

Important Information
  • Use these files at your own risk!
  • Enjoy
Would anyone know where to find this or how to do this?

Quote:

Originally Posted by basketmen (Post 1381960)
You can edit or delete that text in admincp --> Downloads Settings

Indeed, put for example this code around it:
HTML Code:

<div style="border: 1px solid black;">
Your important information
</div>

Quote:

Originally Posted by basketmen (Post 1381962)
btw i have question

i like this mod and want to use this to another my site that not using vbulletin, can i do this

or if you know any simillar script like downloadsII for non vbulletin site pleae give the link, i had searching and confuse :D

I'm sorry, but vBulletin is really necessary to run DownloadsII and most of the other mods on vB.org. We're using the vBulletin database, AdminCP layout, template, language/phrases, ... backend and that's really a lot.

There are a lot of other downloads mods, but I don't know some similar one immediately.

NFLfbJunkie 11-13-2007 07:54 PM

Thanks for the border help.

cellow 11-13-2007 11:26 PM

Quote:

Originally Posted by RS_Jelle (Post 1380831)
Are you on a shared host or a dedicated server? It's pretty strange as you are the first one having these problems with it. I'm only having it with that chmods as default and I don't get a forbidden error. Maybe you have a pretty strict Apache configuration?

I have managed Server. But i had this new... i don't think that this is a server problem...
it's really strange :(

CyberRanger 11-14-2007 12:43 AM

Quote:

Originally Posted by cellow (Post 1382084)
I have managed Server. But i had this new... i don't think that this is a server problem...
it's really strange :(

Your server has a very strict umask (the permissions that new files are automatically given.) For the normal uploaded files, we handle this by having this statement
PHP Code:

chmod($dl->url.$newfilename0666); 

on line 1302 of downloads.php.

I'll try to figure out where you need to add it for uploaded image's permissions to get changed.

mark|3 11-14-2007 01:56 AM

I have tried to access the downloads.php page and it prompts this message.

Admin, you do not have permission to access this page. This could be due to one of several reasons:

1. Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
2. If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.



Any idea how to go about correcting this?

thanks

CyberRanger 11-14-2007 01:58 AM

Quote:

Originally Posted by mark|3 (Post 1382134)
Any idea how to go about correcting this?

thanks

Yes, go into your usergroup settings and give the admin group permissions to the Downloads.

CyberRanger 11-14-2007 02:01 AM

Quote:

Originally Posted by cellow (Post 1382084)
I have managed Server. But i had this new... i don't think that this is a server problem...
it's really strange :(


Quote:

Originally Posted by CyberRanger (Post 1382112)
Your server has a very strict umask (the permissions that new files are automatically given.) For the normal uploaded files, we handle this by having this statement
PHP Code:

chmod($dl->url.$newfilename0666); 

on line 1302 of downloads.php.

I'll try to figure out where you need to add it for uploaded image's permissions to get changed.

Look on line 829 for this line:
PHP Code:

move_uploaded_file($_FILES['image']['tmp_name'], $dl->url.$newfilename); 

Add this below it:
PHP Code:

chmod($dl->url.$newfilename0666); 

That should fix the permissions problem when adding images.

mark|3 11-14-2007 02:24 AM

Thanks Cyber :D
Appreciate your help and guidance.

mark|3 11-14-2007 04:18 AM

i've encountered another problem where i try to download the file (pdf) , it displays on the current page. One will need to backspace to return to the forum/download page. Any solutions? thanks

maidos 11-14-2007 06:33 AM

i always seem to get this and other use aswell when they try to download, but get blank page, you told e to show u a screenshot which i did but you never replied back

downloads.php?do=file&id=3466&act=down

maidos 11-14-2007 10:10 AM

can you make feature to allow xx download at the time while maybe on other usergroup u can allow more xx downloads

xTerMn8R 11-15-2007 02:58 AM

Any Chance of getting the "Tops" to Display in my Advance Portal Home Page? (or info on how I can do that)

Great Mod went in smooth as cake using vbulletin 3.54 PHP4.38 MySQL 4.0.18,

Thanks for the good work.
Termi

http://superskunkracing.org

xTerMn8R 11-15-2007 06:17 AM

LOL Man what an idiot I am, I see ya made the addon already and I had it downloaded as well and on my machine the whole time... Well there's a wasted 4 hrs.... need to check things more closley LOL (Smoke another one)

Thanks again GREAT WORK...

Auron 11-15-2007 08:10 AM

does this mod allow for rapdshare type functionality, or is there a mod to allow it?

a l help out at a large forum which uses this module (which l see has been updated since the version it currently has) and we are having an issue with people creating up to several account just to get around the daily bandwidth limitations that are in place, its getting quite annoying weeding out these users, so an ability to limit these users based on cookies or even a time limit between downloading per IP would be useful (of course the time limit wouldnt be mentioned but it could be set for an hour or two in hopes to combat those ungrateful users who only want to download content and leave without considering that some sites only have some much bandwidth to spread between each user)

Asco1 11-15-2007 01:44 PM

Hi there,
I have one question ;)
I`ve read a lot of postings here, but my qusation are not answered ;(
Is it posible to modify the script, so I can upload more then one file at the same moment ?
Thanx for replys ...
Regards
Asco

CyberRanger 11-15-2007 02:02 PM

Quote:

Originally Posted by Asco1 (Post 1383002)
Is it posible to modify the script, so I can upload more then one file at the same moment ?

Sorry, that's not currently possible. Maybe in a future release but it's a huge re-write of the program.

maidos 11-15-2007 02:06 PM

please there something wrong, i always get error file not found or blank page...
server load is under 1, and everything is working acordingly on the server

xTerMn8R 11-15-2007 06:45 PM

1 Attachment(s)
I'm having some troubles now as well... Knew it was to good to be true...

If I Import from admin CP no Problems, If I try and use client user from downloads.php page to add (with admin rights) a file It works fine if the file is under 2MB, as soon as I Increase the file size it give me the attached error. Whats really wierd is this was all working great last night, I dont know what happened.

Any help will be deeply appreciated...

I checked all the permissions on Usergroups and they're fine
Checked Attachment size and extensions and thats fine..
checked files I'm trying to upload and they're fine.
Checked Downloads Settings for Bandwidth and all are -1

What about duplicate files in download folder? will that cause troubles?

Thanks again..

I checked... no duplicate files ???

xTerMn8R 11-16-2007 06:22 AM

Fixed it ... had to edit the php and change BOTH the file_upload max and the Post_upload max. Still get that little error that shows in status bar of IE but uploads are working.

Did find another bug and I dont know if this is a vBulletin error or this mod, but heres what happened. My Time was 12 hrs off being set for PM when it should have been am. I noticed it and made the change, I went back into vBulletin and My Administrators User group had NO permissions for Downloads II and it wouldnt accept any changes. It said it saved the changes but when I go back into the settings they're the same as before I changed them. Really strange and so... I'll be running 12 hrs ahead... Hmmmmmm I guess I could choose an offset 12 hrs behind of what I got... but thats a shabby fix...

ALL help is surely appreciated..

Peace out... :cool:
xTerMn8r
http://superskunkracing.org

mark|3 11-17-2007 11:27 AM

i've encountered another problem where i try to download the file (pdf) , it displays on the current page. One will need to backspace to return to the forum/download page. Any solutions? thanks

hugh_ 11-17-2007 07:01 PM

1 Attachment(s)
Could I suggest leaving out the URL data from search results?

cellow 11-18-2007 02:25 AM

Quote:

Originally Posted by CyberRanger (Post 1382112)
Your server has a very strict umask (the permissions that new files are automatically given.) For the normal uploaded files, we handle this by having this statement
PHP Code:

chmod($dl->url.$newfilename0666); 

on line 1302 of downloads.php.

I'll try to figure out where you need to add it for uploaded image's permissions to get changed.

the tiny statement works! but instead of chmod 666, i did chmod 644. no need for 666 ;)
big thx 4 ur support!


*NEW ISSUE*
File- & Category name in url issue:

i want to add filename & categoryname into the url.
instead of
downloads.php?do=file&id={idnummer}
downloads.php?do=cat&id={idnummer}

i want
downloads.php?do=file&id={idnummer}&name={filename }
downloads.php?do=cat&id={idnummer}&name={categoryn ame}

{...} <- place for datebase stored variables

i know that is a few changes in the downloads.php script with some sql statement additionals. but i am not into php so much, that i can easily find and replace some "good" code :)

please tell me and to the other ppl who are waiting 4 this issue (at the vbseo forum), the places and additional codes to bring this feature to DownloadsII
With this 2 feature we can mod_rewrite our file- and catnames into keyword rich download-urls.

I am very thankfull 4 ur support.

xTerMn8R 11-18-2007 01:44 PM

Ok Now uploads work fine but when I try and import via admincp I get this error.

Could not import the following files because the import file could not be read or the export file could not be written to: sce_098_full_install.zip

These files are fine and I can add them via the upload feature from download.php ("ADD")
Man I'm stumped...

:confused:

Thanks,
Termi

simunaqv 11-19-2007 08:13 AM

Hello,
I have just started using this mod and I have a couple of questions:
1. Is there any way of changing the display order of the categories as well as those of files?
2. Is it possible to add custom fields to the upload file form? If yes, how?

Regards,

xTerMn8R 11-19-2007 12:52 PM

Sorting gets done weight # 0=first 1=second 2=Third, etc...dont know about custom fields

simunaqv 11-19-2007 01:25 PM

<font color="#0000ff">xTerMn8R, thank you. Maybe somebody else knows about the custom fields.</font>

xTerMn8R 11-19-2007 02:58 PM

I guess the author has abandoned this thread as far as support goes. Has anyone gotten the error I was getting in the above post I made as far as importing from admincp?

CyberRanger 11-19-2007 04:35 PM

Quote:

Originally Posted by simunaqv (Post 1385550)
xTerMn8R, thank you. Maybe somebody else knows about the custom fields.

No custom fields are available.

CyberRanger 11-19-2007 04:38 PM

Quote:

Originally Posted by xTerMn8R (Post 1384920)
Could not import the following files because the import file could not be read or the export file could not be written to: sce_098_full_install.zip
:confused:

Thanks,
Termi

Have you imported ANY files successfully? If not, then I'd say you have a file permissions problem. If yes, is zip an allowed extension?

ntloc 11-19-2007 05:19 PM

Hi, i just wanna ask a question, is there gonna be anymore update for this? i'm worried because i haven't seen the author/coder response to any post lately, i understand author also have his/her own life outside this but i hope he/she doesn't abandon this project.

fariborz khan 11-20-2007 01:50 AM

hi:
i want know can i import file to this hack (not url)?
i want download II add imported file to specific folderfor example when we add file from foldere X (that lokated in owr host), download II add this file(not link) to spacfic folder that we use for this purpose.
for example when we add a file to attachment of vb, that file attach to our database not its link.
this hack is a major and i thing it must has a database for its.i use it and i want it better evry day
thanks for all your support.

chikkoo 11-20-2007 03:32 AM

hey,

I am using DownloadII to upload my articles in PDF format, and people leech my content but never say even thanks. Later on I found all my leeched articles in someother site.

Is there a way to add some hidden fields or information in the pdf file or properties, such as downloaded username and the date downloaded.

I saw some medical websites (http://www.nejm.com), they use this technique to put who is downloading their article. How do they do it?

pipin 11-21-2007 10:07 AM

Quote:

Originally Posted by xTerMn8R (Post 1385598)
I guess the author has abandoned this thread as far as support goes. Has anyone gotten the error I was getting in the above post I made as far as importing from admincp?

Quote:

Originally Posted by ntloc (Post 1385702)
Hi, i just wanna ask a question, is there gonna be anymore update for this? i'm worried because i haven't seen the author/coder response to any post lately, i understand author also have his/her own life outside this but i hope he/she doesn't abandon this project.

are both of you kidding?

The coders last post was 8 days ago.

The support is great for a non payed product.

fariborz khan 11-21-2007 10:17 AM

RS_Jelle is the best coder & supporter that i ever seen for non payed product

xTerMn8R 11-21-2007 12:39 PM

Yes I was able to Import when I first installed it, but at that time I was getting errors with the upload in the download.php which turned out to be my php max settings in php.ini I changed them to 500MB and the client side works great now but the Import doesnt. Zip file is fine, Attachments settings are correct, Permissions are good... ALso If I uninstall DownloadII it still stays in my Plugins/Products List... ???? and if I try to uninstall again says something like cant find product edownloads or summin

Thx for the support.

Tom


All times are GMT. The time now is 10:39 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.03349 seconds
  • Memory Usage 1,861KB
  • 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
  • (4)bbcode_html_printable
  • (5)bbcode_php_printable
  • (17)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