Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Attachment Plugin

(Page 2 of 3)
> > > >
Quote Reply
Re: [yogi] Attachment Plugin In reply to
nope. Then I took out: <%if user_may_select_attachment_type%> from the template, and the option shows. Even when it was set to allow Everyone to upload.

Maybe I'll email you my login info... will that help?
Quote Reply
Re: [Evoir] Attachment Plugin In reply to
I'll first try it out on my local copy. If I can't reproduce the error, I'd need your login info.

This will not be today, though, hopefully sometime during the weekend.

Ivan
-----
Iyengar Yoga Resources / GT Plugins
Quote Reply
Re: [yogi] Attachment Plugin In reply to
Yogi,

What does taking out:
<input type="hidden" name="modify" value="1">
do? Why do we take it out? Will taking it out effect any other kinds of uploads or changes to the link?

We are having some trouble with links that now have attachments via your plugin, that the other changes that I make to a link, particularly in the Details field, does not get saved. This has only happened since we started using your plugin. The changes were made in the same instance of modifying a link.

Can you help me out? Client is not able to edit their site.
Quote Reply
Re: [yogi] Attachment Plugin In reply to
ahh. I think I see what is happening. When my client goes into the Link and edits, they edit all the fields, then go to upload an image at the end. But when they upload the image, the page refreshes and wipes out any changes they made on the page.

I will go and instruct my client to do it as seperate transactions or upload an image first, them make changes.

Is there a way to not have this happen?
Quote Reply
Re: [yogi] Attachment Plugin In reply to
Also, still interested to know:

What does taking out
<input type="hidden" name="modify" value="1">
do? Why do we take it out? Will taking it out effect any other kinds of uploads or changes to the link?
Quote Reply
Re: [yogi] Attachment Plugin In reply to
Yogi,

I started using the plugin and uploaded files in private mode, and now client is unhappy that folks have to rename the files when they download them. I think this means I have to swicth them over to public mode in order to have the filename available (and not download it as jump.cgi) Am I correct? Is there any way to change upload types midstream? If so, can you explain? Or do I have to re-upload everything?

Thanks!
Evoir
Quote Reply
Re: [Evoir] Attachment Plugin In reply to
How do the users download the files?

Usually, an attachment is displayed in the browser if it can be displayed (mostly images and text files), or a 'Save as...' dialog box opens if it cannot be displayed. In the 'Save As...' dialog box, the original filename of the attachment is proposed as the save filename, and not jump.cgi.

If you want to force the download (i.e. not display even if possible) add

download=1

to the url of the attachment.

Does that help?

Ivan
-----
Iyengar Yoga Resources / GT Plugins
Quote Reply
Re: [yogi] Attachment Plugin In reply to
Currently, they are uploaded in private mode, and thus when accessed, they are accessed through jump.cgi

Example;
http://www.harveymilk.org/Details/537.shtml

At the bottom of the page there are attachments. Way down at the bottom. When you right click it, or click and hold for a macintosh, the image is named jump.cgi.

Must I switch it from private to public in order for it to automatically stay named what the image IS named? If so, do I have to re-upload them as public images?

Thanks, will try the url to download=1
Quote Reply
Re: [Evoir] Attachment Plugin In reply to
> Must I switch it from private to public in order for it to automatically stay named what the
> image IS named? If so, do I have to re-upload them as public images?

No, you don't need to switch, just add the 'download=1' bit.

Ivan
-----
Iyengar Yoga Resources / GT Plugins
Quote Reply
Re: [yogi] Attachment Plugin In reply to
Yogi,

I changed the link to include download=1 and indeed, it does intitialize an immediate download, as expected. But the name it provides automatically for that download is jump.cgi

I'd like it to offer the name of the current file. As I understood, the files that are uploaded through the PRIVATE mode, will always be shown through jump.cgi and I *think* that means that the file will automatically be named "jump.cgi" when they click to download it.

p.s. the file is named correctly in the html, just not when they click on it and you download it to disk.

Can you confirm this one more time?
Quote Reply
Re: [yogi] Attachment Plugin In reply to
Ivan,

I'm getting the following error when I try to upload an attachment. Any thoughts what's causing this?

Code:
A system error occured while attempting to
save your attachment: 'Error reading from input: '.

