recommended-links icon indicating copy to clipboard operation
recommended-links copied to clipboard

Allow "link" submission without urls

Open imaque opened this issue 13 years ago • 3 comments

Howdy!

First of all, I'd just like to say that I appreciate the great work that you're doing in developing this plugin.

So, the issue that I'm having is this. The first link gets submitted just fine. But then, when another link is submitted (by either the same user or a different user), it says "Link submitted successfully," but it doesn't actually show up. Do you know what I might be doing wrong?

I'm using WP3.3.1 and version 0.3.4 of your plugin.

Thanks!

imaque avatar Jan 16 '12 20:01 imaque

I haven't been able to replicate. Tested on 3.2.1, 3.3.1, and trunk with admin user and with a subscriber.

One thing I did notice is that the "Link submitted successfully message should fade out; otherwise the screen gets confusing with multiple success messages.

Could the problem have to do with the links themselves? Can you give examples of links that cause this problem? I know that the url validation methods are not very refined yet, and there isn't any helpful error-handling for duplicate links or invalid urls - the link submission form will just fail silently.

goldenapples avatar Jan 17 '12 14:01 goldenapples

ahSo! Ok, so my problem was that I was submitting "links" without URLs. What I'm trying to use this plugin for is more for discussion a la how reddit allows text to be submitted with just a title and optional accompanying text, if that makes sense. But I find that it now works if/when I actually include a URL. Is it possible to include functionality to allow it to work without actually submitting a URL? Thanks!

imaque avatar Jan 17 '12 16:01 imaque

Yes, I had planned to do that down the road... just hadn't added that filtering in yet. Also, need some intelligent filtering of image links vs. html urls. I'll change this to a feature request and work it in to version 0.4.

goldenapples avatar Jan 17 '12 16:01 goldenapples