The following warnings occurred:
Warning [2] Undefined array key "threadviews_countguests" - Line: 745 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php 745 errorHandler->error_callback
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 1121 build_postbit
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 1121 build_postbit
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 861 postParser->parse_message
/showthread.php 1121 build_postbit
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 1121 build_postbit
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 1121 build_postbit
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 1121 build_postbit
Warning [2] Undefined property: MyLanguage::$thread_modes - Line: 46 - File: showthread.php(1650) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php(1650) : eval()'d code 46 errorHandler->error_callback
/showthread.php 1650 eval




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Calendar Start Day
#1
How can I make Sunday the first day of the week instead of Monday?
Reply
#2
(2019-01-10, 05:07:29)keframil Wrote: How can I make Sunday the first day of the week instead of Monday?

If you mean with the Calendar plugin, unfortunately you can't (it's hardcoded).
Your best bet would be to create a Google Calendar embed through https://calendar.google.com/calendar/embedhelper
Reply
#3
Thank you for the reply, but I figured it out.
Took me a couple of days going trough every file in the code but managed to find what to edit.
Check it Out here: http://cfas.org/calendar/
Regards
Reply
#4
(2019-01-31, 01:55:08)keframil Wrote: Thank you for the reply, but I figured it out.
Took me a couple of days going trough every file in the code but managed to find what to edit.
Check it Out here: http://cfas.org/calendar/
Regards

Could you please supply your solution here in this topic? I am sure it is helpful for others.
Reply
#5
(2019-01-31, 08:50:29)datiswous Wrote:
(2019-01-31, 01:55:08)keframil Wrote: Thank you for the reply, but I figured it out.
Took me a couple of days going trough every file in the code but managed to find what to edit.
Check it Out here: http://cfas.org/calendar/
Regards

Could you please supply your solution here in this topic? I am sure it is helpful for others.

I meant to do that. Here you go:
Go to: plugins\calendar\inc
Open calendar.php

First 3 lines of code:

function c_firstDay($month, $year) {
    $day = date('N', mktime(0,0,0,$month,2,$year));
    return $day;

make sure to change to a number 2 just before ,$year)); on the second line and save it.

Then Open:   client_calendar.php
scroll down to the table for the days of the week and move this line to the beginning of the table(just before Monday)

<th class="sunday"><?php i18n('calendar/Sunday'); ?></th>

And that's it.
Enjoy
Reply




Users browsing this thread: 1 Guest(s)