Mybb forum automatically logs out a user - wordpress

I have integrated Mybb forum with wordpress 3.3.2 using zingiri. The URL is www.etrixdevenv.com/ssc2pg2/community. The etrixdevenv.com is our development server. And project name is ssc2pg.
The problem we are facing is that when one registered user (for trial) logs in, then it works just fine. But when any other user just visits (not log on) the community page (forum) then if the previous logged on user tries to post a new thread / reply or any other activity, it simply gets logged out. Can anybody suggest an answer? Also the formatting buttons are missing from the post editor.

Could be a cookie issue. Make sure that you're setting the cookie domain correctly in Settings of the Admin panel.

Related

Always showing cookies error for a first time visitor trying to login

I am using WPBrigade plugin "LoginPress" and has a login page which is created from file: wp-login.php.
If a new visitor is logging into the site, it displays an login_error with the following warning:
quote Error: Cookies are blocked or not supported by your browser. You must enable cookies in order to use WordPress.
If the user tries to login again without clicking on the link provided by the error message and do not adjust browser settings regarding cookies the login works fine and the user is logged into the site. If they click on the link they are redirected to wordpress official site regarding cookies. If they then return to the site it works fine (since it's a second attempt like in the first case).
My problem is that I want the user to be able to login without having this warning that disturbs the user experience. The login process is now 2 steps with a mandatory second try that works. I want it to work the first time. I can't seem to find the solution plugin documentation, and niether on wordpress site.
Check the issue by enabling the debugging in WordPress
https://wordpress.org/support/article/debugging-in-wordpress/

Wordpress login - Already logged in?

I recently upgraded to Wordpress 5.3 with PHP version 7.2.24. After a couple hours Wordpress appears to log me out (permission based pages and widgets are not displayed). When I select to login it presents the normal Wordpress login page where I enter my username and password. When I click login the site redirects me to a page"
https://example.com/login-2/?redirect_to=https%3A%2F%2Fexample.com%2Fwp-admin%2Findex.php&action=confirm_admin_email
This page indicates that I am already logged in.
If while logged in (not waiting for the session to expire) I log out and try to login the same thing happens, it redirects me and says I'm already logged in.
After the redirect I am logged in, the issue is it is confusing users and one of the plugins we use shows users logged and until the plugin refreshes (with AJAX) it shows that I am logged in multiple times.
This happens to all users.
I have cleared my cookies.
I have checked functions.php in my parent and child themes for
anything related to cookie expiration.
I have looked for a plugin related to persistent logins.
I and checked and recreated my .htaccess
Anyone have any ideas?

How can i make mediawiki installation and wordpress installation in the same domain share the same user login and session information?

I have a wordpress site installed at the root of a domain. I have installed mediawiki in the directory "wiki" at the domain root. Now i want the mediawiki to share the user session info, even the user credentials with wordpress. I want to make mediawiki recognize a user as logged in if he is logged in to tho the wordpress. I have tried with the following online links. But none of them works for the latest of mediawiki versions.
https://dev.commons.gc.cuny.edu/2009/05/21/new-mediawiki-extension-wpmusinglesignon/
https://www.mediawiki.org/wiki/Extension:WPMW
If anyone could help to achieve this ?
You cannot share session information between MediaWiki and another application (and it's generally an anti-pattern; sessions are meant to hold application-specific information). You can use Wordpress login information in your wiki by using an extension that implements either a PrimaryAuthenticationProvider (for checking against Wordpress credentials when using the MediaWiki login form) or a SessionProvider (for checking against the WordPress session cookie, or otherwise authenticating every request). It's not an easy task if you need to write that extension yourself. WPMW looks like the right thing in theory, but it has not been updated for a while.

Wordpress admin login page inaccessible?

I get the following error when I try to access Wordpress admin login page of my client's site:
Sorry, your request cannot be accepted.
It opens for my client though. The client has not blocked my IP, or my country, then why is it happening?
Here is the wp-admin area. Does the page open for you?
Having a quick investigation, it looks like the issue is spawning from the plugin you have installed called IP Geo Block. https://wordpress.org/plugins/ip-geo-block/
I'd recommend disabling this plugin temporarily and attempting to login. If you're still having issues, it's worth creating a support ticket with that plugin maker.

WordPress MU: Login from main page but not individual blogs

I recently upgraded to WPMU 2.8.6 and ever since, my users can't log in on their individual blogs, but they can log in from the main page.
My site is at blogs.mtwp.net (we're a school district).
So if a user goes to blogs.mtwp.net/BLOGNAME/wp-login.php, their password is rejected. If they go to blogs.mtwp.net/wp-login.php, they can log in and get to the dashboard from there.
But it's not all users. Site admins can get in just fine.
We're using wpDirAuth 1.4 if that makes a difference.
Honestly, I'm stumped. Any help would be very much appreciated. Thanks!
you would seem to have enabled the WPdirauth plugin at the top level blog but not on others. Only your top level blog will have the necessary information to connect to your directory.
Site admins are not typically part of your internal directory - they're a Wordpress user which means they can still log-in ok without needing to connect to Active Directory or whatever you're using.
Enable WPdirauth on all blogs that you need users to login to.
Try reviewing your wp-config file. You should see something like this:
define('SUBDOMAIN_INSTALL', true);
Depending on how you've configured Wordpress, this must be enabled to log in to the dashboard of secondary sites.

Resources