texxasrulez/calender_inboxview 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

texxasrulez/calender_inboxview

最新稳定版本:1.0.1

Composer 安装命令:

composer require texxasrulez/calender_inboxview

包简介

Displays upcoming events from the Roundcube calendar in the Mailbox view.

README 文档

README

Downloads Packagist Downloads Packagist Version Github License GitHub Stars GitHub Issues GitHub Contributors GitHub Forks Donate Paypal

Show upcoming calendar events in the Mail (mailbox) view.

What it does

  • Adds a panel in the Mailbox view that lists upcoming events for the next N days.
  • Adds a toggle in Settings → Preferences → Mailbox View → Upcoming Events (Mailbox View):
    • Display Upcoming Events (on/off)
    • Days to show ahead

Requirements

  • Roundcube 1.5+ (tested against PHP 8+ constructs)
  • The official calendar plugin enabled (Kolab calendar or texxasrulez calendar).

Installation

  1. Copy the folder calender_inboxview into plugins/ on your Roundcube server.
  2. Add calender_inboxview to the $config['plugins'] array in config/config.inc.php.
  3. Optionally copy config.inc.php.dist to config.inc.php and adjust settings.
  4. In Roundcube, go to Settings → Preferences → Mailbox View and enable Display Upcoming Events.

How it fetches events

By default, the plugin tries to call the Calendar plugin's JSON event list endpoint using the current user session. Different calendar plugin versions expose slightly different action names. This plugin tries a few common ones:

  • _action=event_list
  • _action=load_events
  • _action=list

It also attempts both Unix timestamps and ISO strings for the start/end parameters. If your calendar responds on a different action name, let me know — it's trivial to add another try.

If nothing matches, the panel gracefully shows No upcoming events. You can also switch the provider to "dummy" in config.inc.php to validate the UI without touching calendars.

Skinning

  • Basic styles for classic and elastic skins are included. If your custom skin is named differently, the plugin will fall back to the classic stylesheet.

Localization

The localization/ folder contains labels with keys like:

  • ci_prefs_section, ci_display_upcoming, ci_days_ahead, ci_panel_title, ci_no_events

Notes

  • The panel mounts just under the folder list in most skins. If your layout is exotic, adjust the findMountPoint() selector list in js/calender_inboxview.js.

Screenshot

Calendar Inbox View Calendar Inbox SettingsView

统计信息

  • 总下载量: 4
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0
  • 更新时间: 2025-09-12