Jump to content
  • 0

Flux CP Woe time and Castle


Limestone

Question


  • Group:  Members
  • Topic Count:  155
  • Topics Per Day:  0.03
  • Content Count:  647
  • Reputation:   16
  • Joined:  11/21/11
  • Last Seen:  

how to implement this on my CP? Thank you..

Link to comment
Share on other sites

3 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  82
  • Reputation:   11
  • Joined:  01/01/12
  • Last Seen:  

config>server.php

Use 24hour time http://easysurf.cc/cmtime.htm

The middle numbers are the days 0 Suday 1 Monday 2 Tuesday 3 Wednesday 4 Thursday etc.

Don't forget to remove the comments "//"

'WoeDayTimes'   => array(
//array(0, '12:00', 0, '14:00'), // Example: Starts Sunday 12:00 PM and ends Sunday 2:00 PM
//array(3, '14:00', 3, '15:00')  // Example: Starts Wednesday 2:00 PM and ends Wednesday 3:00 PM
),

You can add as many times as you want.

e.g

'WoeDayTimes'   => array(
 array(0, '12:00', 0, '14:00'), // Example: Starts Sunday 12:00 PM and ends Sunday 2:00 PM
 array(3, '14:00', 3, '15:00')  // Example: Starts Wednesday 2:00 PM and ends Wednesday 3:00 PM
 array(4, '12:00', 4, '14:00'), // Example: Starts Thursday 12:00 PM and ends Thursday 2:00 PM
 array(5, '14:00', 5, '15:00')  // Example: Starts Friday 2:00 PM and ends Friday 3:00 PM
),

config>config.php

Remove the comment '//"

//'Castles'	   => array('module' => 'castle'),

Edited by Obliterate
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  155
  • Topics Per Day:  0.03
  • Content Count:  647
  • Reputation:   16
  • Joined:  11/21/11
  • Last Seen:  

the WoE time is working, thanks for the reply.

but in Castle, i already remove the "//" but the Castles not showing..

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  108
  • Reputation:   0
  • Joined:  08/01/12
  • Last Seen:  

what fluxcp did you use?

Link to comment
Share on other sites

×
×
  • Create New...