Title: Loginpetze
Author: Christian Sabo
Published: <strong>15 ژانویه 2018</strong>
Last modified: 9 دسامبر 2025

---

جستجوی افزونه‌ها

![](https://ps.w.org/loginpetze/assets/banner-772x250.png?rev=1803182)

![](https://ps.w.org/loginpetze/assets/icon-256x256.png?rev=1803182)

# Loginpetze

 توسط [Christian Sabo](https://profiles.wordpress.org/pixelverbieger/)

[دانلود](https://downloads.wordpress.org/plugin/loginpetze.1.4.zip)

 * [جزئیات](https://fa.wordpress.org/plugins/loginpetze/#description)
 * [نقد و بررسی‌ها](https://fa.wordpress.org/plugins/loginpetze/#reviews)
 *  [نصب](https://fa.wordpress.org/plugins/loginpetze/#installation)
 * [توسعه](https://fa.wordpress.org/plugins/loginpetze/#developers)

 [پشتیبانی](https://wordpress.org/support/plugin/loginpetze/)

## توضیحات

Sometimes it is useful to know if – or when – a user successfully logged in to WordPress.
Loginpetze generates a notification mail for this incident. This is a conveniant
way to e.g. monitor staging sites for customer logins. No need to regularly take
a look at statistics or tracking tools. Mails are customizable with shortcodes. 
All texts are translatable.

Loginpetze 1.x is **not compatible** with WordPress Multisite.

### Translations

If you wish to help translate this plugin, you are most welcome!
 To contribute,
please visit [translate.wordpress.org](https://translate.wordpress.org/projects/wp-plugins/loginpetze/)

Keep in mind that if you’re not PTE or GTE for your language, you have to notify
someone to approve your contributed strings. This can be done via [Slack](https://wordpress.slack.com/)
or by writing a request on [https://make.wordpress.org/polyglots/](https://make.wordpress.org/polyglots/)

To find the translation team for your locale, please visit [https://make.wordpress.org/polyglots/teams/](https://make.wordpress.org/polyglots/teams/)

### Credits

Special Thanks go to [Bernhard Kau](https://profiles.wordpress.org/kau-boy/), [Torsten Landsiedel](https://profiles.wordpress.org/zodiac1978),
[Bego Mario Garde](https://profiles.wordpress.org/pixolin/) and [Thorsten Frommen](https://profiles.wordpress.org/tfrommen/).

## عکس‌های صفحه

[⌊The only screen for Loginpetze. All texts are translatable.⌉⌊The only screen for
Loginpetze. All texts are translatable.⌉[

The only screen for Loginpetze. All texts are translatable.

## نصب

#### From WordPress Plugin Directory

 1. In your backend, go to _Plugins → Add New_ to search for Loginpetze in the WordPress
    Plugin Directory.
 2. Click _Install Now_ and then _Activate_.
 3. After activation go to _Settings → Loginpetze_ to set up the few options this plugin
    offers.

#### Manual Installation

 1. Download _loginpetze.zip_ to your desktop and extract the archive.
 2. Upload the folder _loginpetze_ into the directory `/wp-content/plugins/` on your
    webserver.
 3. Activate _Loginpetze_ via the _Plugins_ menu in your WordPress Dashboard.
 4. After activation go to _Settings → Loginpetze_ to set up the few options this plugin
    offers.

## سوالات متداول

### «Loginpetze» – what kind of name is that?

It’s the german word for «login snitch».

### How does it work?

In short: you install it, you select a user to receive the notification mails and
you’re done.

If you like to, you can customize the subject and body of the mails. There are placeholders
available that you can insert into your template: _username_, _blogname_, _date_
and _time_.

### Can I suppress notifications for certain users or roles?

Yes, there’s a filter for that. Add the following lines to your (child) theme’s `
functions.php` and customize the array – you can provide usernames, IDs and roles(
even mixed) in an array.

    ```
    add_filter( 'loginpetze_blockers', function ( $ignorelist ) {
        $ignorelist = array ( 'username', '123', 'administrator' ) ;
        return $ignorelist;
    } );
    ```

### Is the plugin Multisite compatible?

**Loginpetze 1.x does not work on Multisite installations**, but we intend to add
Multisite support to a future version.

### Why did you develop this plugin?

Occasionally (especially when setting up websites for clients) we wanted to be notified
if – or when – anybody logged in to the staging websites. For this purpose we used
to add some lines to our `functions.php` files, which was not very comfortable. 
For conveniance, we turned our code into this plugin.

It was also a good opportunity to learn and to completely play through the process
of plugin creation.

### What happens if I deactivate or delete the plugin via my Dashboard?

**Deactivating** the plugin will just stop the notification mails. Nothing will 
happen to your settings (which are stored in the database).

However, if you **delete** the plugin, this will remove your settings from the database.
If you then re-install it, the default settings will be applied.

### What happens if I just delete the files via FTP?

This will also stop the notification mails, but since the uninstall routine is not
called, nothing will be removed from your database. If you re-install Loginpetze,
your custom settings will still be available.

### What happens if I or any other admin delete a user who is set up to receive the notification mails?

Loginpetze will warn you about this and you can check your settings. In case this
warning is ignored, Loginpetze will automatically switch the recipient to the Standard
Blog Admin.

### I need more features. Is there a Pro Version available?

No 🙂

## نقد و بررسی‌ها

![](https://secure.gravatar.com/avatar/1dd875a0d76e3e1abed595b083a7ee46af3b7ccb87dea81e9d6aaf7b4dd7fb63?
s=60&d=retro&r=g)

### 󠀁[Nice plugin. I recommend to everyone.](https://wordpress.org/support/topic/nice-plugin-i-recommend-to-everyone/)󠁿

 [Dan Zakirov](https://profiles.wordpress.org/alexodiy/) 8 نوامبر 2019

I liked this plugin, I will use it on two of my sites. Especially for you, I translated
the plugin into Russian, I think our users will also need such a plugin and they
can comfortably work with it. I recommend to everyone.

 [ خواندن تمامی 0 نقد و بررسی‌ ](https://wordpress.org/support/plugin/loginpetze/reviews/)

## توسعه دهندگان و همکاران

“Loginpetze” نرم افزار متن باز است. افراد زیر در این افزونه مشارکت کرده‌اند.

مشارکت کنندگان

 *   [ Christian Sabo ](https://profiles.wordpress.org/pixelverbieger/)
 *   [ Kai ](https://profiles.wordpress.org/khehl/)

“Loginpetze” به 9 زبان ترجمه شده است. با تشکر از [مترجمین](https://translate.wordpress.org/projects/wp-plugins/loginpetze/contributors)
برای همکاری و کمک‌هایشان.

[ترجمه “Loginpetze” به زبان شما.](https://translate.wordpress.org/projects/wp-plugins/loginpetze)

### علاقه‌ مند به توسعه هستید؟

[Browse the code](https://plugins.trac.wordpress.org/browser/loginpetze/), check
out the [SVN repository](https://plugins.svn.wordpress.org/loginpetze/), or subscribe
to the [development log](https://plugins.trac.wordpress.org/log/loginpetze/) by 
[RSS](https://plugins.trac.wordpress.org/log/loginpetze/?limit=100&mode=stop_on_copy&format=rss).

## گزارش تغییرات

#### 1.4

 * 2020-08-06
 * Added: filter to suppress notifications for specific users, IDs or roles
 * Tested up to WordPress 5.5

#### 1.3

 * 2020-01-14
 * Added: some more placeholders

#### 1.2

 * 2018-10-08
 * Tested up to WordPress 5.3

#### 1.1

 * 2018-01-16
 * Added: support for Simple History
 * Added: check for the required PHP version (5.5)
 * Improved: tags for the WordPress Plugin Directory

#### 1.0

 * 2018-01-15
 * Initial release

## اطلاعات

 *  نگارش **1.4**
 *  Last updated **7 ماه پیش**
 *  نصب‌های فعال **80+**
 *  نگارش وردپرس ** 4.7 یا بالاتر **
 *  Tested up to **6.9.4**
 *  نگارش PHP ** 5.5 یا بالاتر **
 *  زبان‌ها
 * [Croatian](https://hr.wordpress.org/plugins/loginpetze/)، [Dutch](https://nl.wordpress.org/plugins/loginpetze/)،
   [English (US)](https://wordpress.org/plugins/loginpetze/)، [French (France)](https://fr.wordpress.org/plugins/loginpetze/)،
   [German](https://de.wordpress.org/plugins/loginpetze/)، [German (Austria)](https://de-at.wordpress.org/plugins/loginpetze/)،
   [German (Switzerland)](https://de-ch.wordpress.org/plugins/loginpetze/)، [Japanese](https://ja.wordpress.org/plugins/loginpetze/)،
   [Russian](https://ru.wordpress.org/plugins/loginpetze/)، و [Swedish](https://sv.wordpress.org/plugins/loginpetze/).
 *  [به زبان خودتان ترجمه کنید](https://translate.wordpress.org/projects/wp-plugins/loginpetze)
 * Tags
 * [alert](https://fa.wordpress.org/plugins/tags/alert/)[login](https://fa.wordpress.org/plugins/tags/login/)
   [monitor](https://fa.wordpress.org/plugins/tags/monitor/)[notification](https://fa.wordpress.org/plugins/tags/notification/)
   [staging](https://fa.wordpress.org/plugins/tags/staging/)
 *  [نمایش پیشرفته](https://fa.wordpress.org/plugins/loginpetze/advanced/)

## امتیازها

 5 از 5 ستاره.

 *  [  امتیاز 1 5-ستاره     ](https://wordpress.org/support/plugin/loginpetze/reviews/?filter=5)
 *  [  امتیاز 0 4-ستاره     ](https://wordpress.org/support/plugin/loginpetze/reviews/?filter=4)
 *  [  امتیاز 0 3-ستاره     ](https://wordpress.org/support/plugin/loginpetze/reviews/?filter=3)
 *  [  امتیاز 0 2-ستاره     ](https://wordpress.org/support/plugin/loginpetze/reviews/?filter=2)
 *  [  امتیاز 0 1-ستاره     ](https://wordpress.org/support/plugin/loginpetze/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/loginpetze/reviews/#new-post)

[مشاهده همه بررسی‌ها](https://wordpress.org/support/plugin/loginpetze/reviews/)

## مشارکت کنندگان

 *   [ Christian Sabo ](https://profiles.wordpress.org/pixelverbieger/)
 *   [ Kai ](https://profiles.wordpress.org/khehl/)

## پشتیبانی

چیزی برای گفتن دارید؟ نیاز به کمک دارید؟

 [مشاهده انجمن پشتیبانی](https://wordpress.org/support/plugin/loginpetze/)