What do you think of WP Vault? Do you find it useful? Not useful at all? Too buggy? Please provide any feedback you may have regarding the plug-in here.
If you find bugs in WP Vault, please report them here.
|
|
|
What do you think of WP Vault? Do you find it useful? Not useful at all? Too buggy? Please provide any feedback you may have regarding the plug-in here. If you find bugs in WP Vault, please report them here. |
I saw this on the wordpress plugin competition and was very impressed! I want to integrate a plugin like this with my web application and need to find a developer who can do that for me. I am willing to pay. I can also help promote your plugin from my website. Please email me and we can talk about it further!
Pretty awesome, but in version 0.7 I ran into some bugginess in the link manager, ranging from 404-ed Ajax requests to firefox crashes (on Ubuntu Linux). Trying to detach a file from a post, I found I couldn’t check the checkbox. There’s an error in the file js/wpv-post2file-table.js, there are two lines calling the javascript function togglePost2FileCheckbox, the 2nd is missing a parameter.
Anyway, very ambitious and impressive plugin.
Dotan,
Thank you for letting me know about the problem you encountered. I guess I still have a long way to go to make it stable for everyone.
My test was all on Windows, but I am still surprised that it gave you such trouble on Ubuntu since you were using Firefox.
I am just curious…does your blog exist at the root (i.e., www dot yoursite dot com) or in a directory (i.e., www dot yoursite dot com slash blogdir)?
Hi, can the upload directory be on a server other than the WordPress install server?
Hi Michael,
As of now, no. The files need to be on the same server as WP installation.
If this type of features are desired by many, I’ll look into it to see if it’s possible.
Yeah i would like to see that feature also Michael. Even if it means adding file details by hand.
4: “Michael” says:
August 7th, 2007 at 2:48 am
Hi, can the upload directory be on a server other than the WordPress install server?
Well, maybe I can add the ability to connect to another server through FTP and copy file over to the WP server…?
Hi,
Great plugin. I just installed it using WP mu with no problems. I uploaded a 5 mb flv file again with no probs. When I checked the folder i created it was in there, but the file name had changed and had lost the extension. It was originally video.flv and was renamed to UDT0XRMAG8 with no extension. I downloaded the file and added the extension flv and it worked fine but any idea why it does this?
Also, is there any upload limit, or is that dependent on the server upload limits?
Thx
Rob
Hi Rob,
I’ve designed the plugin, so that you shouldn’t have to directly access those files.
All files are renamed when saved, and are accessible through the WP Vault interface in admin screen (or from any post, if you linked the file to a post). From there, you should be able to download the file with original file name.
The encoded file names are kept in the database table, along with its file extensions, mime types, etc. WP Vault will not be able to find the file, if you had manually renamed it. And that really isn’t the intended usage of the software.
As for the upload limit, yes, it should be server dependent.
Hi
I have installed the new version 0.8 on WordPress mu. I have a problem with the File Path in the options. I get an error: Failed to update file path. What am I doing wrong?
That message indicate that the database table was not updated properly somehow.
As for the reason, it’s hard to say. It’s a simple update query on the database table that has returned FALSE to indicate that the update failed.
I am not certain if the version you tried being MU has anything to do with the failure. I have to look into it.
One question though: was the text box such as “file path” pre-populated with some value when you first got to the option screen for the first time, or were they all empty?
There was no value in the “file path” text box. No new tables were created in the database. What is the SQL commands that should have been run?
It seems that it is MU being a problem, it would be great though if I can make it work.
Thanx
Hi again, Wilna, thank you for checking back.
My guess is that the database user you use for your WordPress installation has no “create table” privilege.
I am not entirely sure how MU works differently compared to the regular WordPress, but if all MU account holders are pointing to the same database, I have a feeling that the admin would choose not allow this privilege, for security reason.
Unfortunately, the plug-in activation process doesn’t notify to you that the table creation didn’t occur successfully (which is BAD!). There were no good way to notify users of any error during the activation process that I could find.
Nonetheless, I am trying to address this for the next dot release, to at least let you know that the tables weren’t created successfully.
Also, I’ll have to see if I need to do anything different for MU…provided that you can create those tables.
I’m running WP 2.2.2, not MU, and am having the same problem with the tables not being created by 0.8.
Any ideas? Does it need a specific PHP version or MySQL version?
Off top of my head, I can’t think of any reasons other than the problem with database privilege.
Please re-check the WordPress uses to access MySQL and make sure that it has “create table” privilege (the same one used to install WordPress, since WordPress also creates tables).
Got it working. It appears that my web provider is run by idiots.
The failure is caused by the “collate” options for the fields, plus the “ENGINE…DEFAULT CHARSET…etc.” bit at the end of each CREATE line.
If I remove them all, voila, it works. My provider has told me it must be the version of MySQL they’re using, but its more recent than yours, so they just don’t understand how to configure it properly…
The rights for the MySQL user are fine - set to ALL rights for their respective database, so not that.
Thanks.
Oh, BTW did you realise your theme for this site is broken?
OK, the theme WAS broken when I posted that…
I may have worked out why we’re not getting a failure message back from this too…
if ($wpdb->query($install_sql) === FALSE) {
return FALSE;
}
In these lines in the install file, should there be 3 = signs? Or am I not up on my PHP properly?
Hi Graeme,
Thank you for infomation.
I am not sure if I can safely remove the lines “ENGINE…”. InnoDB engine runs slightly differently than MySQL’s standard MyISAM engine.
For the most things, they behaves the same, but InnoDB adds capability to “roll back” multiple transaction, which WP Vault uses.
I guess that may mean that your host doesn’t support InnoDB on their MySQL?
The implication is that in event that you encounter some error for some reasons, some data could remain on database that would not be kept, if you were using InnoDB, causing some unpredictable error (or not…really, I can’t predict).
As for the theme being broke, the hosting company was down last night for some reasons. It’s their fault! You must have had the partial load of page while it was still up.
And finally, in regards to “===”, this is a correct syntax in PHP. It means the values are equal both in data value and type.
This is an great plugin!! Can files be uploaded to the designated directory via FTP or do they have to be uploaded through the plugin interface?
Thanks for your hard work.
Hi Ruth,
The file needs to be uploaded through the interface, at least for now. I wanted to make the plug-in so that I don’t have to keep going back and forth between the browser and a FTP client (once installed, anyways).
I don’t advise manipulating files inside the Vault directory.
Hi Motoo,
I was hoping to try out your plug-in, however, I’m having trouble setting the path option.
my wp installation is in it’s own directory in my htdocs folder on the web server. i’ve created a directory for the plugin inside the wp-content folder where the default “uploads” folder is located, name “wpvault” and I’ve set it to 777 access. Perhaps I’m confused as to what constitutes the full path needed in the wp vault option control panel. the path i’m trying to use is:
/htdocs/blog/wp-content/wpvault
the plugin gives an error saying the directory does not exist and then repopulates the directory field with this:
/data/…/wp-content/plugins/wp-vault/PLEASE.ENTER.A.PATH/
(shortened)
hopefully, I’m missing something obvious and it’s just my inexperience with working on our server that’s the problem. I’d appreciate any help you could provide.
Thanks for your time and your work on this software. It sound like a very useful and popular plugin.
Christopher
Motoo,
I seem to have stumbled across the solution inadvertently. when I appended the directory to the path the path that was being populated in the error message, it the path updated successfully. I’m not sure how i would have come up with that path on my own, but I guess had I created the file directory in the same folder as the wp-vault plugin, I could simply have replaced the “/PLEASE.ENTER.A.PATH” with the name of the folder and it would have worked.
Looking forward to trying out your plugin.
Christopher
Hi Christopher, I am glad you got it working. I am assuming that you got it working by entering something like this?
/data/9/0/95/47/584047/user/595933/htdocs/blog/wp-content/wpvault
The true path isn’t always clear to shared host user, unfortunately, and I hoped that pre-populating the text field with the path to wp-vault would help figuring that out.
Hi.
I just installed this script…
After I upload a file, how can I find the link that allows the file to be downloaded by a visitor?
Thanks
Hi Jim,
If you want those files to be available by visitors to your site, you need to link the file to a post or a page. Otherwise, the files are not available to public (thus, “Vault” naming).
I hope this helps.
Hi,
I’m having trouble with the installation. When I try to acces “wpv-option.php” I get an Error that states “You do not have sufficient permissions to access this page.”
My blog is a bit heavy on the plugin side. For example I have the Role Manager plugin, but I’ve added new capabilities that should enable access to the options.
Any clues to what could cause this and what could I do to fix it?
Hi Ciryon,
WP Vault introduces several custom privileges which it assign to users, according to the built-in role (”administrator”, “editor”, “author”, etc). Accessing the option page requires “wpv_edit_options” privilege, which is assigned to “administrator” when the page loads. I don’t know much about the Role Manager plugin, but I am guessing it only works with built-in privileges and create now Roles based on those.
If you have edited your role to be anything other than “administrator,” you wouldn’t be able to access the WP Vault option page.
The similar behavior may occur with other pages that requires privileges, such as FTP Get.
This is my educated guess, but if I am write, if you use the standard “administrator” access, everything should be accessible as they should be.
If you are familiar with PHP, you can look at wp-vault/lib/wpv-function.php and look for AssignRoles() function to see how privileges are currently assigned to roles.
Thanks for the help! I only had to manually add the “wpv_edit_options” privilege in role manager, and it works perfectly. Great plugin!
Hi Ciryon,
I am glad you were able to resolve the problem. I hope you find it useful. More bug fix and feature additions are coming soon…
Hi,
Just installed vault plug-in. Its pop-up does not work properly either for latest IE7 and Firefox 2.0.0.7.
See my testing site with two thumb nails shown at
http://www.nkkhoo.com/myblog/
Bugs found are
1. No scrolling down button for both browsers.
2. Pop-up cannot be closed for forefox. The page is hang and dead.
Waiting for reply ASAP.
Regards,
Thank you letting me know of issue. The problem seems to be that the “gray out” is somehow on top of the images.
I have been able to re-create the problem. Apparently there is some kind of conflict with the theme that you use, which causes the problem you are experiencing.
As for scroll button not being available, that is on purpose. The displayed images are draggable (when the bug you reported is fixed), so you can see the hidden area, if there is any.
Hi nkkhoo,
Please download WP Vault version 0.8.6.2, which should address and (hopefully) fix the problem you are experiencing. There was a conflict between code in the theme you are using and WP Vault.
Hello,
I love this plugin! One thing I would like to do is have certain people be able to edit any file in the vault without giving them too many rights to the rest of the site. Is that possible? Thanks
Hi Gabe, I am glad to know that you find WP Vault useful.
As for your question regarding giving certain capabilities to particular user, WP Vault doesn’t have the built-in means to do that.
However, WordPress Role Manager plugin can give you that functionality. You can find it here:
http://sourceforge.net/projects/role-manager/
Once activated, go to edit individual user, and add capability you want for the user. Anything WP Vault related are preceded by “Wpv.”
So for example, if you want to enable the user to be able to edit any files, you’d check “Wpv Edit All Files” check box.
Very nice. I didn’t think about it from that angle. It works perfectly! Thanks!
Hi,
I’m using 0.8.6.3 on WP2.3, everything seems ok, I can manage files the vault, and attach files to posts. Sometimes the preview works, and I see the icons, but sometimes not, and when I then publish the post, no WP-Vault files are displayed. Any ideas?
Hi YikYak,
Well, it is possible that images are not being generated and loaded quickly enough initially. Have you tried refreshing the page after publishing?
Also, if you haven’t already, enabling caching may help things a little.
Is there any ways I can take a look at your site?
Hi,
I figured it out, I was not properly following the correct (did I miss any documentation on this in my haste to try the plugin) sequence of events to do with creating the post, I kept being drawn to the text links “edit this post / preview ” options, and I had not finished the job of the last panel “display options”, I looked at this panel, and just thought I’d have the default settings so I did not scroll down to the publish/update bit, where you have to “publish” the vault attachments. So they stayed in draft status when I published the post.
Even with the wp-vault part not published, the post “edit this post / preview” link would work, the files and icons would show if the post itself was draft, and would then be lost of the post itself was published, that’s where I got confused.
Sorry if I didn’t explain it very well. Plugin working for me now. Thanks.
Hi Yikyak,
I am glad that it worked for you.
It seems evident that the use of WP Vault isn’t as straight forward as I hoped. I guess I’ll need to start working on documentations or tutorials…
Is there a way to link files to categories in addition to tags? I am looking for a solution that will allow me to upload files, assign them to one or more categories and then show a listing of these files on the category page. Would that be possible with WP Vault?
Hi ha,
The tags in WP Vault is separate from built-in tags in WordPress 2.3 series. I didn’t see the pre-release of 2.3, so I implemented that without knowing that 2.3 was going to have tagging.
It doesn’t sound like WP Vault can exactly do what you are trying to do. WP Vault allows you to link files to posts or pages, not categories. But perhaps there are sort of way around it.
You could assign posts categories, then link one image to each post. And you can make the thumbnail image size to fill the width of your post. I am not sure if this would allow for the effect you are looking for…
Hi,
Is there a way to attach an image to a post at its normal size and assign a link to it? Instead of having a thumbnail?
Thanx
Hi Joe,
You can adjust the thumbnail size at display option screen in Link Manager to whatever size you wish. It’ll still be clickable, but it would be large enough for viewing without clicking, if you set the size large enough.
but you wouldnt be able to link it to wherever you wanted it to right? like another page or category?
Hi Joe,
No, you can’t. WP Vault uses “Hot linking” protection, which prevents that.
Maybe I need to think about this a little…
Thats cool. I just find it so hard to post an image in a post. It just doesnt work using 2.3.1 so I have been looking for plugins. Great plugin just not what i need at the moment.
Hi!
Is there any way to get this working with PodPress?
PodPress wants a directory off me, but of course WP Vault doesn’t exactly “have” directory (it stores files in its own way).
Would be great to get them both working!
Many thanks!
Hi Ed,
I haven’t looked into possibility of making WP Vault work with another plugin, like PodPress. I have to see if it’s feasible to make them work together…
Hi there
I’m making a website based on the wordpress database and admin-features, but I’m building the other stuff my self. That means I’m programming my own files to communicate with the data from wordpress and so on.
Your plugin would be perfect for my use, if it hadn’t renamed the files and changed the file extension after upload
You see, I need just this type of plugin .. a plugin that links images to certain posts and stores the linkage in the database.
Can you give me a hint as to what I need to change in your code so that the files do not get renamed and so on after upload, and then allow me to point to the real image-file by URL without the need for some real h4x javascript or PHP to decode the filenames?
Thanks a million dude
Hi Eirik,
Wow…that’s a tough question.
I designed the WP Vault the idea of keeping the file safely on server from the ground-up (thus, naming “Vault”). I wanted the way to either keep files safely or to distribute in controlled fashion.
So I’d imagine changing WP Vault to the way you envision would be no easy task.
Files are renamed whenever files are stored to the server though the plug-in. The original file name and encrypted file name are both stored in database table. But even if you change this part of coding to not change file name, WP Vault still uses PHP coding to find and link to files, so it doesn’t really solve any problem for you.
One thing I could do is to add an option to disable hot link protection, which would allow you to make link to files (though not direct link like you would like).
Can you tell me why renaming files or not having direct link to images would be a problem to your task? I guess I am having trouble getting the whole picture.
Using Word Press 2.3 and Vault 0.8.6.4 I notice that when trying to upload an image file with a width greater than 510 or a height geater than 650 the upload will fail. It doesn’t seem to mater what the file size is.
With IE6 the upload simply stalls, then times out with no results, or open a error page. With FireFox it opens a dialog box asking if I want to save admin.php.
Ideas? Suggestions?
Well, the problem lies in that I’m writing my own PHP-code for getting data from the Wordpress-database. When the files get renamed there is no way for me to write a code that looks in the database, gets the filename and path for all images linked to an article, and then locates the image on server .. all it finds is encoded files.
Could you perhaps help me with a PHP-script or snippet that can decode the files and display them as images?
Eirik,
File themselves are not encoded at all…just file names.
Anyways, the first thing seems to be to remove the hot link protection. To make that happen, you could try hacking WP Vault. Open /lib/wpv-function.php and locate GetHashCode(). Replace it with following:
function GetHashCode() { return “”; }
Then theoretically, you should be able to access your files this way from anywhere, once files are linked to a post:
/?wpv_file_id=137&post_id=1&file_mode=default&hash=
I haven’t tried this hack myself, so I don’t know if it’ll work 100%…but would this help?
Hi D Hall,
It sounds like there may be some bug in upload routine. I have not encountered the issue (though I was pretty sure I uploaded files larger than that). I’ll check it out. Thank you for reporting.
Edit: I was able to upload a file 1280 x 800 with no problem to this site… I wonder if there is any difference in server settings…?
Hmm, gonna try that hack as soon as I have time:) Thanks mate!
However, wouldn’t it be “cleaner” and possibly easier (in the long run) to just bypass the part of the upload-phase in the script that renames the files? Thus resulting in uploading the files with the filename intact.
Only problem I can see from this is duplicate data-entry in the database for the images where the original filename is listed again in the attribute meant for holding the encoded filename.
By the way, love the fast response from ya
PS! If it would take you a long time to tell me what to do and so on, it might just be enough if you tell me which of the files that does the encoding. I may work out what to do myself by studying the source code.
Cheers,
Eirik
Eirik,
You can look at files, wpv-file-upload.php, wpv-http-get.php, and wpv-ftp-get.php. Specifically, WpvUtils::GetUniqueStoredName() in /lib/wpv-function.php does the name encoding.
Even if we did manage to not encode the file name, WP Vault’s mechanism still requires you to access files using wpv-file-handler.php. That is, unless you make the file storage directory web accessible. Then all files you upload will be accessbile; not just files you publish.
Have looked at the code somewhat and I think I’ve been attacking the problem from a too complicated point. My problem will be solved easily as long as the file is uploaded to the server with the file-extension intact.
I noticed this function:
WpvUtils::RemoveFileExtension();
Is there an easy way to skip this step?
Then I can assemble the filename from the database easily by just combining the stored_name variable and the file_ext variable from the database in my own code. This way, if the file is stored to the server with the original extension, thus beeing a valid .jpg or .gif (etc) - the problem is solved
Hi Eirik,
Well, to keep add the extension to stored file name, you can try -
At line 116 in wpv-file-upload.php…
Replace:
$stored_name = WpvUtils::GetUniqueStoredName(WpvUtils::GetStoragePath());
With:
$stored_name = WpvUtils::GetUniqueStoredName(WpvUtils::GetStoragePath()) . “.” . $file_ext;
If you intend to use FTP and HTTP, you’d need to make similar changes to wpv-ftp-get.php and wpv-http-get.php.
I am still not entirely sure why you need to bypass the built-in file handler, which sets the mime type based on original file extension before sending a file.
Hi,
One of my registered readers (sorry, the blog is behind https) has noticed that when he clicks on a jpg vault attachment, he gets a black pop-up that he is able to move and close, but he cannot see or download the actual jpg in or from the pop up.
He’s using Firefox on Vista, but reports the same issue on Knoppix as well. pdfs download fine for him.
I cannot recreate the jpg issue (no Vista), has anyone else had any similar problems?
Hi I installed your plugin and I really like it. I am replacing using coppermine with your plugin. One issue I ran into is I want to protect a post or a page and display photos only if they entere a password but when I protect the post with a password what happens is I am unable to see the text of the post ( as it is protected) but the photos linked to the post still display! I don’t want them to display unless the proper password is entered. Any suggestions? Thanks!
Hi YikYak,
Unfortunately, I currently don’t have access to Vista nor Knoppix to test that… That’s strange. I can’t imagine that Firefox is doing something that different for different OSs.
Is he able to see the Screen Shot page of this site, I wonder…?
Hi David,
Thanks for reporting. I didn’t think to test that situation. I’ll look into fixing that for the next revision.
Motoo - your plug-in looks like it could be very useful, but unfortunately I can’t get it to work. I am certain it has something to do with my ftp access. The blog is hosted by the same company that hosts my website. I have installed the plug-in and activated it. From the WordPress side, everything seems to be working. I upload the files and I can see them in the Vault. I can even link them to a post. If I look at my ftp site though, the uploaded files don’t exist. When I get out of the admin panel and go to view the post with the linked files I never get to the post. Nowhere in the file upload process was I asked for the password to the FTP site.
Can you help?
Hi John,
Ok, I need to organize what’s going on here…
Since you got to upload screen, I assume that you have set up the WP Vault directory on your server correctly.
Since you saw the thumbnail of the files in admin screen after uploads, I assume that the uploading is working correctly, and files should be written to your server at the directory specified in option.
Now, keep it in mind, files are all renamed on server with random characters. So if you do search on your server using file name, you won’t find it. What you’d see is under WP Vault directory specified, files with random file names.
Also, when you say, “I never get to the post,” what do you exactly mean? Does the WordPress show some kind of error (related to WP Vault)? It doesn’t show the post or page at all? You can see the post or page itself, but you can’t see the linked files?
WP Vault would not ask for FTP user ID and password, if you use the normal upload (from your hard drive). Only if you try to get file through “FTP Get,” you’ll need those information.
Motoo - thanks for your quick response.
I am not sure I have my WP-Vault directory set up correctly or not. I don’t have server access other than through http://FTP. I have a file in my directory to upload to and it is set to 777 access. I seem to be able to upload to this, though I am not sure how it is finding this folder. When I try and set my default file location in Options it does not accept or recognize the file directory with either http://www.mysite.com/blog/thepulse/files or the URL i get if I select “Copy file URL” from my FTP client. That address is ftp://fp4.adhost.com/blog/thepulse/files. It does accept D:/Inetpub/wwwroot/mysite/blog/thepulse/files/, which I don’t understand at all. With that option saved however, I am able to upload files and I can see those files on my ftp site in the “files” folder along with an index php file. The files themselves are in a folder I did not create called wp-vault-580b59d434cb8702e4e496be742b9902 within the “files” folder. There is an index php file within this folder in addition to the one located at “files.” The file names are not as I named them, which is as expected, but they are the files I uploaded.
Yes, the files have uploaded and I can see them in the Vault admin screens (I see them in the Vault and can select them to link to a post in the Link Manager).
Yes - I see the files on my FTP site, renamed with random characters. I’ve copied the files from the FTP site to my desktop and saved them with the proper file extensions - they are the files I uploaded through the Vault File Upload function.
So this seems to be where the heart of the problem is. I can go to the link manager and link the files I previously uploaded to a post. The post appears as it should in the preview window on the Manage Post screen (I see the thumbnails of the files). The post also looks as it should if I click on “preview” from the Link Manager screen. Now, if I go to “view site” and navigate to the post I linked the files to, there are no linked files. I see the files at:
http://www.mysite.com/blog/the.....eview=true
I don’t see the files at:
http://www.mysite.com/blog/thepulse/?p=170
I seem to be able to upload to the directory. Access is set to 777. I hope that helps. I contacted my host and they were not much help as far as supporting WordPress plug-ins, but as I am able to write to the directory I’m not sure their support is needed. I appreciate any help you can provide.
Thanks - John
Hi John, thank you for very, very detailed description. This is always helpful when I try to troubleshoot.
It looks like you have set up the file path for WP Vault correctly. The fact that the files are being written proves that.
The directory name with random name is generated by WP Vault for security reason…to make it hard to get to the files directly.
Anyways, I have one question to ask before going further: Did you “publish?”
I don’t mean your post or page. I mean the linked images. To publish, you need to go to Link Manager->Display Option. Otherwise, thumbnails are available only in preview mode.
Solid plugin, and a welcome addition to WP. I’ve noticed that it doesn’t play nicely with wp-super-cache (I’m assuming wp-cache as well). At first the links work fine, but after the page has been cached for awhile, they expire. Obviously enough the problem is that the cached pages are running into the hotlink protection when it cycles onward - is there perhaps room to work around this?
Hi Aquaricat,
I haven’t tested WP Vault with wp-super-cache or wp-cache. I have coded it to take advantage of WP’s built-in cache mechanism though…
I’d have to look into getting around it, but meanwhile, if the hotlink is causing this issue, you could manually try turning it off and see if it works out for you.
To do that, open /lib/wpv-function.php and locate GetHashCode(). Replace it with following:
function GetHashCode() { return “”; }
Let me know if that helps. And thank you for letting me know!
No good - after about an hour it still times out the link, and with the tweaked code I don’t even get a ‘file not available’ image in place of the thumbnail.
Hi Aquaricat,
I guess I have to look into a way around it. Since I haven’t used those plug-ins myself, I don’t exactly know what needs to be done, but I can see that hot link protection would cause problems. So basically, I have to add a way of disable the protection, I guess.
Probably that’d be the easiest (comparatively) - and it’d allow for users concerned with CPU time (read: shared hosters) an option for a lighter weight script. Lemmie know if there’s anything you need checked on my side - glad to help out as best I can. Thanks for the update. ^^
Hi Aquaricat,
Well, I am using shared host, and with WordPress’s built-in cache turned on, and I think things runs ok (or maybe because my site don’t get that many hits).
Nonetheless, I think WP Cache/Super Cache are popular enough plugin that they are worth some attention, so I’ll at least see what I can do about disabling the hot link protection.
Oh no - heh, please don’t misunderstand me: I’m a shared hoster myself. I meant in more general terms - the hashing function adds a little overhead. Not a huge amount, but enough that some might well like the option to forgo it. Some shared hosters are a bit less forgiving of resource usage too - again, not all, but some. That’s all I meant.
As I’ve said, I think that the Vault is a great addition to WP, and very solidly built.
Hi, thanks for this great plugin for WP
I have some questions, please help me~~~
1. How to add new MIME images ?
I have tried to modify “wpv-file-handler.php”
repeat line 294 to 296, and change it to new mime and its image
but it doesn’t work, just show the error image: Not found or…
2. How to change the unit of file size from bytes to megabytes ?
because it’s hard for me to know how large the file is.
3. Do WPV support the file name in other language ?
I find if the name isn’t in English, it will be fail during uploading.
Thanx
Hi KoCoMo,
1, I am not sure why adding new MIME type wouldn’t work. Provided that you specify the correct MIME string and an existing thumbnail image path, that should work…
2, There is no option to do that currently. But I see what you are saying. That’d be for future update.
3, I guess you found me a bug! I am fairly sure that you can rename the files once they are on server, but I guess there is a bug with upload routine.
Hi. Thanks for the great plugin. I am using it on my website http://eaa.ph/download It works fine on my computer. I am using Ubuntu with a firefox browser. I tested it on other PC Windows XP with a browser ie7, i cannot download the files. Clients are calling they cant download the files. Any inputs? Thank you so much.
Hi Culver,
I happened to have had the access to IE6, so I tried there, and things worked ok. One thing I did notice is that in some instances, the images didn’t load fast enough, so “No image found or not allowed” message appeared (I guess it’s a timing bug..I’ll have to think about this one), but reloading the page showed the correct images. Once I got the images, downloading seems to work fine.
I’ll try it with IE7 as well, just to be sure. But meantime, if you can get as much information about “not being able to download,” I’d appreciate it. It’s very hard to debug out of the generic, “It doesn’t work” report…
Hi ,
I have install WP Vault. But seems it is not fully function. I wonder if it is becuase I do something wrong during the installation. Can you help me?
Here is the symptom :
URL : http://playgroundhk.com
You may register a new user name. Default role is Authur and you can write something.
- When edit a post. The “Linked WP Vault File” applet not show up.
- Click the link “Link files to this post with WP Vault”
— The 4 button under “Vault” not working.
When I click it. Whole screen gray out and say “Plase Wait…” then stuck here.
— Link Manager / File Upload / Tag manager work fine
Hi Quncy,
I just went to your site. It seems you successfully added an image to a post. In regards to your comment:
1, “Linked WP Vault File” only shows up if a post or a page is saved once. If it’s new, it does not appear (it doesn’t make sense for it to appear for yet non-existent post or page).
2, Are you talking about “Edit Files”, “Assign Tags”, “Unassign Tags”, and “Delete Files” buttons?
I’ll look into the problem you are having..
Hi,
Should I call you Mr. Motoo ?
I post a message in my site. With 3 printscreen attached. Hope that explain the problem I facing.
Thx very much for your help!
Quncy
Hi
I am able to fix the problem by comment out the following line in apache2.conf…..
# AddDefaultCharset zh-TW
Seems it is cause by the way IE deal with charater set in AJAX.
Anyway, really appeciate your quick response.
Thx!
Quncy
Hi Quncy,
Thank you for letting me know. I probably wouldn’t have been able to figure that one out…
Great detective work! I really appreciate it.
Just got WP-Vault installed and it looks impressive. I have used it to upload some files but I can’t find where they are stored on the site server.
Where does vault store files?
When I link a file it links only to the page
not to links imbedded in the page.
Looks like this will be useful on the road once I get the hang of it.
Thanks Much
Pen Master
Hi Gary,
All files are stored in the directory, specified in Vault->Option. WP Vault creates a sub directory under it, where all files are stored.
All file names are encrypted (though file contents are not), and the original file names are retained only within WP Vault database.
I went with this design, rather than simply storing the file as is, hopefully for better security of files (thus, the name, “Vault”), while retaining easy way to attach files to posts or pages using GUI only.
Theoretically you should almost never have to look at the raw file structure…or at least that was the intention of the design.
Hi,
Really like your plug-in!
But … any idea why the linked documents also appear in the sidebar in additition to below an article?
Check here:
http://app.o-festivalen.com/wp.....h_lang/en/
Have tried to position the documents at right and float right. Same problem, but when positioning right the icon in the sidebar goes at top of menu instead of below.
Regards,
Jo Inge
Hi Jo Inge,
I have no idea why that’s happening…I’ve never seen that before. I suspect it’s because of how your skin is written, but I am not certain.
I am going to send you an email asking you for copy of the skin you use, so I can analyze it, if that’s ok with you.
Of course thats ok! Theme delivered by email…
Looking forward to any possible sollution.
Thanks for quick reply,
Jo Inge
Just installed the new version with the fix for the password protected page. Works great! Thanks Motoo!
Hello Motoo,
using your plugin with great success. I’ve one small problem: multiple file upload doesn’t work with certain size of zip files. (Worked with pdfs…)
Tried to upload via direct ftp into the vault’s dirctory but then no option to rescan the content of that directory. Is there any solution?
Hi XJS,
Can you tell me the size of zip files that failed when uploading? Were PDF files the same size as zip files you tried uploading?
Also, there may be upper limit to the total size of files that can be uploaded, set by host. I didn’t implement any file size limitation.
There is no direct rescanning of the vault directory.
This is a bit of a long way around, but you could try uploading your file to somewhere using FTP, then use “FTP Get” to put the file into WP Vault by connecting to FTP server where you uploaded the file.
How to make a complete unistall this plugin?
To make the plug-in go away completely:
1, Disable the plug-in from the admin menu.
2, Delete all database tables where the name contain “wpv”.
3, Delete the file storage directory you specified when you installed WP Vault (if you didn’t do this, then you don’t have to worry).
4, Delete the plug-in from your server.
fixing problems in the arenas. gold wowyrse of Farstriders suggested the creation of a minor league field with reduced rewards to help players get gold wow The oginal poster listed several advantages of such a system.HDRO gold A minor league for PvP might discourage point and team selling, persistent in the field.lecteur mp3 It would also be bracketed with folks who give them more of a challenge.level wowThere would be disadvantages to such a system.lord of rings online gold . it would require the development of a new system of field reqards.lotro gold lotro gold Players might also miss out by not existence healthy to enjoy PvP with their friends at different levels.then again. mp3 you can’t turn Level 70 and immediately expect to be invited to a Negroid Temple Raid. mp3Back in my Utopia days. mp3 there were two worlds acquirable. mp3 the World of Legends and the Battlefields. mp3 mp4 player World of Legends was a more relaxed play where many people started and then they would be moved up to the Battlefields if their kingdom was among the top finishers. mp3 player I could see something similar going on in arenas. mp3 player I hate to see players driven off from PvP because of the perception of futility. mp3 player Some posters mentioned that ratings beneath 1500 qualify as the minor leagues. mp3 player I know that a lot of our readers refrain the arenas nudity. mp3 player If there was a more training-oriented option for the arenas. mp3 player would you consider it. mp3 players And for readers that love the arenas. would the concept of leagues number to you.
Fantastic work! I love your plugin. Just to help any of your customers if they wish to keep the real filename & extension, the changes must occur in wpv-file-upload.php, wpv-http-get.php, and wpv-ftp-get.php (as stated above) where GetUniqueStoredName() is called. Change: $stored_name =WpvUtils::GetUniqueStoredName(WpvUtils::GetStoragePath()); TO: $stored_name = $file_name; Also, comment-out the call to RemoveFileExtension() like thus: # kmcc eliminate this…$file_name = WpvUtils::RemoveFileExtension($file_name); Works great! However, upon download, the extension is appended again, so foo.php becomes foo.php.php - I’ll let you know where to fix that shortly. The reason for retaining the real filename is because some of us already have good security on our servers and don’t need the additional help, so the hashed name becomes unecessary, and actually a problem if in fact you want to hot-link. But keep up the good work, dude! (PS: you also have to change GetHashCode() as described above.)
This plugin is brilliant. Multiple file upload and linking saves loads of effort. I know it’s a long shot but is there any chance it’ll be useable higher than 2.3.3? I’m stumped due to the broken multi-file uploader in 2.5.1+. This works great in all respects except that in Firefox 2+ and even chrome, the browser hits a full stop when you click on an uploaded pdf file. IE works every time, even v8 beta 2. What are the chances of a 2.5.1+ release?
Very nice plugin. But I have a strange issue:
Sometimes a can’t download the files from the vault. When I hover over the file and the popup appears and I click download it directs me to the file-location instead of opening the download dialogue box.
the file-location that I’m directed to looks like this: http://www.domain.com/?wpv_fil.....00f36cf6c2 Other times I can actualy download. It often helps to refresh the vault page a few times. Do you know if maybe I did something wrong? I’m using WP 2.3.2
the problem appears in both FF3 and IE7
I’m on Win XP SP3 CHeers in advance for your reply and again: You created a very usefull plugin. Bram.
Hi Bram,
Is when this happens, is it for a particular file type, or the file type doesn’t matter?
Hi!
Thank you, Motoo, for a great plugin. I was wondering…
1) Is it possible to sort the archives by file type? Grouping them by file type, with a title (i.e: like “Documents” followed by txts and docs) would be great! I’m thinking of something old fashioned, like categories or maybe having the possibility to add more than one table, so you can add your own formatting directly on the page or post could work… I don’t know…
2) Is there any way to keep the image thumbnails when you change the action to “download” when clicked?
Thank you for your help!
Very useful plugin and easy to use. Still I have the following problem…
I uploaded files using WP Vault and all is ok. The problem comes in when I try to backup the files. I cannot get them down using FTP client, nor the file manger hosting admin panel.
I did dig into it and the problem is that the plugin sets chmod to 0600 this way the only user that can access the files is the user that has uploaded them - which in my case is the Apache user which is another user than ftp user. I understand that you did it this way because of security reasons but in my case I cannot backup my files (cannot download them using FTP). I cannot even read those files as I’m not the owner of the files and I don’t have the rights to read them.
So there are a few ways of fixing this problem:
1) provide a tool that will backup those files
2) hack into the upload php file and set chmod to a desired value
3) provide an option in “Vault Options” to set your own permissions
… still for these 2 points… for the previously uploaded files I must create a php script that will change their chmod
4) provide a script to set the permissions to all files to a specified value, to be called when needed.
Anyway… is a good plugin and I’m waiting for a feedback on this and regarding the response I’ll see what I can do further.
Thank you!
Where is localization possibility?
Thanks for making this great plugin!
I have a suggestion for a future version - Add the ability to Email a file to someone (probably best if located next to download link). Additionally, other share methods can be added if you feel inclined, but email support would be the best share method to spend time on building.
Hello Motoo!
Wp vault is superb!
I have linked one of the files to a post to be available to users for download. However I would like to change the Image used for the files. Is there anyways that this can be done?
Thanks!
I opine that to get the loan from banks you ought to present a great motivation. But, once I have got a bank loan, just because I was willing to buy a bike.
The mortgage loans are essential for guys, which are willing to organize their own organization. In fact, that is very comfortable to get a financial loan.