Advertisement:

Author Topic: Force Users to Read Unread Pm(s)  (Read 1333 times)

Offline Doug Heffernan

  • Full Member
  • ***
  • Posts: 651
    • An Unofficial King of Queens Forum
Force Users to Read Unread Pm(s)
« on: March 12, 2019, 07:01:34 AM »
Link to Mod

This mod will force users who have a certain number of unread pms to read them before they can view the topics at your forum. Groups can be excluded from this restriction. The error message can also be modified by editing the appropriate language string.

Offline Rock Lee

  • Native Language Support Specialist
  • SMF Hero
  • *
  • Posts: 3,900
  • Gender: Male
  • Learning more every day!
    • BomberCode.Oficial on Facebook
    • RockLee-BC on GitHub
    • @Bomber_Code on Twitter
    • Bomber Code ~ La nueva era del conocimiento
Re: Force Users to Read Unread Pm(s)
« Reply #1 on: March 12, 2019, 01:54:50 PM »
I do not know if it is correct in certain cases, however, it is a good modification that I can see. Also I was looking at the code I leave the translation to Latin Spanish.

Code: [Select]
<file name="$languagedir/Help.spanish_latin.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[$helptxt['force_unread_pms_enabled'] = 'Esta configuraci&oacute;n activa y desactiva el mod.';
$helptxt['unread_nr'] = 'Este campo de configuraci&oacute;n contiene el n&uacute;mero de MPs (Mensajes Personales) no le&iacute;dos que desea forzar a sus usuarios a leerlos antes de que puedan navegar por los temas en su foro.';
$helptxt['unread_nr_excluded_groups'] = 'Ingrese la(s) identificaci&oacute;n(es) del(los) grupo(s) que desea excluir de la restricci&oacute;n de MPs de lectura forzada no le&iacute;da. Para excluir m&aacute;s de un grupo, separe los identificadores con una coma. Por Ejem. 1,2,3,4';]]></add>
</operation>
</file>

<file name="$languagedir/Help.spanish_latin-utf8.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[$helptxt['force_unread_pms_enabled'] = 'Esta configuración activa y desactiva el mod.';
$helptxt['unread_nr'] = 'Este campo de configuración contiene el número de MPs (Mensajes Personales) no leídos que desea forzar a sus usuarios a leerlos antes de que puedan navegar por los temas en su foro.';
$helptxt['unread_nr_excluded_groups'] = 'Ingrese la(s) identificación(es) del(los) grupo(s) que desea excluir de la restricción de MPs de lectura forzada no leída. Para excluir más de un grupo, separe los identificadores con una coma. Por Ejem. 1,2,3,4';]]></add>
</operation>
</file>

<file name="$languagedir/Modifications.spanish_latin.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[$txt['unreadpms_settings'] = 'Forzar lectura de MP(s) no leida(s)';
$txt['force_unread_pms_enabled'] = 'Activar Mod';
$txt['unread_nr'] = 'N&uacute;mero de MP(s) no le&iacute;do(s)';
$txt['unread_nr_excluded_groups'] = 'Los grupos excluidos';
$txt['unread_pms_error_message'] = 'Tenes <strong> %s </strong> no le&iacute;do(s). &iexcl;Debes leerlos para ver los temas del foro!';]]></add>
</operation>
</file>

<file name="$languagedir/Modifications.spanish_latin-utf8.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[$txt['unreadpms_settings'] = 'Forzar lectura de MP(s) no leida(s)';
$txt['force_unread_pms_enabled'] = 'Activar Mod';
$txt['unread_nr'] = 'Número de MP(s) no leído(s)';
$txt['unread_nr_excluded_groups'] = 'Los grupos excluidos';
$txt['unread_pms_error_message'] = 'Tenes <strong> %s </strong> no leído(s). ¡Debes leerlos para ver los temas del foro!';]]></add>
</operation>
</file>


Regards!
¡Regresando como cual Fenix! ~ Bomber Code © 2020
Ayudas - Aportes - Tutoriales - Y mucho mas!!!

Offline websitemaker1978

  • Newbie
  • *
  • Posts: 1
Re: Force Users to Read Unread Pm(s)
« Reply #2 on: April 11, 2019, 06:09:22 PM »
A useful purpose for this would be to implement this on a forum with PMs disabled for everyone but moderators. PMs could then be used to warn users for posts that violate the forum's terms of service, not allowing them to continue to use the board until they read the warnings.

