User Tools

Site Tools


vanilla

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Last revisionBoth sides next revision
vanilla [2022/04/25 20:14] – created - big upgrade notes rjtvanilla [2022/04/27 00:54] – [Theming] it does work! rjt
Line 1: Line 1:
 ====== Vanilla ====== ====== Vanilla ======
 +
 +===== Big Upgrade =====
  
 I'm in the process of upgrading an old installation of the Vanilla forum software, from version 3.3, to 2021.009. I'm in the process of upgrading an old installation of the Vanilla forum software, from version 3.3, to 2021.009.
Line 6: Line 8:
  
   * I had to clear the ''cache'' directory.   * I had to clear the ''cache'' directory.
-  * I had trouble with the 'pretty urls', as they've since become the default. My ''.htaccess'' file was also empty, so I copied the one from [[github>vanilla/vanilla/blob/master/.htaccess.dist]], and added ''$Configuration['Garden']['RewriteUrls'= true;'' to ''conf/config.php'' (You might not need to add this?)+  * I had trouble with the 'pretty urls', as they've since become the default. My ''.htaccess'' file was also empty, so I copied the one from [[github>vanilla/vanilla/blob/master/.htaccess.dist]]. If you have a  ''$Configuration['Garden']['RewriteUrls']'' line in ''conf/config.php'' just delete it
-    * If you can't enable mod-rewrite then add ''$Configuration['Garden']['RewriteUrls'] = false;'' to ''conf/config.php''. The links in the header will have to be fixed manually somehow, but I think the rest will work. +    * If you //can't// enable mod-rewrite then add ''$Configuration['Garden']['RewriteUrls'] = false;'' to ''conf/config.php''. The links in the header will have to be fixed manually somehow, but I think the rest will work. 
-      * To finish the upgrade it will try to send you to ''[url]/utility/update'', instead go to ''[url]index.php?p=/utility/update''+      * To finish the upgrade it will try to send you to ''[forum url]/utility/update'', instead go to ''[forum url]index.php?p=/utility/update''
   * Apart from the cache, there's some other stuff that can be deleted:   * Apart from the cache, there's some other stuff that can be deleted:
     * ''container.html''     * ''container.html''
Line 14: Line 16:
   * ''themes'' directory has moved to ''addon/themes'', and my old themes don't work.   * ''themes'' directory has moved to ''addon/themes'', and my old themes don't work.
  
-{{tag>forum self-host software}}+==== Theming ==== 
 + 
 +o-> If you want to add or remove themes, or generally mess with the ''plugins/themes'' directory, you'll have to delete the related stuff from the cache. Maybe there's an easier way, but I've been SSHing into my cache directory and removing (''rm -r theme/ theme-index.php'') ''theme-index.php'' and ''theme/''. //Some//times it'll prompt you to do a refresh in the UI, but often I'll just get an obnoxious error page and won't be able to get into the theme settings. 
 + 
 +<del>My [[tildegit>rjt/vanilla-theme-fancy-gms|old theme]] doesn't work. It seems they've got much more complicated, so I'm currently experimenting to see how uncomplicated I can make one. I have no desire to fuck with //building// something as simple as a theme. Kinda wishing I'd given up on the old forum and switch to [[PHPBB]].</del>\\ Oh fuck, my old theme does work! It just need some fixing-up. I guess I didn't clear the cache properly before. 
 + 
 +{{tag>fixes forum guide self-host software theming}}
vanilla.txt · Last modified: 2022/05/06 16:06 by rjt