Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.

How to display a warning only for a few types of users?

+3 votes
139 views
asked Apr 18, 2013 in Q2A Core by Ronlaw
edited Apr 18, 2013 by Ronlaw

I want to display a message to users who are not logged in and who haven't confirmed their e-mail, telling them about how their question is going to wait for moderation unless they login or sign up. I don't want the message to be read by anyone else but these people.

Edit

The purpose of telling only them is to make this warning useful to people who already did confirm their email but forgot to login. That could happen if you visit the site at work and it happens quite frequently because it's not that easy to tell when you are posting anonymously.

Q2A version: 1.5.4.

1 Answer

0 votes
answered Apr 18, 2013 by jugu
To send all posts if email is not confirmed to moderation------->

-->Admin

----->Spam

--------->Use moderation if email not confirmed: (check this one)

To display a message (You didn't specify where, so I assume on every page on page)

--->Admin

------>Layout

-------->Custom HTML at top of every page:(check this one, and write you message here)(You can use html, that means you can style your message as you want)

 

Do you allow anyone to post?
commented Apr 18, 2013 by Ronlaw
I edited the question to include more details. I want to display a message exclusively for people who haven't logged in or haven't confirmed their email. These are the people who currently have to wait in line for their question or answer to be approved by a moderator.
...