Calendar by WD – Responsive Event Calendar - Version 1.4.12

Version Description

Download this release

Release Info

Developer webdorado
Plugin Icon 128x128 Calendar by WD – Responsive Event Calendar
Version 1.4.12
Comparing to
See all releases

Code changes from version 1.4.11 to 1.4.12

calendar.php CHANGED
@@ -4,7 +4,7 @@
4
  Plugin Name: Spider Event Calendar
5
  Plugin URI: http://web-dorado.com/products/wordpress-calendar.html
6
  Description: Spider Event Calendar is a highly configurable product which allows you to have multiple organized events. Spider Event Calendar is an extraordinary user friendly extension.
7
- Version: 1.4.11
8
  Author: http://web-dorado.com/
9
  License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
10
  */
4
  Plugin Name: Spider Event Calendar
5
  Plugin URI: http://web-dorado.com/products/wordpress-calendar.html
6
  Description: Spider Event Calendar is a highly configurable product which allows you to have multiple organized events. Spider Event Calendar is an extraordinary user friendly extension.
7
+ Version: 1.4.12
8
  Author: http://web-dorado.com/
9
  License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
10
  */
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://web-dorado.com/products/wordpress-calendar.html
4
  Tags: calendar, calendars, event, event calendar, event manager, events calendar,calendar widget, event registration, event management,events, Kalender, agenda, calendario, availability calendar,online calendar,holiday calendar , scheduling, free calendar, Calender, upcoming events , event widget , event list, calendar localization, Organizer, editorial calendar, Interactive Calendar, news calendar, meeting , appointment, event tracking, event organizer, upcoming events widget, event page
5
  Requires at least: 3.0
6
  Tested up to: 4.1
7
- Stable tag: 1.4.11
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -140,6 +140,30 @@ Vietnamese (vi)
140
  6. WordPress Event Calendar - Edit Theme
141
 
142
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
143
  == Changelog ==
144
 
145
  = 1.4.11 =
4
  Tags: calendar, calendars, event, event calendar, event manager, events calendar,calendar widget, event registration, event management,events, Kalender, agenda, calendario, availability calendar,online calendar,holiday calendar , scheduling, free calendar, Calender, upcoming events , event widget , event list, calendar localization, Organizer, editorial calendar, Interactive Calendar, news calendar, meeting , appointment, event tracking, event organizer, upcoming events widget, event page
5
  Requires at least: 3.0
6
  Tested up to: 4.1
7
+ Stable tag: 1.4.12
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
140
  6. WordPress Event Calendar - Edit Theme
141
 
142
 
