- Posts: 13642
- Thank you received: 2491
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
maintenanceMode : set your LimeSurvey instance in maintenance for public
- DenisChenu
- Topic Author
- Offline
- LimeSurvey Community Team
Less
More
7 years 2 months ago - 6 years 2 months ago #147902
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
maintenanceMode : set your LimeSurvey instance in maintenance for public was created by DenisChenu
Following this feature request : bugs.limesurvey.org/view.php?id=10038
Here the maintenanceMode plugin.
This plugin need another plugin to work : renderMessage
Compatibility : 2.6lts 2.62.0 and 3.4.0
Alert is compatible only with 2.62.0
This plugin introduce a new way for translation, if you want new translation : pull request can be done on framagit or github.
Here the maintenanceMode plugin.
This plugin need another plugin to work : renderMessage
Compatibility : 2.6lts 2.62.0 and 3.4.0
Alert is compatible only with 2.62.0
- Documentation : extensions.sondages.pro/management/maint...e/documentation.html
- Fork or dowload : extensions.sondages.pro/management/maint...cemode/download.html
- Usage : set the plugin in maintenance at a specific date/time, and show a warning some minutes before.
This plugin introduce a new way for translation, if you want new translation : pull request can be done on framagit or github.
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Attachments:
Last edit: 6 years 2 months ago by DenisChenu. Reason: picture 2
The following user(s) said Thank You: Ben_V, socius
The topic has been locked.
- Ben_V
- Offline
- Platinum Member
Less
More
- Posts: 1128
- Thank you received: 329
7 years 2 months ago #147906
by Ben_V
Benoît
EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
Last Releases => 2.6x.x goo.gl/ztWfIV | 2.06/2.6.x => bit.ly/1Qv44A1
Demo Surveys => goo.gl/HuR6Xe (already included in /docs/demosurveys)
Replied by Ben_V on topic maintenanceMode : set your LimeSurvey instance in maintenance for public
great Denis as ever...
I suppose there is a typo: 2.62 [strike]2.6.2[/strike] [strike]2.06[/strike]
Plugin tested on 2.6.2, 2.6.2 is needed for alert / flash message.
I suppose there is a typo: 2.62 [strike]2.6.2[/strike] [strike]2.06[/strike]
Benoît
EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
Last Releases => 2.6x.x goo.gl/ztWfIV | 2.06/2.6.x => bit.ly/1Qv44A1
Demo Surveys => goo.gl/HuR6Xe (already included in /docs/demosurveys)
The topic has been locked.
- DenisChenu
- Topic Author
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13642
- Thank you received: 2491
7 years 2 months ago #147916
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic maintenanceMode : set your LimeSurvey instance in maintenance for public
Totally right
Plugin must work in all 2.50 for the maintenance , but i need this event github.com/LimeSurvey/LimeSurvey/commit/...e48db78e1bf65a3b4R40 for a clean warning message.
I work on 2.6 compatibility version now (and surely add this new event on 2.6_sp )
Plugin must work in all 2.50 for the maintenance , but i need this event github.com/LimeSurvey/LimeSurvey/commit/...e48db78e1bf65a3b4R40 for a clean warning message.
I work on 2.6 compatibility version now (and surely add this new event on 2.6_sp )
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
- bruce78
- Offline
- Senior Member
Less
More
- Posts: 77
- Thank you received: 4
7 years 2 months ago #147931
by bruce78
Hi Denis, great stuff, thank you... I upgraded to 2.62.1 but while the warning message is shown, people can still complete the survey... also, the plugin didn't redirect?!?
Maybe I'm doing something wrong?
Replied by bruce78 on topic maintenanceMode : set your LimeSurvey instance in maintenance for public
DenisChenu wrote: I work on 2.6 compatibility version now (and surely add this new event on 2.6_sp )
Hi Denis, great stuff, thank you... I upgraded to 2.62.1 but while the warning message is shown, people can still complete the survey... also, the plugin didn't redirect?!?
Maybe I'm doing something wrong?
Attachments:
The topic has been locked.
- DenisChenu
- Topic Author
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13642
- Thank you received: 2491
7 years 2 months ago - 7 years 2 months ago #147933
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic maintenanceMode : set your LimeSurvey instance in maintenance for public
Strange : no {MINUTES} are set ?
I completely tested the plugin yesterday.
Do you have a time difference between server and real ? You are connected as admin ?
testing.sondages.pro/masterall/index.php...88?newtest=Y&lang=en
PS : if warning is shown : it's because time on maintenance are not here : framagit.org/SondagePro-LimeSurvey-plugi...tenanceMode.php#L119
PS : seems i didn't use dateShift for warning : framagit.org/SondagePro-LimeSurvey-plugi...tenanceMode/issues/1
I completely tested the plugin yesterday.
Do you have a time difference between server and real ? You are connected as admin ?
testing.sondages.pro/masterall/index.php...88?newtest=Y&lang=en
PS : if warning is shown : it's because time on maintenance are not here : framagit.org/SondagePro-LimeSurvey-plugi...tenanceMode.php#L119
PS : seems i didn't use dateShift for warning : framagit.org/SondagePro-LimeSurvey-plugi...tenanceMode/issues/1
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Attachments:
Last edit: 7 years 2 months ago by DenisChenu.
The topic has been locked.
- bruce78
- Offline
- Senior Member
Less
More
- Posts: 77
- Thank you received: 4
7 years 2 months ago #147934
by bruce78
Yeah, I was editing the warning text, I don't think that's anything major...
Hmmm, what do you mean, the difference between server and real?
Yeah, I'm logged in as admin...
I'll dig further...
Replied by bruce78 on topic maintenanceMode : set your LimeSurvey instance in maintenance for public
DenisChenu wrote: Strange : no {MINUTES} are set ?
Yeah, I was editing the warning text, I don't think that's anything major...
DenisChenu wrote: Do you have a time difference between server and real ? You are connected as admin ?
Hmmm, what do you mean, the difference between server and real?
Yeah, I'm logged in as admin...
I'll dig further...
The topic has been locked.
- DenisChenu
- Topic Author
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13642
- Thank you received: 2491
7 years 2 months ago #147935
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic maintenanceMode : set your LimeSurvey instance in maintenance for public
Loggued as admin : you have the check the setting to disable public part to admin too.
For time diff it's about : manual.limesurvey.org/Optional_settings#Language_.26_time timeadjust : manual.limesurvey.org/Global_settings#Overview_.26_Update
I didn't test with difference here (and seems i have a little bug with warning : maintenance get timeadjust but not warning)
For time diff it's about : manual.limesurvey.org/Optional_settings#Language_.26_time timeadjust : manual.limesurvey.org/Global_settings#Overview_.26_Update
I didn't test with difference here (and seems i have a little bug with warning : maintenance get timeadjust but not warning)
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
- DenisChenu
- Topic Author
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13642
- Thank you received: 2491
7 years 2 months ago #147952
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic maintenanceMode : set your LimeSurvey instance in maintenance for public
@bruce78 : i review code for timeadjust.
Now : i show the 'server adjusted time' and take it in the 2 part.
Please update to last version : nigthly version are updated too.
Now : i show the 'server adjusted time' and take it in the 2 part.
Please update to last version : nigthly version are updated too.
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
- bruce78
- Offline
- Senior Member
Less
More
- Posts: 77
- Thank you received: 4
7 years 2 months ago #148046
by bruce78
Hi Denis, I tested the latest github build yesterday but never got the website is in maintenance mode... I could always fill out a survey, even if I was in another browser and not logged in...?
Replied by bruce78 on topic maintenanceMode : set your LimeSurvey instance in maintenance for public
DenisChenu wrote: @bruce78 : i review code for timeadjust.
Now : i show the 'server adjusted time' and take it in the 2 part.
Please update to last version : nigthly version are updated too.
Hi Denis, I tested the latest github build yesterday but never got the website is in maintenance mode... I could always fill out a survey, even if I was in another browser and not logged in...?
The topic has been locked.
- DenisChenu
- Topic Author
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13642
- Thank you received: 2491
7 years 2 months ago #148051
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic maintenanceMode : set your LimeSurvey instance in maintenance for public
I don't understand : can not reproduce ....
I add some log, and ask you to show the log. What date/time are shown now in plugin settings ?
I add some log, and ask you to show the log. What date/time are shown now in plugin settings ?
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
- bruce78
- Offline
- Senior Member
Less
More
- Posts: 77
- Thank you received: 4
7 years 2 months ago #148052
by bruce78
Replied by bruce78 on topic maintenanceMode : set your LimeSurvey instance in maintenance for public
Thanks Denis, I'll get back to you once I get a chance to test again....
I suspect the date and time thing might be a problem... the server is probably on London/CET time and my browser is on South African time?
I suspect the date and time thing might be a problem... the server is probably on London/CET time and my browser is on South African time?
The topic has been locked.
- DenisChenu
- Topic Author
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13642
- Thank you received: 2491
7 years 2 months ago - 7 years 2 months ago #148056
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic maintenanceMode : set your LimeSurvey instance in maintenance for public
Yes , and maybe i do some error for the date/time system.
Still : you can see the
- server date/time in global settings : manual.limesurvey.org/Global_settings#General (see Time difference (in hours) )
- corrected date/time in plugin settings (according to Time difference set)
BUT : maybe i made miscalculation when i try to find the good time for maintenace mode.
1st check : put yesterday in maintenance mode : see what happen
2nd check : put tomorrow in maintenance mode + use this as alert:
Still : you can see the
- server date/time in global settings : manual.limesurvey.org/Global_settings#General (see Time difference (in hours) )
- corrected date/time in plugin settings (according to Time difference set)
BUT : maybe i made miscalculation when i try to find the good time for maintenace mode.
1st check : put yesterday in maintenance mode : see what happen
2nd check : put tomorrow in maintenance mode + use this as alert:
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Last edit: 7 years 2 months ago by DenisChenu.
The topic has been locked.