Hi nickm2013,
Thanks for using this plugin.
Normally, this plugin traces the inactivity all over the site ( No matter where your are – admin end or front end).
There might some conflict, or problem with the settings. For conflict confirmation, can you look over the console (normally F12 would do the work), and paste the error here?
Also check if the object similar to this one is shown in the source code (normally its Ctrl+U ):
var iul = {“ajaxurl”:”http:\/\/abiralneupane.com.np\/wp\/wp-admin\/admin-ajax.php”,”actions”:{“action_type”:”2″,”timer”:20,”disable_admin”:true},”is_mobile”:””};
Also, paste the object shown in your site’s source code.
Thanks
Thanks for your response.
I found this in the console ?
Uncaught TypeError: jQuery(…).idleTimer is not a function
…… script.js?ver=2.0:22
I also had this but I guess that’s unrelated:-
Uncaught TypeError: jQuery(…).bxSlider is not a function
…… bxslider.setup.js?ver=1.0.0:22
I found that script also. This is how it appears in my code.
<script type=’text/javascript’>
/* <![CDATA[ */
var iul = {“ajaxurl”:”http:\/\/mydomainname.com\/wp-admin\/admin-ajax.php”,”actions”:{“action_type”:”2″,”timer”:”20″,”action_value”:””},”is_mobile”:””};
/* ]]> */
</script>
I substituted my real domain name for mydomainname in the above.
Thanks
Nick
I suspect there is plugin conflict.
The error caused by bxSlider is stopping the library script needed for Idle User Logout from executing. If the problem from bxSlider gets resolved, the plugin might start working.
In order to be sure of it, first deactivate idle user logout plugin and see if the error of bxSlider exists. If it still exists then there is high chance that bxSlider is conflicting with the plugin.
Now for the final assurance, deactivate bxSlider plugin, and see if there is any error. If not, then bxSlider is causing the problem.
Thanks
Hello Nick,
Is the issue gone? If yes, please mark it as resolved.
Also, If you applied any other solution, then please share it. This might help other folks using this plugin. 🙂
Regards
Hi
Sorry for the delay. No I still have this issue. Even with the bxSlider disabled I get an error from the console..
Uncaught TypeError: jQuery(…).idleTimer is not a function
And the idleTimer does not work when viewing the front end still.
Thanks
Nick
script.js seems to have an issue on line 22…
if(!disable_admin){
jQuery(document).idleTimer(timer);
jQuery(document).bind(“idle.idleTimer”, function(){
switch(parseInt(action)){
case 2:
idle_user_logout_callback(”,true);
break;
Nick
If jQuery is not seeing it as a function, it’s possible jQuery isn’t being called until after the function loads – take a look in your theme where jQuery is being loaded. If it’s not calling jQuery until after the timeout script, that’s your most likely issue.