Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsRepositoryRepositoryCannot upload files!Cannot upload files!
Previous
 
Next
New Post
4/25/2006 11:03 AM
 

Well, it turns out that it isn't working quite right yet...

1. In the modules that used to be the GoodDogs version, no matter what I set I cannot get a particular security role to be able to "edit" an exiting repository entry.  The little pencil shows up for administrators, but not for anyone else.

2. In the modules that used to be the GoodDogs version, when "uploading" a file, the "File" option is not there, the "Image" option IS there, but the "File" option is replaced with a "Resource URL" option instead.  Thus, you can't upload anything new.

3. When going in to configure the module settings, the manual states that there should be options for "Folder for Approved Files", "Folder for Unapproved Files", and "Folder for Anonymous Files".  These options are not there.

Did I screw it up that badly?

 

 
New Post
4/25/2006 11:52 AM
 

Hey Dan,
No :) you didn't screw it up badly at all...

1. the pencil logic goes like this .. if you're an administrator, you get pencils for everything. If you are logged in, but not an administrator, you get pencils ONLY on the individual items that were uploaded using your userid ( ie: your items ). No one other than a true administrator can edit all items.

2. In the old days (Gooddogs Repository) there used to be a single input field for uploading an item and you could either put a physical file in there, or a URL depending on the value of a radio button. The logic behind that was complicated and error prone, especially if you changed the settings after some items had been uploaded. In the new days (DotNetNuke Repository) there are 2 separate input fields, [FILE] and [URL]. This prevents you from mixing and matching physical files and URLs within the same Repository. You can look at the default template for an example of a Repository that provides physical uploads, and the directory template for an example of a Repository that provides a collection of URLs.

3. The ability to set the physical location on the server where files are stored in a 'host' only function. Log in using the host account and you'll see those settings fields.

 
New Post
4/26/2006 9:43 AM
 

Okay, that makes sense.  I'm going to have to read the documentation cover-to-cover to see what else I missed, as skimming through it didn't divulge that information.

1.  Once I got the right template up there where they could upload again, the newly uploaded files had the pencil icon available to them.  The previous ones they had uploaded still don't allow editing.  I'm assuming the database has a display name entered instead of username (or something like that).  In any case, this limitation is going to be a pain.  Is there a way you can allow a security role to edit existing repository entries?

2.  I switched it to the default template, then had them try uploading.  There was still a "Resource URL" option.  So, I switched it to the Nifty temple, and the file upload box showed up.  Later, I ran some tests on another portal, and it was working like it was supposed to.  So I went back to the original Repository and switched it back to the default template.  This time it worked... Go figure....

3.  Cool, that worked, wasn't looking for it there!

Now if I could get all the other DNNDownload modules converted, I'd be set.  You sent me a script to move them over awhile back, but I never used it.  Testing of the GoodDogs Repository at the time showed some limititations and I was instructed not to move them until the Repository was more evolved (which I think it is ready now).

 

 
New Post
4/26/2006 10:07 AM
 

#2 ... as part of the upgrade from the Gooddogs version to the DotNetNuke version, the column containing the user who uploaded the item was changed from storing the UserName to the UserID. So, take a look at the grmRepositoryObjects table and browse the CreatedByUser column. If you see usernames there you should change them to the numeric UserID for that user account. The upgrade script should have done that, but for some reason on your installation, the upgrade script just didn't work.

here's a script which should work...


update {databaseOwner}{objectQualifier}grmRepositoryObjects set CreatedByUser = (select userid from {databaseOwner}{objectQualifier}users where username= {databaseOwner}{objectQualifier}grmRepositoryObjects.CreatedByUser)

 
New Post
4/26/2006 10:08 AM
 
Sorry, in the previous post I meant #1 ...  to address the issue of pencils not showing up for users who have uploaded items previously
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsRepositoryRepositoryCannot upload files!Cannot upload files!


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out