Page 1 of 2 12 LastLast
Results 1 to 15 of 20

Thread: Publishing a theme - how/bug?

  1. #1
    Regular
    Join Date
    Jun 2014
    Posts
    78

    Publishing a theme - how/bug?

    Hello,

    I followed the instructions to clone a theme, and it works perfectly! For me, that is. Because I've noticed that when I'm in game, the github theme.css is used. To make the theme available to others, I published it. Got to the page with the text:

    Publish Custom Theme
    By default, custom themes can only be used by the first person who uploads them (the theme author). You can use this page to make your custom theme available for use by other players. When you click the button below we will check that your theme is safe for others to use, and if it passes these checks we will make a copy of it available. Anyone in possession of your custom theme URL will be able to use it, and will receive the last published version. Any changes you make to your theme will be visible only to you until you publish it again.
    I clicked the button, and got confirmation:

    Your theme has been published, and can now be used by any other player in possession of its Github URL.
    However, this isn't the case. People using my theme get a 404, since the files cannot be found. More specifically, http://utopia-game.com/shared/static...b.io/theme.css
    is not found. It looks like there is no local copy made of my theme on the Utopia-server.
    How can I fix this, or is this something for the Uto-devs?

  2. #2
    Game Support Bishop's Avatar
    Join Date
    Jul 2008
    Posts
    21,332
    whats your theme?
    Support email: utopiasupport@utopia-game.com <- please use this and don't just PM me| Account Deleted/Inactive | Utopia Facebook Page | #tactics <-- click to join IRC|
    PM DavidC for test server access

  3. #3
    Regular
    Join Date
    Jun 2014
    Posts
    78
    Oh, I guess that got obfuscated a bit... The link in my first post is 'shortened'.
    Theme URL: http://green-ex.github.io/

  4. #4
    Game Support Bishop's Avatar
    Join Date
    Jul 2008
    Posts
    21,332
    works for me kinda, did you publish the latest changes
    Support email: utopiasupport@utopia-game.com <- please use this and don't just PM me| Account Deleted/Inactive | Utopia Facebook Page | #tactics <-- click to join IRC|
    PM DavidC for test server access

  5. #5
    Regular
    Join Date
    Jun 2014
    Posts
    78
    Maybe you have some special position, Bishop

    Anyway, when I trym for instance, spahreps custom theme, it fetches the theme.css from:
    http://utopia-game.com/shared/static...b.io/theme.css
    when I try that link for my theme, replacing spahrep with green-ex, I get a 404 (not found) which leads me to think dat there is no copy on the utopia server.
    http://utopia-game.com/shared/static...b.io/theme.css

    the theme works for me (as owner) but other can't fetch my theme files.

  6. #6
    Post Fiend
    Join Date
    Sep 2008
    Location
    Michigan, USA
    Posts
    279
    Quote Originally Posted by Bishop View Post
    works for me kinda, did you publish the latest changes
    Confirmed

  7. #7
    Regular
    Join Date
    Jun 2014
    Posts
    78
    I get it that you don't get an error message when selecting the theme, but it shouldn't look like this:
    http://imgur.com/N6JVr4P

    That's how uto looks without any styling.

  8. #8
    Post Fiend
    Join Date
    Sep 2008
    Location
    Michigan, USA
    Posts
    279
    Bishop, I see what he's getting at.

    Could be the same thing that was affecting my themes not updating maybe?

  9. #9
    Game Support Bishop's Avatar
    Join Date
    Jul 2008
    Posts
    21,332
    Hey, I don't know to be honest, not sure if the issue is with us or github.

    OP, can you quickly make a new gibhub account and test with a new theme that is only modified a slight bit, just to see if its published right.
    Support email: utopiasupport@utopia-game.com <- please use this and don't just PM me| Account Deleted/Inactive | Utopia Facebook Page | #tactics <-- click to join IRC|
    PM DavidC for test server access

  10. #10
    Regular
    Join Date
    Jun 2014
    Posts
    78
    Bishop, I created a new fork of the default theme:

    http://greenexresp.github.io/

    I set this one as my Custom theme, published it.
    It looks like this: (text is red)

    https://i.imgur.com/X55D0PO.png

    However, I noticed there's still no copy on the uto server, like with for example spahreps.
    I.E.:
    http://utopia-game.com/shared/static...b.io/theme.css exists
    http://utopia-game.com/shared/static...b.io/theme.css does not exist.

    So I don't think it'll work. (Even though navigating in browser to the test page at http://greenexresp.github.io/ works, so things seem fine from Github point of view)
    Last edited by Patrijspoortje; 10-02-2016 at 10:57. Reason: clarification

  11. #11
    Game Support Bishop's Avatar
    Join Date
    Jul 2008
    Posts
    21,332
    Did you publish it?
    Support email: utopiasupport@utopia-game.com <- please use this and don't just PM me| Account Deleted/Inactive | Utopia Facebook Page | #tactics <-- click to join IRC|
    PM DavidC for test server access

  12. #12
    Regular
    Join Date
    Jun 2014
    Posts
    78
    Quote Originally Posted by Patrijspoortje View Post
    ...
    I set this one as my Custom theme, published it.
    ...
    Ya

  13. #13
    Game Support Bishop's Avatar
    Join Date
    Jul 2008
    Posts
    21,332
    ok, i'll ask someone to look into it
    Support email: utopiasupport@utopia-game.com <- please use this and don't just PM me| Account Deleted/Inactive | Utopia Facebook Page | #tactics <-- click to join IRC|
    PM DavidC for test server access

  14. #14
    Regular
    Join Date
    Jun 2014
    Posts
    78
    Quote Originally Posted by Bishop View Post
    ok, i'll ask someone to look into it
    Thank you

  15. #15
    Regular
    Join Date
    Jun 2014
    Posts
    78
    Quote Originally Posted by Bishop View Post
    ok, i'll ask someone to look into it
    Stretching it, but eh, any word back yet from the devs?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •