MOD download & history

This mod will register when the user last logged in, allong with the info about how meny users have visited the board

Moderator: Moderators

Forum rules
The content in this forum is dated Dec. 21 2005 and can be used as Archive only. This Forum is LOCKED and READ ONLY !

MOD download & history

Postby Niels on Wed 10. Apr, 2002 15:11

Code: Select all
##############################################################
## MOD Title:          Last visit
## MOD Author:         Niels < ncr@db9.dk > (Niels Chr. Rød) http://mods.db9.dk
## MOD Description:    This mod will register when the user last
##                     logged in, allong with the info about how
##                     many users have visited the board.
## MOD Version:        1.2.8
## MOD Compatibility:  2.0.5->2.0.6
##
## Installation Level: Intermediate
## Installation Time:  25 minutes (1mn by EasyMOD of Nuttzy)
## Files To Edit:      14
##      index.php
##      memberlist.php
##      search.php
##      admin/admin_board.php
##      includes/functions.php
##      includes/page_header.php
##      includes/sessions.php
##      includes/usercp_viewprofile.php
##      language/lang_english/lang_admin.php
##      language/lang_english/lang_main.php
##      templates/subSilver/index_body.tpl
##      templates/subSilver/member_body.tpl   
##      templates/subSilver/profile_view_body.tpl 
##      templates/subSilver/admin/board_config_body.tpl   
##
## Included Files:     0
##
##############################################################
## MOD History:
##
##   2003-12-15 - Version 1.2.8
##      - phpBB template & EasyMOD compliance enhancement
##      - Chinese Traditional Taiwan, Danish, Deutsch, Dutch,
##        French, Hungarian, Italian, Polish & Thai translations
##        now provide with the MOD
##
##   2003-08-10 - Version 1.2.7
##      - search.php was missing - now added again
##
##   2003-08-10 - Version 1.2.6
##      - Merge part 1, 2, 3 & 4
##      - Add French translation if needed
##      - Update instructions to work with 2.0.5/2.0.6
##      - How-to rewrite to be EasyMOD compatible
##
##   ????-??-?? - Version 1.2.5
##      - change the code in index.php - minor speed different
##
##   ????-??-?? - Version 1.2.4
##      - add, posibilty to log guest users time
##
##   ????-??-?? - Version 1.2.3
##      - removed som added code in session.php
##
##   ????-??-?? - Version 1.2.2
##      - fixed that guest users was not counted rigth if
##        mixed timezones
##
##   ????-??-?? - Version 1.2.1
##      - typo, missed a comma in session.php
##
##   ????-??-?? - Version 1.2.0
##      - BETA for phpBB2 version 2.0.2.
##
##   ????-??-?? - Version 1.0.19
##      - guest was still beeing reset, new change to
##        session.php $dato
##
##   ????-??-?? - Version 1.0.18
##      - fixed session.php that guest users are reset from
##        the "today list"
##
##   ????-??-?? - Version 1.0.17
##      - moved some changes from page_header.php over to
##        index.php, for incresed performance
##
##   ????-??-?? - Version 1.0.16
##      - missed something in the page_header.php file
##
##   ????-??-?? - Version 1.0.15
##      - added extra feature, that how meny guest visited
##        the board today are also countet
##
##   ????-??-?? - Version 1.0.14
##      - fixed that the language part was missing from the
##        last hour addition
##
##   ????-??-?? - Version 1.0.13
##      - Now includes the number of users witch have visited
##        the board the last hour
##
##   ????-??-?? - Version 1.0.12
##      - corection to follow phpBB2 coding guidelines
##
##   ????-??-?? - Version 1.0.11
##      - corrected a typo in how timezones are handled
##
##   ????-??-?? - Version 1.0.10
##      - History started, change in how timezones are handled
##
##   ????-??-?? - Version 1.0.0
##      - initial release for RC-2
##
##   ????-??-?? - Version 0.9.0
##      - initial BETA for RC-2
##
##############################################################

:arrow: To know the languages already available in the MOD archive, please click here
Last edited by Niels on Fri 19. Dec, 2003 11:53, edited 8 times in total.
(if a how-to is EM ready, it will mostly be bullet prof, since a machine is more picky than a human. :D)
User avatar
Niels
Poster
Poster
 
Posts: 4390
Joined: Sat 27. Jul, 2002 15:46

Postby Bullet on Fri 19. Apr, 2002 14:24

Is it possible to zip the complete files neccesary for this mod? I am asking because when I make mistakes, the whole forum gets disrupted. It is easier to fit the complete files in the phpBB directory :D

Kind regards,
Bullet, admin bz-satellite http://www.bz-satellite.com/phpbb2/index.php
Bullet
Poster
Poster
 
Posts: 1
Joined: Fri 19. Apr, 2002 12:54
Location: Neterlands

Postby Niels on Fri 19. Apr, 2002 20:12

Bullet wrote:Is it possible to zip the complete files neccesary for this mod? I am asking because when I make mistakes, the whole forum gets disrupted. It is easier to fit the complete files in the phpBB directory :D

