Not logged in. · Lost password · Register
Forum: Support General support RSS
Method for storing logo changes during upgrade?
Avatar
NFG #1
Member since Sep 2006 · 125 posts
Group memberships: Members
Show profile · Link to this post
Subject: Method for storing logo changes during upgrade?
After updating my UNB install a few times lately I've found that custom image changes - to things like the header logo and newposts image - are overwritten when /unb_lib/designs/modern/config.php is replaced.

Some changes, like user CSS, are stored in files that do not get overwritten, but config.php does not seem to have a user equivalent.

Am I overlooking something?  Is there a place to put these changes so I don't have to re-edit config.php after every upgrade?
Avatar
Yves (Administrator) #2
User title: UNB developer & webmaster
Member since Jan 2004 · 3855 posts · Location: Erlangen, Germany
Group memberships: Administrators, Members
Show profile · Link to this post
If you just have a look at the very end of the file config.php, you'll see what files will be included in your configuration if they exist. It works the same way as with the CSS files. So just copy the lines you want to modify in that extra file and modify them there to have your changes easily survive an upgrade.

I have corrected the documentation page to include the two files config.user.php.
♪ ...nanananah, all in all we’re just brilliant thieves, nanananah... ♪♬
Avatar
NFG #3
Member since Sep 2006 · 125 posts
Group memberships: Members
Show profile · Link to this post
Outstanding, thanks Yves.
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
This board is powered by the Unclassified NewsBoard software, 20120620-dev, © 2003-2011 by Yves Goergen
Page created in 151.8 ms (82.8 ms) · 56 database queries in 99.6 ms
Current time: 2013-05-21, 22:32:03 (UTC +02:00)