Store Setting in DB [message #71] |
Sun, 20 January 2002 19:56 |
Mack
Messages: 10 Registered: January 2002
Karma: 0
|
Junior Member |
|
|
Would be much better to store the forum paths in the DB than config file as would make changing things a lot easier.
|
|
|
Re: Store Setting in DB [message #72 is a reply to message #71] |
Sun, 20 January 2002 20:12 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Mack wrote on Sun, 20 January 2002 2:56 PM | Would be much better to store the forum paths in the DB than config file as would make changing things a lot easier.
|
There actually is an easy control panel to change those settings
adm/admglobal.php, I presume you were unable to access it because of the cookie problem.
With that control panel you can easily change all your GLOBAL settings, you can see the panel on our demo forum.
FUDforum Core Developer
|
|
|
|
Re: Store Setting in DB [message #74 is a reply to message #73] |
Sun, 20 January 2002 20:42 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Mack wrote on Sun, 20 January 2002 3:34 PM | Yeah noticed it, just I’m use to doing everything with SQL, example would be installing stuff via dumps and editing most things in the database.
Just make things a little quicker for installing for those who prefer to just change the DB variables and import the dump. I’m in the process of making the all the server path variables editable via SQL that way I can setup 10 forums in a very short about of time instead of fathing around with the install scripts.
|
True, however as you probably noticed, not all settings can be stored inside MySQL, such as MYSQL settings. So you'd still need a GLOBALS.php or equivalent, albeit it can be much smaller the the current one. If you do make the mods, please share'em perhaps it is something I may integrate in to the next release.
FUDforum Core Developer
|
|
|
Re: Store Setting in DB [message #76 is a reply to message #74] |
Sun, 20 January 2002 22:18 |
Mack
Messages: 10 Registered: January 2002
Karma: 0
|
Junior Member |
|
|
No problem there, always good to share code with others.
My changes to the forums will be more suited for people who want to run an ezboard/board hosting service.
|
|
|