Safe swoops
Sangiro
Quote Reply
Re: [sangiro] Attachment Plugin In reply to
When exatly does this happen?

Are you able to reproduce this?

Ivan
-----
Iyengar Yoga Resources / GT Plugins
Quote Reply
Re: [yogi] Attachment Plugin In reply to
Ivan,

It happens when I click the Upload button. Yes, I can repreduce it. I PMed you some more info on where to take a look.

Safe swoops
Sangiro
Quote Reply
Re: [yogi] Attachment Plugin In reply to
Hi Yogi!

Just installing your plugin - i have a quick question for you - does the plugin only work in static pages mode because whenever I try and view attachments for a link from a page served in dynamic mode it gives me the following error:

Oops, we had the following problem:
We don't seem to have a category by the name 'attachments/1/0be6fc647bdba706aadc7be6f05ff046.doc'.

With this particular attachment it is a word document. It displays fine if accessed via a static links page.

Hope you can help

Hannah
Quote Reply
Re: [yogi] Attachment Plugin In reply to
Yogi, can you confirm that the name of the file cannot be sent through jump.cgi? ie: when using prviate mode, and download=1, the image becomes jump.cgi

I wish it to retain the name it was given when I uploaded it. Is this possible?
Quote Reply
Re: [yogi] Attachment Plugin In reply to
yogi?
Quote Reply
Re: [yogi] Attachment Plugin In reply to
Yogi:

I am trying to work out how to actually 'display' an image attachment (as distinct from showing a 'list' of attachments).

How can I actually achieve this?

Also, is there a way where for example an image could be displayed, and the list of other attachments (if any would appear as a list - excluding the image being displayed).

What I am getting at is abc.gif is shown on the detailed page as an image. There are a number of attachments also associated with the link such as:-

Other Attachments:
otherinfo.pdf
manual.doc
..... etc ...

I imagine if would require a %if attachment_type eq type tag?

Regards,

Clint.
--------------------------
http://AffiliatesDirectory.com
The Affiliate Programs Directory
Quote Reply
Re: [sangiro] Attachment Plugin In reply to
Hi Sangiro:

Are you still getting this error? I am as well! Has any solution been found?

Regards,



Clint
--------------------------
http://AffiliatesDirectory.com
The Affiliate Programs Directory
Quote Reply
Re: [Clint] Attachment Plugin In reply to
I'm thinking about purchasing this plug-in as we have users who would like to post both photos and photos/thumbnails. Plus pdf's too.

I'm using LSQL v 2.1.2 is this the version that is giving the trouble?
Quote Reply
Re: [SSmeredith] Attachment Plugin In reply to
Yes it is. v2.1.2.

Am still awaiting a reply on what is causing the problem. I am not the only one with this issue.

Regards,



Clint.
--------------------------
http://AffiliatesDirectory.com
The Affiliate Programs Directory
Quote Reply
Re: [yogi] Attachment Plugin In reply to
Hi Yogi,

May I know if your plugin is now updated without the bugs (previous ones).

Thank you.

François
Quote Reply
Re: [Franco] Attachment Plugin In reply to
An update on the bugs that were reported above.

The problem that some people were experiencing with the plugin was caused by an incorrect html tag. Namely, to enable uploads of files, you'll have to change both 'add.html' and 'modify.html' as follows (add the string in red):
Code:
<form action="add.cgi/modify.cgi" method="post" enctype="multipart/form-data">

Ivan
-----
Iyengar Yoga Resources / GT Plugins
Quote Reply
Re: [yogi] Attachment Plugin In reply to
hmm, i have some bug with it.

i have about 10 attachments to link.

but i need to include only 1.

i use

<%loop link_attachments%>
<img src="<%att_url%>">
<%endloop%>

and it show me all attacments.

please help.
Quote Reply
Re: [romanslon] Attachment Plugin In reply to
Does this plug-in work or not? I can not tell by what is written here!


Sandra Roussel
Chonsa Group Design - Fresh Start Housing
Quote Reply
Re: [SandraR] Attachment Plugin In reply to
Does anyone know how long it takes to get the plugin after its paid for?


Sandra Roussel
Chonsa Group Design - Fresh Start Housing
> > > >