Subscribe To Comments Reloaded - Version 190409

Version Description

Download this release

Release Info

Developer wpkube
Plugin Icon 128x128 Subscribe To Comments Reloaded
Version 190409
Comparing to
See all releases

Code changes from version 190325 to 190409

langs/subscribe-reloaded-be_BY.po CHANGED
@@ -512,11 +512,11 @@ msgid "Suspend"
512
msgstr "Прыпыніць"
513
514
#: options/stcr_manage_subscriptions.php:281
515
- msgid "Activate and set to Y"
516
msgstr "Уключыць і ўсталяваць на Y"
517
518
#: options/stcr_manage_subscriptions.php:282
519
- msgid "Activate and set to R"
520
msgstr "Уключыць і ўсталяваць на R"
521
522
#: options/stcr_manage_subscriptions.php:283
512
msgstr "Прыпыніць"
513
514
#: options/stcr_manage_subscriptions.php:281
515
+ msgid "Activate and set to notify on all comments"
516
msgstr "Уключыць і ўсталяваць на Y"
517
518
#: options/stcr_manage_subscriptions.php:282
519
+ msgid "Activate and set to notify on replies only"
520
msgstr "Уключыць і ўсталяваць на R"
521
522
#: options/stcr_manage_subscriptions.php:283
langs/subscribe-reloaded-cs_CZ.po CHANGED
@@ -519,11 +519,11 @@ msgid "Suspend"
519
msgstr "Pozastavit"
520
521
#: options/stcr_manage_subscriptions.php:281
522
- msgid "Activate and set to Y"
523
msgstr "Nastavit a aktivovat na Y"
524
525
#: options/stcr_manage_subscriptions.php:282
526
- msgid "Activate and set to R"
527
msgstr "Nastavit a aktivovat na R"
528
529
#: options/stcr_manage_subscriptions.php:283
519
msgstr "Pozastavit"
520
521
#: options/stcr_manage_subscriptions.php:281
522
+ msgid "Activate and set to notify on all comments"
523
msgstr "Nastavit a aktivovat na Y"
524
525
#: options/stcr_manage_subscriptions.php:282
526
+ msgid "Activate and set to notify on replies only"
527
msgstr "Nastavit a aktivovat na R"
528
529
#: options/stcr_manage_subscriptions.php:283
langs/subscribe-reloaded-da_DK.po CHANGED
@@ -512,11 +512,11 @@ msgid "Suspend"
512
msgstr "Annuller"
513
514
#: options/stcr_manage_subscriptions.php:281
515
- msgid "Activate and set to Y"
516
msgstr ""
517
518
#: options/stcr_manage_subscriptions.php:282
519
- msgid "Activate and set to R"
520
msgstr ""
521
522
#: options/stcr_manage_subscriptions.php:283
512
msgstr "Annuller"
513
514
#: options/stcr_manage_subscriptions.php:281
515
+ msgid "Activate and set to notify on all comments"
516
msgstr ""
517
518
#: options/stcr_manage_subscriptions.php:282
519
+ msgid "Activate and set to notify on replies only"
520
msgstr ""
521
522
#: options/stcr_manage_subscriptions.php:283
langs/subscribe-reloaded-de_DE.po CHANGED
@@ -538,11 +538,11 @@ msgid "Suspend"
538
msgstr "Deaktivieren"
539
540
#: options/stcr_manage_subscriptions.php:281
541
- msgid "Activate and set to Y"
542
msgstr "Aktivieren und auf Y setzen"
543
544
#: options/stcr_manage_subscriptions.php:282
545
- msgid "Activate and set to R"
546
msgstr "Aktivieren und auf R setzen"
547
548
#: options/stcr_manage_subscriptions.php:283
@@ -1430,7 +1430,7 @@ msgstr "Wähle eine Aktion"
1430
#: templates/author.php:97 templates/user.php:115
1431
#, fuzzy
1432
msgid "Unsubscribe"
1433
- msgstr "Nicht abbonieren"
1434
1435
#: templates/author.php:99 templates/user.php:117
1436
msgid "All comments"
@@ -2125,7 +2125,7 @@ msgstr "Optionen"
2125
2126
#: wp_subscribe_reloaded.php:1208
2127
msgid "Don't subscribe"
2128
- msgstr "Nicht abbonieren"
2129
2130
#: wp_subscribe_reloaded.php:1209
2131
msgid "All"
538
msgstr "Deaktivieren"
539
540
#: options/stcr_manage_subscriptions.php:281
541
+ msgid "Activate and set to notify on all comments"
542
msgstr "Aktivieren und auf Y setzen"
543
544
#: options/stcr_manage_subscriptions.php:282
545
+ msgid "Activate and set to notify on replies only"
546
msgstr "Aktivieren und auf R setzen"
547
548
#: options/stcr_manage_subscriptions.php:283
1430
#: templates/author.php:97 templates/user.php:115
1431
#, fuzzy
1432
msgid "Unsubscribe"
1433
+ msgstr "Nicht abonnieren"
1434
1435
#: templates/author.php:99 templates/user.php:117
1436
msgid "All comments"
2125
2126
#: wp_subscribe_reloaded.php:1208
2127
msgid "Don't subscribe"
2128
+ msgstr "Nicht abonnieren"
2129
2130
#: wp_subscribe_reloaded.php:1209
2131
msgid "All"
langs/subscribe-reloaded-es_ES.po CHANGED
@@ -528,11 +528,11 @@ msgid "Suspend"
528
msgstr "Suspender"
529
530
#: options/stcr_manage_subscriptions.php:281
531
- msgid "Activate and set to Y"
532
msgstr "Activar y establecer a Y"
533
534
#: options/stcr_manage_subscriptions.php:282
535
- msgid "Activate and set to R"
536
msgstr "Activar y establecer a R"
537
538
#: options/stcr_manage_subscriptions.php:283
528
msgstr "Suspender"
529
530
#: options/stcr_manage_subscriptions.php:281
531
+ msgid "Activate and set to notify on all comments"
532
msgstr "Activar y establecer a Y"
533
534
#: options/stcr_manage_subscriptions.php:282
535
+ msgid "Activate and set to notify on replies only"
536
msgstr "Activar y establecer a R"
537
538
#: options/stcr_manage_subscriptions.php:283
langs/subscribe-reloaded-fa_IR.po CHANGED
@@ -530,11 +530,11 @@ msgid "Suspend"
530
msgstr "تعلیق"
531
532
#: options/stcr_manage_subscriptions.php:281
533
- msgid "Activate and set to Y"
534
msgstr "فعال کن و روی حالت Y بگذار"
535
536
#: options/stcr_manage_subscriptions.php:282
537
- msgid "Activate and set to R"
538
msgstr "فعال کن و روی حالت R بگذار"
539
540
#: options/stcr_manage_subscriptions.php:283
530
msgstr "تعلیق"
531
532
#: options/stcr_manage_subscriptions.php:281
533
+ msgid "Activate and set to notify on all comments"
534
msgstr "فعال کن و روی حالت Y بگذار"
535
536
#: options/stcr_manage_subscriptions.php:282
537
+ msgid "Activate and set to notify on replies only"
538
msgstr "فعال کن و روی حالت R بگذار"
539
540
#: options/stcr_manage_subscriptions.php:283
langs/subscribe-reloaded-fr_FR.po CHANGED
@@ -533,11 +533,11 @@ msgid "Suspend"
533
msgstr "Suspendre"
534
535
#: options/stcr_manage_subscriptions.php:281
536
- msgid "Activate and set to Y"
537
msgstr "Activer et mettre à Y"
538
539
#: options/stcr_manage_subscriptions.php:282
540
- msgid "Activate and set to R"
541
msgstr "Activer et mettre à R"
542
543
#: options/stcr_manage_subscriptions.php:283
533
msgstr "Suspendre"
534
535
#: options/stcr_manage_subscriptions.php:281
536
+ msgid "Activate and set to notify on all comments"
537
msgstr "Activer et mettre à Y"
538
539
#: options/stcr_manage_subscriptions.php:282
540
+ msgid "Activate and set to notify on replies only"
541
msgstr "Activer et mettre à R"
542
543
#: options/stcr_manage_subscriptions.php:283
langs/subscribe-reloaded-he_IL.po CHANGED
@@ -524,11 +524,11 @@ msgid "Suspend"
524
msgstr "השעה"
525
526
#: options/stcr_manage_subscriptions.php:281
527
- msgid "Activate and set to Y"
528
msgstr "הפעלה והגדרה ל Y"
529
530
#: options/stcr_manage_subscriptions.php:282
531
- msgid "Activate and set to R"
532
msgstr "הפעלה והגדרה ל R"
533
534
#: options/stcr_manage_subscriptions.php:283
524
msgstr "השעה"
525
526
#: options/stcr_manage_subscriptions.php:281
527
+ msgid "Activate and set to notify on all comments"
528
msgstr "הפעלה והגדרה ל Y"
529
530
#: options/stcr_manage_subscriptions.php:282
531
+ msgid "Activate and set to notify on replies only"
532
msgstr "הפעלה והגדרה ל R"
533
534
#: options/stcr_manage_subscriptions.php:283
langs/subscribe-reloaded-hu_HU.po CHANGED
@@ -523,11 +523,11 @@ msgid "Suspend"
523
msgstr "Kikapcsolás"
524
525
#: options/stcr_manage_subscriptions.php:281
526
- msgid "Activate and set to Y"
527
msgstr "Aktiválás és Y-ra állítás"
528
529
#: options/stcr_manage_subscriptions.php:282
530
- msgid "Activate and set to R"
531
msgstr "Aktiválás és R-re állítás"
532
533
#: options/stcr_manage_subscriptions.php:283
523
msgstr "Kikapcsolás"
524
525
#: options/stcr_manage_subscriptions.php:281
526
+ msgid "Activate and set to notify on all comments"
527
msgstr "Aktiválás és Y-ra állítás"
528
529
#: options/stcr_manage_subscriptions.php:282
530
+ msgid "Activate and set to notify on replies only"
531
msgstr "Aktiválás és R-re állítás"
532
533
#: options/stcr_manage_subscriptions.php:283
langs/subscribe-reloaded-id_ID.po CHANGED
@@ -520,11 +520,11 @@ msgid "Suspend"
520
msgstr "Tangguhkan"
521
522
#: options/stcr_manage_subscriptions.php:281
523
- msgid "Activate and set to Y"
524
msgstr "Aktifkan dan atur ke Y"
525
526
#: options/stcr_manage_subscriptions.php:282
527
- msgid "Activate and set to R"
528
msgstr "Aktifkan dan atur ke R"
529
530
#: options/stcr_manage_subscriptions.php:283
520
msgstr "Tangguhkan"
521
522
#: options/stcr_manage_subscriptions.php:281
523
+ msgid "Activate and set to notify on all comments"
524
msgstr "Aktifkan dan atur ke Y"
525
526
#: options/stcr_manage_subscriptions.php:282
527
+ msgid "Activate and set to notify on replies only"
528
msgstr "Aktifkan dan atur ke R"
529
530
#: options/stcr_manage_subscriptions.php:283
langs/subscribe-reloaded-it_IT.po CHANGED
@@ -525,11 +525,11 @@ msgid "Suspend"
525
msgstr "Sospendi"
526
527
#: options/stcr_manage_subscriptions.php:281
528
- msgid "Activate and set to Y"
529
msgstr "Attiva ed imposta ad Y"
530
531
#: options/stcr_manage_subscriptions.php:282
532
- msgid "Activate and set to R"
533
msgstr "Attiva ed imposta ad R"
534
535
#: options/stcr_manage_subscriptions.php:283
525
msgstr "Sospendi"
526
527
#: options/stcr_manage_subscriptions.php:281
528
+ msgid "Activate and set to notify on all comments"
529
msgstr "Attiva ed imposta ad Y"
530
531
#: options/stcr_manage_subscriptions.php:282
532
+ msgid "Activate and set to notify on replies only"
533
msgstr "Attiva ed imposta ad R"
534
535
#: options/stcr_manage_subscriptions.php:283
langs/subscribe-reloaded-nb_NO.po CHANGED
@@ -519,11 +519,11 @@ msgid "Suspend"
519
msgstr "Deaktiver"
520
521
#: options/stcr_manage_subscriptions.php:281
522
- msgid "Activate and set to Y"
523
msgstr ""
524
525
#: options/stcr_manage_subscriptions.php:282
526
- msgid "Activate and set to R"
527
msgstr ""
528
529
#: options/stcr_manage_subscriptions.php:283
519
msgstr "Deaktiver"
520
521
#: options/stcr_manage_subscriptions.php:281
522
+ msgid "Activate and set to notify on all comments"
523
msgstr ""
524
525
#: options/stcr_manage_subscriptions.php:282
526
+ msgid "Activate and set to notify on replies only"
527
msgstr ""
528
529
#: options/stcr_manage_subscriptions.php:283
langs/subscribe-reloaded-nl_NL.po CHANGED
@@ -523,11 +523,11 @@ msgid "Suspend"
523
msgstr "Pauzeren"
524
525
#: options/stcr_manage_subscriptions.php:281
526
- msgid "Activate and set to Y"
527
msgstr "Activeer en verander naar Y"
528
529
#: options/stcr_manage_subscriptions.php:282
530
- msgid "Activate and set to R"
531
msgstr "Activeer en verander naar R"
532
533
#: options/stcr_manage_subscriptions.php:283
523
msgstr "Pauzeren"
524
525
#: options/stcr_manage_subscriptions.php:281
526
+ msgid "Activate and set to notify on all comments"
527
msgstr "Activeer en verander naar Y"
528
529
#: options/stcr_manage_subscriptions.php:282
530
+ msgid "Activate and set to notify on replies only"
531
msgstr "Activeer en verander naar R"
532
533
#: options/stcr_manage_subscriptions.php:283
langs/subscribe-reloaded-pl_PL.po CHANGED
@@ -520,11 +520,11 @@ msgid "Suspend"
520
msgstr "Zawieś"
521
522
#: options/stcr_manage_subscriptions.php:281
523
- msgid "Activate and set to Y"
524
msgstr "Aktywuj i ustaw na Y"
525
526
#: options/stcr_manage_subscriptions.php:282
527
- msgid "Activate and set to R"
528
msgstr "Aktywuj i ustaw na R"
529
530
#: options/stcr_manage_subscriptions.php:283
520
msgstr "Zawieś"
521
522
#: options/stcr_manage_subscriptions.php:281
523
+ msgid "Activate and set to notify on all comments"
524
msgstr "Aktywuj i ustaw na Y"
525
526
#: options/stcr_manage_subscriptions.php:282
527
+ msgid "Activate and set to notify on replies only"
528
msgstr "Aktywuj i ustaw na R"
529
530
#: options/stcr_manage_subscriptions.php:283
langs/subscribe-reloaded-pt_BR.po CHANGED
@@ -572,11 +572,11 @@ msgid "Suspend"
572
msgstr "Suspender"
573
574
#: options/stcr_manage_subscriptions.php:281
575
- msgid "Activate and set to Y"
576
msgstr "Ativar e marcar como Y"
577
578
#: options/stcr_manage_subscriptions.php:282
579
- msgid "Activate and set to R"
580
msgstr "Ativar e marcar como R"
581
582
#: options/stcr_manage_subscriptions.php:283
572
msgstr "Suspender"
573
574
#: options/stcr_manage_subscriptions.php:281
575
+ msgid "Activate and set to notify on all comments"
576
msgstr "Ativar e marcar como Y"
577
578
#: options/stcr_manage_subscriptions.php:282
579
+ msgid "Activate and set to notify on replies only"
580
msgstr "Ativar e marcar como R"
581
582
#: options/stcr_manage_subscriptions.php:283
langs/subscribe-reloaded-pt_PT.po CHANGED
@@ -568,11 +568,11 @@ msgid "Suspend"
568
msgstr "Suspender"
569
570
#: options/stcr_manage_subscriptions.php:281
571
- msgid "Activate and set to Y"
572
msgstr ""
573
574
#: options/stcr_manage_subscriptions.php:282
575
- msgid "Activate and set to R"
576
msgstr ""
577
578
#: options/stcr_manage_subscriptions.php:283
568
msgstr "Suspender"
569
570
#: options/stcr_manage_subscriptions.php:281
571
+ msgid "Activate and set to notify on all comments"
572
msgstr ""
573
574
#: options/stcr_manage_subscriptions.php:282
575
+ msgid "Activate and set to notify on replies only"
576
msgstr ""
577
578
#: options/stcr_manage_subscriptions.php:283
langs/subscribe-reloaded-ru_RU.po CHANGED
@@ -520,11 +520,11 @@ msgid "Suspend"
520
msgstr "Приостановить"
521
522
#: options/stcr_manage_subscriptions.php:281
523
- msgid "Activate and set to Y"
524
msgstr "Включить и установить на Y"
525
526
#: options/stcr_manage_subscriptions.php:282
527
- msgid "Activate and set to R"
528
msgstr "Включить и установить на R"
529
530
#: options/stcr_manage_subscriptions.php:283
520
msgstr "Приостановить"
521
522
#: options/stcr_manage_subscriptions.php:281
523
+ msgid "Activate and set to notify on all comments"
524
msgstr "Включить и установить на Y"
525
526
#: options/stcr_manage_subscriptions.php:282
527
+ msgid "Activate and set to notify on replies only"
528
msgstr "Включить и установить на R"
529
530
#: options/stcr_manage_subscriptions.php:283
langs/subscribe-reloaded-sr_RS.po CHANGED
@@ -521,11 +521,11 @@ msgid "Suspend"
521
msgstr "Обустави"
522
523
#: options/stcr_manage_subscriptions.php:281
524
- msgid "Activate and set to Y"
525
msgstr "Активирај и подеси на Y"
526
527
#: options/stcr_manage_subscriptions.php:282
528
- msgid "Activate and set to R"
529
msgstr "Активирај и подеси на R"
530
531
#: options/stcr_manage_subscriptions.php:283
521
msgstr "Обустави"
522
523
#: options/stcr_manage_subscriptions.php:281
524
+ msgid "Activate and set to notify on all comments"
525
msgstr "Активирај и подеси на Y"
526
527
#: options/stcr_manage_subscriptions.php:282
528
+ msgid "Activate and set to notify on replies only"
529
msgstr "Активирај и подеси на R"
530
531
#: options/stcr_manage_subscriptions.php:283
langs/subscribe-reloaded-sv_SE.po CHANGED
@@ -519,11 +519,11 @@ msgid "Suspend"
519
msgstr "Inaktivera"
520
521
#: options/stcr_manage_subscriptions.php:281
522
- msgid "Activate and set to Y"
523
msgstr "Aktivera och sätt som Y"
524
525
#: options/stcr_manage_subscriptions.php:282
526
- msgid "Activate and set to R"
527
msgstr "Aktivera och sätt som R"
528
529
#: options/stcr_manage_subscriptions.php:283
519
msgstr "Inaktivera"
520
521
#: options/stcr_manage_subscriptions.php:281
522
+ msgid "Activate and set to notify on all comments"
523
msgstr "Aktivera och sätt som Y"
524
525
#: options/stcr_manage_subscriptions.php:282
526
+ msgid "Activate and set to notify on replies only"
527
msgstr "Aktivera och sätt som R"
528
529
#: options/stcr_manage_subscriptions.php:283
langs/subscribe-reloaded-tr_TR.po CHANGED
@@ -524,11 +524,11 @@ msgid "Suspend"
524
msgstr "Dondur"
525
526
#: options/stcr_manage_subscriptions.php:281
527
- msgid "Activate and set to Y"
528
msgstr "Aktifleştir ve Y olarak ayarla"
529
530
#: options/stcr_manage_subscriptions.php:282
531
- msgid "Activate and set to R"
532
msgstr "Aktifleştir ve R olarak ayarla"
533
534
#: options/stcr_manage_subscriptions.php:283
524
msgstr "Dondur"
525
526
#: options/stcr_manage_subscriptions.php:281
527
+ msgid "Activate and set to notify on all comments"
528
msgstr "Aktifleştir ve Y olarak ayarla"
529
530
#: options/stcr_manage_subscriptions.php:282
531
+ msgid "Activate and set to notify on replies only"
532
msgstr "Aktifleştir ve R olarak ayarla"
533
534
#: options/stcr_manage_subscriptions.php:283
langs/subscribe-reloaded-zh_CN.po CHANGED
@@ -507,11 +507,11 @@ msgid "Suspend"
507
msgstr "停止"
508
509
#: options/stcr_manage_subscriptions.php:281
510
- msgid "Activate and set to Y"
511
msgstr "启用并改为Y"
512
513
#: options/stcr_manage_subscriptions.php:282
514
- msgid "Activate and set to R"
515
msgstr "启用并改为R"
516
517
#: options/stcr_manage_subscriptions.php:283
507
msgstr "停止"
508
509
#: options/stcr_manage_subscriptions.php:281
510
+ msgid "Activate and set to notify on all comments"
511
msgstr "启用并改为Y"
512
513
#: options/stcr_manage_subscriptions.php:282
514
+ msgid "Activate and set to notify on replies only"
515
msgstr "启用并改为R"
516
517
#: options/stcr_manage_subscriptions.php:283
langs/subscribe-reloaded.pot CHANGED
@@ -497,11 +497,11 @@ msgid "Suspend"
497
msgstr ""
498
499
#: options/stcr_manage_subscriptions.php:281
500
- msgid "Activate and set to Y"
501
msgstr ""
502
503
#: options/stcr_manage_subscriptions.php:282
504
- msgid "Activate and set to R"
505
msgstr ""
506
507
#: options/stcr_manage_subscriptions.php:283
497
msgstr ""
498
499
#: options/stcr_manage_subscriptions.php:281
500
+ msgid "Activate and set to notify on all comments"
501
msgstr ""
502
503
#: options/stcr_manage_subscriptions.php:282
504
+ msgid "Activate and set to notify on replies only"
505
msgstr ""
506
507
#: options/stcr_manage_subscriptions.php:283
options/stcr_manage_subscriptions.php CHANGED
@@ -278,8 +278,8 @@ if ( is_readable( WP_PLUGIN_DIR . "/subscribe-to-comments-reloaded/options/panel
278
<select name="sra" id="action_type" class="form-control">
279
<option value="delete"><?php _e( 'Delete forever', 'subscribe-reloaded' ) ?></option>
280
<option value="suspend"><?php _e( 'Suspend', 'subscribe-reloaded' ) ?></option>
281
- <option value="force_y"><?php _e( 'Activate and set to Y', 'subscribe-reloaded' ) ?></option>
282
- <option value="force_r"><?php _e( 'Activate and set to R', 'subscribe-reloaded' ) ?></option>
283
<option value="activate"><?php _e( 'Activate', 'subscribe-reloaded' ) ?></option>
284
</select>
285
</div>
278
<select name="sra" id="action_type" class="form-control">
279
<option value="delete"><?php _e( 'Delete forever', 'subscribe-reloaded' ) ?></option>
280
<option value="suspend"><?php _e( 'Suspend', 'subscribe-reloaded' ) ?></option>
281
+ <option value="force_y"><?php _e( 'Activate and set to notify on all comments', 'subscribe-reloaded' ) ?></option>
282
+ <option value="force_r"><?php _e( 'Activate and set to notify on replies only ', 'subscribe-reloaded' ) ?></option>
283
<option value="activate"><?php _e( 'Activate', 'subscribe-reloaded' ) ?></option>
284
</select>
285
</div>
readme.txt CHANGED
@@ -7,7 +7,7 @@ Requires at least: 4.0
7
Requires PHP: 5.6
8
Requires MySQL: 5.6
9
Tested up to: 5.1
10
- Stable tag: 190325
11
License: GPLv2 or later
12
License URI: http://www.gnu.org/licenses/gpl-2.0.html
13
@@ -37,7 +37,7 @@ Subscribe to Comments Reloaded is a robust plugin that enables commenters to sig
37
2. Upload the entire folder and all the subfolders to your Wordpress plugins' folder. You can also use the downloaded ZIP file to upload it.
38
3. Activate it
39
5. Customize the Permalink value under Settings > Subscribe to Comments > Management Page > Management URL. It **must** reflect your permalinks' structure
40
- 5. If you don't see the checkbox to subscribe, you will have to manually edit your template, and add `<?php global $wp_subscribe_reloaded; if (isset($wp_subscribe_reloaded)){ $wp_subscribe_reloaded->stcr->subscribe_reloaded_show(); } ?>` somewhere in your `comments.php`
41
6. If you're upgrading from a previous version, please **make sure to deactivate/activate** StCR.
42
7. You can always install the latest development version by taking a look at this [Video](https://youtu.be/uQwkBciyFGY)
43
@@ -79,7 +79,7 @@ Use the shortcode `[subscribe-url]`, or use the following code in your theme:
79
80
= Can I move the subscription checkbox to another position? =
81
Yes! Just disable the corresponding option under Settings > Comment Form and then add the following code where you want to display the checkbox:
82
- `<?php global $wp_subscribe_reloaded; if (isset($wp_subscribe_reloaded)){ $wp_subscribe_reloaded->stcr->subscribe_reloaded_show(); } ?>`
83
84
= What if after update to the version 141024 I still see plain HTML messages? =
85
The information of your configuration needs to be updated. Go to the Subscribe to Comments Reloaded settings and click the `Save Changes` button on the tab
@@ -100,6 +100,14 @@ Just go to the Options Panel and click the generate button. By generating a new
100
101
== Changelog ==
102
103
= v190325 =
104
105
* **New** Shortcode for manage page content (to be used on non-virtual management page). The shortcode is [stcr_management_page]
7
Requires PHP: 5.6
8
Requires MySQL: 5.6
9
Tested up to: 5.1
10
+ Stable tag: 190409
11
License: GPLv2 or later
12
License URI: http://www.gnu.org/licenses/gpl-2.0.html
13
37
2. Upload the entire folder and all the subfolders to your Wordpress plugins' folder. You can also use the downloaded ZIP file to upload it.
38
3. Activate it
39
5. Customize the Permalink value under Settings > Subscribe to Comments > Management Page > Management URL. It **must** reflect your permalinks' structure
40
+ 5. If you don't see the checkbox to subscribe, you will have to manually edit your template, and add `<?php global $wp_subscribe_reloaded; if (isset($wp_subscribe_reloaded)){ echo $wp_subscribe_reloaded->stcr->subscribe_reloaded_show(); } ?>` somewhere in your `comments.php`
41
6. If you're upgrading from a previous version, please **make sure to deactivate/activate** StCR.
42
7. You can always install the latest development version by taking a look at this [Video](https://youtu.be/uQwkBciyFGY)
43
79
80
= Can I move the subscription checkbox to another position? =
81
Yes! Just disable the corresponding option under Settings > Comment Form and then add the following code where you want to display the checkbox:
82
+ `<?php global $wp_subscribe_reloaded; if (isset($wp_subscribe_reloaded)){ echo $wp_subscribe_reloaded->stcr->subscribe_reloaded_show(); } ?>`
83
84
= What if after update to the version 141024 I still see plain HTML messages? =
85
The information of your configuration needs to be updated. Go to the Subscribe to Comments Reloaded settings and click the `Save Changes` button on the tab
100
101
== Changelog ==
102
103
+ = v190409 =
104
+
105
+ * **Fix** Post author was notified of new comments even if they are awaiting approval, no need for this since WordPress itself sends out an email in that case
106
+ * **Fix** Post author was notified twice ( if he was subscribed and "subscribe authors" was enabled )
107
+ * **Fix** Issue with "StCR Position" option ( for older/outdated themes ) not working properly
108
+ * **Fix** Issue with wrong translation in German
109
+ * **Tweak** The "Action" select box labels on "Manage Subscriptions" page tweaked to be more descriptive
110
+
111
= v190325 =
112
113
* **New** Shortcode for manage page content (to be used on non-virtual management page). The shortcode is [stcr_management_page]
subscribe-to-comments-reloaded.php CHANGED
@@ -1,20 +1,15 @@
1
<?php
2
- /*
3
- Plugin Name: Subscribe to Comments Reloaded
4
-
5
- Version: 190325
6
- Requires at least: 4.0
7
- Tested up to: 5.1
8
-
9
- Plugin URI: http://subscribe-reloaded.com/
10
- Description: Subscribe to Comments Reloaded is a robust plugin that enables commenters to sign up for e-mail notifications. It includes a full-featured subscription manager that your commenters can use to unsubscribe to certain posts or suspend all notifications.
11
- Contributors: WPKube
12
- Author: WPKube
13
- Author URI: https://wpkube.com
14
-
15
- Text Domain: subscribe-reloaded
16
- Domain Path: /langs
17
- */
18
19
namespace stcr;
20
// Avoid direct access to this piece of code
1
<?php
2
+ /**
3
+ * Plugin Name: Subscribe to Comments Reloaded
4
+ * Description: Subscribe to Comments Reloaded is a robust plugin that enables commenters to sign up for e-mail notifications. It includes a full-featured subscription manager that your commenters can use to unsubscribe to certain posts or suspend all notifications.
5
+ * Version: 190409
6
+ * Author: WPKube
7
+ * Author URI: http://wpkube.com/
8
+ * License: GPL-2.0+
9
+ * License URI: http://www.gnu.org/licenses/gpl-2.0.txt
10
+ * Text Domain: subscribe-reloaded
11
+ * Domain Path: /langs
12
+ */
13
14
namespace stcr;
15
// Avoid direct access to this piece of code
wp_subscribe_reloaded.php CHANGED
@@ -6,7 +6,7 @@ if ( ! function_exists( 'add_action' ) ) {
6
exit;
7
}
8
9
- define( __NAMESPACE__.'\\VERSION','190325' );
10
define( __NAMESPACE__.'\\DEVELOPMENT', true );
11
define( __NAMESPACE__.'\\SLUG', "subscribe-to-comments-reloaded" );
12
@@ -49,7 +49,7 @@ if(!class_exists('\\'.__NAMESPACE__.'\\wp_subscribe_reloaded')) {
49
if ( DEVELOPMENT )
50
{
51
// Add subscriptions for tests
52
- // $this->add_manual_subs( 50, 18,'Y', 'dev', 30);
53
}
54
55
add_shortcode( 'stcr_management_page', array( $this, 'management_page_sc' ) );
@@ -340,25 +340,39 @@ if(!class_exists('\\'.__NAMESPACE__.'\\wp_subscribe_reloaded')) {
340
);
341
}
342
343
foreach ( $subscriptions as $a_subscription ) {
344
- // Skip the user who posted this new comment
345
if ( $a_subscription->email != $info->comment_author_email ) {
346
$this->notify_user( $info->comment_post_ID, $a_subscription->email, $_comment_ID );
347
}
348
}
349
- }
350
351
- // If the case, notify the author
352
- if ( get_option( 'subscribe_reloaded_notify_authors', 'no' ) == 'yes' ) {
353
-
354
- $post_author_id = get_post_field( 'post_author', $info->comment_post_ID );
355
- $post_author_data = get_userdata( $post_author_id );
356
- $post_author_email = $post_author_data->user_email;
357
358
- // send email to author unless the author made the comment
359
- if ( $info->comment_author_email != $post_author_email ) {
360
- $this->notify_user( $info->comment_post_ID, $post_author_email, $_comment_ID );
361
- }
362
363
}
364
@@ -1142,7 +1156,15 @@ if(!class_exists('\\'.__NAMESPACE__.'\\wp_subscribe_reloaded')) {
1142
/**
1143
* Displays the checkbox to allow visitors to subscribe
1144
*/
1145
- function subscribe_reloaded_show($submit_field = '') {
1146
global $post, $wp_subscribe_reloaded;
1147
$checkbox_subscription_type = null;
1148
$_comment_ID = null;
@@ -1253,7 +1275,12 @@ if(!class_exists('\\'.__NAMESPACE__.'\\wp_subscribe_reloaded')) {
1253
$output .= "<!-- BEGIN: subscribe to comments reloaded -->" . $html_to_show . "<!-- END: subscribe to comments reloaded -->";
1254
}
1255
1256
- return $output . $submit_field;
1257
} // end subscribe_reloaded_show
1258
1259
public function setUserCoookie() {
6
exit;
7
}
8
9
+ define( __NAMESPACE__.'\\VERSION','190409' );
10
define( __NAMESPACE__.'\\DEVELOPMENT', true );
11
define( __NAMESPACE__.'\\SLUG', "subscribe-to-comments-reloaded" );
12
49
if ( DEVELOPMENT )
50
{
51
// Add subscriptions for tests
52
+ // $this->add_manual_subs( 50, 18,'Y', 'dev', 30);
53
}
54
55
add_shortcode( 'stcr_management_page', array( $this, 'management_page_sc' ) );
340
);
341
}
342
343
+ // post author info
344
+ $post_author_id = get_post_field( 'post_author', $info->comment_post_ID );
345
+ $post_author_data = get_userdata( $post_author_id );
346
+ $post_author_email = $post_author_data->user_email;
347
+ $post_author_notified = false;
348
+
349
+ // notify subscribers
350
foreach ( $subscriptions as $a_subscription ) {
351
+
352
+ // skip comment author
353
if ( $a_subscription->email != $info->comment_author_email ) {
354
+
355
+ // notify the user
356
$this->notify_user( $info->comment_post_ID, $a_subscription->email, $_comment_ID );
357
+
358
+ // post author notified?
359
+ if ( $a_subscription->email == $post_author_email ) {
360
+ $post_author_notified = true;
361
+ }
362
+
363
}
364
+
365
}
366
367
+ // Notify author
368
+ if ( ! $post_author_notified && get_option( 'subscribe_reloaded_notify_authors', 'no' ) == 'yes' ) {
369
+
370
+ // send email to author unless the author made the comment
371
+ if ( $info->comment_author_email != $post_author_email ) {
372
+ $this->notify_user( $info->comment_post_ID, $post_author_email, $_comment_ID );
373
+ }
374
375
+ }
376
377
}
378
1156
/**
1157
* Displays the checkbox to allow visitors to subscribe
1158
*/
1159
+ function subscribe_reloaded_show($submit_field = '' ) {
1160
+
1161
+ // echo on action
1162
+ // return on filter
1163
+ $echo = false;
1164
+ if ( doing_action( 'comment_form' ) ) {
1165
+ $echo = true;
1166
+ }
1167
+
1168
global $post, $wp_subscribe_reloaded;
1169
$checkbox_subscription_type = null;
1170
$_comment_ID = null;
1275
$output .= "<!-- BEGIN: subscribe to comments reloaded -->" . $html_to_show . "<!-- END: subscribe to comments reloaded -->";
1276
}
1277
1278
+ if ( $echo ) {
1279
+ echo $output . $submit_field;
1280
+ } else {
1281
+ return $output . $submit_field;
1282
+ }
1283
+
1284
} // end subscribe_reloaded_show
1285
1286
public function setUserCoookie() {