Offline GigaWatt

  • The Smiley Guy
  • SMF Friend
  • SMF Hero
  • *
  • Posts: 2,341
  • Gender: Male
    • MechDR on GitHub
    • Macedonian electronics forum
Re: Force Users to Read Unread Pm(s)
« Reply #3 on: April 11, 2019, 06:58:27 PM »
PMs could then be used to warn users for posts that violate the forum's terms of service, not allowing them to continue to use the board until they read the warnings.

They can always just click and not read them... the same way you usually click "I Agree" on any license agreement. Don't know if anybody's read one entirely, LOL :D.
"This is really a generic concept about human thinking - when faced with large tasks we're naturally inclined to try to break them down into a bunch of smaller tasks that together make up the whole."

"A 500 error loosely translates to the webserver saying, "WTF?"..."

Offline larry007

  • Jr. Member
  • **
  • Posts: 120
Re: Force Users to Read Unread Pm(s)
« Reply #4 on: January 27, 2021, 02:48:21 PM »
The mod somehow doesn't work.

if someone logs into the forum, he did not get a message window, only that a message is displayed in the form of a 1 message in the link bar

Offline larry007

  • Jr. Member
  • **
  • Posts: 120
Re: Force Users to Read Unread Pm(s)
« Reply #5 on: February 01, 2021, 03:29:55 AM »
Nobody had the same problem?

Offline Steve

  • Freak
  • Support Specialist
  • SMF Hero
  • *
  • Posts: 4,857
  • Gender: Male
  • I have not yet begun to procrastinate.
Re: Force Users to Read Unread Pm(s)
« Reply #6 on: February 01, 2021, 12:53:16 PM »
Is this just one person or everyone?
Please do not PM me for support.

I just ordered a life alert bracelet so
if I get a life, I'll be notified immediately.

Offline larry007

  • Jr. Member
  • **
  • Posts: 120
Re: Force Users to Read Unread Pm(s)
« Reply #7 on: February 03, 2021, 03:07:00 AM »
I've only tried it out once myself with a second user account.
When I log into the forum I don't get a popup window like the mod describes it

Offline Steve

  • Freak
  • Support Specialist
  • SMF Hero
  • *
  • Posts: 4,857
  • Gender: Male
  • I have not yet begun to procrastinate.
Re: Force Users to Read Unread Pm(s)
« Reply #8 on: February 03, 2021, 09:03:56 AM »
What about alternate browsers? Same problem?
Please do not PM me for support.

I just ordered a life alert bracelet so
if I get a life, I'll be notified immediately.

Offline larry007

  • Jr. Member
  • **
  • Posts: 120
Re: Force Users to Read Unread Pm(s)
« Reply #9 on: February 03, 2021, 10:57:31 AM »
No work with

Firefox 85
MS Edge

Offline Steve

  • Freak
  • Support Specialist
  • SMF Hero
  • *
  • Posts: 4,857
  • Gender: Male
  • I have not yet begun to procrastinate.
Re: Force Users to Read Unread Pm(s)
« Reply #10 on: February 03, 2021, 04:56:28 PM »
Do you have the mod enabled? Do you have a specific number of PMs entered in the settings? Do you have any excluded groups in those settings?
Please do not PM me for support.

I just ordered a life alert bracelet so
if I get a life, I'll be notified immediately.

Offline larry007

  • Jr. Member
  • **
  • Posts: 120
Re: Force Users to Read Unread Pm(s)
« Reply #11 on: February 04, 2021, 02:54:28 AM »
yes, everything was done and no group was excluded

Offline Steve

  • Freak
  • Support Specialist
  • SMF Hero
  • *
  • Posts: 4,857
  • Gender: Male
  • I have not yet begun to procrastinate.
Re: Force Users to Read Unread Pm(s)
« Reply #12 on: February 04, 2021, 05:48:06 AM »
I'm afraid the mod author is going to have to take it from here. :-\
Please do not PM me for support.

I just ordered a life alert bracelet so
if I get a life, I'll be notified immediately.

Offline larry007

  • Jr. Member
  • **
  • Posts: 120
Re: Force Users to Read Unread Pm(s)
« Reply #13 on: February 05, 2021, 08:18:29 AM »
Hello Doug Heffernan

have you stopped your support for the mod? No answer from you?