Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
899 views
in Q2A Core by
I want to add a pop up box like digg and quora has, How can I show pop up box with login and sign up form to unlogged users? Any help will be appreciated, Thanks in advance!
Q2A version: 1.7

1 Answer

+3 votes
by
edited by
if(!qa_get_logged_in_userid()){
  $notice = "not logged in"; // add login form popup here
  echo $notice;
}
by
I don't want to check the levels of users! I want to pop out login & sign up form side by side so that user can either make an account or login!
by
See corrected answer
by
Thank you @donshakespeare

is there any way to not to show this login message to the user who just logged out?
...