Fred_CA
Forum Replies Created
-
Forum: Plugins
In reply to: [BuddyDrive] Show edit screen after uploadModify buddydrive-views.min.js
Find : ` // Try to find the best place to inject the uploaded file
if ( file.get( ‘file_id’ ) && ! _.isUndefined( buddydrive.Uploader ) ) {
position = _.indexOf( _.pluck( buddydrive.Uploader.filesQueue.models, ‘id’ ), file.get( ‘file_id’ ) );
if ( -1 !== position ) {
options = { at: position };
}`
and add
window.location = '#edit/'+file.get( 'id' );
just afterWorks fine
Forum: Plugins
In reply to: [BuddyDrive] Rename Tab nameYes you can. I answered this question in a support question before ( nearly 1 year ago)
Forum: Plugins
In reply to: [BuddyDrive] Add a unique id to the url instead of the file nameIn fact It’s easy but I search a lot.
Here is a simple way to add it :
'post_name' => wp_generate_password( 12, false ),On line 194 of buddydrive-item_classes.php
Because by default wordpress add the title to the name and the plugin use the name to link. So that change only the name.It’s work great and add a great privacy sharing option for the URL.
- This reply was modified 9 years, 4 months ago by Fred_CA.
Forum: Plugins
In reply to: [BuddyDrive] Change Buddydrive name on buddypress menuTo Change the name of BuddyDrive in the menus you need to change the title and the permalink in the page created by the plugin.
Then update your permalink in settings and Done.Forum: Plugins
In reply to: [BuddyDrive] Under New ManagementHi, I’ll use it for a university repository, and a great feature could be a versioning option. Student could upload a new revision of the document and could see the revision history with the file description. That could be awesome ! 🙂
I’m more a project manager than a developer but I offer you my help if needed for the development of this plugin.