Advertisement:

Author Topic: Recent Posts (1, 3, 7 Days)  (Read 527 times)

Offline Randem

  • Jr. Member
  • **
  • Posts: 169
  • Gender: Male
    • Randem Systems
Recent Posts (1, 3, 7 Days)
« on: June 02, 2018, 07:39:48 PM »
Link to Mod

//////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Randem Systems "Recent Posts" Installation Instructions ver 1.x
// SMF mod package for use with the Simple Machines Forum versions 2.x, PHP
// For more information and support.
//
// Author - Randem (http://www.simplemachines.org/community/index.php?action=profile;u=384160)
//
// Randem Systems Website: http://randemsystems.com
// Recent Posts Support: https://randemsystems.com/support/
// Release History: https://randemsystems.com/support/recentposts-release-history/
//
// Copyright (C) 2018  Randem Systems
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
//  This program is distributed in the hope that it will be useful,
//  but WITHOUT ANY WARRANTY; without even the implied warranty of
//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//  GNU General Public License for more details.
//
//  You should have received a copy of the GNU General Public License
//  along with this program.  If not, see <http://www.gnu.org/licenses/>.
//
//  You should also get your employer (if you work as a programmer) or school, if any, to sign a “copyright disclaimer” for the program,
//  if necessary. For more information on this, and how to apply and follow the GNU GPL, see <http://www.gnu.org/licenses/>.
//
//  The GNU General Public License does not permit incorporating your program into proprietary programs.
//
//////////////////////////////////////////////////////////////////////////////////////////////////////////////

What is Recent Posts:

   Allows a user to see all the recent posts in a formatted structure.

How It Works:

   Recent Posts will create a tree structure of the most recent post in a helpful readable format.
   The selections are 1, 3 and 7 Days. The selections are to be found on the home page under "Recent Posts" in
   SMF versions 2.0.x and when you click on "View the most recent posts on the forum." in SMF versions 2.1 Beta 3

Uses:

   View the most recent post in a easily readable format. Located on the home page in the "Forum Stats" section.

Limitations:

   None.

Installation Instructions:

   Installs via the Package Manager that is included with the SMF software.

   Available Settings can be changed at Administration Center » Modification Settings » Miscellaneous section
https://randemsystems.com/support/       -   Discusware to SMF Converter / BotBanish Support
https://blaxtonjames.com                         - Money, Knowledge And Power; Why You Are Missing All Three
https://joystickgangsta.com                      - An Experience You Can't Refuse
http://botbanish.com                                 - The Ultimate BOT Defender for SMF, OpenCart  & Websites

Always ignore those who attempt to tell you what to think and believe those who will let you think for yourself

Offline Rock Lee

  • SMF Hero
  • ******
  • Posts: 1,702
  • 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: Recent Posts (1, 3, 7 Days)
« Reply #1 on: June 02, 2018, 09:32:37 PM »
First congratulations on the mod, I leave the translation to the Latin Spanish...

Code: [Select]
<file name="$languagedir/index.spanish_latin.php" error="skip">
<operation>
<search position="end"></search>
<add><![CDATA[

$txt['recent_view_1'] = '&Uacute;ltimas 24 horas';
$txt['recent_view_2'] = '&Uacute;ltimos 3 d&iacute;as';
$txt['recent_view_3'] = '&Uacute;ltimos 7 d&iacute;as';

$txt['recent_days_1'] = '-1 d&iacute;a';
$txt['recent_days_2'] = '-3 d&iacute;a';
$txt['recent_days_3'] = '-7 d&iacute;a';
$txt['messages'] = 'Mensajes';

$txt['most_recent'] = 'Publicaciones m&aacute;s recientes en el &uacute;ltimo: ';
]]></add>
</operation>
</file>

<file name="$languagedir/index.spanish_latin-utf8.php" error="skip">
<operation>
<search position="end"></search>
<add><![CDATA[

$txt['recent_view_1'] = 'Últimas 24 horas';
$txt['recent_view_2'] = 'Últimos 3 días';
$txt['recent_view_3'] = 'Últimos 7 días';

$txt['recent_days_1'] = '-1 día';
$txt['recent_days_2'] = '-3 día';
$txt['recent_days_3'] = '-7 día';
$txt['messages'] = 'Mensajes';

$txt['most_recent'] = 'Publicaciones más recientes en el último: ';
]]></add>
</operation>
</file>

...and at the time of testing it in local me the following error: (I attach it).


Regards!

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

Offline Gryzor

  • Sr. Member
  • ****
  • Posts: 770
  • Gender: Male
  • CPCwiki.eu - The Amstrad CPC Encyclopaedia!
    • CPCWiki
Re: Recent Posts (1, 3, 7 Days)
« Reply #2 on: June 13, 2018, 05:51:16 AM »
Is there a screenshot or a demo somewhere? :)

Offline mattizzy

  • Semi-Newbie
  • *
  • Posts: 46
Re: Recent Posts (1, 3, 7 Days)
« Reply #3 on: June 13, 2018, 11:54:57 PM »
I installed this but nothing happened

Offline Study Force

  • SMF Hero
  • ******
  • Posts: 3,289
    • StudyForcePS on Facebook
    • @studyforceps on Twitter
    • Study Force
Re: Recent Posts (1, 3, 7 Days)
« Reply #4 on: June 14, 2018, 01:24:16 PM »
Thanks... will implement soon!