PluginProbe
Event Post / 6.0.0
Event Post v6.0.0
6.1.1 6.1.0 6.0.1 6.0.0 5.12.0 trunk 3.9 4.0 4.2 4.3 4.4 4.5 5.0 5.1 5.10.0 5.10.1 5.10.2 5.10.3 5.10.4 5.11.0 5.11.1 5.2 5.5 5.6 5.6.1 All 46 releases
event-post / readme.txt

readme.txt in Event Post 6.0.0, at readme.txt

426 lines 13.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 # Event Post
2 Contributors: bastho, leroysabrina, unecologeek, agencenous
3 Donate link: https://apps.avecnous.eu/en/product/eventpost/?mtm_campaign=wp-plugin&mtm_kwd=event-post&mtm_medium=wp-repo&mtm_source=donate
4 Tags: calendar, events, booking, map, geolocation
5 Requires at least: 6.3
6 Tested up to: 7.0
7 Stable tag: 6.0.0
8 Author URI: https://apps.avecnous.eu/?mtm_campaign=wp-plugin&mtm_kwd=event-post&mtm_medium=wp-repo&mtm_source=author
9 License: GPLv2
10 License URI: https://www.gnu.org/licenses/gpl-2.0.html
11
12 The only WordPress plugin using native posts as full calendar events with begin and end date, geolocation, color and weather.
13
14 ## Description
15
16 Adds some meta-data to posts to convert them into full calendar events.
17 Each event can be exported into ical(.ics), outlook(vcs), or Google Calendar.
18 Geolocation works thanks to openstreetmap.
19
20 It can also fetch the weather, but doesn't bring the sun :)
21
22 Follow [@wpeventpost](https://twitter.com/wpeventpost) on Twitter for latest news.
23
24 Examples on [event-post.com](https://event-post.com/?mtm_campaign=wp-plugin&mtm_kwd=event-post&mtm_medium=wp.org)
25
26 ### Post metas
27
28 **Date attributes**
29
30 * Begin Date
31 * End Date
32 * Color
33 * Event Status
34 * Event Attendance Mode
35
36 **Location attributes**
37
38 * Address
39 * GPS coordinates
40 * Event Virtual Location
41
42 **WooCommerce compliant**
43
44 You can enable event features on Woocommerce products. The event will be displayed on the product page. Moreover, the product price will be displayed in event list, calendar, map and timeline.
45
46 This, way, you can sell tickets for your events, effortlessly and without any additional plugin.
47
48 **Weather attribute** (for a given location and date if possible)
49
50 * Weather
51 - Temperature
52 - Weather
53
54 ### Usage
55
56 [Plugins/themes developpers documentation](https://event-post.com/docs/event-post/?mtm_campaign=wp-plugin&mtm_kwd=event-post&mtm_medium=wp.org)
57
58 ## Blocks & Shortcodes
59 The plugin comes with several blocks/shortcodes which allows to:
60
61 * `[events_list]`: display a list of events
62 * `[events_map]`: display a map of events
63 * `[events_cal]`: display a calendar of events
64 * `[event_details]`: display a detail of the current event
65 * `[event_term]`: display the date range of a given term based on all events it contains
66
67 ### [events_list]
68 #### Query parameters
69 * **nb=5** *(number of post, -1 is all, default: 5)*
70 * **future=1** *(boolean, retrieve, or not, events in the future, default = 1)*
71 * **past=0** *(boolean, retrieve, or not, events in the past, default = 0)*
72 * **cat=''** *(string, select posts only from the selected category, default=null, for all categories)*
73 * **tag=''** *(string, select posts only from the selected tag, default=null, for all tags)*
74 * **tax_name=''** *(string, custom taxonomy name)*
75 * **tax_term=''** *(string, the term for above taxonomy)*
76 * **geo=0** *(boolean, retreives or not, only events which have geolocation informations, default=0)*
77 * **order="ASC"** *(string (can be "ASC" or "DESC")*
78 * **orderby="meta_value"** *(string (if set to "meta_value" events are sorted by event date, possible values are native posts fields : "post_title","post_date" etc...)*
79
80 #### Display parameters
81
82 * **thumbnail=''** *(Bool, default:false, used to display posts thumbnails)*
83 * **thumbnail_size=''** *(String, default:"thmbnail", can be set to any existing size : "medium","large","full" etc...)*
84 * **excerpt=''** *(Bool, default:false, used to display posts excerpts)*
85 * **style=''** *(String, add some inline CSS to the list wrapper)*
86 * **type="div"** *(string, possible values are : div, ul, ol default=div)*
87 * **title=''** *(string, hidden if no events is found)*
88 * **before_title='<h3>'** *(string (default <h3>)*
89 * **after_title='</h3>'** *(string (default </h3>)*
90 * **container_schema=''** *(string html schema to display list)*
91 * **item_schema=''** *(string html schema to display item)*
92
93 example:
94
95 `<!-- wp:eventpost/list {"nb":10,"future":true,"past":true,"thumbnail":false,"excerpt":false,"pages":true} /-->`
96
97 `[events_list future=1 past=1 cat="actuality" nb=10]`
98
99
100 container_schema default value:
101
102 > &lt;%type% class="event_loop %id% %class%" id="%listid%" style="%style%" %attributes%&gt;
103 > %list%
104 > &lt;/%type%&gt;
105 >
106
107
108 item_schema default value:
109
110 > &lt;%child% class="event_item %class%" data-color="%color%"&gt;
111 > &lt;a href="%event_link%"&gt;
112 > %event_thumbnail%
113 > &lt;h5>%event_title%&lt;/h5&gt;
114 > &lt;/a&gt;
115 > %event_date%
116 > %event_cat%
117 > %event_location%
118 > %event_excerpt%
119 > &lt;/%child%&gt;
120 >
121
122 ### [events_map]
123
124 * **nb=5** *(number of post, -1 is all, default: 5)*
125 * **future=1** *(boolean, retreive, or not, events in the future, default = 1)*
126 * **past=0** *(boolean, retreive, or not, events in the past, default = 0)*
127 * **cat=''** *(string, select posts only from the selected category, default=null, for all categories)*
128 * **tag=''** *(string, select posts only from the selected tag, default=null, for all tags)*
129 * **tax_name=''** *(string, custom taxonomy name)*
130 * **tax_term=''** *(string, the term for above taxonomy)*
131 * **tile=''** *(string (default@osm.org, OpenCycleMap, mapquest, osmfr, 2u, satelite, toner), sets the map background, default=default@osm.org)*
132 * **title=''** *(string (default)*
133 * **zoom=''** *(number or empty (default, means fit to points)*
134 * **before_title='&lt;h3&gt;';** *(string (default &lt;h3&gt;)*
135 * **after_title='&lt;/h3&gt;'** *(string (default &lt;/h3&gt;)**
136 * **thumbnail=''** * (Bool, default:false, used to display posts thumbnails)*
137 * **excerpt=''** *(Bool, default:false, used to display posts excerpts)*
138 * **list=''** *(String ("false", "above", "below", "right", "left") default: "false", Display a list of posts)*
139
140 example:
141
142 `<!-- wp:eventpost/map {"nb":-1,"future":true,"past":true,"tile":"toner","list":"below","map_position":false,"disable_mousewheelzoom":true} /-->`
143
144 `[events_map future=1 past=1 cat="actuality" nb="-1"]`
145
146 ### [events_cal]
147
148 * **cat=''** *(string, select posts only from the selected category, default=null, for all categories)*
149 * **date=''** *(string, date for a month. Absolutly : 2013-9 or relatively : -1 month, default is empty, current month*
150 * **datepicker=1** *(boolean, displays or not a date picker)*
151 * **mondayfirst=0** *(boolean, weeks start on monday, default is 0 (sunday)*
152 * **display_title=0** *(boolean, displays or not events title under the day number)*
153 * **tax_name=''** *(string, custom taxonomy name)*
154 * **tax_term=''** *(string, the term for above taxonomy)*
155
156 example:
157
158 `<!-- wp:eventpost/calendar {"date":"-2 months","color":true,"display_title":true,"mondayfirst":"1","choose":false} /-->`
159
160 `[events_cal cat="actuality" date="-2 months" mondayfirst=1 display_title=1]`
161
162 ### [event_details]
163
164 * **attribute** *string (date, start, end, address, location). The default value is NULL and displays the full event bar*
165
166 `<!-- wp:eventpost/details /-->`
167
168 `[event_details attribute="address"]`
169
170 ### Hooks
171 <a id="hooks"></a>
172 #### Filters
173 * eventpost_add_custom_box_position
174 * event_post_class_calendar_link
175 * eventpost_columns_head
176 * eventpost_contentbar
177 * eventpost_default_list_shema
178 * eventpost_get
179 * eventpost_get_items
180 * eventpost_get_post_types
181 * eventpost_get_single
182 * eventpost_getsettings
183 * eventpost_item_scheme_entities
184 * eventpost_item_scheme_values
185 * eventpost_list_shema
186 * eventpost_listevents
187 * eventpost_maps
188 * eventpost_multisite_get
189 * eventpost_multisite_blogids
190 * eventpost_params
191 * eventpost_printdate
192 * eventpost_printlocation
193 * eventpost_bulk_edit_fields
194 * eventpost_quick_edit_fields
195 * eventpost_retreive
196 * event-post-rich-result
197 * eventpost_shortcode_slug
198
199 #### Actions
200 * evenpost_init
201 * eventpost_add_custom_box
202 * eventpost_custom_box_date
203 * eventpost_custom_box_loc
204 * after_eventpost_generator
205 * eventpost_getsettings
206 * eventpost_settings_form
207 * eventpost_after_settings_form
208
209 ## Installation
210
211 1. Upload `event-post` to the `/wp-content/plugins/` directory
212 2. Activate the plugin through the 'Plugins' menu in WordPress admin
213 3. You can edit defaults settings in Settings > Event post
214
215 ## Frequently asked questions
216
217 ### How can I report security bugs?
218 You can report security bugs through the Patchstack Vulnerability Disclosure Program. The Patchstack team help validate, triage and handle any security vulnerabilities. [Report a security vulnerability.](https://patchstack.com/database/wordpress/plugin/event-post/vdp)
219
220 ### Is the plugin free ?
221 Yes, and it uses only open-sources : openstreetmap, openlayer, jquery
222
223 ### How do I enable weather feature ?
224 Weather feature uses openweathermap.org api.
225
226 You have to create an account and generate an API key at http://openweathermap.org/price
227
228 I have no interest in openweathermap.org, I personally use the free plan.
229
230 ### Is there any limitation for the weather feature ?
231 Openweathermap.org provides a free plan limited to 60 requests per minute.
232
233 You can also subscribe to paid plan, I don't care.
234
235
236 ## Screenshots
237
238 1. Map in single page
239 2. Editor interface for the List Block
240 3. Editor interface for event data
241 4. Editor interface for location data
242 ## Changelog
243
244 ### 6.0.0
245
246 - Add align support on blocks
247 - Improves Timeline:
248 - New vertical layout
249 - New "order" option
250 - Add gesture support
251 - Add time markers
252 - Use CSS vars
253 - Improves Map:
254 - Split options in editor
255 - Ensure data are loaded before rendering map block
256 - Security: Add direct file access protections
257 - Add comments for translators
258 - Update apiVersion to 3 in block declarations
259
260 ### 5.12.0
261
262 - More reliable interaction options in map block editor
263 - Add new geocode method for factorization purpose
264 - Fix margins in map block editor
265 - Update deps
266
267 ### 5.11.1
268
269 - Update dependencies
270
271 ### 5.11.0
272
273 - More flexible filters in ICS links: allows to deal with custom taxonomies
274 - ICS: Improve DESCRIPTION formatting for better calendar compatibility
275 - Security: Escape some outputs
276
277 ### 5.10.4
278
279 - Fix geocoding with Nominatim: use HTTPS, add User-agent and referer for API calls
280 - Add explicit Nominatim attribution in geocoding tool
281 - Fix XSS vulnerability when the HTML tag in event_type was forced, reported by Muhammad Yudha - DJ
282
283 ### 5.10.3
284
285 - Fix broken HTML for `container_schema`
286
287 ### 5.10.2
288
289 - Security: Fix XSS vulnerability in `events_list` shortcode for `item_schema` and `container_schema` attributes, reported by Peter Thaleikis
290 - Update dependencies
291
292 ### 5.10.1
293
294 - Ensure script is loaded in shortcode context
295 - Fix "undefined" price in map
296
297 ### 5.10.0
298
299 - Add support for organization / remote offer in rich event data
300 - Manage multiple maps on single page
301 - Security: Escape attributes in custom boxes
302 - Fix too much escaped HTML in `eventpost/details` block
303 - Fix missing script for single map link
304 - Disambiguate `event_category` class
305 - Remove deprecated `FILTER_SANITIZE_STRING`
306 - Moves Weather to EventPost namespace
307 - Re-order hooks, fix warnings
308
309 ### 5.9.11
310
311 - fix save_bulkdatas(): Add nonce verification for security, reported by Francesco Carlucci
312 - fix `ltrim()` Passing null to parameter 1, reported by ov3rfly
313
314 ### 5.9.10
315
316 - Security: Authenticated (Contributor+) Stored Cross-Site Scripting, reported by Peter Thaleikis
317
318 ### 5.9.9
319
320 - Security: Sanitize GPS coordinates, fixes Cross Site Scripting, reported by preo
321
322 ### 5.9.8
323
324 - Security: Fix Cross Site Scripting, reported by Peter Thaleikis
325
326 ### 5.9.7
327
328 - Security: Fix vulnerability to XSS in `[events_cal]` shortcode, reported by Peter Thaleikis
329 - Ensure that date is well formated in `[events_cal]` shortcode
330
331 ### 5.9.6
332
333 - Security: Fix vulnerability to local file inclusion
334
335 ### 5.9.5
336
337 - Fixed a bug that display html as string in event calendar blocks
338 - Fixed javascript warning in event map block
339
340 ### 5.9.4
341
342 Security:
343
344 - Fix authenticated (Contributor+) Stored Cross-Site Scripting via shortcode
345 - Uses bulk_edit_posts hook, fixes lack of verification in bulk edit
346 - Escape some outputs
347 - Fix missing jQuery dependency in timeline-block
348
349 Misc:
350
351 - Deindex inexisting "Event-post front" and "Event-post admin" blocks
352 - Add main global EventPost object for JS variables
353 - Allows to skip deprecation error
354 - Adds instructions for translators
355 - Limit number of tags in plugin README
356
357 Now requires WordPress 6.3
358
359 ### 5.9.3
360
361 - Fix quick edit fields
362
363 ### 5.9.2
364
365 - Fix call of Wp_Query in EventPost\Children
366 - Fix display of hours in timepicker for AM/PM format
367 - Fix saving of timeline schemas settings
368 - Use wp_json_encode instead of json_encode
369 - Use rawurlencode instead of urlencode
370 - Adds instructions for translators
371
372 ### 5.9.1
373
374 - Fix doing_it_wrong calls in legacy widgets
375 - Escape HTML & outputs
376
377 ### 5.9.0
378
379 Security:
380
381 - Fixes XSS vuln in event metadata (https://patchstack.com/database/report-preview/8edeb59a-59e6-42aa-8ed4-5f79cdedf820)
382
383 Features:
384
385 - Adds "Completed" event status
386
387 Misc:
388
389 - Refactor source of blocks with wordpress-scripts
390 - Improves WordPress's PHPCS compliance
391 - Fix deprecated gmt_offset
392 - Mark legacy widgets as deprecated
393 - Fix warnings in PHP8+
394
395 ### 5.8.6
396
397 - Fix December month on native datepicker
398
399 ### 5.8.5
400
401 - Dissociate event description from post excerpt
402 - Remove double line breaks and &nbsp in description
403
404
405
406
407 ## Upgrade notice
408
409 ### 6.0.0
410 * CSS class of event items are refactored: lowercase, removed overkilled prefixes
411
412 ### 4.1.1
413 Increases accessibility
414
415 ### 3.6.2
416 * Fix "get_plugin_data" error.
417
418 ### 3.5.0
419 * New options are available for: icons in the loop, default position of the admin boxes
420 * New shortcode [event_details] is available
421 * Support for Shortcake (Shortcode UI plugin)
422
423 ### 2.7.0
424 * The event meta box is no more displayed for non posts items such as pages or custom post-types
425 * Please active the multisite plugin in order to allow your users to browse events from the network
426