..in default.lng (and/or your other language files if used).
Each time I've updated the script I forget about the few things in the language files that I don't want to overwrite!
I've had once or twice had categories disappear, unrelated to upgrading -- this is NOT really about that aside from reminding us that the data for categories is in the language file(s).
Just don't overwrite your language with the default... though I make that mistake all the time upgrading my forums, for unknown reasons. I guess it somehow feels fresher to overwrite language instead of upgrade.
I forget if I ran upgrade or not.. Per the readme.txt though, upgrade.php wasn't in the 1.3.0 quick upgrade instructions. Seems that you've written upgrade.php to do only what is required, so I guess there is no harm (or benefit?) from running it when not specifically instructed. I think that I ran upgrade.php just for the heck of it.
Do you mean to say that upgrade.php will modify older .LNG files to be the latest, keeping existing .LNG file modifications in place? I never considered that since the 'overwrite all except..' mostly targets the templates.
In any event I regressed back to 1.3.0 from a backup, in a panic move before I rediscovered the category data was in the .LNG file.
I hate to beat this to death, but then it is safe to conclude that if upgrade instructions (as in the 1.3.0 to 1.3.2) does not say to run upgrade.php then there are no .lng file changes.. and perhaps (?) running upgrade.php when not instructed so is a bad thing, with respect to .lng files?
Comments on HINT : Disappearing Categories
Forum Regular
Usergroup: Customer
Joined: Jan 11, 2006
Total Topics: 48
Total Comments: 166
Updates to the WSN Forum script not being as frequent as WSN Links I have repeatedly forgot this..
After an upgrade if you find that your forum categories revert to one "Test Category" the data is NOT in the SQL, but rather in the language file.
Look for:
, categorytypes, (Category Names Marker in .LNG file)
Format: , categorytypes, DIVIDER, Cat Name 1,Cat Name 2,ETC,
, categorydescriptions, (Category Desc. Marker in .LNG file)
Format: , categorydescriptions, DIVIDER, Cat 1 Desc,Cat 2 Desc,ETC,
..in default.lng (and/or your other language files if used).
Each time I've updated the script I forget about the few things in the language files that I don't want to overwrite!
I've had once or twice had categories disappear, unrelated to upgrading -- this is NOT really about that aside from reminding us that the data for categories is in the language file(s).
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Just don't overwrite your language with the default... though I make that mistake all the time upgrading my forums, for unknown reasons. I guess it somehow feels fresher to overwrite language instead of upgrade.
Forum Regular
Usergroup: Customer
Joined: Jan 11, 2006
Total Topics: 48
Total Comments: 166
I forget if I ran upgrade or not.. Per the readme.txt though, upgrade.php wasn't in the 1.3.0 quick upgrade instructions. Seems that you've written upgrade.php to do only what is required, so I guess there is no harm (or benefit?) from running it when not specifically instructed. I think that I ran upgrade.php just for the heck of it.
Do you mean to say that upgrade.php will modify older .LNG files to be the latest, keeping existing .LNG file modifications in place? I never considered that since the 'overwrite all except..' mostly targets the templates.
In any event I regressed back to 1.3.0 from a backup, in a panic move before I rediscovered the category data was in the .LNG file.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Do you mean to say that upgrade.php will modify older .LNG files to be the latest, keeping existing .LNG file modifications in place?
That's what upgrades are for, naturally. Wouldn't be much of an upgrade if it made multilingual users and the like retranslate the whole thing.
If the upgrade instructions don't say to do something (and they never say to overwrite a language, only languages/setup is overwritten), don't do it.
Forum Regular
Usergroup: Customer
Joined: Jan 11, 2006
Total Topics: 48
Total Comments: 166
Makes sense..
I hate to beat this to death, but then it is safe to conclude that if upgrade instructions (as in the 1.3.0 to 1.3.2) does not say to run upgrade.php then there are no .lng file changes.. and perhaps (?) running upgrade.php when not instructed so is a bad thing, with respect to .lng files?
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Running upgrade.php is never a bad thing, only a pointless thing.