[CH 2.1.6 g] Last Visited 1.1.1 CH

Seznam modifikací nainstalovaných na tomto fóru.
Odpovědět Téma
Avatar uživatele
leschek
Administrátor
Reakce:
Příspěvky: 724
Registrován: 23 Říj 2005 23:22
Tykání: Ano
Kontaktovat uživatele:

[CH 2.1.6 g] Last Visited 1.1.1 CH

Nepřečtený příspěvek od leschek »

Docela dobrej mód, kterej umožní administrátorovi zobrazit v profilu uživatele a v seznamu uživatelů informaci o tom, kdy uživatelé navštívili naposledy fórum. Administrátor tak získá přehled o tom, jestli uživatelé navštěvují fórum nebo jsou třeba jen spameři.

Pár skrýnšotů ze seznamu uživatelů a z profilu uživatele:

Obrázek

Obrázek

Kód: Vybrat vše

##############################################################
## MOD Title: Last Visited (Truncated)
## MOD Author: imrich < forward_imrich@comcast.net > (Rich) N/A
## MOD Description: Adds the date a person last visited your forum to their
## profile and the members list along with the ability to order search
## results by the date they last visited.
## Croped to work with CH by Allstar.
##
## MOD Version: 1.1.1-CH
##
## Installation Level: Easy
## Installation Time: 15 minutes
## Files To Edit:groupcp.php,
##      memberlist.php,
##      includes/usercp_viewprofile.php,
##      includes/page_header.php,
##      language/lang_english/lang_main.php,
##      templates/subSilver/memberlist_body.tpl,
##      templates/subSilver/profile_view_body.tpl,
##
## Included Files: N/A
##
## License: http://opensource.org/licenses/gpl-license.php GNU General Public License v2
##
##############################################################
## For security purposes, please check: http://www.phpbb.com/mods/
## for the latest version of this MOD. Although MODs are checked
## before being allowed in the MODs Database there is no guarantee
## that there are no security problems within the MOD. No support
## will be given for MODs not found within the MODs Database which
## can be found at http://www.phpbb.com/mods/
##############################################################
## Author Notes: Allstar; I found this mod and couldn't get all of it working
## on CH 2.1.4x so trimed it down until it did work and luckily ended up with
## the profile and memberlist bits working.
##############################################################
## MOD History:
##
##   2006-04-28 - Version 1.1.1-CH
##   Cropped for use on CH 2.1.4 & CH 2.1.6 by Allstar
##   2005-08.29 - Version 1.1.1
##   Fixed cosmetic things such as using the INCREMENT function instead of using IN-LINE REPLACE which kept mod from being validated by the Mod-Team. No functional differences from 1.1.0.
##   2005-08.08 - Version 1.1.0
##   Changes to show last visit in usergroups. Inspired by the posting made by mechagrover, used his code as a base and added a bit more to make it work.
##   2005-04.03 - Version 1.0.8
##   Changed to use session data, prelim testing work by by danko (thanks!). This will be a more accurate time of last visit as it takes session_time into account instead of last_visited as last_visted can be old if user checks 'alway stay logged in'.
##   2004-11.25 - Version 1.0.7
##   Had error in FIND, misplaced comment delimiter
##   2004-11.25 - Version 1.0.6
##   Had error in INLINE ADD, fixed syntax
##   2004-11-25 - Version 1.0.5
##   Changed to also display last visit date when viewing posts.
##   Updated changes to lang_main.php, additional changes to viewtopic.php and viewtopic_body.tpl
##   2004-11-23 - Version 1.0.4
##   Removed single quotes around sql field.
##   2004-11-22 - Version 1.0.3
##   Fixed catBottom length (cosmetic issue).
##   2004-11-20 - Version 1.0.2
##   Fixed a couple of out of place comment delimiters.
##   2004-11-17 - Version 1.0.1
##   Changed REPLACE to INLINE directives.
##   2004-11-09 - Version 1.0.0
##   - First Stable release. Version 1.0.0 of a MOD is always it's first stable release.
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
############################################################## 
Mód najdete tady

V instalaci je malinká chybička:

Kód: Vybrat vše

#-----[ Najít ]------------------------------------------
#
//-- mod : Last Visited --------------------------------------------------------
   'L_VISITED => $lang['Visited'],
//-- fin mod : Last Visited ----------------------------------------------------
#
#-----[ Nahradit tímto ]------------------------------------------
#
//-- mod : Last Visited --------------------------------------------------------
   'L_VISITED' => $lang['Visited'],
//-- fin mod : Last Visited ----------------------------------------------------
#
Čeština je velmi jednoduchá:

Kód: Vybrat vše

#-----[ Otevřít ]------------------------------------------
#

language/lang_english/lang_czech.php
#
#-----[ Najít ]------------------------------------------
#
$lang['Sort_Joined']
#
#-----[ Za to vložit ]------------------------------------------
#

//-- mod : Last Visited --------------------------------------------------------
$lang['Visited'] = 'Poslední návštěva';
$lang['Sort_Visited'] = 'Datum poslední návštěvy';
//-- fin mod : Last Visited ----------------------------------------------------

#
#
Odpovědět