Ulysses

Ulysses Stuff => General Chat & Help and Support => Topic started by: DiscoBiscuit on November 04, 2009, 02:35:42 PM

Title: Can I Open Steam or Default Browser with MOTD links?
Post by: DiscoBiscuit on November 04, 2009, 02:35:42 PM
I'm wanting it to open links with the default browser or steam in-game browser when people click on links. Right now <a href> opens the link in the motd, <a href="blah.com" target="_blank"> doesn't work at all, and steam://openurl/blah doesn't work either. Is there a way to do it?
Title: Re: Can I Open Steam or Default Browser with MOTD links?
Post by: Megiddo on November 04, 2009, 08:09:52 PM
I think garry and valve blocked a lot of things like that.
Title: Re: Can I Open Steam or Default Browser with MOTD links?
Post by: JamminR on November 04, 2009, 08:32:56 PM
Source's use of IE base code is quite limited... I've no idea how to have the defaullt browser open. I've seen a few posts here asking how to stop it, but don't remember if anyone posted the HTML that was doing it.
As for game browser... why? I suppose you could find some way, using lua perhaps, to have them connect to another game server from a link, but I don't imagine any way to have them open the game browser.
Title: Re: Can I Open Steam or Default Browser with MOTD links?
Post by: DiscoBiscuit on November 05, 2009, 04:28:25 AM
I meant the in-game web browser, like to open a website link.
Title: Re: Can I Open Steam or Default Browser with MOTD links?
Post by: JamminR on November 05, 2009, 03:01:19 PM
Oh, unless something changed (like Garry), placing a link
Code: [Select]
<a href="http://www.blah.com"> View this link </a> should work.
Don't place a target in it, and make sure you're using full URL "http://www.blah.com">

Our SVN now even allows the motd to point to an external link.

Edit by Megiddo: Placed code in a code block so it could be seen. :)
Title: Re: Can I Open Steam or Default Browser with MOTD links?
Post by: Jay on November 22, 2009, 12:27:36 AM
yes  in fact the only thing that you cant do is anchor tags. for example  http://motdjay.netne.net/ (http://motdjay.netne.net/) is the URL i loaded into my MOTD.
But  if you are asking if you can START like a IE or FF and send it to i link VIA motd then No. Theres a code in assmod (**** over servers and stuff with simple Memory mod) that does do this and it cashes games and so on.

Anyway  i know my HTML skills are vvery good so i dont want to hear it lol

Edit by Megiddo: These are family friendly forums, Jay. Please no swearing.