Users gets logged out when viewing posts. – UserPro Forums https://forum.userproplugin.com/forums/topic/users-gets-logged-out-when-viewing-posts/feed/ Sat, 18 May 2024 05:16:13 +0000 https://bbpress.org/?v=2.6.2 en-US https://forum.userproplugin.com/forums/topic/users-gets-logged-out-when-viewing-posts/#post-28177 <![CDATA[Users gets logged out when viewing posts.]]> https://forum.userproplugin.com/forums/topic/users-gets-logged-out-when-viewing-posts/#post-28177 Sun, 16 Mar 2014 19:13:36 +0000 RaffHaff Hi,

I’m having a problem with the plugin. If I log in at http://smashpress.se/profile/login/ (try login with ‘user:demo pass:demodemo1). Then go to the Startpage (Startsidan) and then click on one of the posts, I will automaticly get logged out for some reason. If I go to one of the posts using a direct link, this will not happen, but only when using a link via the startpage.

Any ideas? Thanks.

]]>
https://forum.userproplugin.com/forums/topic/users-gets-logged-out-when-viewing-posts/#post-28199 <![CDATA[Reply To: Users gets logged out when viewing posts.]]> https://forum.userproplugin.com/forums/topic/users-gets-logged-out-when-viewing-posts/#post-28199 Sun, 16 Mar 2014 23:43:35 +0000 RaffHaff This is very strange. After further research, I’ve tried and noticed following:
– Tried deactivate all other plugins and change the theme back to default ‘twentyfourteen’, problem remained.
– Removed & reinstalled the plugin in completely, problem remained.
– Tried the website in Chrome instead of Firefox and the problem did NOT remain! So I tried to reinstall firefox completely (removing all add-ons in process), and restarted my computer, but the problem still remained in Firefox.

]]>
https://forum.userproplugin.com/forums/topic/users-gets-logged-out-when-viewing-posts/#post-28256 <![CDATA[Reply To: Users gets logged out when viewing posts.]]> https://forum.userproplugin.com/forums/topic/users-gets-logged-out-when-viewing-posts/#post-28256 Mon, 17 Mar 2014 12:35:43 +0000 admin I can’t replicate this issue here. ๐Ÿ™‚ There’s no auto logout code anywhere in userpro. That could be a problem with your browser. Does anyone have a similar issue?

]]>
https://forum.userproplugin.com/forums/topic/users-gets-logged-out-when-viewing-posts/#post-28271 <![CDATA[Reply To: Users gets logged out when viewing posts.]]> https://forum.userproplugin.com/forums/topic/users-gets-logged-out-when-viewing-posts/#post-28271 Mon, 17 Mar 2014 13:01:29 +0000 RaffHaff I managed to fix the problem by adding ‘www’ to adress in wordpress settings. Still not sure what caused it, but I suspect it being some kind of cookie related problem rather than a problem with the plugin (or wordpress in general).

Anyway, thanks for checking ๐Ÿ™‚

]]>
https://forum.userproplugin.com/forums/topic/users-gets-logged-out-when-viewing-posts/#post-28281 <![CDATA[Reply To: Users gets logged out when viewing posts.]]> https://forum.userproplugin.com/forums/topic/users-gets-logged-out-when-viewing-posts/#post-28281 Mon, 17 Mar 2014 13:51:45 +0000 RaffHaff The problem came back, but I’ve seem to found a permanent solution now on another site, so I thought I share it if someone else is having the same issue.

this is the issue because of the Mozilla’s Cache Management

Actually the thing is that wp create meta tag for next and prev. link and to make your performance batter Mozilla Preload Next post which might be the issue you are facing try below code that might help you to resolve the issue

remove_action(‘wp_head’, ‘adjacent_posts_rel_link_wp_head’);

Add the above line in your functions.php file and this might solve your issue

]]>
https://forum.userproplugin.com/forums/topic/users-gets-logged-out-when-viewing-posts/#post-28352 <![CDATA[Reply To: Users gets logged out when viewing posts.]]> https://forum.userproplugin.com/forums/topic/users-gets-logged-out-when-viewing-posts/#post-28352 Mon, 17 Mar 2014 20:44:44 +0000 admin Thanks a lot! This is a very helpful tip for anyone having the same issue

]]>
https://forum.userproplugin.com/forums/topic/users-gets-logged-out-when-viewing-posts/#post-41000 <![CDATA[Reply To: Users gets logged out when viewing posts.]]> https://forum.userproplugin.com/forums/topic/users-gets-logged-out-when-viewing-posts/#post-41000 Mon, 16 Jun 2014 12:17:47 +0000 emidel Thanks a kazillion RaffHaff for sharing – I had the same problem which was solved with your fix

remove_action('wp_head', 'adjacent_posts_rel_link_wp_head');

I’m sure you just saved me hours of investigation. Much appreciated ๐Ÿ˜€ !

P.S. Small detail. Make sture that apostrophes are correct when pasting

]]>
https://forum.userproplugin.com/forums/topic/users-gets-logged-out-when-viewing-posts/#post-41003 <![CDATA[Reply To: Users gets logged out when viewing posts.]]> https://forum.userproplugin.com/forums/topic/users-gets-logged-out-when-viewing-posts/#post-41003 Mon, 16 Jun 2014 12:19:24 +0000 admin This is the fix already! Right ๐Ÿ™‚

remove_action(‘wp_head’, ‘adjacent_posts_rel_link_wp_head’);

]]>
https://forum.userproplugin.com/forums/topic/users-gets-logged-out-when-viewing-posts/#post-41021 <![CDATA[Reply To: Users gets logged out when viewing posts.]]> https://forum.userproplugin.com/forums/topic/users-gets-logged-out-when-viewing-posts/#post-41021 Mon, 16 Jun 2014 12:36:12 +0000 emidel Yes it’s RafHaf’s fix, I just reposted in code box, because if you copy from outside code box your theme changes apostrophes to ยด and code won’t work ๐Ÿ˜‰

]]>
https://forum.userproplugin.com/forums/topic/users-gets-logged-out-when-viewing-posts/#post-41681 <![CDATA[Reply To: Users gets logged out when viewing posts.]]> https://forum.userproplugin.com/forums/topic/users-gets-logged-out-when-viewing-posts/#post-41681 Fri, 08 Aug 2014 08:10:03 +0000 Mattia THANK YOU VERY MUCH!
FIXED ๐Ÿ™‚

]]>