WordPress.org

한국어

  • 테마
  • 플러그인
  • 소식
    • 문서
    • 포럼
  • About
    • 워드프레스 6.8
    • 워드프레스와 40% 웹을 위한 여정
    • 워드프레스 번역 핸드북
  • 워드프레스 받기
워드프레스 받기
WordPress.org

Plugin Directory

Prevent Concurrent Logins

  • 플러그인 제출하기
  • 내 즐겨찾기
  • 로그인
  • 플러그인 제출하기
  • 내 즐겨찾기
  • 로그인

이 플러그인은 최근 3개의 주요 워드프레스 출시와 시험 되지 않았습니다. 워드프레스의 좀 더 최근 버전으로 이용할 때 더 이상 관리되지 않고 지원되지 않고 호환성 문제가 있을 수 있습니다.

Prevent Concurrent Logins

작성자: Frankie Jarrett
다운로드
  • 세부사항
  • 평가
  • 개발
지원

설명

Did you find this plugin helpful? Please consider leaving a 5-star review.

  • Deters members/subscribers from sharing their accounts with others
  • Hardens security by destoying old sessions automatically
  • Prompts old sessions to login again if they want to continue
  • Ideal for membership sites and web applications

Important: If you plan to network-activate this plugin on a multisite network, please install the Proper Network Activation plugin beforehand.

Development of this plugin is done on GitHub. Pull requests welcome. Please see issues reported there before going to the plugin forum.

FAQ

Where are the options for this plugin?

This plugin does not have a settings page. Simply put, I don’t like bloating my plugins with a bunch of options.

Instead, I try to develop functionality using the 80/20 principle so that for 80% of use cases you all you need to do is activate the plugin and it “just works”.

For the other 20% of you who want things to behave differently there are hooks available in the plugin so you can customize default behaviors.

Can I still allow concurrent logins for certain users?

Yes, simply add this code to your theme’s functions.php file or as an MU plugin:

function my_pcl_whitelist_user_ids( $prevent, $user_id ) {

    $whitelist = array( 1, 2, 3 ); // Provide an array of whitelisted user IDs

    return in_array( $user_id, $whitelist ) ? false : $prevent;

}
add_filter( 'pcl_prevent_concurrent_logins', 'my_pcl_whitelist_user_ids', 10, 2 );

Or this code to bypass users with certain roles:

function my_pcl_whitelist_roles( $prevent, $user_id ) {

    $whitelist = array( 'administrator', 'editor' ); // Provide an array of whitelisted user roles

    $user = get_user_by( 'id', absint( $user_id ) );

    $roles = ! empty( $user->roles ) ? $user->roles : array();

    return array_intersect( $roles, $whitelist ) ? false : $prevent;

}
add_filter( 'pcl_prevent_concurrent_logins', 'my_pcl_whitelist_roles', 10, 2 );

후기

Awesome!!

mcostam1985 2021년 2월 2일
Your awesome man! This plugin with your functions.php code works perfectly. Thank you so much for the time spent working on it.

This plugin is great and has not required any update for 4 years

nddao 2020년 8월 13일
THIS PLUGIN IS SIMPLE AND PERFECT THAT THE AUTHOR HAS NOT NEED TO UPDATE ANYTHING SINCE LAST 4 YEARS. I had to create an account just to give this plugin a 5-star rating and let people know that it works perfectly. I was looking for something to prevent users from concurently login and found this plugin. However, the age of this plugin and the number of active installation (1000+ at this time) made me skip it. The information that this plugin was updated 4 years ago further drove me away. I decided to install another plugin, which made me crazy because it kept log me out every couple minutes. Then I removed the mentioned plugin and gave this plugin a try, and it works as much as I expect.

GREAT!

César 2019년 12월 12일
I tried it on my easytomake online course site, and used 3 browsers. Disconnect the others! Thank you CÉSAR

Great!

Eder Tuffic 2018년 11월 12일
It was exactly what I needed for my course. Thank you!

Muito bom

uilianv 2017년 4월 5일 답글 1개
Faz o que promete, resolve o problema, sem nenhum requinte desnecessário

Super!

Vasily 2017년 3월 18일
Love the functionality. Exactly what i need now. Thank you very much!
모든 17 평가 읽기

기여자 & 개발자

“Prevent Concurrent Logins”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자
  • Frankie Jarrett

자국어로 “Prevent Concurrent Logins”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록을 RSS로 구독하세요.

변경이력

0.4.0 – October 16, 2015

  • Official support for WordPress 4.3

Props fjarrett

0.3.0 – May 4, 2015

  • Action hooks now available after sessions are destroyed for logging purposes (#4)

Props fjarrett

0.2.0 – January 28, 2015

  • Destroy old sessions for all users upon activation

Props fjarrett, chuckreynolds

0.1.1 – January 2, 2015

  • Added filter to allow certain users to have concurrent sessions when necessary

Props fjarrett, nutsandbolts

0.1.0 – December 31, 2014

  • 초기 릴리즈

Props fjarrett

기초

  • 버전 0.4.0
  • 최근 업데이트: 9년 전
  • 활성화된 설치 1,000+
  • 워드프레스 버전 4.1 또는 그 이상
  • 다음까지 시험됨: 4.6.29
  • 언어
    English (US)
  • 태그:
    loginmembershipsecuritysenseiusers
  • 고급 보기

평점

별 5점 만점에 5점.
  • 17 5-별점 후기 별 5개 17
  • 0 4-별점 후기 별 4개 0
  • 0 3-별점 후기 별 3개 0
  • 0 2-별점 후기 별 2개 0
  • 0 1-별점 후기 별 1개 0

리뷰 추가하기

모든 리뷰 보기

기여자

  • Frankie Jarrett

지원

할 말 있으신가요? 도움이 필요하신가요?

지원 포럼 보기

  • 소개
  • 뉴스
  • 호스팅
  • 프라이버시
  • 쇼케이스
  • 테마
  • 플러그인
  • 패턴
  • 알아보기
  • 지원
  • 개발자 도구
  • WordPress.tv ↗
  • 참여하기
  • 이벤트
  • 기부하기 ↗
  • 미래를 위한 5가지
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

한국어

  • X(이전 트위터) 계정 방문하기
  • 블루스카이 계정 방문하기
  • 마스토돈 계정 방문하기
  • 스레드 계정 방문하기
  • 페이스북 페이지 방문하기
  • 인스타그램 계정 방문하기
  • LinkedIn 계정 방문하기
  • 틱톡 계정 방문하기
  • 유튜브 채널 방문하기
  • 텀블러 계정 방문하기
코드는 詩다