FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » FUDforum Suggestions » Store Setting in DB
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Store Setting in DB [message #71] Sun, 20 January 2002 19:56 Go to next message
Mack is currently offline  Mack   United Kingdom
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 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
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 #73 is a reply to message #72] Sun, 20 January 2002 20:34 Go to previous messageGo to next message
Mack is currently offline  Mack   United Kingdom
Messages: 10
Registered: January 2002
Karma: 0
Junior Member
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.

Re: Store Setting in DB [message #74 is a reply to message #73] Sun, 20 January 2002 20:42 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
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 Go to previous message
Mack is currently offline  Mack   United Kingdom
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.

  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Polls?
Next Topic: Is there a way to edit a user profile and setting like his/her password?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Mon Dec 02 23:26:04 GMT 2024

Total time taken to generate the page: 0.02243 seconds