Skip to main content
Topic: Settings During Install (Read 2056 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Settings During Install

The mod Im working on requires a couple settings to be set to work, and I'd rather get them from the admin during install than just use a random default.  I feel like at some point Ive seen a mod do that either in Elkarte or SMF, I just can't remember which one it was to see how it was done.

If its possible, any help would be appreciated.

Re: Settings During Install

Reply #1

I'd probably just add an alert/inform message to your mods settings page based on what those settings are with the ability to set them from your page as well (just use the same var names). 

If you don't do this nothing stops the admin from going to the other page and unsettling them unless you mod removes those settings from those areas as well.

Some close examples would be the cache page where it tells you and sets what cache engines you can use based on whats installed.  Or the load management page which you can't change if your not on *nix ... Not exactly what you are asking but UI examples.