Find Jobs
Hire Freelancers

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 !
Rif. progetto: 6505720

Info sul progetto

1 proposta
Progetto a distanza
Attivo 10 anni fa

Hai voglia di guadagnare un po'?

I vantaggi delle offerte su Freelancer

Imposta il tuo budget e le scadenze
Fatti pagare per il lavoro svolto
Delinea la tua proposta
La registrazione e le offerte sui lavori sono gratuite
1 freelance ha fatto un'offerta media di $25 USD per questo lavoro
Avatar dell'utente
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
$150 USD in 3 giorni
4,7 (164 valutazioni)
6,7
6,7
Avatar dell'utente
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.
$25 USD in 1 giorno
0,0 (0 valutazioni)
0,0
0,0
Avatar dell'utente
A proposal has not yet been provided
$25 USD in 1 giorno
0,0 (0 valutazioni)
0,0
0,0

Info sul cliente

Bandiera: UNITED STATES
Kansas City, United States
5,0
5
Metodo di pagamento verificato
Membro dal feb 3, 2014

Verifica del cliente

Grazie! Ti abbiamo inviato tramite email il link per richiedere il tuo bonus gratuito.
Non è stato possibile inviarti l'email. Riprova per piacere.
di utenti registrati di lavori pubblicati
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Caricamento anteprima
Autorizzazione per la geolocalizzazione concessa.
La tua sessione è scaduta ed è stato effettuato il log out. Accedi nuovamente per piacere.