I would like for everyone to see a notification bar the next time they log in. I would like to remind everyone to check the FAQ. I want it to be like when you earn a badge while not logged in. You log in and the yellow bar immediately appears. It would say "FAQ has been updated - Click here" and have a link to the FAQ. Once the user had dismissed it they would never see it again.

asked 25 Oct '11, 06:34

YoshieMaster's gravatar image

YoshieMaster
136115
accept rate: 75%


Alright, figured it out.
I edited osqa/forum/management/commands/message_to_everyone.py so that the line looking like

msg = ""

instead said

msg = "%s, <my message here>

Then I ran

python2.6 manage.py message_to_everyone

in console

link

answered 01 Nov '11, 05:26

YoshieMaster's gravatar image

YoshieMaster
136115
accept rate: 75%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×298
×24

Asked: 25 Oct '11, 06:34

Seen: 702 times

Last updated: 01 Nov '11, 05:26

powered by OSQA