ULX

Author Topic: ULX MOTD  (Read 3080 times)

0 Members and 1 Guest are viewing this topic.

Offline Heisenberg

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
ULX MOTD
« on: October 10, 2015, 07:52:20 PM »
So i have my own server and i wanted to make my motd look better so i downlaoded so motds but they didnt work so i was wondering if i can put css code in for my motd ? if so the how?

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: ULX MOTD
« Reply #1 on: October 10, 2015, 08:24:15 PM »
GMod Source doesn't allow css files using the method ulx_motd.txt file uses.
It's not us, it's a Gmod limitation.
You'd have to use the <style> </style> tag. Use www.w3schools.org as a good starting place for how.

If you want to host the web pages on your own server, go into XGUI - server motd settings and point to your site.
The external site may still have some trouble with fancy css features though, but is more likely to work over the bare txt method default uses.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Professor_Smiley

  • Newbie
  • *
  • Posts: 45
  • Karma: -24
Re: ULX MOTD
« Reply #2 on: October 17, 2015, 10:22:12 AM »
Add <style> tags above the post body (in the <head>)
Take everything from your CSS file, and copy it
paste between the style tags