I am using a plugin named Add Users SideBar Widget . It allows the any user on Multisite based site to join any of the Sub-site by single click.
The plugin has a button "Add ME" on the side bar. When a user clicks on it, he will be automatically subscribed to the sub-site or will added with a role according to the widget settings .Then the links to dashboard and logout will be appeared on the same side bar to navigate
But for the WordPress versions from 3.1.2 to 3.1.4, it's having some problems. The "Add Me" Button appearing every time on page refresh or user login . Actually it should not appear if he already joined to a specific sub-site
I don't know how to resolve the issue . Could any one help me to customize the code and make it work as usual? I can update the code if any one could guide me
It would be a great option to Multi-site users if any one create a fork of plugin which may fully compatible with newer versions
Here is the full code in 'Paste Bin'
Thanks !
Update :
The widget works fine on localhost,but the problem is only on the live sites(Almost every WordPress Installations). I don't know what to do