MyBB Community Forums

Full Version: Stored css and themes in the file
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I think, that it will be godd if admin can Stored css and themes in the file (FTP) not in the database
Hi,

MyBB 1.4 stores stylesheets in files automatically in the cache/themes/theme[id]/ directory assuming it is writable. They're stored there as cached versions of the file, however if you edit the file when you next edit it via the control panel your changes will be synchronized across to the copy in the database.

You can see it in use on these forums here:
<link type="text/css" rel="stylesheet" href="http://community.mybboard.net/cache/themes/theme2/global.css" />
<link type="text/css" rel="stylesheet" href="http://community.mybboard.net/cache/themes/theme1/showthread.css" />
<link type="text/css" rel="stylesheet" href="http://community.mybboard.net/cache/themes/theme1/star_ratings.css" />