Gossamer Forum
Home : Products : Gossamer Links : Discussions :

File upload, browser.cgi changed files

Quote Reply
File upload, browser.cgi changed files
 
Hello to everybody after looong time, I hope you're doing well.


I am redesigning/fixing some stuff on an old website and I noticed some things.



Modify form and file uploads:

If you have file uploads on modify form, when the user change file nothing changes on "Validate Changes"
../admin.cgi?do=page&page=tools_validate_changes.html

No indication is available that the user has changed some files.

OK, link to download / view now points to ...&src=path&do=view_tmp_file...
instead of ...&src=db&do=view_file...


My (jquery) dirty quick fix for this is:

copy tools_validate_changes.html from
.../templates/admin/ to /templates/admin/local

and put the following in the head of the document


<style>
.changed-file {
color: #9C0000;
}
</style>

<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>

<script>

$(document).ready(function (){

$('a[href*="src=path"]').addClass( "changed-file" ).prepend('Changed: ');

});

</script>


At least, you now have indication that something has changed.


You can also do the same thing if you use browser.cgi

File is browser_link_validate_form.html
copy to .../templates/browser/local/ and make changes




Another big bug is:

if you go to Validate Links or Validate Changes and you have more than one
page of links, when you validate first page you are on the next page where you can validate links but now
download / view links are populated with ALL link fields like Title, isChanged User_Last_Checked_Date...




It is nice to have indicators that field has changed (like text and textarea) but where are others?


It is not clear what delete checkbox will delete when you validate link with file changed.
If you check delete checkbox and approve change nothing changes - new files are approved.

In my humble opinion this could be much better UX:

When files are changed give option to user to preview current file, newly uploaded file and option to
delete new file but still approve change.

Another thing would be useful:
ability to validate/modify link and send custom message like "Delete and e-mail reason" where you can
change text of message.


User experience: 0 out of 10
Quote Reply
Re: [Payooo] File upload, browser.cgi changed files In reply to
Hi,

I would give GT an email, and point them to this thread :)

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] File upload, browser.cgi changed files In reply to
Hi Andy,

I doubt that they care anymore but just in case, do you know support email?

Thanks!
Quote Reply
Re: [Payooo] File upload, browser.cgi changed files In reply to
Hi,

Try support [@] gt.net Angelic

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] File upload, browser.cgi changed files In reply to
Thanks Andy!