Simple Machines Community Forum

Customizing SMF => SMF Coding Discussion => Aiheen aloitti: StarWars Fan - helmikuu 14, 2006, 06:20:57 IP

Otsikko: How can set a new system wide SMF Variable?
Kirjoitti: StarWars Fan - helmikuu 14, 2006, 06:20:57 IP
I'm trying to figure out how to set 2 simple text variables for SMF use...

I tried setting them in index.english and directly in index.template then FTPing to set the new variable... I know stupid...

I'd much rather set the variables through SMF (maybe my profile) without FTPing...

Any ideas?
Otsikko: Re: How can set a new system wide SMF Variable?
Kirjoitti: Dannii - helmikuu 14, 2006, 06:36:28 IP
Easiest would be to put it in the mod settings table I suppose.
Otsikko: Re: How can set a new system wide SMF Variable?
Kirjoitti: Dannii - helmikuu 14, 2006, 10:20:43 IP
Should be able to. It only stores strings though.