Advertisement:

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

Offline doug_ips

  • Jr. Member
  • **
  • Posts: 303
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,002
  • Gender: Male
  • I also speak english :D
    • 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 © 2018
Ayudas - Aportes - Tutoriales - Y mucho mas!!!


Ayudame via PayPal

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.

Online GigaWatt

  • The Smiley Guy
  • Support Specialist
  • SMF Hero
  • *
  • Posts: 2,187
  • Gender: Male
    • 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?"..."