This page is a wiki. Please login or create an account to begin editing.


8 posts / 0 new
Last post
BootSector's picture
Offline
Joined: 2018 Feb 18
Deleting and managing uploaded files

When game, app, or manual files are uploaded by registered users in the add or edit page, do they basically become immutable after that? What I mean is there no way for a user to rename, delete, or update that file?

I'd agree that we'd want to be very careful about this since we don't want just anyone to start trashing files left and right. But, is there any mechanism for tidying the collection where it makes sense to?

For example, I recently uploaded a new title and it's manual. After the initial upload I decided the way I named the manual file wasn't ideal so I removed the link from the page and uploaded a fresh copy with the better name. Both (identical) copies of the file are now in the /files/manuals/ directory on the server even though only one is actively linked to.

My apologies if this has already been covered in another post or in a guide. I wasn't able to find anything.

Comments

fogWraith's picture
Online
Joined: 2009 Oct 23

When a page is updated, the old copy is kept, in case we'd have to roll back changes made, this is also true to files.

Updating a page with for instance, new file names because it would look better, requires some manual labor (shell & database access). It can be done but is a bit of a hassle.

Usually it's much better to reference the files in the page description

BootSector's picture
Offline
Joined: 2018 Feb 18

On that note, is there any etiquette to follow regarding changes like that?

I've worked on improving and cleaning up a couple of different page's text but, some of them the actual files are a mess too. They could be cleaned up by reogranzing, splitting, or consolidating them depending on the issue. Probably wouldn't link to old files at all after a cleanup like that.

Any guidelines, encouraged, discouraged, etc.?

fogWraith's picture
Online
Joined: 2009 Oct 23

Hmm, for files I'm sure a lot could be done.
The option is there to add, remove and sort them in order one wants to display them... beyond that there is a ton of files that could be joined, compressed differently etc., but the web part doesn't allow much wiggle-room when it comes down to that, it has to be done manually by hand.

I would have to say that a filename, including the extension, should have no more than 31 characters in total, the tools used to create and compress images (if dumped personally) should be written down in both name and version number somewhere in the description. In case of files supplied by a publisher etc (website, ftp etc), file should be remain as is and not be tampered with to retain as much as possible of its original state.

When working with text and screenshots (this can be a touchy one), I'd say that the original needs to be taken into consideration before doing any kind of major overhaul (like removing whole texts / screenshots). As long as the end result is an improvement of any kind, I give my thumbs up.

That's at least my take on it, in broad strokes

BootSector's picture
Offline
Joined: 2018 Feb 18

Thanks! One last question.

Say I wanted to split an entry -- maybe given an expansion or add-on it's own page. Is there anyway to add an existing uploaded file to a new or existing page? Or would I just have to upload it again?

MikeTomTom's picture
Offline
Joined: 2009 Dec 7

If the file already exists here, its pretty easy to add a link to it, in another page if you create a new page.

BootSector's picture
Offline
Joined: 2018 Feb 18

How? I don't see a way to do that. I'm talking about adding the green info boxes at the top of the page. Not simply creating link element in the description text. Thanks!!

MikeTomTom's picture
Offline
Joined: 2009 Dec 7

No, that unfortunately cannot be done. I wish it were otherwise, too.

But you can "pretty up" download links in a page (to items in another) by adding a custom div to the description area:

For example using the syntax:
<div class="note download"><strong><a href="some/link/to/another/page's/download">Another Delectable File to Download Here</a></strong>
Some text describing the DL can go here.</div>

Would appear similar to the following, in your page's description area:

Another Delectable File to Download Here
Some text describing the DL can go here.