Welcome, Guest
Username: Password: Remember me
Discussion about the Another Events Calendar plugin for WordPress.

TOPIC: Filtering events by author?

Filtering events by author? 10 months 3 weeks ago #1586

  • Denis
  • Denis's Avatar
  • Offline
  • New Member
  • Posts: 2
  • Karma: 0
Hello there!
Can you tell me how to configure/modify your wonderful plugin to manage events only by their authors?
I want user to create, edit/delete and see his events only.
Your rapid reply will be appreciated!
Thank you!
The administrator has disabled public write access.

Filtering events by author? 10 months 3 weeks ago #1587

  • Super User
  • Super User's Avatar
  • Offline
  • Administrator
  • Posts: 328
  • Thank you received: 70
  • Karma: 18
This is how it works normally in the front-end Events Manager pages. I doubt you speak about the plugin back-end. If yes, kindly follow the steps below,

1. Open /wp-content/plugins/another-events-calendar/admin/class-aec-admin-events.php

2. Locate the function "register_post_type"

3. Change the 'show_ui' parameter from the $args array as follows,
'show_ui' => current_user_can( 'administrator' ) ? true : false,

4. Save the changes and try now.
The administrator has disabled public write access.
The following user(s) said Thank You: Denis

Filtering events by author? 10 months 3 weeks ago #1588

  • Denis
  • Denis's Avatar
  • Offline
  • New Member
  • Posts: 2
  • Karma: 0
Thank you for your prompt reply!
Endeed, in the front-end Events Manager it works perfectly, but if I want to use Events Calendar it doesn't work.
Each user can see and get direct link to all public events. This is my problem and this I want to modify.
The administrator has disabled public write access.

Filtering events by author? 10 months 3 weeks ago #1589

  • Super User
  • Super User's Avatar
  • Offline
  • Administrator
  • Posts: 328
  • Thank you received: 70
  • Karma: 18
Very sorry. This is not possible.
The administrator has disabled public write access.
Time to create page: 0.410 seconds