PDA

View Full Version : Selectable options for Reason for turning board off


drumsy
08-19-2003, 05:19 PM
I sometimes take it down to optimize the database or do backups. Is there a way to store pre-written messages and just select one when I shut down the site, kind of like the same thing the Canned Text hack does?

assassingod
08-19-2003, 06:10 PM
Try this:

drumsy
08-20-2003, 04:27 PM
Hmmmm, looks good. Is there another way to do it to add a more lengthier message? Also, I like to have the query on hand that undoes the original query before I install it. Do you know what that is?

assassingod
08-20-2003, 04:47 PM
You can add more lengthy message by editing the value. For the original query, ill do it now

EDIT:


UPDATE `setting` SET `optioncode` = 'textarea' WHERE `settingid` = '2' LIMIT 1 ;

pran
12-05-2003, 11:05 PM
How would the user see the message if the SQL server is down?