In game chat doesn't allow clicking URLs

Case number:699969-988174
Topic:General
Opened by:Tlaloc
Status:Closed
Type:Bug
Opened on:Tuesday, August 10, 2010 - 00:48
Last modified:Sunday, November 11, 2012 - 09:58

In the in-game chat, you can click on URLs that are attached to images, but urls pasted into the conversation are not clickable. They don't invoke the browser.

(Tue, 08/10/2010 - 00:48  |  18 comments)


B_2's picture
User offline. Last seen 4 years 12 weeks ago. Offline
Joined: 11/29/2008
Groups: None

Can this get bumped up?

S-Man's picture
User offline. Last seen 6 years 31 weeks ago. Offline
Joined: 12/09/2011
Groups: None

Yes, the chat box needs clickable urls other than images, but websites as well.

beta_helix's picture
User offline. Last seen 3 hours 42 min ago. Offline
Joined: 05/09/2008
Groups: None

re-assigning...

ptfrog's picture
User offline. Last seen 5 years 18 weeks ago. Offline
Joined: 09/29/2011

Great!

Not to take a simple job and make it harder, but it's a little worrisome to make a link clickable if you can't read it. (There has been a fair amount of background chatter on this topic.) Perhaps you could make the IRC window scrollable, or make long "words" wrap instead of printing past the edge of the window?

1) scrollable chat window
2) wrap the URL.

brow42's picture
User offline. Last seen 3 weeks 3 days ago. Offline
Joined: 09/19/2011
Groups: None

A lot of the URLs are to Fold.it or the wiki so sidestepping the debate about URL safety can we allow everything in fold.it domain and anything in (*.)foldit.wikia.com? A huge number of URLs are recipes or forum/feedback pages.

beta_helix's picture
User offline. Last seen 3 hours 42 min ago. Offline
Joined: 05/09/2008
Groups: None

re-assigning...

beta_helix's picture
User offline. Last seen 3 hours 42 min ago. Offline
Joined: 05/09/2008
Groups: None
Status: Open » Open

if the entire chat message is just a link starting with "http://fold.it/" or "http://foldit.wikia.com/wiki/Foldit_Wiki/" then it will be click-able

Madde's picture
User offline. Last seen 6 weeks 4 days ago. Offline
Joined: 05/29/2008
Groups: Void Crushers

Could you please add http://de.foldit.wikia.com/wiki/ to the click-able links?

Joined: 11/10/2007
Groups: Window Group
Status: Open » Closed

Okay, the chat is set up to convert messages that contain only a URL beginning with one of these into clickable links:

http://fold.it/
http://foldit.wikia.com/wiki/
http://de.foldit.wikia.com/wiki/

This will go out in a future update.

Joined: 11/10/2007
Groups: Window Group
Status: Closed » Closed

This change has gone out in the most recent update. If a chat message contains only a URL with one of the above prefixes, it will get preprended with "LINK: " and be clickable.

ptfrog's picture
User offline. Last seen 5 years 18 weeks ago. Offline
Joined: 09/29/2011
Topic: Biochem » General
Status: Closed » Open

Great stuff! A minor bug has turned up: URLs containing a '#' aren't handled. Example:
fold.it/portal/node/991511#comment-15226

beta_helix's picture
User offline. Last seen 3 hours 42 min ago. Offline
Joined: 05/09/2008
Groups: None
Status: Open » Closed

this fix has been posted in the Developer Preview and will go out in the next update to main.

ptfrog's picture
User offline. Last seen 5 years 18 weeks ago. Offline
Joined: 09/29/2011

PS: I have modified urlBot to account for these changes to the client:

(1) Links that are newly clickable will be ignored. Once the '#' thing has been corrected, I'll ignore those URLs too.

(2) A URL that would be clickable if it was alone on the line, e.g.
irc> See the link at http://fold.it/portal/comment/reply/988174/15967
will be made clickable by resending the URL on a new line

(3) Other URLs are made Tiny as they were before

(4) One other minor change; the minimum length to tiny-fy has been raised from 30 to 32. (A TinyURL is 26 characters.)

Please let me know if I have missed anything or introduced any bugs. (Yes, I know that some folks consider this bot to be evil incarnate -- but that discussion has run its course. Constructive criticism is welcome.)

ptfrog's picture
User offline. Last seen 5 years 18 weeks ago. Offline
Joined: 09/29/2011

PPS: I notice the following link does not match the "clickable" criteria:
http://foldit.wikia.com/index.php?title=Fold.it_IRC_%28chat%29_Information

Is there a reason why all of foldit.wikia.com should not be linkable?

B_2's picture
User offline. Last seen 4 years 12 weeks ago. Offline
Joined: 11/29/2008
Groups: None

None of http://foldit.wikia.com should be clickable since it is content not under the control of the Fold.it project, it could be links to anything that anyone - good or evil - could post there.

ptfrog's picture
User offline. Last seen 5 years 18 weeks ago. Offline
Joined: 09/29/2011

Rather than continue to add to an old (possibly ignored) thread, I have summarized these and other changes in a new thread:
http://fold.it/portal/node/992294

spmm's picture
User offline. Last seen 28 weeks 2 days ago. Offline
Joined: 08/05/2010
Groups: Void Crushers

thanks for taking the time to fix the urlbot to not respond to clickable links

Tlaloc's picture
User offline. Last seen 5 weeks 5 days ago. Offline
Joined: 08/04/2008
Groups: Mojo Risin'
Status: Closed » Closed

Done

Sitemap

Developed by: UW Center for Game Science, UW Institute for Protein Design, Northeastern University, Vanderbilt University Meiler Lab, UC Davis
Supported by: DARPA, NSF, NIH, HHMI, Amazon, Microsoft, Adobe, RosettaCommons