Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Global announcement by admin #84

Closed
DEVxALMIGHTY opened this issue Mar 27, 2018 · 7 comments
Closed

Global announcement by admin #84

DEVxALMIGHTY opened this issue Mar 27, 2018 · 7 comments
Assignees
Labels
good first issue Good for newcomers IT SHALL BE DONE Important enough to block everything else. UI PHP Controllers + HTML/CSS/Design/graphics

Comments

@DEVxALMIGHTY
Copy link

DEVxALMIGHTY commented Mar 27, 2018

Requirements

  1. For a site-wide/global announcement, it should appear on the landing page [see Picture 2].
  2. The message should link to an announcement thread allowing user comment.
  3. The message should appear like:

"Welcome to RGUNDEALS.com! Please read this critical announcement from nauticalmile (Admin)."

Where nauticalmile is dynamic field representing name of Admin who posted the global announcment

  1. These type of global announcements should only be allowed by Admin (not Mod or user)[see Picture 1].
  2. They should be configurable to allow for easy posting of future global announcements.
  3. User shall be able to comment on announcements [see Picture 2]
  4. Any admin can "lock" an global announcement thread, making it read-only.

Picture 1: Site-wide announcement @ landing page

image

Picture 2 'this' link will lead to an announcement thread created by Admin

image

@DEVxALMIGHTY DEVxALMIGHTY added good first issue Good for newcomers UI PHP Controllers + HTML/CSS/Design/graphics labels Mar 27, 2018
@DEVxALMIGHTY DEVxALMIGHTY added the IT SHALL BE DONE Important enough to block everything else. label Mar 27, 2018
@DEVxALMIGHTY
Copy link
Author

DEVxALMIGHTY commented Mar 27, 2018

This task is only for site-wide announcements which can only be published by Site Mods.

Forum mods will also need ability to post announcements at a forum-level. I create a separate issue for that task #87

@DEVxALMIGHTY DEVxALMIGHTY changed the title Temporary welcome message Site-wide announcement by Site mod Mar 27, 2018
@psineur
Copy link
Contributor

psineur commented Mar 28, 2018

Site Mod = Admin, correct?

@DEVxALMIGHTY
Copy link
Author

DEVxALMIGHTY commented Mar 28, 2018

@psineur Yes! Updated title.

@DEVxALMIGHTY DEVxALMIGHTY changed the title Site-wide announcement by Site mod Site-wide announcement by Site mod/admin Mar 28, 2018
@nautbot
Copy link
Contributor

nautbot commented Mar 28, 2018

Can probably adopt a nomenclature of admin/mod/user since we own all levels now ;P

@DEVxALMIGHTY DEVxALMIGHTY changed the title Site-wide announcement by Site mod/admin Site-wide announcement by admin Mar 28, 2018
@DEVxALMIGHTY
Copy link
Author

@nautbot agreed - updated user story to reflect this nomenclature.

@DEVxALMIGHTY DEVxALMIGHTY changed the title Site-wide announcement by admin Global announcement by admin Mar 29, 2018
@DEVxALMIGHTY
Copy link
Author

DEVxALMIGHTY commented Mar 30, 2018

@nautbot @tstiegler Some additional details here due to recent misunderstanding ...

The announcement needs to link to a submission on the "Announcements" Forum. See below screenshot for visual aid.

  1. Enable Global Announcment: Need to add a "Enable Global Announcment" checkbox so that admins have control over how long the announcement should be shown on landing page.

  2. Announcement header: Global header content goes here. This will appear as header on front page. You can have some default text here:
    "Welcome to RGUNDEALS.com! Please read this critical announcement from the Site Administrators"

  3. Announcement title: This will be the title of the post created in “Announcements Forum”.

  4. Global Announcement: Actual announcement content goes here. The content shown here will be the content to the new post created in the “Announcements Forum”. This should support markdown.

  5. Save changes:
    [if "Enable Global announcment" is true] Results in a global header being shown and a new post on "Announcements" Forum
    [else]: Results in a new post on "Announcements" Forum (identical outcome as an admin posting directly to Announcement forum.)

Global announcement creation

image

psineur pushed a commit that referenced this issue Apr 1, 2018
- Change site-wide announcement into announcement with thread submission.
- Code cleanup
- Fix username fetch
@DEVxALMIGHTY
Copy link
Author

@tstiegler the announcements look good to me! Can you close this task ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers IT SHALL BE DONE Important enough to block everything else. UI PHP Controllers + HTML/CSS/Design/graphics
Projects
None yet
Development

No branches or pull requests

5 participants