View Full Version : Major Additions - DownloadsII
Pages :
1
2
3
4
5
6
7
8
9
10
11
12
[
13]
14
15
16
17
18
RS_Jelle
11-08-2008, 02:01 PM
We moved our site to a different server which has a different folder structure and now when someone tried to download a file that was previously uploaded they get this:
Warning: copy(./downloads//ec_tmp/987 Minor Maintenance Check List 2.pdf) [function.copy]: failed to open stream: Permission denied in [path]/downloads.php on line 700
ERROR: File not found.
the downloads directory is still there as all directories and permissions were copied over, it is the higher level directories before the web root that changed. I expected to find some place in the config for this mod that was storing that info, but all I see is the ./downloads setting which is still the same.
The files in question are actually there in the downloads directory, but not the ec_temp directory so I don't know why it is looking there or trying to anyway. The files also have a prefix before the name of each filename like 12345-Filename.zip etc.
The file I am trying to download is located here so you can see the error yourself:
http://www.caymanclub.net/downloads.php?do=file&id=242
I can try to reinstall the mod again from a fresh zip to see if that fixes/changes anything, but I am assuming that this is some sort of config error since the site moved, but I have no idea what other than the dir path would have caused a problem.
There should be something wrong with the directories, permissions, ... DownloadsII isn't storing a server path (there's only the ./downloads setting).
Look at this post (https://vborg.vbsupport.ru/showpost.php?p=1645809&postcount=2961) for a list of things to do (reinstall means overwriting the product and not uninstall-install, which deletes all data!).
KenDude
11-08-2008, 07:50 PM
Thanks for the tip, I looked up that post and sure enough my ec_temp dir was set to 755, I set it to 777 and it seems to work fine now.
Where do you download version 6.0 from? I'd like to see what is new and upgrade if possible.
TIA!
RS_Jelle
11-08-2008, 09:00 PM
Thanks for the tip, I looked up that post and sure enough my ec_temp dir was set to 755, I set it to 777 and it seems to work fine now.
Where do you download version 6.0 from? I'd like to see what is new and upgrade if possible.
TIA!
Nowhere at the moment, it isn't released :)
KenDude
11-09-2008, 02:08 PM
Nowhere at the moment, it isn't released :)
Well any idea when it will be available? :)
FReeSTER
11-09-2008, 10:23 PM
It will be nice to add files and put them as stickies. Can this be made ?
RS_Jelle
11-10-2008, 05:31 AM
It will be nice to add files and put them as stickies. Can this be made ?
There's a "pin/unpin" option, which is the same as stickies :)
FReeSTER
11-10-2008, 05:46 PM
There's a "pin/unpin" option, which is the same as stickies :)
Nice thanl you so much mate
:):):):):)
FReeSTER
11-12-2008, 12:59 AM
There's a "pin/unpin" option, which is the same as stickies :)
By the way mate can you help me out with the Description, is not showing the description part or even the comment part is not showing even though I set the Usergroups to do.
By the way I did Install this in 3.7.2 working fine but just that bug
FReeSTER
11-12-2008, 07:44 PM
Anyone please!!
Digital Jedi
11-13-2008, 04:00 AM
Generally, when no one answers it's because no one quite knows what to suggest. I'm on 3.7.3, but I don't have that problem, so it may be something unique to your forum configuration.
FReeSTER
11-13-2008, 05:08 PM
Hopefully someone knows specially the creator of this Mod can help me. :(
This is how the problem looks like when I add a file
maidos
11-13-2008, 06:39 PM
might be a template issue, tried vb default skin?
FReeSTER
11-13-2008, 06:49 PM
might be a template issue, tried vb default skin?
Yes, I did try the Default skin and have the same issue.
RS_Jelle
11-13-2008, 07:50 PM
Please PM me your site URL and a login/pass with download permissions (to add/edit files) :)
FReeSTER
11-13-2008, 08:22 PM
Please PM me your site URL and a login/pass with download permissions (to add/edit files) :)
PM on the way thank you
Very nice mod..!!! Excellent.
I have some improvement suggestions and questions, though.
How can I change the picture thumb Quality and how can I change the dimensions of the picture thumbnail?
I have a forum about 3D modeling and Art, and I believe that sometimes pictures are important.
I created a sector about materials available for users to download and the picture thumbnail of the material.
Right now I see that the thumbnail of the uploaded picture does not have enough quality (for my needs) to clearly see what the material is about.
It would be nice to be able to play with those parameters. :-)
Another thing I am interested of having in the mod, is the below:
I believe that Downloads II Create New Thread Add-On is a very useful plugin.
The basic meaning of existing of a plugin like this (Downloads II), is that the users can avoid searching inside posts and threads for specific types of attachments. Instead, they can find everything for downloading" in one place".
Another good reason is that because of the already configured User permission system of vbulletin. Let's assume that administrator want guests/anonymous users to be able to view pictures and not download specific files (zip, tar, rar). The already default permission system of Vbulletin can't help him.
So, He have two options (on/off).
Let everyone Download to view/download attachments inside forums (the pictures and the zips - every file).
Don't let Specific usergroups (like anonymous/guests) to view/download attachments inside forums.The extra plugin "Create New Thread Add-On" is a great extra feature. But it can't help.....
...I believe that what we really need is a better integration of this excellent plugin with the attachment system of vbulletin so users can (also) upload their files inside their posts (where they need it).
Examble:
The user Write an article about 3D Modeling.
The user upload some pictures through the default attachment system of Vbulletin.
The user Places the pictures using the attach icon ( XXXX) inside his post.
The user Uploads the zip, avi, tar, rar, mov file (every file that is not a picture)
The user submit his thread/post and finish.Result: The downloads II section is empty. The files are lost inside the threads. No-one can find and download them easily.
Now let's see it from the other side....
The user Write an article about 3D Modeling.
The user upload some pictures through the default attachment system of Vbulletin.
The user Places the pictures using the attach icon ( XXXX) inside his post.
The user submit his thread/post.
The user go to the downloads II section.
The user Uploads the zip, avi, tar, rar, mov files to the Downloads II Section in the categories and put some pictures there too (for thumbnail purposes. i.e. If the user uploads a 3D Model, he would like to have more than one pictures attached showing various renderings of the model in different angles and "choose" one picture attachment to be the basic thumbnail of his 3D Model in the downloads II section. Not only the first one. He would like to Choose what he want,the default thumbnail could be the first one attached,though).
The user opens another page in his browser and open the download section there (he want the links of his attachments to place them inside the post/thread)
The user EDIT his posted post/thread and copy/paste the URL's of the Files he attached in the Downloads II Section.
The user submit his thread/post again and finish.Result:
Downloads II Section have various files for users to download.
The file attachments are collected together, but they have no reference to the Post/Thread (so, the people who download the files (the downloaders), can't see in what thread/post the file exists) Only the thread/post reader can see the file in the downloads II when he clicks the File URL.
The thread/post have the file attachments (but no counter of how many downloads have been done there--> inside the post I mean). They can see the download counter only to the downloads II section).
Finaly, Administrator is unxious about the double posting of picture files (and the space MB of the resulting Thumbnails)....(What a waste of space....he thinks. This is not an optimized site)
Conclusion:
What if We could specify the Quality of the attached images?
What if We could specify the thumb dimensions of the attached images?
What if We could have a second "upload attachment" option in our threads/posts (the Downloads II attachment method)? (Administrator, can set the permissions so he allow only picture attachments to the default attachment system and the rest files to the Downloads II Attachment system). Both attachment systems must exist. The second one (Downloads II) is expanding the default one with it's intergration.
What if We could have the attach button/menu have the Downloads II attachments there and be able to post them easily to our posts like the default way? (XXX)
What if We could have the ability to attach the Picture attachments we uploaded in our thread/post inside the integrated Downloads II Section and share them between this two (thread/post - Downloads II)?
What if We could have a reference of our thread name with the prefix too (text with the link inside it, that when the user click on it, it opens in the same page the thread. Not in a blank page)
What if the Downloads II plugin could allow the integration with other plugins easily like video Embedding options for an avi attachment? (I don't know if it is already can be done).
i.e.The user uploads a Video-Tutorial for 3D Modeling (*.avi, *.mov, *.ogm, etc). He puts it to the downloads Section, so users can download it. He also want to embed it to the thread/post so users can view it directly into the post/thread. The tutorial thread/post is completed. Everyone can do Everything that is relative to the Tutorial Thread (view pictures, download files, View Embedded videos, etc.)The thread starter is happy because the interface he used is user friendly. Now he want to write more tutorials and in general post more threads. The Viewer of the Thread is Happy, because the integration Helped him to View the thread and/or the media/files of the thread and he also downloaded easily the attachments. The administrator is happy because he can set the permissions easilly (i.e. anonymous/guest users can see the images but they must be registered to download the zip files, etc) everyone else is happy and he can drink his coffe enjoying his well working and optimized site...!!!
Everyone is Happy....!!! :)What do you think about my suggestions? :) :) :) :rolleyes:
SeanMT
11-15-2008, 05:56 PM
Hi, great mod. Been using it for a while now. The only thing I'm having trouble doing though is sorting the files alphabetically.
For example on here (http://www.fm-base.co.uk/forum/downloads.php?do=cat&id=23) the files are displaying in the order they were added.
How can I get them to sort alphabetically by default.
Admin CP > Downloads > Settings > Sort By Weight is set to NO.
How do I do this?
columbusgeek
11-18-2008, 02:42 PM
I must be daft, but if I upload a zip file then there is no way to post a image unless I post a followup? I cant upload a zip file with 4 images for example?
columbusgeek
11-18-2008, 02:53 PM
Also, I noticed if I do not want to expose my downloads directory and keep it outside of my public_html then images no longer work.
It appears that I HAVE to keep the downloads in public_html
Is this correct?
Digital Jedi
11-19-2008, 04:31 PM
I must be daft, but if I upload a zip file then there is no way to post a image unless I post a followup? I cant upload a zip file with 4 images for example?
You can always use BBCode to display your images.
Also, I noticed if I do not want to expose my downloads directory and keep it outside of my public_html then images no longer work.
It appears that I HAVE to keep the downloads in public_html
Is this correct?
Generally, any vBulletin modification would need it's folders and files somewhere in the root directory of the forum.
columbusgeek
11-19-2008, 04:48 PM
Thanks for the info Jedi. I never saw the [img] tag in the row of bbcode buttons so for some reason I assumed it was not available. After testing it it does in fact work. Thanks.
As for the downloads directory thing, thanks as well. I can work around it with .htaccess, I just wanted to make sure I wasn't missing something.
Cheers
ncangler
11-19-2008, 07:06 PM
This has worked great for me in the past but I just tried to upload a file to the Downloads database and it gives me this error message: Fields marked in RED must be filled in!
But there are no fields in red. When the error screen appears, my Description field and "Choose File" designation are empty. The File Name and Author information remains. I am running Downloads 5.0.8 on vBulletin 3.7.4.
I just tried overwriting the files and reimporting the .xml file but I have the same result. I checked permissions on the /downloads folder and it is 777. I checked the ec_tmp folder and it is 755 but it will not allow me to modify it.
Thanks for any assistance. I hate to lose this. :)
RS_Jelle
11-19-2008, 08:03 PM
This has worked great for me in the past but I just tried to upload a file to the Downloads database and it gives me this error message: Fields marked in RED must be filled in!
But there are no fields in red. When the error screen appears, my Description field and "Choose File" designation are empty. The File Name and Author information remains. I am running Downloads 5.0.8 on vBulletin 3.7.4.
I just tried overwriting the files and reimporting the .xml file but I have the same result. I checked permissions on the /downloads folder and it is 777. I checked the ec_tmp folder and it is 755 but it will not allow me to modify it.
Thanks for any assistance. I hate to lose this. :)
View the "It doesn't work with GARS?!" part in the first post ;)
ncangler
11-19-2008, 08:35 PM
Thanks! I'm sorry I missed that. :o
View the "It doesn't work with GARS?!" part in the first post ;)
772pilot
11-19-2008, 11:01 PM
I did a search, and maybe I'm just not seeing it, but is there a way to replace the comment (not description) editor with the quick reply editor?
Digital Jedi
11-20-2008, 02:53 AM
I think that would require a fair bit amount of modification.
SeanMT
11-21-2008, 09:44 AM
For the Most Downloaded & Most Recent files is it possible to change these depending on the category the user is viewing?
Eg: if the user was looking at a freeware section then only the files in that category would show up on the Most Downloaded & Most Recent files.
Is it possible?
freni32
11-21-2008, 12:52 PM
I did all of the steps add after I imported the .xml document in, I noticed it is only showing up in the vbulletin options, doesnt have the link like it should admincp-downloads, etc
also when I try to access the main page to see if it is working I get the following error?
Warning: require_once(./includes/class_downloads.php) [function.require-once]: failed to open stream: No such file or directory in [path]/downloads.php on line 135
Fatal error: require_once() [function.require]: Failed opening required './includes/class_downloads.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/freni322/public_html/forum/downloads.php on line 135
Website is RadarDetectorLaser.Com
freni32
11-21-2008, 12:58 PM
nevermind I figured it out.... duh! :}
Hornstar
11-22-2008, 08:48 PM
I was hacked last month and after that I had changed the downloads folder to 755 of course it no longer while it is chmoded like that. But I just found that there was in fact 2 files used to hack my site in the downloads folder. one called sql.php and the other called moj.php both containing base64 code (encrypted)
I am a little worried to change the folder back to 777 incase I get hacked again. Is there anything i should change on my server to ensure these php files in this folder will not function if they are able to upload them again?
dtv100
11-23-2008, 09:04 AM
I was hacked last month and after that I had changed the downloads folder to 755 of course it no longer while it is chmoded like that. But I just found that there was in fact 2 files used to hack my site in the downloads folder. one called sql.php and the other called moj.php both containing base64 code (encrypted)
I am a little worried to change the folder back to 777 incase I get hacked again. Is there anything i should change on my server to ensure these php files in this folder will not function if they are able to upload them again?
do you allow php files to be upload?
RedGTiVR6
11-23-2008, 01:47 PM
I've just run into a strange issue. Suddenly I'm not getting any notifications of files waiting in moderation. Before I was getting PMs notifying me of this.
Now I can't find where this setting is. Can anyone refresh my memory?
drpeppper
11-24-2008, 05:45 PM
im still getting the security token issue for images only, not files.
ive updated vbulletin to the latest stable release along with re upping all the downloadsII text files in ascii mode.
maidos
11-24-2008, 07:48 PM
i lost my count where my answers goes unanswered while other ones get answered
will there be any feature that can support several download path not only to /downloads when you import files through admincp.
because once your hdd space is full you cant import any files at all because all files copies directly to downloads
symlink do not work because u need to copy directory to a new hdd to make it whole work but what is the point of having my primary hdd when i bought the big hdd for the very purpose to store the files for this mod
freni32
11-24-2008, 10:04 PM
When I access this url:
http://www.radardetectorlaser.com/forum/downloads.php
It says at the top "the download directory doesnt exist"
which is probably why I cant upload files to it?
I uploaded all the files from the mod, which file is this referring to that I am missing?
carrlos
11-24-2008, 11:09 PM
im still getting the security token issue for images only, not files.
ive updated vbulletin to the latest stable release along with re upping all the downloadsII text files in ascii mode.
I'm having this same issue and I see that others are having it too. Why can't we get some support on this??? :mad:
Hornstar
11-25-2008, 05:24 AM
do you allow php files to be upload?
nope. these are my allowed file extensions: zip rar tar gz
and here are my allowed image extensions: jpg jpeg jpg2 gif png
Digital Jedi
11-25-2008, 05:51 AM
I'm having this same issue and I see that others are having it too. Why can't we get some support on this??? :mad:
i lost my count where my answers goes unanswered while other ones get answered
Come on guys, not everyone knows the answer to your questions. I'm sure when someone who can help sees it, they'll try to help you. Or, it's already been answered somewhere earlier in the thread.
maidos
11-25-2008, 06:46 AM
i pointed my questions to the authors of this mod hoping they could help me, but they avoided my questions at least 5-6 times :(
Digital Jedi
11-25-2008, 06:50 AM
A lot of times a developer will not answer questions that have already been asked and answered earlier in the thread, or if you have not marked installed. I'm not saying that's the case here, but you should try covering your bases first.
Yesterday, I got another nice idea. It is about download licensing.
Imagine that this wonderful mod could have the ability to apply some kind of license to the people who want to download something.
For example in my site I am considering to give people for free some 3D models under the cc license (creativecommons), and it would be nice if there was a message (but only in the categories I want) that says that "this file is licensed under the CC licence (let the people read the licence in a special page if they click the link in the text or something - maybe with some images too - symbols of the license) and below--> "do you accept this terms of use...blah..blah...???
Yes / No.
And if he press the yes button, immediately he downloads the file. If he says no, then the small popup window closes and the users returns exactly where he was before he click the "Download" button.
Anyway, I am saying my suggestions and my thoughts only to say my opinion and to help the author with my ideas. The author have already done good work with this mod. I believe that it can be better and better through time.
Best regards to everyone :-)
maidos
11-25-2008, 08:19 AM
ive already checked and there is no such question or answers that has been stated,
beside that the authors of this mod answered few questions that was already answered many pages before aswell
drpeppper
11-25-2008, 01:22 PM
ive already checked and there is no such question or answers that has been stated,
beside that the authors of this mod answered few questions that was already answered many pages before aswell
i really dont think hes ignoring the question. i think he simply hasnt found the reason for this error. I'm sure hes probably looking for a solution, be he probably simply doesnt know whats causing yet.
Patience.
freni32
11-25-2008, 03:37 PM
When I access this url:
http://www.radardetectorlaser.com/forum/downloads.php
It says at the top "the download directory doesnt exist"
which is probably why I cant upload files to it?
I uploaded all the files from the mod, which file is this referring to that I am missing?
cellow
11-25-2008, 08:07 PM
nope. these are my allowed file extensions: zip rar tar gz
and here are my allowed image extensions: jpg jpeg jpg2 gif png
hmm .... which addons are installed on ur forum?
maidos
11-27-2008, 06:02 PM
i really dont think hes ignoring the question. i think he simply hasnt found the reason for this error. I'm sure hes probably looking for a solution, be he probably simply doesnt know whats causing yet.
Patience.
yeah i have been patient for about 7 months :(
columbusgeek
11-27-2008, 06:47 PM
Maidos quit being a big baby. you asked:
will there be any feature that can support several download path not only to /downloads when you import files through admincp.
..and he has not answered it. Therefore one could deduce from his silence that no he has no plans to do it. You have been waiting 7 months for a answer? Did it occur to you to do some legwork yourself and either figure out a workaround or hiring somebody to do the rework?
I mean come on, you dindn't even say if you are on a linux or windows webhost, so you are not even giving people a chance to try and help.
columbusgeek
11-27-2008, 06:49 PM
When I access this url:
http://www.radardetectorlaser.com/forum/downloads.php
It says at the top "the download directory doesnt exist"
which is probably why I cant upload files to it?
I uploaded all the files from the mod, which file is this referring to that I am missing?
The error message is pretty clear. It is not asking for a file, it is asking for you to either make a downloads directory or point towards it in the settings.
LG Alex
11-28-2008, 01:35 AM
Wow very useful. Thanks man
FReeSTER
11-28-2008, 06:07 PM
Hi Jedy, Im getting this error
Warning: copy(./downloads//ec_tmp/STBDownload_1.9.5.zip) [function.copy]: failed to open stream: Permission denied in [path]/downloads.php on line 702
ERROR: File not found.
Any ideas to fix it?
Thanks
batman1983
11-29-2008, 07:42 AM
I got the same error. You have to change the CHMOD of ec_tmp to 777. Thats it!
OCPerformance
11-30-2008, 10:56 PM
Hello I need some help. It does't work with 3.7.4 Pl1
I can't find't the hole text in memberinfo
Find in MEMBERINFO:
<fieldset class="fieldset">
<legend>$vbphrase[posts]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
<tr>
<td>
$vbphrase[total_posts]: <strong>$userinfo[posts]</strong> (<phrase 1="$postsperday">$vbphrase[x_posts_per_day]</phrase>)
</td>
</tr>
<if condition="$vboptions['profilelastpost']">
<tr>
<td>
$vbphrase[last_post]:<br />
<a href="$userinfo[lastposturl]">$userinfo[lastposttitle]</a><br />
$userinfo[lastpostdate] <span class="time">$userinfo[lastposttime]</span>
</td>
</tr>
</if>
<tr>
<td><a href="search.php?$session[sessionurl]do=finduser&u=$userinfo[userid]" rel="nofollow"><phrase 1="$userinfo[username]">$vbphrase[find_all_posts_by_x]</phrase></a></td>
</tr>
<tr>
<td><a href="search.php?$session[sessionurl]do=process&showposts=0&starteronly=1&exactname=1&s earchuser=$userinfo[urlusername]" rel="nofollow"><phrase 1="$userinfo[username]">$vbphrase[find_all_threads_started_by_x]</phrase></a></td>
</tr>
</table>
</fieldset>
Add below:
$dmemberinfo
Find in MEMBERINFO:
$footer
Add Above:
$dmemberfiles
OCPerformance
12-01-2008, 11:26 PM
Please help . :(
7lanet
12-02-2008, 12:00 AM
1- I want Downloads calculated the number at the opening of files not click on the Download
ex/
Downloads calculated the number
when open
http://www.7lanet.com/vb/downloads.php?do=file&id=1
not click
http://www.7lanet.com/vb/downloads.php?do=file&id=1&act=down
2 -I want when click the image (download) in the cate go to the file and not download
our biggest user of DownloadsII is now getting an error when trying to upload a file to the server: "Maximum Upload limit would be Exceeded by this file. Try a smaller file.".
1) My own account is in the same group and I'm not having any issues
2) I tried moving his account to another group, still the same thing
3) He's been having this problem for about a week
4) The file he was trying to upload is 86 MB, so I tried a 20 MB file and that worked... so I tried another file of 15 MB, and he got the same error... I deleted the 20 MB file and re-added it and it worked.
5) So far, not including the 20 MB file from point #4, he has downloaded 256 MB of files (8 files)
6) If he uploads his file into another DownloadsII category, it works.
Any ideas where this limitations comes from and how to fix it?
Thanks in advance
lilP
macasm8
12-04-2008, 08:28 AM
We have just recently moved webhost and since the move we are getting this error message.
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.
I need help in fixing this bearing in mind that I have no experience in this sort of thing.
We are running vBulletin 3.7.2 Patch Level 2
rudedog1968
12-07-2008, 02:03 PM
Anyone else having any problem with links and images not having the correct URL thus breaking them just on the download page? It's also effecting the user login on that page as well.
See for yourself: http://www.fpsadmin.com/forum/downloads.php/
ex: menu bar links on the download page ( user CP FAQ Members List......) all include download.php in the url.
Example user CP has a URL http://www.fpsadmin.com/forum/downloads.php/usercp.php
This is effecting my images as well. However you can still download the file via the text link as the download button is broken (because of the added downloads.php in it's url)
any help would be appreciated.
all dir, are chmod correctly, however ownership is listed as unknown for some reason
Digital Jedi
12-07-2008, 02:10 PM
Anyone else having any problem with links and images not having the correct URL thus breaking them just on the download page? It's also effecting the user login on that page as well.
See for yourself: http://www.fpsadmin.com/forum/downloads.php/
ex: menu bar links on the download page ( user CP FAQ Members List......) all include download.php in the url.
Example user CP has a URL http://www.fpsadmin.com/forum/downloads.php/usercp.php
This is effecting my images as well. However you can still download the file via the text link as the download button is broken (because of the added downloads.php in it's url)
any help would be appreciated.
all dir, are chmod correctly, however ownership is listed as unknown for some reason
Don't put a slash after .php when you link to the page. It's trying to load download.php as a subdirectory, rather than a file. Just take the slash out when you link to it and it loads just fine:
http://www.fpsadmin.com/forum/downloads.php
rudedog1968
12-07-2008, 02:19 PM
Don't put a slash after .php when you link to the page. It's trying to load download.php as a subdirectory, rather than a file. Just take the slash out when you link to it and it loads just fine:
http://www.fpsadmin.com/forum/downloads.php
Thanks Jedi,
All is well!!
AURFSCAN
12-08-2008, 01:27 AM
Hey guys,
I added MEGAUPLOAD to it , now its better than ever
https://vborg.vbsupport.ru/showpost.php?p=1680643&postcount=126
thx Darren
HappyPike
12-08-2008, 03:33 AM
Hey guys,
I added MEGAUPLOAD to it , now its better than ever
https://vborg.vbsupport.ru/showpost.php?p=1680643&postcount=126
thx Darren
Does it automatically put the megaupload download link in the "Link to a file" field?
AURFSCAN
12-08-2008, 04:46 AM
No sorry , I couldnt work that out,
My members are pretty smart. I made a how to post for them link (http://www.aurfscan.com/showthread.php?t=475)
and updated the upload section
Xphusion
12-09-2008, 01:40 AM
Feature Request: The Ability to Add an Agreement they have to accept before they download a file but the agreement can be attatched to specific files and whole catagories
IE : before some one downloads a file they have to accept somthing like this..
I agree not to distribute this file in any way shape or form.
Then it would have a Tick box [] accept [] decline ..if they decline they will not be allowed to download the file
tlwwolfseye
12-10-2008, 11:48 AM
Does that Mod work with 3.7.4 PL1 ? Before I try to install it I would like to know if its working fine with that Version.
Also one other question about the features of the Mod.
1.) Can user upload files ?
2.) If User can upload files, can the user that did also later edit the file in case there was something needed to be changed, without starting a new File again so there would be.
Thanks in advance.
Wolfseye
OCPerformance
12-10-2008, 11:13 PM
Yes it works.
tlwwolfseye
12-11-2008, 08:21 AM
Ok installed it and works. ;) Thanks.
But when I try to import files of a folder, i got a OPEN BASE_DIR error.
Warning: opendir() [function.opendir]: open_basedir restriction in effect. File(/var/www/vhosts/mydomain.com/httpdocs/board/download/aw2maps-import/) is not within the allowed path(s): (/var/www/vhosts/mydomain.com/httpdocs:/tmp) in [path]/acp/downloadadmin.php on line 290
Warning: opendir(/var/www/vhosts/mydomain.com/httpdocs/board/download/aw2maps-import/) [function.opendir]: failed to open dir: Operation not permitted in [path]/acp/downloadadmin.php on line 290
My PHPINFO shows the following for that parameter:
open_basedir /var/www/vhosts/mydomain.com/httpdocs:/tmp no value
Any ideas how to fix that ?
And I tried with an other Download Script (not vB) that I could mass-add Files there without the problems with the OPEN BASE_DIR setting. Why is that different here with the Import, which is kinda the same ???
P.S: Original Domain is replaced with "mydomain.com"
Also there is something I don?t find from the Manual. How to make the Uploaded Files show up on a Users Profile.
That is what the Manual says I should look for in MEMBERINFO template.
<fieldset class="fieldset">
<legend>$vbphrase[posts]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
<tr>
<td>
$vbphrase[total_posts]: <strong>$userinfo[posts]</strong> (<phrase 1="$postsperday">$vbphrase[x_posts_per_day]</phrase>)
</td>
</tr>
<if condition="$vboptions['profilelastpost']">
<tr>
<td>
$vbphrase[last_post]:<br />
<a href="$userinfo[lastposturl]">$userinfo[lastposttitle]</a><br />
$userinfo[lastpostdate] <span class="time">$userinfo[lastposttime]</span>
</td>
</tr>
</if>
<tr>
<td><a href="search.php?$session[sessionurl]do=finduser&u=$userinfo[userid]" rel="nofollow"><phrase 1="$userinfo[username]">$vbphrase[find_all_posts_by_x]</phrase></a></td>
</tr>
<tr>
<td><a href="search.php?$session[sessionurl]do=process&showposts=0&starteronly=1&exactname=1&s earchuser=$userinfo[urlusername]" rel="nofollow"><phrase 1="$userinfo[username]">$vbphrase[find_all_threads_started_by_x]</phrase></a></td>
</tr>
</table>
</fieldset>
Which isn?t in my template (THEME: DARKNESS2)
See below.
$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
$usercss
$memberinfo_css
<style type="text/css" id="vbulletin_tabctrl_css">
@import url("clientscript/vbulletin_tabctrl.css?v=$vboptions[simpleversion]");
<if condition="$show['rtl']">@import url("clientscript/vbulletin_tabctrl_rtl.css?v=$vboptions[simpleversion]");</if>
</style>
<script type="text/javascript" src="clientscript/vbulletin_tabctrl.js?v=$vboptions[simpleversion]"></script>
<title>$vboptions[bbtitle] - $vbphrase[view_profile]: $userinfo[username]</title>
<if condition="$userinfo['userid'] == $bbuserinfo['userid']">
<script type="text/javascript" src="clientscript/vbulletin_profilefield_edit.js?v=$vboptions[simpleversion]"></script>
</if>
<script type="text/javascript">
<!--
vbphrase['server_failed_respond_try_again'] = "$vbphrase[server_failed_respond_try_again]";
vbphrase['edit_value'] = "$vbphrase[edit_value_js]";
<if condition="$show['post_visitor_message']">
function goto_post_pm()
{
vB_TabCtrls['profile_tabs'].switch_tab('visitor_messaging');
fetch_object('visitor_messaging').scrollIntoView() ;
var textarea = fetch_object('visitor_message_form_textarea');
if (textarea)
{
textarea.focus();
textarea.select();
}
return false;
}
</if>
-->
</script>
</head>
<body>
$header
$navbar
<!-- begin user css -->
<div id="usercss" class="floatcontainer">
<div id="content_container">
<div id="content">
<div id="main_userinfo" class="floatcontainer">
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<if condition="$prepared['profilepicurl']">
<td id="profilepic_cell" class="tborder alt2"><img src="$prepared[profilepicurl]" $prepared[profilepicsize] alt="<phrase 1="$prepared[username]">$vbphrase[xs_picture]</phrase>" /></td>
</if>
<td valign="top" width="100%" id="username_box"<if condition="$prepared['profilepicurl']"> class="profilepic_adjacent"</if>>
<if condition="$prepared['rank'] OR $prepared['reputationdisplay']">
<div id="reputation_rank">
<if condition="$prepared['reputationdisplay']">
<div id="reputation">$prepared[reputationdisplay]</div>
</if>
<if condition="$prepared['rank']">
<div id="rank">$prepared[rank]</div>
</if>
</div>
</if>
<h1>$prepared[musername] $prepared[onlinestatus]</h1>
<if condition="$prepared['usertitle']">
<h2>$prepared[usertitle]</h2>
</if>
</td>
</tr>
</table>
<!-- link bar -->
<div class="tborder content_block" id="link_bar">
<if condition="$prepared['myprofile'] OR $show['contactlinks'] OR $show['userlists'] OR $show['usernotes'] OR can_moderate()">
<ul class="thead block_row block_title list_no_decoration floatcontainer">
<if condition="$prepared['myprofile']">
<if condition="$show['can_customize_profile']">
<li class="thead" id="usercss_switch_link"><a href="profile.php?$session[sessionurl]do=customize">$vbphrase[customize_profile]</a></li>
</if>
<else />
<if condition="$show['usercss_switch']">
<li class="thead" id="usercss_switch_link"><a href="profile.php?$session[sessionurl]do=switchusercss&hash=$bbuserinfo[logouthash]&u=$prepared[userid]">$usercss_switch_phrase</a></li>
</if>
</if>
<if condition="$show['contactlinks']">
<li class="thead" id="minicontact"><a href="#contactinfo">$vbphrase[send_message]</a> <script type="text/javascript">vBmenu.register("minicontact");</script></li>
</if>
<if condition="$show['userlists']">
<li class="thead" id="userlists"><a href="profile.php?$session[sessionurl]do=buddylist&nojs=1">$vbphrase[user_lists]</a> <script type="text/javascript">vBmenu.register("userlists");</script></li>
</if>
<if condition="$show['usernotes']">
<li class="thead"><a href="usernote.php?$session[sessionurl]u=$prepared[userid]">$vbphrase[user_notes] ($prepared[usernotecount])</a></li>
</if>
<if condition="$show['edit_profile']">
<li class="thead"><a href="moderator.php?$session[sessionurl]do=useroptions&u=$userinfo[userid]">$vbphrase[edit_user_profile]</a></li>
</if>
</ul>
</if>
<!-- current activity -->
<if condition="$prepared['lastactivitydate'] OR $prepared['action']">
<div class="alt2 smallfont block_row" id="activity_info">
<if condition="$prepared['lastactivitydate']">
<div id="last_online">
<span class="shade">$vbphrase[last_activity]:</span> $prepared[lastactivitydate]<if condition="!$show['detailedtime']"> <span class="time">$prepared[lastactivitytime]</span></if>
</div>
</if>
<if condition="$prepared['action']">
<span class="shade">$vbphrase[current_activity]:</span> $prepared[action] $prepared[where]
</if>
</div>
</if>
<!-- / current activity -->
</div>
<!-- / link bar -->
<!-- user list menu -->
<ul id="userlists_menu" class="vbmenu_popup list_no_decoration" style="display: none">
<li class="thead first"><phrase 1="$prepared[username]">$vbphrase[user_lists]</phrase></li>
<if condition="$prepared['canbefriend']">
<li class="vbmenu_option">
<a href="profile.php?$session[sessionurl]do=addlist&userlist=friend&u=$prepared[userid]"><if condition="$prepared['requestedfriend']">$vbphrase[confirm_friendship_request]<else />$vbphrase[add_to_friends_list]</if></a>
</li>
</if>
<if condition="$prepared['isfriend']">
<li class="vbmenu_option">
<a href="profile.php?$session[sessionurl]do=removelist&userlist=friend&u=$prepared[userid]">$vbphrase[remove_from_friends_list]</a>
</li>
</if>
<if condition="$show['addbuddylist']">
<li class="vbmenu_option">
<a href="profile.php?$session[sessionurl]do=addlist&userlist=buddy&u=$prepared[userid]">$vbphrase[add_to_contacts]</a>
</li>
</if>
<if condition="$show['removebuddylist']">
<li class="vbmenu_option">
<a href="profile.php?$session[sessionurl]do=removelist&userlist=buddy&u=$prepared[userid]">$vbphrase[remove_from_contacts]</a>
</li>
</if>
<if condition="$show['addignorelist']">
<li class="vbmenu_option">
<a href="profile.php?$session[sessionurl]do=addlist&userlist=ignore&u=$prepared[userid]">$vbphrase[add_to_ignore_list]</a>
</li>
</if>
<if condition="$show['removeignorelist']">
<li class="vbmenu_option">
<a href="profile.php?$session[sessionurl]do=removelist&userlist=ignore&u=$prepared[userid]">$vbphrase[remove_from_ignore_list]</a>
</li>
</if>
</ul>
<if condition="$show['post_visitor_message'] OR $show['pm'] OR $show['email'] OR $prepared['hasimdetails']">
<!-- contact popup menu -->
<ul id="minicontact_menu" class="vbmenu_popup list_no_decoration" style="display:none">
<if condition="$show['post_visitor_message'] OR $show['pm'] OR $show['email']">
<li class="thead first"><phrase 1="$prepared[username]">$vbphrase[send_message_to_x]</phrase></li>
</if>
<if condition="$show['post_visitor_message']"><li class="vbmenu_option"><img src="$stylevar[imgdir_button]/sendtofriend.gif" alt="" class="alt2 inlineimg" /> <a href="visitormessage.php?$session[sessionurl]do=message&u=$prepared[userid]" onclick="return goto_post_pm();"><phrase 1="$prepared[username]">$vbphrase[post_a_visitor_message_for_x]</phrase></a></li></if>
<if condition="$show['pm']">
<li class="vbmenu_option"><img src="$stylevar[imgdir_button]/sendtofriend.gif" alt="" class="alt2 inlineimg" /> <a href="private.php?$session[sessionurl]do=newpm&u=$prepared[userid]" rel="nofollow"><phrase 1="$prepared[username]">$vbphrase[send_private_message_to_x]</phrase></a></li>
</if>
<if condition="$show['email']"><li class="vbmenu_option"><img src="$stylevar[imgdir_button]/sendtofriend.gif" alt="" class="alt2 inlineimg" /> <a href="sendmessage.php?$session[sessionurl]do=mailmember&u=$prepared[userid]" rel="nofollow"><phrase 1="$prepared[username]">$vbphrase[send_message_via_email_to_x]</phrase></a></li></if>
<if condition="$prepared['hasimdetails']">
<li class="thead<if condition="!$show['post_visitor_message'] AND !$show['pm'] AND !$show['email']"> first</if>">$vbphrase[instant_messaging]</li>
<if condition="$prepared['icq']">
<li class="vbmenu_option"><img class="alt2 inlineimg" alt="" src="$stylevar[imgdir_misc]/im_icq.gif" /> <a href="#" dir="ltr" onclick="imwindow('icq', '$prepared[userid]', 500, 450); return false;"><phrase 1="$prepared[username]">$vbphrase[send_icq_message_to_x]</phrase></a></li>
</if>
<if condition="$prepared['aim']">
<li class="vbmenu_option"><img class="alt2 inlineimg" alt="" src="$stylevar[imgdir_misc]/im_aim.gif" /> <a href="#" dir="ltr" onclick="imwindow('aim', '$prepared[userid]', 400, 200); return false;"><phrase 1="$prepared[username]">$vbphrase[send_aim_message_to_x]</phrase></a></li>
</if>
<if condition="$prepared['msn']">
<li class="vbmenu_option"><img class="alt2 inlineimg" alt="" src="$stylevar[imgdir_misc]/im_msn.gif" /> <a href="#" dir="ltr" onclick="imwindow('msn', '$prepared[userid]', 400, 200); return false;"><phrase 1="$prepared[username]">$vbphrase[send_msn_message_to_x]</phrase></a></li>
</if>
<if condition="$prepared['yahoo']">
<li class="vbmenu_option"><img src="$stylevar[imgdir_misc]/im_yahoo.gif" alt="" class="alt2 inlineimg" /> <a href="#" dir="ltr" onclick="imwindow('yahoo', '$prepared[userid]', 400, 200); return false;"><phrase 1="$prepared[username]">$vbphrase[send_yahoo_message_to_x]</phrase></a></li>
</if>
<if condition="$prepared['skype']">
<li class="vbmenu_option"><img src="$stylevar[imgdir_misc]/im_skype.gif" alt="" class="alt2 inlineimg" /> <a href="#" dir="ltr" onclick="imwindow('skype', '$prepared[userid]', 400, 285); return false;"><phrase 1="$prepared[username]">$vbphrase[send_skype_message_to_x]</phrase></a></li>
</if>
</if>
</ul>
<!-- / contact popup menu -->
</if>
</div>
<div id="profile_tabs">
$template_hook[profile_left_first]
$blocks[visitor_messaging]
$blocks[aboutme]
$blocks[stats]
$blocks[friends]
$blocks[infractions]
$blocks[contactinfo]
$template_hook[profile_left_last]
</div>
<script type="text/javascript">
<!--
vBulletin.register_control("vB_TabCtrl", "profile_tabs", "$selected_tab", "»", "profile.php?u=2&do=loadtab&tabid={1:tabid}");
//-->
</script>
</div>
</div>
<div id="sidebar_container">
<!-- sidebar -->
$template_hook[profile_right_first]
$blocks[stats_mini]
$template_hook[profile_right_mini]
$blocks[friends_mini]
$blocks[albums]
$template_hook[profile_right_album]
$blocks[groups]
$blocks[visitors]
$template_hook[profile_right_last]
<!-- / sidebar -->
</div>
<!-- end usercss -->
</div>
$footer
</body>
</html>
What now ? :confused:
Digital Jedi
12-11-2008, 11:33 AM
Ok installed it and works. ;) Thanks.
But when I try to import files of a folder, i got a OPEN BASE_DIR error.
Warning: opendir() [function.opendir]: open_basedir restriction in effect. File(/var/www/vhosts/mydomain.com/httpdocs/board/download/aw2maps-import/) is not within the allowed path(s): (/var/www/vhosts/mydomain.com/httpdocs:/tmp) in [path]/acp/downloadadmin.php on line 290
Warning: opendir(/var/www/vhosts/mydomain.com/httpdocs/board/download/aw2maps-import/) [function.opendir]: failed to open dir: Operation not permitted in [path]/acp/downloadadmin.php on line 290
My PHPINFO shows the following for that parameter:
open_basedir /var/www/vhosts/mydomain.com/httpdocs:/tmp no value
Any ideas how to fix that ?
And I tried with an other Download Script (not vB) that I could mass-add Files there without the problems with the OPEN BASE_DIR setting. Why is that different here with the Import, which is kinda the same ???
P.S: Original Domain is replaced with "mydomain.com"
Also there is something I don?t find from the Manual. How to make the Uploaded Files show up on a Users Profile.
That is what the Manual says I should look for in MEMBERINFO template.
<fieldset class="fieldset">
<legend>$vbphrase[posts]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
<tr>
<td>
$vbphrase[total_posts]: <strong>$userinfo[posts]</strong> (<phrase 1="$postsperday">$vbphrase[x_posts_per_day]</phrase>)
</td>
</tr>
<if condition="$vboptions['profilelastpost']">
<tr>
<td>
$vbphrase[last_post]:<br />
<a href="$userinfo[lastposturl]">$userinfo[lastposttitle]</a><br />
$userinfo[lastpostdate] <span class="time">$userinfo[lastposttime]</span>
</td>
</tr>
</if>
<tr>
<td><a href="search.php?$session[sessionurl]do=finduser&u=$userinfo[userid]" rel="nofollow"><phrase 1="$userinfo[username]">$vbphrase[find_all_posts_by_x]</phrase></a></td>
</tr>
<tr>
<td><a href="search.php?$session[sessionurl]do=process&showposts=0&starteronly=1&exactname=1&s earchuser=$userinfo[urlusername]" rel="nofollow"><phrase 1="$userinfo[username]">$vbphrase[find_all_threads_started_by_x]</phrase></a></td>
</tr>
</table>
</fieldset>
Which isn?t in my template (THEME: DARKNESS2)
See below.
$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
$usercss
$memberinfo_css
<style type="text/css" id="vbulletin_tabctrl_css">
@import url("clientscript/vbulletin_tabctrl.css?v=$vboptions[simpleversion]");
<if condition="$show['rtl']">@import url("clientscript/vbulletin_tabctrl_rtl.css?v=$vboptions[simpleversion]");</if>
</style>
<script type="text/javascript" src="clientscript/vbulletin_tabctrl.js?v=$vboptions[simpleversion]"></script>
<title>$vboptions[bbtitle] - $vbphrase[view_profile]: $userinfo[username]</title>
<if condition="$userinfo['userid'] == $bbuserinfo['userid']">
<script type="text/javascript" src="clientscript/vbulletin_profilefield_edit.js?v=$vboptions[simpleversion]"></script>
</if>
<script type="text/javascript">
<!--
vbphrase['server_failed_respond_try_again'] = "$vbphrase[server_failed_respond_try_again]";
vbphrase['edit_value'] = "$vbphrase[edit_value_js]";
<if condition="$show['post_visitor_message']">
function goto_post_pm()
{
vB_TabCtrls['profile_tabs'].switch_tab('visitor_messaging');
fetch_object('visitor_messaging').scrollIntoView() ;
var textarea = fetch_object('visitor_message_form_textarea');
if (textarea)
{
textarea.focus();
textarea.select();
}
return false;
}
</if>
-->
</script>
</head>
<body>
$header
$navbar
<!-- begin user css -->
<div id="usercss" class="floatcontainer">
<div id="content_container">
<div id="content">
<div id="main_userinfo" class="floatcontainer">
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<if condition="$prepared['profilepicurl']">
<td id="profilepic_cell" class="tborder alt2"><img src="$prepared[profilepicurl]" $prepared[profilepicsize] alt="<phrase 1="$prepared[username]">$vbphrase[xs_picture]</phrase>" /></td>
</if>
<td valign="top" width="100%" id="username_box"<if condition="$prepared['profilepicurl']"> class="profilepic_adjacent"</if>>
<if condition="$prepared['rank'] OR $prepared['reputationdisplay']">
<div id="reputation_rank">
<if condition="$prepared['reputationdisplay']">
<div id="reputation">$prepared[reputationdisplay]</div>
</if>
<if condition="$prepared['rank']">
<div id="rank">$prepared[rank]</div>
</if>
</div>
</if>
<h1>$prepared[musername] $prepared[onlinestatus]</h1>
<if condition="$prepared['usertitle']">
<h2>$prepared[usertitle]</h2>
</if>
</td>
</tr>
</table>
<!-- link bar -->
<div class="tborder content_block" id="link_bar">
<if condition="$prepared['myprofile'] OR $show['contactlinks'] OR $show['userlists'] OR $show['usernotes'] OR can_moderate()">
<ul class="thead block_row block_title list_no_decoration floatcontainer">
<if condition="$prepared['myprofile']">
<if condition="$show['can_customize_profile']">
<li class="thead" id="usercss_switch_link"><a href="profile.php?$session[sessionurl]do=customize">$vbphrase[customize_profile]</a></li>
</if>
<else />
<if condition="$show['usercss_switch']">
<li class="thead" id="usercss_switch_link"><a href="profile.php?$session[sessionurl]do=switchusercss&hash=$bbuserinfo[logouthash]&u=$prepared[userid]">$usercss_switch_phrase</a></li>
</if>
</if>
<if condition="$show['contactlinks']">
<li class="thead" id="minicontact"><a href="#contactinfo">$vbphrase[send_message]</a> <script type="text/javascript">vBmenu.register("minicontact");</script></li>
</if>
<if condition="$show['userlists']">
<li class="thead" id="userlists"><a href="profile.php?$session[sessionurl]do=buddylist&nojs=1">$vbphrase[user_lists]</a> <script type="text/javascript">vBmenu.register("userlists");</script></li>
</if>
<if condition="$show['usernotes']">
<li class="thead"><a href="usernote.php?$session[sessionurl]u=$prepared[userid]">$vbphrase[user_notes] ($prepared[usernotecount])</a></li>
</if>
<if condition="$show['edit_profile']">
<li class="thead"><a href="moderator.php?$session[sessionurl]do=useroptions&u=$userinfo[userid]">$vbphrase[edit_user_profile]</a></li>
</if>
</ul>
</if>
<!-- current activity -->
<if condition="$prepared['lastactivitydate'] OR $prepared['action']">
<div class="alt2 smallfont block_row" id="activity_info">
<if condition="$prepared['lastactivitydate']">
<div id="last_online">
<span class="shade">$vbphrase[last_activity]:</span> $prepared[lastactivitydate]<if condition="!$show['detailedtime']"> <span class="time">$prepared[lastactivitytime]</span></if>
</div>
</if>
<if condition="$prepared['action']">
<span class="shade">$vbphrase[current_activity]:</span> $prepared[action] $prepared[where]
</if>
</div>
</if>
<!-- / current activity -->
</div>
<!-- / link bar -->
<!-- user list menu -->
<ul id="userlists_menu" class="vbmenu_popup list_no_decoration" style="display: none">
<li class="thead first"><phrase 1="$prepared[username]">$vbphrase[user_lists]</phrase></li>
<if condition="$prepared['canbefriend']">
<li class="vbmenu_option">
<a href="profile.php?$session[sessionurl]do=addlist&userlist=friend&u=$prepared[userid]"><if condition="$prepared['requestedfriend']">$vbphrase[confirm_friendship_request]<else />$vbphrase[add_to_friends_list]</if></a>
</li>
</if>
<if condition="$prepared['isfriend']">
<li class="vbmenu_option">
<a href="profile.php?$session[sessionurl]do=removelist&userlist=friend&u=$prepared[userid]">$vbphrase[remove_from_friends_list]</a>
</li>
</if>
<if condition="$show['addbuddylist']">
<li class="vbmenu_option">
<a href="profile.php?$session[sessionurl]do=addlist&userlist=buddy&u=$prepared[userid]">$vbphrase[add_to_contacts]</a>
</li>
</if>
<if condition="$show['removebuddylist']">
<li class="vbmenu_option">
<a href="profile.php?$session[sessionurl]do=removelist&userlist=buddy&u=$prepared[userid]">$vbphrase[remove_from_contacts]</a>
</li>
</if>
<if condition="$show['addignorelist']">
<li class="vbmenu_option">
<a href="profile.php?$session[sessionurl]do=addlist&userlist=ignore&u=$prepared[userid]">$vbphrase[add_to_ignore_list]</a>
</li>
</if>
<if condition="$show['removeignorelist']">
<li class="vbmenu_option">
<a href="profile.php?$session[sessionurl]do=removelist&userlist=ignore&u=$prepared[userid]">$vbphrase[remove_from_ignore_list]</a>
</li>
</if>
</ul>
<if condition="$show['post_visitor_message'] OR $show['pm'] OR $show['email'] OR $prepared['hasimdetails']">
<!-- contact popup menu -->
<ul id="minicontact_menu" class="vbmenu_popup list_no_decoration" style="display:none">
<if condition="$show['post_visitor_message'] OR $show['pm'] OR $show['email']">
<li class="thead first"><phrase 1="$prepared[username]">$vbphrase[send_message_to_x]</phrase></li>
</if>
<if condition="$show['post_visitor_message']"><li class="vbmenu_option"><img src="$stylevar[imgdir_button]/sendtofriend.gif" alt="" class="alt2 inlineimg" /> <a href="visitormessage.php?$session[sessionurl]do=message&u=$prepared[userid]" onclick="return goto_post_pm();"><phrase 1="$prepared[username]">$vbphrase[post_a_visitor_message_for_x]</phrase></a></li></if>
<if condition="$show['pm']">
<li class="vbmenu_option"><img src="$stylevar[imgdir_button]/sendtofriend.gif" alt="" class="alt2 inlineimg" /> <a href="private.php?$session[sessionurl]do=newpm&u=$prepared[userid]" rel="nofollow"><phrase 1="$prepared[username]">$vbphrase[send_private_message_to_x]</phrase></a></li>
</if>
<if condition="$show['email']"><li class="vbmenu_option"><img src="$stylevar[imgdir_button]/sendtofriend.gif" alt="" class="alt2 inlineimg" /> <a href="sendmessage.php?$session[sessionurl]do=mailmember&u=$prepared[userid]" rel="nofollow"><phrase 1="$prepared[username]">$vbphrase[send_message_via_email_to_x]</phrase></a></li></if>
<if condition="$prepared['hasimdetails']">
<li class="thead<if condition="!$show['post_visitor_message'] AND !$show['pm'] AND !$show['email']"> first</if>">$vbphrase[instant_messaging]</li>
<if condition="$prepared['icq']">
<li class="vbmenu_option"><img class="alt2 inlineimg" alt="" src="$stylevar[imgdir_misc]/im_icq.gif" /> <a href="#" dir="ltr" onclick="imwindow('icq', '$prepared[userid]', 500, 450); return false;"><phrase 1="$prepared[username]">$vbphrase[send_icq_message_to_x]</phrase></a></li>
</if>
<if condition="$prepared['aim']">
<li class="vbmenu_option"><img class="alt2 inlineimg" alt="" src="$stylevar[imgdir_misc]/im_aim.gif" /> <a href="#" dir="ltr" onclick="imwindow('aim', '$prepared[userid]', 400, 200); return false;"><phrase 1="$prepared[username]">$vbphrase[send_aim_message_to_x]</phrase></a></li>
</if>
<if condition="$prepared['msn']">
<li class="vbmenu_option"><img class="alt2 inlineimg" alt="" src="$stylevar[imgdir_misc]/im_msn.gif" /> <a href="#" dir="ltr" onclick="imwindow('msn', '$prepared[userid]', 400, 200); return false;"><phrase 1="$prepared[username]">$vbphrase[send_msn_message_to_x]</phrase></a></li>
</if>
<if condition="$prepared['yahoo']">
<li class="vbmenu_option"><img src="$stylevar[imgdir_misc]/im_yahoo.gif" alt="" class="alt2 inlineimg" /> <a href="#" dir="ltr" onclick="imwindow('yahoo', '$prepared[userid]', 400, 200); return false;"><phrase 1="$prepared[username]">$vbphrase[send_yahoo_message_to_x]</phrase></a></li>
</if>
<if condition="$prepared['skype']">
<li class="vbmenu_option"><img src="$stylevar[imgdir_misc]/im_skype.gif" alt="" class="alt2 inlineimg" /> <a href="#" dir="ltr" onclick="imwindow('skype', '$prepared[userid]', 400, 285); return false;"><phrase 1="$prepared[username]">$vbphrase[send_skype_message_to_x]</phrase></a></li>
</if>
</if>
</ul>
<!-- / contact popup menu -->
</if>
</div>
<div id="profile_tabs">
$template_hook[profile_left_first]
$blocks[visitor_messaging]
$blocks[aboutme]
$blocks[stats]
$blocks[friends]
$blocks[infractions]
$blocks[contactinfo]
$template_hook[profile_left_last]
</div>
<script type="text/javascript">
<!--
vBulletin.register_control("vB_TabCtrl", "profile_tabs", "$selected_tab", "»", "profile.php?u=2&do=loadtab&tabid={1:tabid}");
//-->
</script>
</div>
</div>
<div id="sidebar_container">
<!-- sidebar -->
$template_hook[profile_right_first]
$blocks[stats_mini]
$template_hook[profile_right_mini]
$blocks[friends_mini]
$blocks[albums]
$template_hook[profile_right_album]
$blocks[groups]
$blocks[visitors]
$template_hook[profile_right_last]
<!-- / sidebar -->
</div>
<!-- end usercss -->
</div>
$footer
</body>
</html>
What now ? :confused:
Well, as far as the MEMBERINFO thing is concerned, you can't find it because those were the instructions for the original release of the mod, vB 3.6. I don't think an update has been made for the profile page of 3.7.
I'm not sure on the other one, but I was under the impression that you couldn't upload file folders. You'd need to ZIP them first.
tlwwolfseye
12-11-2008, 11:53 AM
I'm not sure on the other one, but I was under the impression that you couldn't upload file folders. You'd need to ZIP them first.
It doesn?t say that you need to zip them, and as far as I see that you only have to put the path to the folder where the files are in, as absolute path, and then the script would read all of them and you can do the rest of the process. But because of this error i can?t get to that part to continue. I am sure someone before must have had this message before.
And I hope that someone that had this also can tell me hopefully how to fix this.
Thanks anyways. ;)
Too bad about the Profile. :confused:
Digital Jedi
12-11-2008, 12:18 PM
It doesn?t say that you need to zip them, and as far as I see that you only have to put the path to the folder where the files are in, as absolute path, and then the script would read all of them and you can do the rest of the process. But because of this error i can?t get to that part to continue. I am sure someone before must have had this message before.
And I hope that someone that had this also can tell me hopefully how to fix this.
Thanks anyways. ;)
Too bad about the Profile. :confused:
So basically your trying to add multiple files at one time. I really don't think that's within the parameters of the modification if they aren't ZIPped.
tlwwolfseye
12-11-2008, 12:32 PM
So basically your trying to add multiple files at one time. I really don't think that's within the parameters of the modification if they aren't ZIPped.
You?re 100 % sure about that ? Because nothing in the Mod (as i found til now) states that the files for IMPORTING has to be zipped.
If so, wouldn?t the Mod say that at some point when you?re trying to import something ? I just am not sure about that Error. Is anyone around that has first hand knowledge of that and can confirm this ?
I would appreciate any help.
Thank you very much.
Wolfseye
Digital Jedi
12-11-2008, 12:46 PM
You?re 100 % sure about that ? Because nothing in the Mod (as i found til now) states that the files for IMPORTING has to be zipped.
If so, wouldn?t the Mod say that at some point when you?re trying to import something ? I just am not sure about that Error. Is anyone around that has first hand knowledge of that and can confirm this ?
I would appreciate any help.
Thank you very much.
Wolfseye
Well, that's just my point. I've not heard of anyone ever trying this. I'm trying to figure how it would handle multiple extension checks and if it's configured to create subfolders in the download folder. In any case, have you made certain that all the files in the directory have allowed extensions? If so, have you tried allowing the file folder extension (I forget what that is off the top of my head).
I'm not saying files have to be zipped, I'm saying that it may not recognize a path to a folder, as this is configured to upload individual files, not the contents of file folders. To get multiple files you'd have to ZIP it, as nothing in the description says it's a multi-uploader.
tlwwolfseye
12-11-2008, 01:26 PM
Look, the way i see it is that this IMPORT function is to actually make a list of all files in one folder, that you can then insert each into the Downloads. Its not adding a complete folder but it puts all files into fields so you can easily add them to the Downloads.
Otherwise, how would you actually put in Downloads that you already have on your webspace, since you dont have to upload them again and so. I saw one line of fields and I think if there wouldnt be that error that I posted, it would show the other files also in these fields, in a list down.
I have to make a screenshot from that one line what i saw before the error gets shown. Then i think you know how i mean.
And btw, a Download Script that can add all the files of an entire folder is not uncommon, many can do that actually.
EDIT:
Here is the screenshot of that one line that I see after the error.
https://vborg.vbsupport.ru/ (http://www.postimage.org/image.php?v=aVbHXri)
I am sure if it wouldn?t be for the Error, i would see that a lot more often with the files already inserted and I would just have to add them with the IMPORT FILES button. But because of this error it doesn?t work. And yes, I used the right file extensions for these files. But that OPEN BASE DIR function error seems to be server related, but I am just not 100 % sure since i saw this Script the first time today.
Digital Jedi
12-11-2008, 01:42 PM
Look, the way i see it is that this IMPORT function is to actually make a list of all files in one folder, that you can then insert each into the Downloads. Its not adding a complete folder but it puts all files into fields so you can easily add them to the Downloads.
Otherwise, how would you actually put in Downloads that you already have on your webspace, since you dont have to upload them again and so. I saw one line of fields and I think if there wouldnt be that error that I posted, it would show the other files also in these fields, in a list down.
I have to make a screenshot from that one line what i saw before the error gets shown. Then i think you know how i mean.
And btw, a Download Script that can add all the files of an entire folder is not uncommon, many can do that actually.
EDIT:
Here is the screenshot of that one line that I see after the error.
http://www.postimage.org/aVbHXri.jpg (http://www.postimage.org/image.php?v=aVbHXri)
I am sure if it wouldn?t be for the Error, i would see that a lot more often with the files already inserted and I would just have to add them with the IMPORT FILES button. But because of this error it doesn?t work. And yes, I used the right file extensions for these files. But that OPEN BASE DIR function error seems to be server related, but I am just not 100 % sure since i saw this Script the first time today.
My mistake, from the start, I missed the word "import". I thought you were trying to upload folders form the user end. I completely forgot about the import option in the Admin CP.
If I'm reading your error message correctly, it sounds like your host does not allow scripts to run outside /var/www/vhosts/mydomain.com/httpdocs:/tmp. Have your tried testing a folder with that absolute path?
By the way, your screenshot isn't enlarging.
tlwwolfseye
12-11-2008, 01:45 PM
Ok, now we?re getting into something. ;)
Well, my host is in this case myself, its my server. I am not so the expert in things, I get along with most stuff over time. I Just didnt had that before.
Does anyone know how to change that ? I mean, its in the httpd.conf I know, that setting. But I just don?t know 100 % how to change it, to what path. Anyone has maybe experience with that himself, with his own Server ?
<IfModule mod_php5.c>
php_admin_flag engine on
php_admin_flag safe_mode on
php_admin_value open_basedir "/var/www/vhosts/mydomain.com/httpdocs:/tmp"
Thats btw. whats in my httpd.conf for that vhost I am using on my Server. So to what do I change that properly that i don?t have that problem anymore ?
Digital Jedi
12-11-2008, 01:54 PM
I haven't gotten real in depth into that aspect myself, but I believe it all depends on what kind of server your running and what kind of tools you have access to. This has a few options as well as what to do to the httpd.conf file if applicable: http://www.mydigitallife.info/2007/03/15/php-scripts-open_basedir-restriction-in-effect-error/
tlwwolfseye
12-11-2008, 02:37 PM
I found many topics about that and how to change it, but i just don´t know the main problem about it. To what I change the path that it works without actually deactivating the SAFE-MODE for that Domain which I don´t want to do for security reasons.
My Server runs with Debian 4 and PLESK 8.6 btw. just in case its important for this problem.
Digital Jedi
12-11-2008, 10:19 PM
Did this not help any?
You can also opt to allow your PHP scripts to access additional directory instead without disabling the protection. Additional directory can be added to the line, separated with color “:”. For example, to add /new_directory to the allow list:
php_admin_value open_basedir “/home/user_account/:/usr/lib/php:/usr/local/lib/php:/tmp”
php_admin_value open_basedir “/home/user_account/:/usr/lib/php:/usr/local/lib/php:/tmp:/new_directory”
tlwwolfseye
12-12-2008, 07:50 AM
Ok, i got it solved by temp. disabling the open basedir for this Domain. Now I could finally get to the Import form. I added around 6 files and then pressed on IMPORT and it took almost 10 Minutes for those Files to import. Wow, and I sure don´t run my site on shared hosting, the whole server performance is at my disposal. But I think this took a bit too long for just 6 files, even if they´re all around a couple of 100's MB each.
Anyone noticed that the Import is that slow, does anyone tried it with bigger files ?
tlwwolfseye
12-12-2008, 01:50 PM
Would it be possible to change the values of the Rating capability in the Mod ? Currrently its set to values like in school grades.
A
A+
A-
B
B+
B-
C
C+
C-
etc. and i would prefer if it would be possible like
1
2
3
4
5
6
7
which is the usual way of ratings in Download Scripts. That should be changable somewhere, right ?
P.S: Is the guy who made the mod still around ?
Digital Jedi
12-13-2008, 02:46 AM
Ok, i got it solved by temp. disabling the open basedir for this Domain. Now I could finally get to the Import form. I added around 6 files and then pressed on IMPORT and it took almost 10 Minutes for those Files to import. Wow, and I sure don?t run my site on shared hosting, the whole server performance is at my disposal. But I think this took a bit too long for just 6 files, even if they?re all around a couple of 100's MB each.
Anyone noticed that the Import is that slow, does anyone tried it with bigger files ?
Hrm, I've not noticed any slowdown when doing a large import. The couple I've tried anyway.
Would it be possible to change the values of the Rating capability in the Mod ? Currrently its set to values like in school grades.
A
A+
A-
B
B+
B-
C
C+
C-
etc. and i would prefer if it would be possible like
1
2
3
4
5
6
7
which is the usual way of ratings in Download Scripts. That should be changable somewhere, right ?
P.S: Is the guy who made the mod still around ?
Dang, I can't get my forum open at the moment. I'm thinking it would be as simple as a template edit.
I believe he said a while back that he was working on an update. Usually that means you won't hear from them for a while until the update is finished.
DemoVFW
12-13-2008, 09:33 PM
I'm having this same issue and I see that others are having it too. Why can't we get some support on this??? :mad:
You can fix this issue (the security token problem) by editing or creating a PHP.ini file. I had the same problem and saw that it was answered on page 200 of this thread. See below (edit the "post_max_size" to a larger size then 8M). Worked for me.
Thanks columbusgeek. After your reply my co-worker and I checked what you had told us, but after testing found out it wasn't it. It was actually the post_max_size was set at 8M. As soon as we changed it to 100M, it started to work with bigger files.
Thanks again for your help. Much appreciated.
SeanMT
12-13-2008, 09:47 PM
I've managed to create a simple RSS feed for mine. You just need to create 3 files.
Mine can be seen working by clicking the large RSS button here (http://www.fm-base.co.uk/)
The code for the files follow:
rss.php
<?php
error_reporting(E_ALL);
$siteURL = "http://" . $_SERVER['HTTP_HOST'];
$feedTitle = "FM-Base.co.uk - Latest FM2009 Downloads";
$rssVersion = 2.0;
function generateFeed ( $homeURL, $title, $version = 2.0) {
// a little check for the arguments thrown in.
if (func_num_args() < 2)
exit ("Insufficant Parameters");
include 'config.php';
include 'opendb.php';
// only select the columns you need, thus reducing the work the DBMS has to do.
$query = "SELECT name, description, date, id, purgatory FROM vb3_dl_files WHERE purgatory = 0 ORDER BY id DESC LIMIT 5";
// execute the query
$results = mysql_query ($query) or exit(mysql_error());
// check for the number of rows returned before doing any further actions.
if (mysql_num_rows ($results) == 0){
exit("Nothing to Show Here");
}
else {
$rss = "";
// tell the browser we want xml output by setting the following header.
header("Content-Type: text/xml; charset=utf-8");
// set the xml document properties and tell it a location of a stylesheet.
$rss .= "<?xml version=\"1.0\" ?>\r\n";
// set the RSS version using the version parameter
$rss .= "<rss version=\"$version\">\r\n";
// each RSS feed has a channel and a title, Using the title parameter we set the title of the feed.
$rss .= "<channel>\r\n";
$rss .= "<title>" . ucwords($title) . "</title>\r\n";
while ($row = mysql_fetch_array($results)){
$rss .= "<item>\r\n";
$rss .= "<title>" . $row['name'] . " (" . date("d/m/y", $row['date']) . ") </title>\r\n";
$rss .= "<description>" . stripslashes(trim($row['description'])) . "</description>\r\n";
$rss .= "<link>" . "http://www.fm-base.co.uk/forum/downloads.php?do=file&id=" . $row['id'] . "</link>\r\n";
$rss .= "</item>\r\n\r\n";
}
$rss .= "</channel>\r\n";
$rss .= "</rss>\r\n";
echo $rss;
}
}
// call the function with all our settings from the top of the script
generateFeed( $siteURL , $feedTitle, $rssVersion );
?>
config.php
<?php
$dbhost = 'localhost';
$dbuser = 'root';
$dbpass = '';
$dbname = 'downloads';
?>
opendb.php
<?php
$conn = mysql_connect($dbhost, $dbuser, $dbpass) or die ('Error connecting to mysql');
mysql_select_db($dbname);
?>
Oh and if you want you may use the RSS button I made (attached).
90559
d2sector
12-13-2008, 11:08 PM
Is this working with v3.8?
I see http://www.minatica.be/downloads.php is running V6. When will that be released?
Digital Jedi
12-14-2008, 02:33 AM
I've managed to create a simple RSS feed for mine. You just need to create 3 files.
Mine can be seen working by clicking the large RSS button here (http://www.fm-base.co.uk/)
The code for the files follow:
rss.php
<?php
error_reporting(E_ALL);
$siteURL = "http://" . $_SERVER['HTTP_HOST'];
$feedTitle = "FM-Base.co.uk - Latest FM2009 Downloads";
$rssVersion = 2.0;
function generateFeed ( $homeURL, $title, $version = 2.0) {
// a little check for the arguments thrown in.
if (func_num_args() < 2)
exit ("Insufficant Parameters");
include 'config.php';
include 'opendb.php';
// only select the columns you need, thus reducing the work the DBMS has to do.
$query = "SELECT name, description, date, id FROM vb3_dl_files ORDER BY id DESC LIMIT 5";
// execute the query
$results = mysql_query ($query) or exit(mysql_error());
// check for the number of rows returned before doing any further actions.
if (mysql_num_rows ($results) == 0){
exit("Nothing to Show Here");
}
else {
$rss = "";
// tell the browser we want xml output by setting the following header.
header("Content-Type: text/xml; charset=utf-8");
// set the xml document properties and tell it a location of a stylesheet.
$rss .= "<?xml version=\"1.0\" ?>\r\n";
// set the RSS version using the version parameter
$rss .= "<rss version=\"$version\">\r\n";
// each RSS feed has a channel and a title, Using the title parameter we set the title of the feed.
$rss .= "<channel>\r\n";
$rss .= "<title>" . ucwords($title) . "</title>\r\n";
while ($row = mysql_fetch_array($results)){
$rss .= "<item>\r\n";
$rss .= "<title>" . $row['name'] . " (" . date("d/m/y", $row['date']) . ") </title>\r\n";
$rss .= "<description>" . stripslashes(trim($row['description'])) . "</description>\r\n";
$rss .= "<link>" . "http://www.fm-base.co.uk/forum/downloads.php?do=file&id=" . $row['id'] . "</link>\r\n";
$rss .= "</item>\r\n\r\n";
}
$rss .= "</channel>\r\n";
$rss .= "</rss>\r\n";
echo $rss;
}
}
// call the function with all our settings from the top of the script
generateFeed( $siteURL , $feedTitle, $rssVersion );
?>
config.php
<?php
$dbhost = 'localhost';
$dbuser = 'root';
$dbpass = '';
$dbname = 'downloads';
?>
opendb.php
<?php
$conn = mysql_connect($dbhost, $dbuser, $dbpass) or die ('Error connecting to mysql');
mysql_select_db($dbname);
?>
Oh and if you want you may use the RSS button I made (attached).
90559
Consider releasing that as an add-on for the mod.
tlwwolfseye
12-14-2008, 11:21 AM
Is it possible that bigger files (couple hundred MB) take a very long time as download to start ? I just noticed that today. Or is there anything that can be done to make that faster ? Isn?t normal for Download Scripts generally, even with big files.
I installed MEMCACHE on my Server, was already not so easy when you?re no Linux freak. ;) Anyways, that works and I got a bit less drain on the CPU now but still, the time it takes before a bit bigger files actually start and you got the SAVE AS window, takes far too long. And thats just with me testing, imagine 20 people do that at the same time, don?t want to know whats going on then.
Any ideas why this script takes so long time with bigger files to actually start downloading ?
SeanMT
12-14-2008, 05:12 PM
I've made a slight change to the RSS feed above. I have edited line 18. The RSS feed will now only show files that have been approved.
Consider releasing that as an add-on for the mod.
I would but I don't have the time to provide support for it.
Stifmeister2
12-14-2008, 10:41 PM
I've made a slight change to the RSS feed above. I have edited line 18. The RSS feed will now only show files that have been approved.
I would but I don't have the time to provide support for it.
There are many unsupported mods here. If you think it works well, you could release it and let it up to others to decide whether it's worth installing. ;)
tlwwolfseye
12-17-2008, 07:41 AM
Ok, i think i know why this Mod is taking such a huge CPU load when using very big Files (couple hundred MB or even 1 GB or more). There are 2 ways to add files. One is uploading (adding manually) which is fine for smaller files but of course overkill with File sizes over 1 GB or so.
For that the Import function seems to be there. But, this Import function kinda makes the imported Files downloadable as stream. Which means as far as I know, anytime someone starts a download, the file will be copied from its original location and made ready for the Download. That way making it impossible to get the original Location. Problem is, anytime a download starts to copy for example a file over 1 GB is madness, thats why the CPU is going up in usage beyond normal. If many people would download that file at the same time the Webserver probably would collapse.
So the only way to add files that are that big is with manually adding a file as if one would upload it but then not to upload from the own PC but to enter the link (direct) to the File. Then the download wouldn?t start as stream but get the file from the link entered and works fast. Only problem is, that way the direct link location of that file is easy to find out in the Browser and can be used without actually going through the Website. :(
MrEyes
12-19-2008, 08:57 AM
Just downloaded and installed this on my test site and all it well, extremely easy to setup and use.
Anyway, I have found one small problem....
One of the templates (editor_css) isn't cached so an unnecessary SQL call is perform. The fix for this is extremely easy:
Get your downloads.php file and open it in your favourite text editor
Find the following line@
'file' => array(
this should be around line 95
Immediately after this line enter the following (exactly as it appears here):
'editor_css',
You should now have something that looks like this:
),
'file' => array(
'editor_css',
'downloads_file',
'downloads_file_addit',
Save the file and reupload to your server
EDIT: You also need to follow these same steps for the "'add' => array(" section
Job done
There is also another feature that might prove to be somewhat annoying to end users. Lets say UserX decides to upload a file, the enter the filename, author, a really long and informative description, the file path but forgets to choose a category. They then click submit and they will get the "complete the sections marked in red" message.
The problem is that it seems the contents of the description/filepath are lost so they have to retype it all or hope that clicking back will get their description back.
tlwwolfseye
12-19-2008, 09:43 AM
But this doesnt change the high CPU load with the import or starting a download which is quite large, right ? Because i think that is the result of the streaming that this Mod is working with.
Wolfseye
dfidler
12-20-2008, 07:51 AM
Guys, installed on my board; works great. Thank you for sharing this mod with the community.
Also, I can't believe that you have supported this mod for so long without tearing your hair out. You give some stellar support and even give code to hack the mod (and people's boards) for free.
You're nutters and you should be charging money for this (or at least for support). You should also include some Paypal information in the mod text so that we can donate. I'm sure that some of the people that have installed are making money from their sites and they probably use this addon. It seems fair, to me, that you give them the opportunity to at least donate a piece of their pie.
Anyways, you guys rock.. and you're one hell of a lot nicer than I am.
Aceman
12-20-2008, 04:27 PM
Is version 6.0 out? I can't find it anywhere... except on these sites.
http://forums.bleachboard.com/downloads.php
http://www.minatica.be/downloads.php
Any help would be appreciated.
rabidkevin
12-20-2008, 04:45 PM
Hi,
Is there a more advanced stats block made for this already? I am trying to incorporate the latest files stats on my home page which is templated in vbulletin. Adding $dpanel_latest_files just shows a single file name. I would like something more advanced like:
$Date: $Author - $Title
$Description
I've been trying to create a new function in class_downloads.php but that has proved harder than I expected.
Help, please :D
RS_Jelle
12-20-2008, 07:26 PM
Is version 6.0 out? I can't find it anywhere... except on these sites.
http://forums.bleachboard.com/downloads.php
http://www.minatica.be/downloads.php
Any help would be appreciated.
It's in beta development ;)
@ALL: I've made a 5.1 version in the meantime. It contains the vB 3.7 integration.
DownloadsII 5.1.0 Changelog
!!! REQUIRES VBULLETIN 3.7.X !!!
Jelle
- Backported vB 3.7 integration from v6 beta (navbar button/search, profile stats/tab)
- Added HTTPS support for linked files
- Better calculation of the usergroup download restrictions
- Some other small code updates
I'm posting it here as it needs some basic testing (but I'm 99% sure of its stability). If you have any problems with it, just overwrite it with the old version.
Aceman
12-21-2008, 12:43 AM
LOVE YOU!
Since I got your attention - Whats the possibility of allowing for custom files for file info like: (I run a 3D model site: format, geometry, textures, materials, animated, etc).
Aceman
Aceman
12-21-2008, 12:53 AM
Upgrade to 5.1.0 was smooth.
Had an issue with GARS but fixed it. Thank you!
tlwwolfseye
12-21-2008, 06:03 AM
Will make me upgrade to 5.1 loose any of the old so far done settings, categories, permissions or downloads ? I would appreciate some help before I do something wrong.
Thank you in advance.
Wolfseye
P.S: Will 6.0 also work with the streaming principle which takes far too much CPU load with big files ?
RS_Jelle
12-21-2008, 04:29 PM
LOVE YOU!
Since I got your attention - Whats the possibility of allowing for custom files for file info like: (I run a 3D model site: format, geometry, textures, materials, animated, etc).
Aceman
That's not possible at the moment.
Will make me upgrade to 5.1 loose any of the old so far done settings, categories, permissions or downloads ? I would appreciate some help before I do something wrong.
Thank you in advance.
Wolfseye
P.S: Will 6.0 also work with the streaming principle which takes far too much CPU load with big files ?
You won't loose any data: just upload the product XML with the overwrite option on (+ overwrite all FTP files).
NEVER uninstall-install it to upgrade: that's a reinstall and it will remove all data.
The download part of v6 is still unfinished. I'm not fully sure about it.
Aceman
12-21-2008, 05:27 PM
RS Jelle - Thanks for answering my above question. I did notice I typed "files" instead of fields as in "custom fields". Sorry if I confused you.
I do have another question - Is it possible to write a short script that could show the last five uploaded THUMBNAILS of files in a vbadvanced module? In other words I'd like to show the thumbnail of the file rather than the name or "text" of the latest upload. I do realize this is NOT in the current design, but I'm wondering if it's possible to code up something like that.
BTW - If your interested. Here's what I've done with your script: http://www.scifi-meshes.com/forums/downloads.php
Aceman
12-21-2008, 05:54 PM
Found an error which could be specific to me:
When you click the download button on the information page specific to a file it goes to this link: http://www.scifi-meshes.com/forums/downloads.php?do=file&id=XX&act=down and the message: ERROR: File not found. shows.
XX = the number assigned to the file. (ie. 27, 43, 18, etc).
Any ideas?
TEMP ACCOUNT:
user: downloads
pass: temppass
RS_Jelle
12-21-2008, 06:11 PM
Found an error which could be specific to me:
When you click the download button on the information page specific to a file it goes to this link: http://www.scifi-meshes.com/forums/downloads.php?do=file&id=XX&act=down and the message: ERROR: File not found. shows.
XX = the number assigned to the file. (ie. 27, 43, 18, etc).
Any ideas?
This is new after the upgrade?
If yes, is it solved when you put the old (5.0.8) downloads.php back on your FTP (only that file)?
Aceman
12-21-2008, 06:18 PM
No. I put the 5.0.8 file online over the updated one and no difference.
Also i did not change the downloads directory which is located at: /forums/downloads/
In the admincp for downloads it's set to ./downloads/
Aceman
12-21-2008, 06:23 PM
TEMP ACCOUNT:
user: downloads
pass: temppass
If you missed it on the other page.
RS_Jelle
12-21-2008, 07:55 PM
No. I put the 5.0.8 file online over the updated one and no difference.
Also i did not change the downloads directory which is located at: /forums/downloads/
In the admincp for downloads it's set to ./downloads/
Then it's probably not caused by the upgrade. I checked it on another site and there were no download problems.
Did you have the problem already before the upgrade?
Check if your /downloads/ and /downloads/ec_tmp/ folders have a 777 chmod.
Digital Jedi
12-21-2008, 08:09 PM
Seems to be working fine on my board Jelle. Thanks for the update. Is the addition of the navbar link hard coded into the PHP file? Where would I go to remove the navbar link? I didn't see anything in the plugins or in the Settings.
RS_Jelle
12-21-2008, 08:19 PM
Seems to be working fine on my board Jelle. Thanks for the update. Is the addition of the navbar link hard coded into the PHP file? Where would I go to remove the navbar link? I didn't see anything in the plugins or in the Settings.
It's a setting:
Show Navbar Button
Show a link to the downloads section in the navigation bar
(It seems I switched the "Show Navbar Button" and "Show Navbar Search" titles. I've attached an updated zip file, just overwrite the product XML.)
Digital Jedi
12-21-2008, 08:42 PM
I knew I'd done it simply the first time. Maybe the switched names threw me. Let's just say that was what happened. =/
OCPerformance
12-21-2008, 09:55 PM
Hallo
I've a short question. Can anybody help me, I need a separately new table for description right next Datei (red marked in the pic German phrase for file). It look likes confusing. Please help.
Link to Pic (http://www.abload.de/img/unbenanntdvcb.jpg)
Sorry for my bad english.
Digital Jedi
12-21-2008, 10:59 PM
Hallo
I've a short question. Can anybody help me, I need a separately new table for description right next Datei (red marked in the pic German phrase for file). It look likes confusing. Please help.
https://vborg.vbsupport.ru/external/2008/12/44.jpg (http://www.abload.de/image.php?img=unbenanntvp0e.jpg)
Sorry for my bad english.
You pasted in the thumbnail, but not the link to the full size image. We can't see anything.
OCPerformance
12-21-2008, 11:29 PM
Its right link but in this forum it does't works. Im my forum 3.7.4. Pl1 it works.
Link to Pic (http://www.abload.de/img/unbenanntdvcb.jpg)
Aceman
12-22-2008, 01:09 AM
RS Jelle - Thanks so much for looking into the issue I was having. I reuploaded all the files again. Rechecked ALL for file permissions and found that the folder "ec_tmp" was infact 755. I changed that to 777 and then installed the 5.1.0 update you provided on page 156.
I'm happy to report everything is now working perfectly.
If I could imposed one more question:
Is it possible to write a short script that could show the last five uploaded THUMBNAILS of files in a vbadvanced module? In other words I'd like to show the thumbnail of the file rather than the name or "text" of the latest upload. I do realize this is NOT in the current design, but I'm wondering if it's possible to code up something like that.
In fact it would be IDEAL if I could show the thumbnail for the top 5 files in each of the two categories (latest files and Most Popular Files) ON the downloads page (vbadvanced would be a bonus). Is that possible?
Aceman
RS_Jelle
12-22-2008, 07:11 AM
Hallo
I've a short question. Can anybody help me, I need a separately new table for description right next Datei (red marked in the pic German phrase for file). It look likes confusing. Please help.
Link to Pic (http://www.abload.de/img/unbenanntdvcb.jpg)
Sorry for my bad english.
You need to edit the downloads_cat_files and downloads_cat_filebit templates for that (split up the "Datei" <td> in two <td>'s) ;)
RS_Jelle
12-22-2008, 08:18 AM
DownloadsII 5.1.0 introduces full vBulletin 3.7.x integration. Without any template edits you can get a navbar button, navbar downloads search, profile statistics, postbit statistics and a downloads tab in the profile!
Version 5.1.0 requires vBulletin 3.7.x (or 3.8.x). If you are still running vBulletin 3.5.x or 3.6.x, please use the old 5.0.8 version.
Note: you need to remove all previous template edits for DownloadsII if you had any.
Note for people running the 5.1.0 beta: I did some small changes to the product XML. Just overwrite it with the new one.
DownloadsII 5.1.0 Changelog
https://vborg.vbsupport.ru/external/2011/08/15.gif!!! REQUIRES VBULLETIN 3.7.X !!!
Jelle
Backported vB 3.7 integration from v6 beta (navbar button/search, profile stats/tab)
Added HTTPS support for linked files
Better calculation of the usergroup download restrictions
Some other small code updates
Sunka
12-22-2008, 08:58 AM
Updated...thanks :up:
bezibaerchen
12-22-2008, 09:01 AM
Updated too, but version number didnt change. Any hints what might be the problem? download interface looks same as before. template changes etc were automatically made, but download base itself didn't change (neither did the version number).
RS_Jelle
12-22-2008, 09:09 AM
Updated too, but version number didnt change. Any hints what might be the problem? download interface looks same as before. template changes etc were automatically made, but download base itself didn't change (neither did the version number).
What do you mean with "download base"?
For the version number: have you translated the ecdownloads_copyright phrase? If yes, you need to update your translation.
bezibaerchen
12-22-2008, 09:13 AM
With "download base" I mean downloads.php
Phrase was translated, that was my problem. Thanks for the fast help. Looking forward to next version. Keep up your good work dude!
RS_Jelle
12-22-2008, 09:15 AM
With "download base" I mean downloads.php
Phrase was translated, that was my problem. Thanks for the fast help. Looking forward to next version. Keep up your good work dude!
There are code changes to the downloads.php file (and other php files in the package). As always, you just need to overwrite the old DownloadsII files on your FTP with the new ones.
bezibaerchen
12-22-2008, 09:23 AM
Yeah, I did the overwrite. Nevertheless I do not see any changes, what should I see?
RS_Jelle
12-22-2008, 09:25 AM
Yeah, I did the overwrite. Nevertheless I do not see any changes, what should I see?
Nothing except what's in the changelog, nothing visible (except the vB 3.7 integration). HTTPS support isn't visible :)
bezibaerchen
12-22-2008, 09:35 AM
Okay, then it seems to work :)
Implemented search field myself already.
Sunka
12-22-2008, 09:52 AM
Any chance to have downloads folder (folder where are files for download) outside forum folder?
I mean www.pijanitvor.com/downloads (http://www.pijanitvor.com/downloads) and not www.pijanitvor.com/forum/downloads (http://www.pijanitvor.com/forum/downloads)
entertain
12-22-2008, 10:07 AM
Hi RS Jelle,
there are only three things that I want to point out:
1. Please use tabs in your tables (templates)
2. HTML Codes should not be implemented in the php-file (downloads.php)
For HTML Codes it would be better to use the product
3. Use "AND" and not "&"
Greetings. :)
entertain
12-22-2008, 10:24 AM
Any chance to have downloads folder (folder where are files for download) outside forum folder?
I mean www.pijanitvor.com/downloads (http://www.pijanitvor.com/downloads) and not www.pijanitvor.com/forum/downloads (http://www.pijanitvor.com/forum/downloads)
Take a look into the settings. :)
AdminCP => Downloads => Settings => Download URL
This should work....
echo2kk5
12-22-2008, 11:19 AM
Thank you for the update! :up:
Saudi Zoom
12-22-2008, 11:21 AM
Do i have to re-translate after updating?
Thank you for updates
Sunka
12-22-2008, 11:38 AM
Take a look into the settings. :)
AdminCP => Downloads => Settings => Download URL
This should work....
Yes, I looked there.
Default is ./downloads/ what is mean www.pijanitvor.com/forum/downloads/
But if I change ./downloads/ to www.pijanitvor.com/downloads/ it is not working (I try to create folder there), I can not upload files or even download files.
Same problem is for import files from folder allready in my web root. You can not import files from folder, if that folder is not on sam place where is downloads.php
This is my forum web address: www.pijanitvor.com/forum
What should I put in ACP option if I want to my downloads folder be on web root, not in forum root aka www.pijanitvor.com/downloads/
RS_Jelle
12-22-2008, 11:39 AM
Any chance to have downloads folder (folder where are files for download) outside forum folder?
I mean www.pijanitvor.com/downloads (http://www.pijanitvor.com/downloads) and not www.pijanitvor.com/forum/downloads (http://www.pijanitvor.com/forum/downloads)
Then you need to set the Download URL setting to ../downloads/ (with two points in front of the first slash)
It's a relative path setting.
Hi RS Jelle,
there are only three things that I want to point out:
1. Please use tabs in your tables (templates)
2. HTML Codes should not be implemented in the php-file (downloads.php)
For HTML Codes it would be better to use the product
3. Use "AND" and not "&"
Greetings. :)
V6 beta already has that better code style. It's also following most other vB coding standards.
But what do you mean with 3? "AND" and "&" aren't synonyms. I guess you mean "&&" (which isn't used in v5 nor in v6)?
Do i have to re-translate after updating?
Thank you for updates
Normally not, you only need to update the version number in the ecdownloads_copyright phrase if you translated that also.
Jawa Lunk
12-22-2008, 11:48 AM
Hi, I ma using a previous version, do I uninstall it before installing this new version?
And also, am I going to lose all my downloads I already have or will this install recognize the categories and downloads already there?
I have hundreds of downloads and would hate to lose them by installing the new version :P
Thanks!
RS_Jelle
12-22-2008, 11:50 AM
Hi, I ma using a previous version, do I uninstall it before installing this new version?
And also, am I going to lose all my downloads I already have or will this install recognize the categories and downloads already there?
I have hundreds of downloads and would hate to lose them by installing the new version :P
Thanks!
You won't loose any data if you just upload the product XML with the overwrite option on (+ overwrite all FTP files).
NEVER uninstall-install it to upgrade: that's a reinstall and it will remove all data.
breakice
12-22-2008, 12:50 PM
that trick with .htacess not work
and we cannot upload 30 mb
but we can upload manually and link it
any idea?
Sunka
12-22-2008, 01:44 PM
Then you need to set the Download URL setting to ../downloads/ (with two points in front of the first slash)
It's a relative path setting.
Yes, that is working. Thank you very much!
Same problem is for import files from folder allready in my web root. You can not import files from folder, if that folder is not on sam place where is downloads.php
Maybe you have solution for this one too? :D
entertain
12-22-2008, 03:00 PM
Hi Jelle,
the Hook called cron_script_cleanup doesn't exist.
There are only the following hooks available:
- cron_complete
- cron_script_cleanup_daily
- cron_script_cleanup_hourly
- cron_script_cleanup_hourly2
- cron_script_subscriptions
- cron_start
Greetings. :)
glennybee
12-22-2008, 03:43 PM
Hi,
I've just been informed there is a 5.1.0 version out. I am current using v5.0.8 with vb 3.7.4 PL1, if I upgrade this product will I loose all my downloads or will they be unaffected?
Thank you! :)
OCPerformance
12-22-2008, 03:47 PM
sorry for questions but I'm a newbie
Little Problem, how i can delete the "":"" for the decription ? (its red marked in pic what I mean)
I can't find it ? Its in the same template like downloads_cat_filebit
downloads_cat_filebit template
<tr>
<td class="$bgclass" valign="top" align="center"><if condition="$filethumb != ''">{$filethumb}<else />{$download}</if>
</td>
<td class="$bgclass" valign="top" align="left"><a href="downloads.php?do=file&id={$file['id']}">{$file['name']}</a><if condition="$file['pin']">
<img class="inlineimg" src="{$stylevar['imgdir_misc']}/sticky.gif" alt="{$vbphrase['ecdownloads_pinned_file']}" title="{$vbphrase['ecdownloads_pinned_file']}" />
</if></td>
<td class="$bgclass" valign="top" align="left">{$smalldesc} ($size) </td>
<td class="$bgclass" valign="top" align="center" nowrap="nowrap"><span class="smallfont">$date</span></td>
<td class="$bgclass" valign="top" align="center" height="40"><span class="smallfont">{$file['downloads']}</span></td>
<if condition="$dl->showcomments"><td class="$bgclass" valign="top" align="center"><span class="smallfont">{$file['comments']}</span></td></if>
</tr>
Link to pic (http://www.abload.de/img/unbenannt020un2.jpg) its red marked what I mean.
echo2kk5
12-22-2008, 04:02 PM
Hi,
I've just been informed there is a 5.1.0 version out. I am current using v5.0.8 with vb 3.7.4 PL1, if I upgrade this product will I loose all my downloads or will they be unaffected?
Thank you! :)
I'm running VB 3.7.4 PL1 and have successfully upgraded to the 5.1.0 version from 5.0.8 without a hitch....I just over-wrote all files and imported the product allowing overwrite, didn't lose anything. ;)
OCPerformance
12-22-2008, 04:16 PM
sorry for questions but I'm a newbie
Little Problem, how i can delete the "":"" for the decription ? (its red marked in pic what I mean)
I can't find it ? Its in the same template like downloads_cat_filebit
downloads_cat_filebit template
<tr>
<td class="$bgclass" valign="top" align="center"><if condition="$filethumb != ''">{$filethumb}<else />{$download}</if>
</td>
<td class="$bgclass" valign="top" align="left"><a href="downloads.php?do=file&id={$file['id']}">{$file['name']}</a><if condition="$file['pin']">
<img class="inlineimg" src="{$stylevar['imgdir_misc']}/sticky.gif" alt="{$vbphrase['ecdownloads_pinned_file']}" title="{$vbphrase['ecdownloads_pinned_file']}" />
</if></td>
<td class="$bgclass" valign="top" align="left">{$smalldesc} ($size) </td>
<td class="$bgclass" valign="top" align="center" nowrap="nowrap"><span class="smallfont">$date</span></td>
<td class="$bgclass" valign="top" align="center" height="40"><span class="smallfont">{$file['downloads']}</span></td>
<if condition="$dl->showcomments"><td class="$bgclass" valign="top" align="center"><span class="smallfont">{$file['comments']}</span></td></if>
</tr>
Link to pic (http://www.abload.de/img/unbenannt020un2.jpg) its red marked what I mean.
kho91
12-22-2008, 04:23 PM
please help me I have a problem this error message
The download directory does not exist!
MrEyes
12-22-2008, 04:32 PM
Little Problem, how i can delete the "":"" for the decription ? (its red marked in pic what I mean)
Oddily enough I have just made that very modification to my install as I wanted the title and description to be on separate lines and the ':' looked odd. Your setup seems to be slightly different to the version I have (5.1.0) but the following might help:
Open the downloads.php file and find the line that reads:
$smalldesc = ": ".$smalldesc;
Change it to this:
//$smalldesc = ": ".$smalldesc;
This basically comments out that line so the ':' isn't added.
OCPerformance
12-22-2008, 04:38 PM
Thanks a lot :)
Rene Kriest
12-22-2008, 04:39 PM
This addon is so damn sexy. Guys, why did it take so long for porting one of the most important addons of all time for vb? Anyway thank you lazy bones! ;)
drpeppper
12-22-2008, 05:56 PM
You can fix this issue (the security token problem) by editing or creating a PHP.ini file. I had the same problem and saw that it was answered on page 200 of this thread. See below (edit the "post_max_size" to a larger size then 8M). Worked for me.
this does not work. my post_max_size is at 100mb
files work, but images do not.
drpeppper
12-22-2008, 06:07 PM
furthermore, ive just solved the problem and all it took was a simple template edit. meaning the mod has a bug, and its not a server setting..
in template 'downloads_file'
look for
<input type="submit" name="submit" value="{$vbphrase['ecdownloads_add_image']}" />
right under that, put this
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
this solved my issue with users uploading images and getting a security token error.
the created of this mod failed/forgot to add this.
you can read more about it here
https://vborg.vbsupport.ru/showthread.php?t=177013
Mastergumble
12-22-2008, 06:47 PM
I still get this message :(
Your submission could not be processed because a security token was missing.
If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error.
I have GARS and did the change on the plugin but still unable to upload large files.
Other thing how can i put the smiles under the box instead by side?
Cobra-J82
12-22-2008, 10:04 PM
I'm in love with this mod.
UKBusinessLive
12-22-2008, 11:32 PM
I'm in love with this mod.
Me too, so easy to install and use :D
Just what i've been looking for ;)
bollie
12-23-2008, 05:09 AM
furthermore, ive just solved the problem and all it took was a simple template edit. meaning the mod has a bug, and its not a server setting..
in template 'downloads_file'
look for
<input type="submit" name="submit" value="{$vbphrase['ecdownloads_add_image']}" />
right under that, put this
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
this solved my issue with users uploading images and getting a security token error.
the created of this mod failed/forgot to add this.
you can read more about it here
https://vborg.vbsupport.ru/showthread.php?t=177013
Work not.
RS_Jelle
12-23-2008, 07:24 AM
Hi Jelle,
the Hook called cron_script_cleanup doesn't exist.
There are only the following hooks available:
- cron_complete
- cron_script_cleanup_daily
- cron_script_cleanup_hourly
- cron_script_cleanup_hourly2
- cron_script_subscriptions
- cron_start
Greetings. :)
Thanks for reporting, the hook seems to be split up in multiple ones in vB 3.7 :)
You need to set it to the cron_script_cleanup_hourly hook. Will be fixed in the next release.
7lanet
12-23-2008, 08:12 AM
Please upgrade the product from 5.0.8 to 5.1.0
As the product in Arabic
And I just want the Arabization of the new words
7lanet
12-23-2008, 10:28 AM
Some of his suggestions to improve the product
1 - what do you think of making a separate xml file to be imported language and words
=====
2 -And Aita Can you add functionality to make independent style with the possibility of changing the language and style DownloadsII
So that control language and style independent of the Forum
And making the search window over the statistics of all pages
=====
3- I want Downloads calculated the number at the opening of files not click on the Download
ex/
Downloads calculated the number
when open
http://www.7lanet.com/vb/downloads.php?do=file&id=1
not click
http://www.7lanet.com/vb/downloads.p...&id=1&act=down
=====
4 -I want when click the image (download) in the cate go to the file and not download
=====
5 - View all comments in Admincp
-------
sory, My language bad
dmknights
12-23-2008, 11:10 AM
Before i download & install this mod, can someone tell me if this mod can set permissions for which group can download certain files?
7lanet
12-23-2008, 11:55 AM
Before i download & install this mod, can someone tell me if this mod can set permissions for which group can download certain files?
yes
^_^
dmknights
12-23-2008, 12:09 PM
*Downloaded*
Will try this later
drpeppper
12-23-2008, 02:20 PM
I still get this message :(
Your submission could not be processed because a security token was missing.
If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error.
I have GARS and did the change on the plugin but still unable to upload large files.
Other thing how can i put the smiles under the box instead by side?
Work not.
the fix was for users getting the token security message with image uploads, not file uploads.
if you're having problems with the file uploads, find this line
<input type="submit" name="submit" value="{$vbphrase['ecdownloads_addit_file']}" />
in template downloads_file_addit
under that place this line
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
hope that works, it worked for me. good luck.
bollie
12-23-2008, 04:25 PM
the fix was for users getting the token security message with image uploads, not file uploads.
if you're having problems with the file uploads, find this line
<input type="submit" name="submit" value="{$vbphrase['ecdownloads_addit_file']}" />
in template downloads_file_addit
under that place this line
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
hope that works, it worked for me. good luck.
Your submission could not be processed because a security token was missing.
If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error.
drpeppper
12-23-2008, 04:44 PM
Your submission could not be processed because a security token was missing.
If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error.
cleared cookies/cache?
if you did, there is a last thing you can try, but i dont recommend.
in the downloads.php file, find the line
define('CSRF_PROTECTION', true);
change true to false
let me know if this works.
Drakah
12-23-2008, 06:10 PM
Does this version now let you customize the fields, lets say, to add in a "Version:" under the Date of the download? Speaking of which... does the date now update when you update the file attachment?
Sandgrinder
12-23-2008, 06:55 PM
Bloody hell lad, you made my day.
Veteranich
12-24-2008, 02:44 AM
Thanks, but I have two suggestions.
Many buttons doesn't have class atribute so in different style they will be showed same. Add please class="button".
Commas isn't be parsed in the title. For example I type "Hack name". Then if I will see source code, I can find alt=""Hack name"". It doesn't make valid code. Please, add the feauture that commas will be parsed (commas will be replaced by ").
Thank you again!
Goomzee
12-24-2008, 02:53 AM
what's new this time
bollie
12-24-2008, 04:14 AM
cleared cookies/cache?
if you did, there is a last thing you can try, but i dont recommend.
in the downloads.php file, find the line
define('CSRF_PROTECTION', true);
change true to false
let me know if this works.
Work not i add download en go back to add page
drpeppper
12-24-2008, 12:39 PM
Work not i add download en go back to add page
it does that after a download is finished. check your category.
bollie
12-25-2008, 04:05 AM
it does that after a download is finished. yes
Digital Jedi
12-25-2008, 01:41 PM
yes
That actually wasn't a question, that was a statement. It does that for all of us when a download is finished. It's supposed to. What he was saying was to check your Category to see if the download was there.
spinz4
12-26-2008, 04:59 AM
If I don't want categories and just want one main page how do I go about doing that? I basically want all my downloads to be on the main page.
Thanks.
Digital Jedi
12-26-2008, 08:41 AM
If I don't want categories and just want one main page how do I go about doing that? I basically want all my downloads to be on the main page.
Thanks.
I think you have to have at least one category.
bollie
12-26-2008, 10:34 AM
That actually wasn't a question, that was a statement. It does that for all of us when a download is finished. It's supposed to. What he was saying was to check your Category to see if the download was there.
I upload a file after 1 minute jumps I to add downloads page, the file has not been added.
Subah
12-26-2008, 12:04 PM
Thanks for the new version 5.1.0 , is this version ready for 3.8.0 ?
bollie
12-26-2008, 12:55 PM
Thanks for the new version 5.1.0 , is this version ready for 3.8.0 ?
This mod works with any version of vBulletin 3.7.x and 3.8.x!
footlandia
12-27-2008, 04:06 PM
6. Create directories in the 'Categories' menu under the 'Downloads' in your admincp
where can I find that ?
footlandia
12-28-2008, 10:58 AM
is it there any specials how to uninstall it ?
I can't get it to work
Scooty
12-28-2008, 11:33 AM
SOLVED: This is really sweet but I'm getting "you do not have permission to access this page"
NEW ISSUE: When I click on the "more" in the file description the link takes me to the file download page. I noticed this page breaks my template as indicated in the attached screenshot
bollie
12-28-2008, 12:35 PM
where can I find that ?
http://www.youdomeinname.com/admincp/downloadadmin.php?do=category
footlandia
12-28-2008, 12:40 PM
thanks
" on the left colon in ACP "
I installed it , now try to see how it works
Drakah
12-28-2008, 06:25 PM
Can you please tell me if this version lets you customize the fields in the download file information section? I am in desperate need of adding in a field called "Version:" under the Date of the download. I also need that date showing to be the date that the file was last updated/edited.
SuperTaz
12-28-2008, 06:40 PM
Edit: Nevermind...fixed it. Installed.
columbusgeek
12-28-2008, 07:25 PM
I tired to do a import on a existing directory. It didnt work in my specific case and thats no big deal, but after purging everything I am stil left with this.
The download stats are a bit, erm, inflated. Ideas on how to reset it? I looked over the dl_tables and didnt see where this value was coming from.
RedGTiVR6
12-28-2008, 08:38 PM
I just need to check something before I install this update.
The instructions for the upgrade are the same as for a fresh install. Is this to assume that if I upgrade my install, I will have to create all categories again?
Thanks!
Digital Jedi
12-28-2008, 11:40 PM
I just need to check something before I install this update.
The instructions for the upgrade are the same as for a fresh install. Is this to assume that if I upgrade my install, I will have to create all categories again?
Thanks!
No, you won't have to recreate anything. All that's updated are the modifications files and functionality.
Digital Jedi
12-28-2008, 11:48 PM
SOLVED: This is really sweet but I'm getting "you do not have permission to access this page"
NEW ISSUE: When I click on the "more" in the file description the link takes me to the file download page. I noticed this page breaks my template as indicated in the attached screenshot
The download pages are wider then your skin, and you skin isn't designed to stretch in the event something wider appears in it. That would require someone going in and redesigning it or tweaking it in a few places.
Can you please tell me if this version lets you customize the fields in the download file information section? I am in desperate need of adding in a field called "Version:" under the Date of the download. I also need that date showing to be the date that the file was last updated/edited.
There are no custom fields and only the upload date is shown.
spinz4
12-29-2008, 12:47 AM
I think you have to have at least one category.
Look here at this forum and see how when you click downloads it goes straight to the category? That's what I am looking for.
Thanks
Digital Jedi
12-29-2008, 03:20 AM
Look here at this forum and see how when you click downloads it goes straight to the category? That's what I am looking for.
Thanks
Um, what forum would that be?
spinz4
12-29-2008, 03:31 AM
Oh crap I forgot the link sorry..
http://forum.widsm.org/index.php
Digital Jedi
12-29-2008, 03:34 AM
He still created a category. He just linked the Downloads link in the navbar directly to that category. That's why the link goes to cat&id=1.
http://forum.widsm.org/downloads.php?do=cat&id=1?
spinz4
12-29-2008, 05:43 AM
Ya I figured that but just not sure how to complete the task as I am still fairly new to coding and vbulletin.
Thanks
Digital Jedi
12-29-2008, 07:10 AM
Do you know how to edit your navbar template? Just replace the download.php link with the URL to your category. If you haven't edited your navbar before, there's some good instructions in the articles section on how to do that.
spinz4
12-29-2008, 07:30 PM
Ya I can handle that thanks for the help!
karel1985
12-30-2008, 07:07 AM
Hi Jelle,
I saw some nice feature in your DownloadsII 6.0 version. That Updated downloads looks good.
Any idea when 6.0 will go public? Looking forward to use it
Best regards,
Karel
tlwwolfseye
12-30-2008, 03:38 PM
It is not possible to just set certain downloads just to lets say "Registered Users" only, right ? Because the exclusions that are possible in the settings aren´t so good. Would it not be nice to have each Category seperately setup with who can download from it, or even for each file.
Is there any alternative to that ?
columbusgeek
12-30-2008, 03:44 PM
The exclusions work perfect. They offer very granular control. Matter of fact if it was how you suggested it woudl not offer as much control as he has coded it.
tlwwolfseye
12-30-2008, 03:46 PM
When i exclude a Category and someone goes to a file in that category, all he gets is a "Invalid ID" message, instead of a "This Download is only for registered Users. Please register to be able to download this". This would make much more sense for people coming and wondering what a "Invalid ID" is, which sounds more like the download link doesn?t work to them.
So you have to admit, setting permissions like i said is much better for people to understand. Exclusion is not really the solution here.
Categories or even single Files should be able to be set to a certain usergroups / s only. At least Categories. For files too that would be maybe too much to ask, but the categories should be never the less. It is that way in ANY other Download Script, if its an external Software or a Mod for other Forum Softwares, like i had before.
columbusgeek
12-30-2008, 03:57 PM
Maybe I should clarify how I am using it.
...When set to "No", all categories can be viewed except the ones listed below. and then I insert the categories I do not want users to see.
Users who are not allowed to see the category never see it. Maybe you have something setup wrong? I dont have the user id error you mention.
Digital Jedi
12-30-2008, 03:58 PM
When i exclude a Category and someone goes to a file in that category, all he gets is a "Invalid ID" message, instead of a "This Download is only for registered Users. Please register to be able to download this". This would make much more sense for people coming and wondering what a "Invalid ID" is, which sounds more like the download link doesn?t work to them.
So you have to admit, setting permissions like i said is much better for people to understand. Exclusion is not really the solution here.
Categories or even single Files should be able to be set to a certain usergroups / s only. At least Categories. For files too that would be maybe too much to ask, but the categories should be never the less. It is that way in ANY other Download Script, if its an external Software or a Mod for other Forum Softwares, like i had before.
When you exclude a category, they shouldn't even be able to see the link to that cat in order to be getting that error message. The cat link is removed from the main page for them, and if that the only subcat in a top cat their allowed to see, then it will be treated as empty.
tlwwolfseye
12-30-2008, 04:03 PM
Links to the files in that Category show still up in the Top 5 Files when one of these files is in this list. So they still see the link to a file that is in that category. Yes, the Category itself isn´t there anymore but links in the Top 5 etc. would be still visible and give unregistered users the "Invalid ID" text when they click on it.
That could be done more nicely with a message like i posted above. And if they don´t see the category at all, they don´t even know that with registering on the site would actually give them that other Category.
So if they dont know its in there, there is no reason for them to signup to the forum. So that doesn´t really makes it more helpful.
columbusgeek
12-30-2008, 04:13 PM
As a workaround couldn't you edit the "invalid id" message in phrases to something that fits your needs?
Digital Jedi
12-30-2008, 04:13 PM
Links to the files in that Category show still up in the Top 5 Files when one of these files is in this list. So they still see the link to a file that is in that category. Yes, the Category itself isn?t there anymore but links in the Top 5 etc. would be still visible and give unregistered users the "Invalid ID" text when they click on it.
That could be done more nicely with a message like i posted above. And if they don?t see the category at all, they don?t even know that with registering on the site would actually give them that other Category.
So if they dont know its in there, there is no reason for them to signup to the forum. So that doesn?t really makes it more helpful.
Probably because you still have them set to Can View Files. If you want them to be able to see the files and get a No Permission message, don't make the whole category excluded. Keep the category visible and fine tune the yes/no permissions above that setting.
europez
12-30-2008, 08:00 PM
I'm having problem with the upload. I'm getting this error:
The upload failed! Upload error.
I made the .htaccess file with the text:
php_value upload_max_filesize 30M
php_value post_max_size 30M
and uploaded it, but then I got an "Server Error", so I can not use the .htaccess file.
Anyone know what's wrong? :confused:
Thanks
columbusgeek
12-30-2008, 09:50 PM
Are you on a Linux server? Does your host allow .htaccess php overrides?
You need to look over your webhosts specs to find out more information. I suggest looking over their forums.
Ross L
01-01-2009, 11:17 AM
Hopefully someone can point me in the right direction with this.
When the search function is used on downloadsII, I get this database error emailed to me:
Database error in vBulletin 3.7.4:
Invalid SQL:
SELECT dl_files.*, dl_cats.name catname FROM dl_files, dl_cats WHERE (CT title,dateline_from,eventid FROM event WHERE dateline_from BETWEEN 1230814892 AND 1231419692 OR 1230814892 BETWEEN dateline_from AND dateline_to ORDER BY dateline_from OR dl_files.author LIKE '%test%' OR dl_files.name LIKE '%test%' OR dl_files.description LIKE '%test%')
AND dl_files.category = dl_cats.id
ORDER BY catname, dl_files.name;
MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'title,dateline_from,eventid FROM event WHERE dateline_from BETWEEN 1230814892 AN' at line 1
Error Number : 1064
Request Date : Thursday, January 1st 2009 @ 01:01:32 PM
Error Date : Thursday, January 1st 2009 @ 01:01:32 PM
Any ideas on how to fix this?
Many thanks.
davida500
01-01-2009, 03:44 PM
You know the big image that is supposed to be displayed that says "Download" for some reason mine is not displaying at all?
My Forum directory is www.connecting-gamers.com/forums
And the images are in:
www.connecting-gamers.com/forums/images/buttons/download
So i dont know why it is not displaying the image..... Help me please!
Thanks.
David.
PS - Sorry i had a problem with the adding the directorys so had to put them in php code sorry :D
vbcustomized
01-01-2009, 04:10 PM
Is there any way to require x amout of posts to be able to download files?
Thanks alot
vBc
Ross L
01-01-2009, 04:11 PM
You know the big image that is supposed to be displayed that says "Download" for some reason mine is not displaying at all?
My Forum directory is www.connecting-gamers.com/forums
And the images are in:
www.connecting-gamers.com/forums/images/buttons/download
So i dont know why it is not displaying the image..... Help me please!
Thanks.
David.
PS - Sorry i had a problem with the adding the directorys so had to put them in php code sorry :D
You've got the button in the wrong directory. It should be in
http://www.connecting-gamers.com/forums/images/snarobotsj2m/buttons/download.gif :D
davida500
01-01-2009, 04:21 PM
Ahhh, is that why half of my images are not showing lol, thank you so much!!!!!
David.
vbcustomized
01-01-2009, 04:28 PM
The download image needs to be placed in the buttons folder of the style you are using. By default it is placed in the main buttons folder for the default style.
Easy fix. Just find the buttons folder for the style you are using IE /images/style_name/buttons and place the download image there.
cheers
TheFallenAngel
01-01-2009, 11:04 PM
Is there any way to require x amout of posts to be able to download files?
Thanks alot
vBc
Make a group with auto-promotion at x posts. Set that group with download permissions.
Neo_Angelo
01-04-2009, 12:22 AM
is it possible to only allow admins and mods to upload and add to it, i want to use this for allowing users to download certain things i want to add there. i don't want users to be able to add things. is this possible?
Black Tiger
01-04-2009, 12:43 AM
Yes, you can change that in the usergroup manager.
Stifmeister2
01-04-2009, 12:44 AM
is it possible to only allow admins and mods to upload and add to it, i want to use this for allowing users to download certain things i want to add there. i don't want users to be able to add things. is this possible?
Yes, I have it like this on my forums. Just edit the usergroup permissions. :)
Neo_Angelo
01-04-2009, 01:39 AM
is there a branding free option?
hugh_
01-04-2009, 08:51 AM
Has download rating stopped working for anyone else since upgrading to 5.1?
Vaupell
01-04-2009, 01:22 PM
lovely, installed on 3.8 RC2 board, works like a charm..
Tx.. Installed.
Neo_Angelo
01-04-2009, 01:41 PM
can anyone tell me how to increase the file size for uploading, i followed the instructions in the post provided using a .htaccess but all that did was give me an Error on every page i went to?
can someone provide any hints or clues as to what i did wrong or what i need to do?
Basically i opened notepad and added the code it said, changed it to 1000 on both lines and then saved it as just .htaccess i then uploaded it to the forums folder where my Download.php is located and it showed as HTaccees.HTACCESS file, but all it did was screw up my board. what did i do wrong?
EDIT: would it be possible to allow users to add a small logo or banner to their downloads so when a user has clicked on a file to view the author/description and the download link, they get to see a picture (so people can screenshot it to show what it looks like etc or to have a logo/icon?
columbusgeek
01-04-2009, 03:09 PM
what did i do wrong?
You need to contact your webhost. Anybody suggesting how to do php overrides here is taking a pot shot in the dark about what host you use and how your host has the server setup. Check your webhosts forums, the info is almost always there, if not a email asking how to change php values on a per directory basis will do the trick.
Scooty
01-05-2009, 12:27 PM
Ok, thanks for the info. Ar you talking abou tweaking the downloads mod or my skin?
The download pages are wider then your skin, and you skin isn't designed to stretch in the event something wider appears in it. That would require someone going in and redesigning it or tweaking it in a few places.
There are no custom fields and only the upload date is shown.
columbusgeek
01-05-2009, 01:39 PM
Trying to customize the layout and look of the downloads page and running into some issues. I am working on the xhtml output. If you check the panel bit its meant to be a list item where as its outputting as a tr> etc. The panel sidebar is working fine but its just the actual panels "bits" that isnt being applied.
So, In summary i am changing the downloads_panel_bit, but its having no effect. i changed the downloads_panel_side no problem but for some reason the panel bit is possessed by a demon spawn and refuses to apply. I'm not using any caching currently.
Any ideas? Beuller.....Beuller?
RS_Jelle
01-05-2009, 02:00 PM
Trying to customize the layout and look of the downloads page and running into some issues. I am working on the xhtml output. If you check the panel bit its meant to be a list item where as its outputting as a tr> etc. The panel sidebar is working fine but its just the actual panels "bits" that isnt being applied.
So, In summary i am changing the downloads_panel_bit, but its having no effect. i changed the downloads_panel_side no problem but for some reason the panel bit is possessed by a demon spawn and refuses to apply. I'm not using any caching currently.
Any ideas? Beuller.....Beuller?
Click the "Update Counters" link to empty the cache ;)
columbusgeek
01-05-2009, 02:21 PM
errummm
Under AdminCP->Maintenence and the category "update counters" or one of the plethora of options under that category?
RS_Jelle
01-05-2009, 05:54 PM
errummm
Under AdminCP->Maintenence and the category "update counters" or one of the plethora of options under that category?
It's not in the AdminCP, but in the frontend (at the top right, below the navbar of this screenshot (https://vborg.vbsupport.ru/attachment.php?attachmentid=51211&d=1154030030)).
columbusgeek
01-05-2009, 06:01 PM
I am such a dork. I knew that but totally forgot about it.
Thanks so much for the help.
Digital Jedi
01-05-2009, 06:01 PM
I noticed upgrading erased the list of top contributors. Not a bid deal really, but thought I'd mention it.
bezibaerchen
01-05-2009, 06:23 PM
Is it possible, to get a full list of all comments made so far in ACP? Would be a lot easier to keep an eye on them.
RS_Jelle
01-05-2009, 07:22 PM
I noticed upgrading erased the list of top contributors. Not a bid deal really, but thought I'd mention it.
Also try the "Update Counters" link to empty the cache :p
7lanet
01-06-2009, 12:05 PM
please dear,
look tis post
https://vborg.vbsupport.ru/showpost.php?p=1691811&postcount=3149
RS_Jelle
01-07-2009, 10:31 AM
please dear,
look tis post
https://vborg.vbsupport.ru/showpost.php?p=1691811&postcount=3149
I'm sorry, but I don't have the time for this.
You can do this as well:
Go to your "AdminCP -> Languages & Phrases -> Download / Upload Languages" and select your language and DownloadsII as the product. When you downloaded the language backup, you can update DownloadsII safely and you can reimport the language backup afterwards.
But as far as I know, product updates aren't deleting your phrase translations normally ...
Neo_Angelo
01-07-2009, 12:23 PM
sorry to be a bother, i wish to change the Collapsed_category_collapsed.gif that is used for the download icon in the category selection bit. i can't seem to find it in any of the Downloads templates, unless i missed it somewhere. it seems to add my category icons. please see attached screeny for what i'm on about.
RS_Jelle
01-07-2009, 12:58 PM
sorry to be a bother, i wish to change the Collapsed_category_collapsed.gif that is used for the download icon in the category selection bit. i can't seem to find it in any of the Downloads templates, unless i missed it somewhere. it seems to add my category icons. please see attached screeny for what i'm on about.
It's in the ecdownloads_download_pic phrase ;)
columbusgeek
01-07-2009, 01:27 PM
where is the subcategories output stored?
i can see the variables been outputted in the td, but where those are coming from?
Its adding a <br> and wrapping the second line in an <i>
I also want to remove the sub categories text
ie Sub Categories:\
RS_Jelle
01-07-2009, 01:52 PM
where is the subcategories output stored?
i can see the variables been outputted in the td, but where those are coming from?
Its adding a <br> and wrapping the second line in an <i>
I also want to remove the sub categories text
ie Sub Categories:\
You can find it in /includes/class_downloads.php ;)
columbusgeek
01-07-2009, 10:40 PM
Thats did it, thank you sir.
Now, since we are on the endless questions train, are the sub categories unlimited or is nesting limited to 2? I did a 3rd level sub cat and it is showing up under the 2nd level for some reason.
RS_Jelle
01-08-2009, 07:20 AM
Thats did it, thank you sir.
Now, since we are on the endless questions train, are the sub categories unlimited or is nesting limited to 2? I did a 3rd level sub cat and it is showing up under the 2nd level for some reason.
All sub-cats will be shown, the level doesn't matter.
For example:
- Cat 1 (will show sub-cats 2, 3, 4)
-- Cat 2 (will show sub-cats 3, 4)
--- Cat 3 (will show sub-cat 4)
---- Cat 4
connectr
01-08-2009, 10:10 AM
hi jelle :)
is it possible to alter the system so that it only shows the immediate child sub categories, rather than all levels? having all levels displayed is confusing for the user and ends up being really cramped if there are lot of sub categories on the 3rd level. any help / suggestions would be most appreciated!
thanks,
chris
RS_Jelle
01-08-2009, 10:27 AM
hi jelle :)
is it possible to alter the system so that it only shows the immediate child sub categories, rather than all levels? having all levels displayed is confusing for the user and ends up being really cramped if there are lot of sub categories on the 3rd level. any help / suggestions would be most appreciated!
thanks,
chris
That's planned for v6 ;)
connectr
01-08-2009, 10:43 AM
aha :) i noticed on your demo that its running v6. do you have a rough estimate of when v6 will be available, as well as a changelog of what is coming? I dont mean to be a pain in the butt, i am just trying to guage whether i should wait for the new version, or whether its possible to mod the system to only show the immediate child..
thanks again for taking the time to reply!
cheers,
chris
columbusgeek
01-08-2009, 01:07 PM
Thanks for answering so many of these tough questions so quickly.
Sorry to bring up a old topic, but did you have any suggestions on this question I posted earlier (https://vborg.vbsupport.ru/showpost.php?p=1695743&postcount=3177) in the thread?
gtrts
01-08-2009, 01:19 PM
i uploaded a file which is named in Chinese,and it(the browser)just went blank,how to solve it?it‘s ok to upload english named files.
RS_Jelle
01-08-2009, 01:45 PM
aha :) i noticed on your demo that its running v6. do you have a rough estimate of when v6 will be available, as well as a changelog of what is coming? I dont mean to be a pain in the butt, i am just trying to guage whether i should wait for the new version, or whether its possible to mod the system to only show the immediate child..
thanks again for taking the time to reply!
cheers,
chris
It's mainly a full recode as v5 is a fork of the old ecDownloads v4.
New stuff: updated lay-out (front-end and AdminCP), report button, more advanced search, use of the quick reply for comments, ...
There's no ETA. Some parts aren't finished yet.
Thanks for answering so many of these tough questions so quickly.
Sorry to bring up a old topic, but did you have any suggestions on this question I posted earlier (https://vborg.vbsupport.ru/showpost.php?p=1695743&postcount=3177) in the thread?
Run this query:
UPDATE dl_main SET `downloads` = 0
(Don't forget to add your table prefix if necessary.)
i uploaded a file which is named in Chinese,and it(the browser)just went blank,how to solve it?it?s ok to upload english named files.
Hmm, I don't know. I will look into this after my exams. Pretty difficult to test it though :D
gtrts
01-08-2009, 01:47 PM
thanks alot, if you need a Chinese named file, i can give you one :)
connectr
01-08-2009, 03:07 PM
Hi Jelle,
Thanks for the update :) We've managed to find a way to rearrange things that will work for now and then later when its time for upgrade will just be a matter off rearranging things :)
Thanks again for taking the time to respond and have a super evening (or day ;0)
Cheers,
Chris
7lanet
01-08-2009, 03:46 PM
thanks ^_^
this product is Arabic
5.1.0
JohnChapman
01-08-2009, 04:02 PM
Ok, I must be a total moron...
I installed DownloadsII within days of setting up my forum last fall...it's been a dream... easy to use, easy to setup...and users were even using it ( a little).
However... yesterday, a user PMd me and said that uploads were reporting "Maximum Upload Limit Reached". It's the first file the user tried to upload that day, and the second he's ever attempted.
I also tried... and I get the same error... Downloading tells me I've exceeeded my daily limit.
Now I SWEAR there have been no setting changes. the DLII settings for my Administrator group is -1 down the line. The file I'm trying to upload (and download) is under 10k. The only change made to the forum settings since setup was going from 3.7.1 to 3.7.2 when that came out.
I have checked every setting I can find: DLII settings, Usergroup Settings, read the posts in here about how these problems are most commonly caused by settings at the host (which I had them check...goof with...and no change).
There are a grand total of 4 files in the file area totalling less than 35K.
I've got vbulletin v3.7.2 and DLII v5.0.8 and DLII Create threads v.1.0.2.
(Since my original post, I have upgraded to 5.1.0 and still the same problem...)
:confused: Alex, can I buy a clue for 100?
columbusgeek
01-08-2009, 04:19 PM
Run this query:
SQL Query: (how to run queries)
UPDATE dl_main SET `downloads` = 0
(Don't forget to add your table prefix if necessary.)
Of course that is the only table I didn't look in. :) Thanks.
Digital Jedi
01-08-2009, 05:22 PM
Also try the "Update Counters" link to empty the cache :p
Seems I didn't have myself setup with that permission. :X
JohnChapman
01-08-2009, 07:20 PM
Now I SWEAR there have been no setting changes. the DLII settings for my Administrator group is -1 down the line. The file I'm trying to upload (and download) is under 10k.
I have checked every setting I can find: DLII settings, Usergroup Settings, read the posts in here about how these problems are most commonly caused by settings at the host (which I had them check...goof with...and no change).
I've got vbulletin v3.7.2 and DLII v5.0.8 and DLII Create threads v.1.0.2.
(Since my original post, I have upgraded to 5.1.0 and still the same problem...)
Well apparently there were some settings I DIDN'T check :erm:... I am a member of several groups; I was only checking the Admin group. As it turns out, some really bad person had set the max settings in two of the groups to 0. :eek:
So... apparently the bit of code that looks at what rights you has doesn't use the "BEST" rules...but the "WORST". So... since I had Zero limits for number of uploads/downloads/ and file sizes in two of the usergroups I'm in, I wasn't allowed to do anything.
My User that "could upload" but "now can't", wasn't a member of one of the offending user groups when he uploaded the first time.
So... I'll admit... no trouble with the code, just a bad administrator:erm:... His beer ration will be reduced for the remainder of the week.
CyberRanger
01-08-2009, 07:45 PM
So... apparently the bit of code that looks at what rights you has doesn't use the "BEST" rules...but the "WORST". ...Correct, I think I coded this part and it really should be redone. In normal vb terms, I think a zero is used as "no restriction" but I went with -1. It sort of throws off how the permissions work. Like you said, instead of "Best" you get "Worst". Glad you found it.
rabidkevin
01-08-2009, 08:18 PM
I have a small question..
I have added a streaming flash MP3 player to my downloads page, as I only host .mp3 files.
http://www.eternalbeats.net/forums/downloads.php
The problem I have is that when people upload mixes via the Upload Form the mix is stored as just the file name in SQL. This prevents the streaming mp3 player from opening the file as I need a FULL URL such as http://www.eternalbeats.net/audio/mixes/mixname.mp3. Audio files which have been directly linked instead of uploaded with the web form work correctly in the streaming mp3 player.
What I would like to do is modify the add/edit page so all links in the SQL database have http://www.eternalbeats.net/audio/mixes proceeding the file name. Is that possible?
Thank you for any help in this huge customization I need :)
metalguy639
01-09-2009, 11:00 PM
Try putting this line in your downloads.php (after the other defines):
define('GET_EDIT_TEMPLATES', 'add,edit,file');
Worked for me thanks! :)
dholt
01-10-2009, 10:32 AM
How do I import a lot of mp3 file.
ok I changed files that can be uploaded permission and added mp3 to the sip rar bla bla
I transfered all the mp3 files into the download Dir
I went into the admin download/import added the location and then I get nothing
Is there a way to import or do I have to add each one one by one
Digital Jedi
01-10-2009, 10:37 AM
How do I import a lot of mp3 file.
ok I changed files that can be uploaded permission and added mp3 to the sip rar bla bla
I transfered all the mp3 files into the download Dir
I went into the admin download/import added the location and then I get nothing
Is there a way to import or do I have to add each one one by one
What do you mean, you get nothing exactly? You get no files listed, or the files don't import?
dholt
01-10-2009, 10:52 AM
It worked as I think I didn't have mp3 listed maybe Thanks for the fast reply jedi
Paul M
01-10-2009, 11:32 AM
Moved to 3.8 section.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.