Kind regards,
Bullet, admin bz-satellite http://www.bz-satellite.com/phpbb2/index.php



I don't suppliy induvidually installed mods, only the "complete" packed, with all the mods installed, sorry but it would be to mutch work, updating the files, and keeping track of versions

the complete pre installed mods can be found above (Global announcement)
User avatar
Niels
Poster
Poster
 
Posts: 4390
Joined: Sat 27. Jul, 2002 15:46

Postby Niels on Sat 20. Apr, 2002 16:50

PART 2 is now updated, new version is 1.0.9

here are how to upgrade for users already installed this mod
in file memberlist.php
Code: Select all
Code removed, since it was wrong - no update needed
Last edited by Niels on Mon 22. Apr, 2002 19:43, edited 1 time in total.
User avatar
Niels
Poster
Poster
 
Posts: 4390
Joined: Sat 27. Jul, 2002 15:46

Postby Guest on Sat 20. Apr, 2002 21:10

Niels wrote:PART 2 is now updated, new version is 1.0.9

here are how to upgrade for users already installed this mod
in file memberlist.php
Code: Select all
Code removed, since it was wrong - no update needed



Saw, that part one is also updated. What has changed between version of 10.04.02 (1.05) and this one of 20.04.??
Guest
 

Postby Niels on Sun 21. Apr, 2002 22:55

[quote="Anonymous
Saw, that part one is also updated. What has changed between version of 10.04.02 (1.05) and this one of 20.04.??[/quote]

You are rigth, but when I did that, I diden't have the time to post a "update" message

PART one is updated to 1.0.6, minor fix, that fixes the time zone, if user are not logged in

here are how to upgrade, for users already instaled the mod

"Code removed" no update needed, the changes was not rigth
Last edited by Niels on Mon 22. Apr, 2002 01:06, edited 1 time in total.
User avatar
Niels
Poster
Poster
 
Posts: 4390
Joined: Sat 27. Jul, 2002 15:46

Postby Niels on Sun 21. Apr, 2002 23:54

PART one is now updated to ver 1.0.7
On request I have included that the list on the index page displays the number of hidden users visited today, so the list is displayed "error" free

here are how to upgrade, for users already done the mod

in file lang_main.php (all languages)

Code: Select all
[FIND]:
$lang['Users_today_explain'] = "The following %d users have visited the board today.";

[ADD AFTER]:
$lang['Users_today_list_hidden']=' and %d hidden user'; //note there is a space as first char
$lang['Users_today_list_hidden_more']=' and %d hidden users'; //note there is a space as first char

in file page_header.php
Code: Select all
[FIND]
$users_today_list.=($todayrow['user_allow_viewonline']) ? ' <a href="' . append_sid("profile.$phpEx?mode=viewprofile&amp;" . POST_USERS_URL . "=" . $todayrow['user_id']) . '"' . $style_color .'><b>' . $todayrow['username'] . '</b></a>':(($userdata[user_level]==ADMIN)?' <a href="' . append_sid("profile.$phpEx?mode=viewprofile&amp;" . POST_USERS_URL . "=" . $todayrow['user_id']) . '"' . $style_color .'><i>' . $todayrow['username'] . '</i></a>':'');

[ADD AFTER]:
if (!$todayrow['user_allow_viewonline']) $users_today_list_hidden++;

[FIND]:
'USERS_TODAY_LIST' =>$users_today_list,

[REPLACE WITH]:
'USERS_TODAY_LIST' =>$users_today_list.(($users_today_list_hidden>1)?sprintf($lang['Users_today_list_hidden_more'],$users_today_list_hidden):(($users_today_list_hidden)?sprintf($lang['Users_today_list_hidden'],$users_today_list_hidden):'')),
User avatar
Niels
Poster
Poster
 
Posts: 4390
Joined: Sat 27. Jul, 2002 15:46

Postby Niels on Mon 22. Apr, 2002 02:32

PART 1 now updated to ver 1.0.8

Here are how to upgrade

in file page_header-php
Code: Select all
[FIND]:
'USERS_TODAY_LIST' =>$users_today_list.(($users_today_list_hidden>1)?sprintf($lang['Users_today_list_hidden_more'],$users_today_list_hidden):(($users_today_list_hidden)?sprintf($lang['Users_today_list_hidden'],$users_today_list_hidden):'')),

[REPLACE WITH]:
"USERS_TODAY_LIST" => $users_today_list . (($userdata[user_level] != ADMIN) ? sprintf( (($users_today_list_hidden > 1) ? $lang['Users_today_list_hidden_more']: $lang['Users_today_list_hidden']) , $users_today_list_hidden) : ''),
User avatar
Niels
Poster
Poster
 
Posts: 4390
Joined: Sat 27. Jul, 2002 15:46

Next

Return to Last visit [2.0.10/EM]

Who is online

Users browsing this forum: No registered users and 0 guests

cron