Add "Propose A Session" button with visibility and access control based on submission period

Created on 7 October 2024, about 2 months ago

Motivation

Hi Maintainers,

Thank you for the great work on this module. I recently used this platform for the first time, and I had a suggestion that I think could be helpful.

While working with the platform, I noticed it might be useful to have a feature that disables the option to propose a new session when the submission period is closed.

I was thinking of having a custom block with a "Propose A Session" button, which could be placed anywhere on the website. If a user is logged in, they would be redirected to node/add/session?destination, and if the user is not logged in, they would be redirected to the login page with a message explaining that they need to be logged in to propose a session.

It would be helpful to have a configuration option where the administrator can set the opening and closing times for session proposals.
When session submissions are open, the button would be visible and submitting a session would be accessible to users.
When submissions are closed, the button would be hidden and users would not have access to submit a session.

I’d love to hear your thoughts on this idea, and I’d be happy to help work on it.

Feature request
Status

Active

Version

1.0

Component

Code

Created by

🇩🇪Germany vesnag

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @vesnag
  • 🇨🇦Canada mandclu

    The current CTA block was made configurable so it could address this kind of use case, albeit manually. Theoretically the block could be made more sophisticated to automatically switch between messages based on specified dates.

Production build 0.71.5 2024