Author Topic: Autodetect themes' URL and directory  (Read 1149 times)

Offline MrPrise

  • Semi-Newbie
  • *
  • Posts: 52
Autodetect themes' URL and directory
« on: November 21, 2007, 07:10:13 AM »
I'm developing my forum on a testing environment and I moved the whole forum around sometimes. While I'm doing this I meet often the red "The default theme's directory is wrong, please correct it by clicking this text." error. It is quite frustrating to change those 3 lines every time to fix the URL's and the directories. I think it is not too hard to implement a small autodetect feature into SMF, which could detect automatically the Theme's directory and URL.
I think with that feature SMF would become more "plug-and-play".

Offline 青山 素子

  • Server Team
  • SMF Super Hero
  • *
  • Posts: 17,068
  • 戦場ヶ原、蕩れ!
    • srvrguy on GitHub
    • @motokochan on Twitter
    • Nekomusume Moe
Re: Autodetect themes' URL and directory
« Reply #1 on: November 21, 2007, 07:41:48 PM »
At the bottom of the theme page in the admin area is a place to reset the info for all themes with an auto-detected value.

These things are not determined automatically so that those that might want to serve static content off a different server or a more efficient web server (lighttpd, for example) can do so.
« Last Edit: November 21, 2007, 07:43:35 PM by Motoko-chan »
Director, Simple Machines

Note: Unless otherwise stated, my posts are not representative of any official position or opinion of Simple Machines.