Forum Replies Created
-
Author
-
January 26, 2016 at 22:06 in reply to: Tip of the day. How to avoid multiple logins at a time #100655vinz98Participant
I am sorry somewhere the copy [aste went wrong. admin cab you please put this right for me?
/*
Plugin name: Single user login
Plugin URI:
Description:
Author: Ben May
Author URI:
Version: 0.1
*/if( !class_exists( ‘WPSingleUserLoggin’ ) )
{
class WPSingleUserLoggin
{
private $session_id;function __construct()
{
if ( ! session_id() )
session_start();$this->session_id = session_id();
add_action( ‘init’, array( $this, ‘init’ ) );
add_action( ‘wp_login’, array( $this, ‘wp_login’ ), 10, 2 );
}function init()
{
if( ! is_user_logged_in() )
return;$stored_sess_id = get_user_meta( get_current_user_id(), ‘_wp_single_user_hash’, true );
if( $stored_sess_id != $this->session_id )
{
wp_logout();
wp_redirect( wp_login_url() );
exit;
}
}
function wp_login( $user_login, $user )
{
update_user_meta( $user->ID, ‘_wp_single_user_hash’, $this->session_id );
return;
}
}
new WPSingleUserLoggin();
}vinz98ParticipantIt takes too long for your help, I put back the backup.
I close the call as resolved.vinz98ParticipantHello Radu
After the newest update the icons are there in search button and so on but the only place where it is not anymore is login and register at the top.
Where have the icons gone?
Attachments:
You must be logged in to view attached files.vinz98ParticipantHi I already have the locoplugin. The text is not showing when I search for it. Also dutch is 100% translated so there cannot be an empty space. so I believe the lines must be missing in the native language?
When you add lines in an update and do not update the po files the lines wil not translate.
Maybe a bug?vinz98ParticipantYou have an error in the username. Do not put your api code after it.
username is aka4realz
and the api field is the long line of characters.
You must wait for a day before your server will pick up the update in the cron job. So do not expect that it works after 1 minute.vinz98ParticipantHello
Two months have passed by but no update. I heard a security bug is in the 4.x revslider?
vinz98ParticipantI have restored the site from backup. I will admin my site myself from now on. You probably can guess why…
vinz98ParticipantLaura, it was too simple. Just go to pmp->advanced and edit the file like in the screenshot.
Attachments:
You must be logged in to view attached files.September 24, 2015 at 20:07 in reply to: Tip of the day. Ideal payment gateway within paid memberships pro #79385vinz98Participantvinz98ParticipantHello Radu.
Thank you for the diagnosis. Can I host this font myself because now my SSl/https certificate can not function anymore because I am loading from the http portion of seventh now. I Just copy it and adjust the header.php?
vinz98ParticipantMaybe This will be of help.
http://docs.woothemes.com/document/storefront-woocommerce-customiser/
-
AuthorPosts