Networks for WordPress plugin ! on Multisite - customized logins
$10-30 USD
Annullato
Pubblicato più di 9 anni fa
$10-30 USD
Pagato al completamento
Hey guys, I have a Wordpress Multisite.
I'm using Networks for WordPress plugin. so I can create many networks inside my WP multisite
--------------------------
Before you start reading I would recommend to hire those who had experience with that plugin or heard about it so they know the behavior of Multi Network or those who really good in customized WP login/redirection.
--------------------------
First I wanted to redirect users who login from one site in my network to their primary_url / Primary blog. (basically the blog they become subscribe first/ the blog the registered first).
For doing it I'm using this plugin in my mu-plugins:
[login to view URL]
or
<?php
/*
Plugin Name: Redirect Users to Primary Site
Plugin URI:
Description: Never see "you do not currently have privileges on this site" when logging in on your multisite ever again!
Version: 2014.06.02
Author: khromov
Author URI: [login to view URL]
License: GPL2
*/
/* [login to view URL] */
add_filter('login_redirect', function($redirect_to, $request_redirect_to, $user)
{
if (!is_wp_error($user) && $user->ID != 0)
{
$user_info = get_userdata($user->ID);
if ($user_info->primary_blog)
{
$primary_url = get_blogaddress_by_id($user_info->primary_blog) . 'wp-admin/';
if ($primary_url) {
wp_redirect($primary_url);
die();
}
}
}
return $redirect_to;
}, 100, 3);
It's doing the job and users are redirected to primary_url. However, because i'm using Networks for WordPress plugin, sites has individuals logins. When user logs in from X site the user redirected to its Primary site (great) BUT he need to login AGAIN !
Without Networks for WordPress plugin users would stay logged in when they visiting subsites because they all in one single network.
Does anyone knows how can I keep the user logged so they don't need to be login again when visiting other networks or to add any codes to the redirection code above so it will keep the user logged ?
I think this work can be done just by exchange codes + if you got it solved I probably use you for another task.
Thank you !
hi sir
thank for project
i m very well experienced in word press designing and plug ins developing as well psd to wordpress
i had done many fixes on the sites too
i had developed plug ins like search , categories search , tree , shopp , calendar , wish list etc etc..
if you needed any previous work sample let me know
waiting for your reply
thank nitya
Hi there,
Thanks for posting your project we are interested in your work & have vast experience in blog creation & customization.
We will fix out the problems & that all will be done in few hour & you can check the changes as well.
We have already worked with on lots of WordPress Blogs, their customization and their Optimizations as well.