143
+ == Frequently Asked Questions ==
144
+
145
+ = 1. Can Spider Calendar display more than one event per day? =
146
+ You can add multiple events per single day. The first event will be displayed in the Month view with a hyperlink �See More�. Upon clicking �See More� the list of the events will be displayed in a pop-up.
147
+
148
+ = 2. Is it possible to translate the Spider Calendar into another language? =
149
+ It is only possible to translate the front end of the plugin. To do so, you should set define('WPLANG','[lang_code]') to the desired language code in wp_config.php file of your website. This way the plugin should be translated automatically. Please be informed, that you can modify the translations from wp-content/plugins/spider_event_calendar/languages/ (you will need POEdit http://www.poedit.net/download.php).
150
+
151
+ = 3. Can I insert a picture in an event? =
152
+ Yes, you can insert any HTML, including images into the text (and even in the title) of an event.
153
+
154
+ = 4. Can I create recurring events? =
155
+ Yes, there are multiple options for creating recurring events, including events which repeat on a daily, monthly, weekly or yearly basis (the options can be set from the back end).
156
+
157
+ = 5. Is it possible to change the month and the year initially displayed on the calendar? =
158
+ Yes, when creating the calendar you can change both the initial year and display month. If you leave the year blank it will display the current year. For the month you can select a specific month from the dropdown list or leave it to �current� option.
159
+
160
+ = 6. Is it possible to edit the events by the user from front end or back end? =
161
+ It is only possible to add events from the back end by the Administrator role user.
162
+
163
+ = 7. Why do I need separate upcoming events widget? =
164
+ In addition to the typical calendar which comes as a plugin and widget, you also get an upcoming events widget. It displays the upcoming events with a list view. The theme and its overall appearance can be modified within the widget area.
165
+
166
+
167
  == Changelog ==
168
 
169
  = 1.4.11 =
spidercalendar_upcoming_events_widget.php CHANGED
@@ -152,7 +152,7 @@ var thickDims, tbWidth, tbHeight;
152
 
153
  $widget = ((isset($_GET['widget']) && (int) $_GET['widget']) ? (int) $_GET['widget'] : 1);
154
 
155
- $query=$wpdb->prepare ("SELECT popup_width,popup_height FROM " . $wpdb->prefix . "spidercalendar_widget_theme WHERE id=%d",$theme_id);
156
  $popup_w_hs= $wpdb->get_results($query);
157
 
158
  $popup_w_h = array(
@@ -444,7 +444,7 @@ border:2px solid #6A6A6A;;
444
 
445
 
446
  <?php
447
- $query1= $wpdb->prepare ("SELECT * FROM " . $wpdb->prefix . "spidercalendar_event WHERE published='1' LIMIT 0,%d",$event_from_current_day);
448
  $rows = $wpdb->get_results($query1);
449
 
450
 
@@ -490,14 +490,14 @@ echo '<div class="module'.$id.'">';
490
 
491
  if($view_type==0)
492
  {
493
- $query=$wpdb->prepare ("SELECT * FROM " . $wpdb->prefix . "spidercalendar_event WHERE calendar=%d AND published='1' ORDER BY date",$calendar_id);
494
  $evs = $wpdb->get_results($query);
495
 
496
  $st_date=date('Y-m-d');
497
  $dates=array();
498
  foreach($evs as $ev)
499
  {
500
-
501
  $st=$ev->date;
502
  if($ev->date_end!='0000-00-00')
503
  $en=$ev->date_end;
@@ -1038,12 +1038,12 @@ $order="ORDER BY RAND()";
1038
  $limit=$count1;
1039
  }
1040
 
1041
- $query=$wpdb->prepare (" SELECT * FROM " . $wpdb->prefix . "spidercalendar_event WHERE calendar=%d AND published='1' ".$order,$calendar_id);
1042
  $evs= $wpdb->get_results($query);
1043
  $dates=array();
1044
  foreach($evs as $ev)
1045
  {
1046
-
1047
  $st=$ev->date;
1048
  if($ev->date_end!='0000-00-00' AND $ev->date_end!='')
1049
  {
@@ -1509,6 +1509,7 @@ $dates=array();
1509
 
1510
  foreach($events as $ev)
1511
  {
 
1512
  $st=$ev->date;
1513
 
1514
  if($ev->date_end!='0000-00-00')
@@ -1813,7 +1814,6 @@ echo '<div id="event_repeat'.$id.'" >';
1813
 
1814
  else
1815
 
1816
-
1817
  echo week_convert_recent($week[$g]);
1818
 
1819
 
152
 
153
  $widget = ((isset($_GET['widget']) && (int) $_GET['widget']) ? (int) $_GET['widget'] : 1);
154
 
155
+ $query="SELECT popup_width,popup_height FROM " . $wpdb->prefix . "spidercalendar_widget_theme WHERE id=".$theme_id;
156
  $popup_w_hs= $wpdb->get_results($query);
157
 
158
  $popup_w_h = array(
444
 
445
 
446
  <?php
447
+ $query1= "SELECT * FROM " . $wpdb->prefix . "spidercalendar_event WHERE published='1' LIMIT 0,".$event_from_current_day;
448
  $rows = $wpdb->get_results($query1);
449
 
450
 
490
 
491
  if($view_type==0)
492
  {
493
+ $query="SELECT * FROM " . $wpdb->prefix . "spidercalendar_event WHERE calendar=".$calendar_id." AND published='1' ORDER BY date";
494
  $evs = $wpdb->get_results($query);
495
 
496
  $st_date=date('Y-m-d');
497
  $dates=array();
498
  foreach($evs as $ev)
499
  {
500
+ $weekdays_start=array();
501
  $st=$ev->date;
502
  if($ev->date_end!='0000-00-00')
503
  $en=$ev->date_end;
1038
  $limit=$count1;
1039
  }
1040
 
1041
+ $query=" SELECT * FROM " . $wpdb->prefix . "spidercalendar_event WHERE calendar= ".$calendar_id." AND published='1' ".$order;
1042
  $evs= $wpdb->get_results($query);
1043
  $dates=array();
1044
  foreach($evs as $ev)
1045
  {
1046
+ $weekdays_start=array();
1047
  $st=$ev->date;
1048
  if($ev->date_end!='0000-00-00' AND $ev->date_end!='')
1049
  {
1509
 
1510
  foreach($events as $ev)
1511
  {
1512
+ $weekdays_start=array();
1513
  $st=$ev->date;
1514
 
1515
  if($ev->date_end!='0000-00-00')
1814
 
1815
  else
1816
 
 
1817
  echo week_convert_recent($week[$g]);
1818
 
1819