Ulysses

Ulysses Stuff => General Chat & Help and Support => Topic started by: Agentmass on July 04, 2013, 11:23:52 PM

Title: MOTD Template
Post by: Agentmass on July 04, 2013, 11:23:52 PM
Does anyone have a nice MOTD Template they are willing to share? I suck at making MOTDs and I haven't found any on the forums so I decided I would ask here.

Thanks.
Title: Re: MOTD Template
Post by: eagle9er9er on July 05, 2013, 12:01:34 PM
I created a MOTD image using photoshop then posted it on a free host (Image shack), and used that. You should give it a try.

I then (Maybe ask for permission, I didn't...Sorry Pres) used MrPresidents code to make 3 tabs in my Motd found here: (Thanks Pres.) http://forums.ulyssesmod.net/index.php/topic,6113.msg29952.html#msg29952

So you can edit it however you wish. You paste this code into addons/ulx/lua/ulx/modules/cl/motdmenu Or something like that.
Inside the code has "url1 =" you would put the imageshack (or whatever site you use) link/URL in there so when it loads the MOTD it loads that image.

So for example, url1 = "www.putimagelinkhere.com", then do the rest for the other 3 url for things like maybe your website (if you have one) or any other pages you can think of. Then near the bottom it says "tabmenu:AddSheet( "Forum", html1, _, false, false, _)", you can change forum to whatever you want the tab to be named, there is 3 of them there you can change.

It's a long post I know lol, but once you start to figure it out it is easy.

Here is an example of one of my MOTD pages.
http://img62.imageshack.us/img62/2626/is4m.jpg It is literally just a picture with writing i quickly threw together in a minute.
Title: Re: MOTD Template
Post by: Agentmass on July 05, 2013, 12:29:29 PM
I made a loading screen and an MOTD with a picture but the problem was that on screens that didn't have my monitor resolution, the image would be completely warped and it no longer looked good. How did you get around that?
Title: Re: MOTD Template
Post by: eagle9er9er on July 05, 2013, 12:31:38 PM
I made a loading screen and an MOTD with a picture but the problem was that on screens that didn't have my monitor resolution, the image would be completely warped and it no longer looked good. How did you get around that?

Strange, I never edited the size of my image. I made them around the resolution of 1440x900 or something, so it would be kinda in the middle of people with bigger resolutions and smaller. Either that or 1366x768.

Either way I'm not sure if its possible to have an image scale to everyones screen. It's just gonna be stuck to one size.
Title: Re: MOTD Template
Post by: Megiddo on July 05, 2013, 02:24:27 PM
The MOTD is just generic HTML. The questions you're asking are the same things that all web designers deal with. I'd recommend looking up some web design tutorials if you want to make it yourself.
Title: Re: MOTD Template
Post by: Agentmass on July 05, 2013, 02:24:48 PM
Hmm, I might try this. The only problem I guess would be if you wanted to place a link that people could copy and paste.

Edit: Yeah, but I'm not really wanting to learn HTML, I'm learning a different coding language which I find more fun. I went on Gmod.org and found this:

http://www.garrysmod.org/downloads/?a=view&id=131020

This would be pretty cool, but is outdated and has a few errors.

Edit 2: Actually, I use an HTML file for my MOTD now and it works very well.