It works now, Thank !I have found out your problem. When you put the position in all (I assume that, please correct me if it's not the case), the $_WidgetFramework_positionCode will be "all" as designed. If you wish to check for register page and login etc., please try this:
PHP:!in_array($viewName, array( 'XenForo_ViewPublic_Register_Form', 'XenForo_ViewPublic_Login_Login', 'XenForo_ViewPublic_Misc_Contact', ))
In future version, you can use the other version of expression for easy access.