Extension talk:Popup

Hello. I want to show popup only for users that are not logged in. What should I add to the sourcecode? --Tarasius.ua (talk) 12:42, 31 July 2012 (UTC)

You simply have to check wheter the user is logged in or not. Therefore add the $wgUser to the global statement (line 35) and then check if the user is logged in with the following code.

That should help. --Jperl (talk) 13:24, 31 July 2012 (UTC)