[2.0.17] Last Visited

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in here. No new MODs will be accepted into the MOD Database for phpBB2
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.

Rating:

Excellent!
32
57%
Very Good
15
27%
Good
5
9%
Fair
1
2%
Poor
3
5%
 
Total votes: 56

imrich
Registered User
Posts: 237
Joined: Tue Nov 09, 2004 9:52 pm

Post by imrich »

Thanks,

I'm glad that you find it as useful as I do.
Rich
phatchopolis
Registered User
Posts: 166
Joined: Mon May 29, 2006 11:40 pm

Post by phatchopolis »

Would there be an easy way to get it to display the time they visited as well as date?
imrich
Registered User
Posts: 237
Joined: Tue Nov 09, 2004 9:52 pm

Post by imrich »

phatchopolis wrote: Would there be an easy way to get it to display the time they visited as well as date?


Yes, search this thread, there are a few examples on how to do this.
Rich
Sweet_Amstaff_Sarah
Registered User
Posts: 114
Joined: Thu Mar 10, 2005 7:30 am
Location: Belgium

Post by Sweet_Amstaff_Sarah »

Hi

I installed this mod today and there seem to be some problems.
With a vieuw members it is shown that there last visit date was today but with some other ones it isn't.
At the bottem of the index page it says:
In total 50 user have visited this site today :: 44 Geregisteerd, 0 Verborgen en 6 Gasten , 9 of them within the last hour.


With the whole list of visitors. But when I go see to some of them it shows that they have never been online. Only 7 of the 44 had been on the board???
someone placed a message after I installed the mod and still it says
Last Visit: Never
Total Online Duration: 00:00:00
Last Online Duration: 37 Years, 1 Week, 5 Dagen, 21:26:50
Number of visits: Geen
Number of page hits: Geen


Duration: 37 Years, while my forum is only 2 years old...

could someone tell me what the problem could be?
imrich
Registered User
Posts: 237
Joined: Tue Nov 09, 2004 9:52 pm

Post by imrich »

It's hard to say what is going on. This mod simply displays the data which is kept in the PHPBB database. It does not create a date, nor keep any new information.

Unless you made an error installing this mod.

Perhaps you should ask in one of the support or development areas?

That 37 years does look suspect!
Rich
imrich
Registered User
Posts: 237
Joined: Tue Nov 09, 2004 9:52 pm

Dropping support of this mod

Post by imrich »

After over two years, I'm dropping support of this mod.

If someone else would like to pick up support of this mod, feel free to let me know.

There's not much to do. It would be nice to resubmit the mod to the database for more up-to-date phpbb release, but all the code needed is in this thread.

Thanks to all of you who enjoyed using this mod and provided me with feedback.

I still believe that this functionality should be in the core phpbb, perhaps with some enhancements as I believe that knowing when someone has last visited a forum is more useful information than knowing when they first registered.

So with this message, I will no longer be officially supporting this mod. However I may still check in to see how things are going.
Rich
phatchopolis
Registered User
Posts: 166
Joined: Mon May 29, 2006 11:40 pm

Post by phatchopolis »

Again I'll say thanks for the mod. It is a key feature that I think should be default in phpBB. It helps to weed out members that aren't even visiting your forum let alone participating. Thanks for announing dropping support as many authors don't and for supporting the mod for so long.
imrich
Registered User
Posts: 237
Joined: Tue Nov 09, 2004 9:52 pm

Post by imrich »

phatchopolis wrote: Again I'll say thanks for the mod. It is a key feature that I think should be default in phpBB. It helps to weed out members that aren't even visiting your forum let alone participating. Thanks for announing dropping support as many authors don't and for supporting the mod for so long.


You're quite welcome.

There really isn't much to do with support these days as this has simply been working. Most of the questions are "this doesn't work", 99.9% of the time it's because the user didn't use easymod and made a mistake in installing this mod.

Perhaps someone else will pick up this mod and enhance it. People have had all sorts of ideas, such as Admin configurable menus to allow control of display of the last visit date, the format of the display, etc.

I'm glad you have found it useful.
Rich
namu
Registered User
Posts: 14
Joined: Sun Apr 24, 2005 4:21 pm
Contact:

Post by namu »

imrich, you are wonderful for all the time you've taken to help
people and I'm sorry for having to ask you, but I'm having so
much trouble, can you help?

I installed a clean version of 2.0.22 and then upgraded from
my old restore file (1.0.17 version) and then I installed EasyMod.
I then tried to install the Last Visited mod (downloaded from
the official mods list here on this site) and, like an idiot, I didn't
read all the way through the install notes first, so I missed the
part about running last_visit_update.php. Of course, my forum
broke after attempting the install.

So I read in another forum that I could still run last_visit_update.php
but I tried and I got the following error:
phpBB : Critical Error
Error updating last visit time
DEBUG MODE
SQL Error : 1054 Unknown column 'user_lastlogon' in 'field list'

UPDATE phpbb_users SET user_session_time = 1168283248, user_session_page = 0, user_lastvisit = 1168283248, user_lastlogon = 1168283248, user_totallogon=user_totallogon+1 WHERE user_id = -1

Line : 403
File : sessions.php



Can you give any insight into how to get around this? Thank
you so much, in advance.
"If a man does his best, what else is there?"
- General George S. Patton
imrich
Registered User
Posts: 237
Joined: Tue Nov 09, 2004 9:52 pm

Post by imrich »

How can I not try to help you while you are trying to be so nice to me! :)

Search through this thread. There is an updated version of last visited which is posted here which has changes that you need to make to support the newer versions of phpbb.

If you were using easymod, it should not have broken your forum if it was not able to install the mod. It should have just complained that it couldn't find some code and given up.

To recover you can simply replace the files which were modded by easymod from your 2.0.22 install. This mod only changes a few and does not touch any databases, etc.

Perhaps you should do this in steps.

1) Install a new 2.0.22 and be sure it's working ok
2) Then install easymod and be sure that is working ok.
3) Then restore your database only (not your complete 1.0.17 files) and be sure that all your users and posts work ok.
4) Then consider any new mods (such as this one).

I'm sorry that the original mod file in the database hasn't been updated to the latest code, but I havn't had the time anymore. So this is why I'm dropping support of this mod. Perhaps someone will pickup the support of this mod, and re-submit the updated code (which is earlier this thread) to the mod database. This should stop confusing actions by users such as yourself.

Best of luck!
Rich
namu
Registered User
Posts: 14
Joined: Sun Apr 24, 2005 4:21 pm
Contact:

Post by namu »

Thanks rich, I'll try those steps! :)
"If a man does his best, what else is there?"
- General George S. Patton
phatchopolis
Registered User
Posts: 166
Joined: Mon May 29, 2006 11:40 pm

Post by phatchopolis »

To help save you some time here is the updated code from earlier in the thread.

Code: Select all

############################################################## 
## MOD Title: Last Visited 
## MOD Author: imrich < [email protected] > (Rich) N/A 
## MOD Description: This mod will change the memberlist, topicview (posts), usergroups, and user profile to display the date of a members last visit. 
## It also allows the memberlist to be sorted based on the lastvisit date. 
## Instructions for modifying only the SubSilver template and English language has been included. 
## 
## MOD Version: 1.1.2 
## 
## Installation Level: Easy 
## Installation Time: 25 minutes 
## Files To Edit:  groupcp.php, 
##                memberlist.php, 
##                viewtopic.php, 
##                includes/usercp_viewprofile.php, 
##                includes/page_header.php, 
##                language/lang_english/lang_main.php, 
##                templates/subSilver/groupcp_info_body.tpl, 
##                templates/subSilver/memberlist_body.tpl, 
##                templates/subSilver/profile_view_body.tpl, 
##                templates/subSilver/viewtopic_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: I wanted the ability to see when a user last visited my forum. 
## To me this is more important than knowing the date when a user first joined. 
## This mod will work correctly to show when a user visits the board even when the user has 'Log me on automatically each visit' is checked, 
##  however the date/time of such a visit is controlled by the session length of phpbb (default is 1 hour), so take that into account if you don't see the time updated as expected. 
## Only the SubSilver template and English language files have been modified. 
############################################################## 
## MOD History: 
## 
## 
##   2005-11.14 - Version 1.1.2 
## 
##   Changed joindate to joined in memberlist.php. This was to maintain compatibility with the phpbb 2.0.18 files. 
##    Note that you do not need this change if you installed the MOD version of PHPBB 2.0.18.  This change only causes a find to fail in this mod and is not needed for any functional changes. 
## 
##   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 
############################################################## 

# 
#-----[ OPEN ]------------------------------------- 
# 
groupcp.php 

# 
#-----[ FIND ]------------------------------------- 
# 
# Here is the complete find, the followin find should be this one: 
#function generate_user_info(&$row, $date_format, $group_mod, &$from, &$posts, &$joined, &$poster_avatar, &$profile_img, &$profile, &$search_img, &$search, &$pm_img, &$pm, &$email_img, &$email, &$www_img, &$www, &$icq_status_img, &$icq_img, &$icq, &$aim_img, &$aim, &$msn_img, &$msn, &$yim_img, &$yim) 
# 
function generate_user_info(&$row, $date_format, $group_mod, &$from, &$posts, &$joined, &$poster_avatar, 

# 
#-----[ IN-LINE FIND ]------------------------------------- 
# 
 &$joined, 
# 
#-----[ IN-LINE AFTER, ADD ]------------------------------------- 
# 
 &$lastvisit, 

# 
#-----[ FIND ]------------------------------------- 
# 
   $joined = create_date($date_format, $row['user_regdate'], $board_config['board_timezone']); 
# 
#-----[ AFTER, ADD ]------------------------------------- 
# 
   // If user_session_time is zero, then user has never visited. 
   if($row['user_session_time']==0) 
   { 
      $lastvisit = '---------'; 
   } 
   else 
   { 
      $lastvisit = create_date($lang['DATE_FORMAT'], $row['user_session_time'], $board_config['board_timezone']); 
   } 

# 
#-----[ FIND ]------------------------------------- 
# 
   $sql = "SELECT username, user_id, user_viewemail, user_posts, user_regdate, user_from, user_website, user_email, user_icq, user_aim, user_yim, user_msnm  
# 
#-----[ IN-LINE FIND ]------------------------------------- 
# 
user_regdate, 
# 
#-----[ IN-LINE AFTER, ADD ]------------------------------------- 
# 
user_session_time, 

# 
#-----[ FIND ]------------------------------------- 
# 
   $sql = "SELECT u.username, u.user_id, u.user_viewemail, u.user_posts, u.user_regdate, u.user_from, u.user_website, u.user_email, u.user_icq, u.user_aim, u.user_yim, u.user_msnm, ug.user_pending 
# 
#-----[ IN-LINE FIND ]------------------------------------- 
# 
u.user_regdate, 
# 
#-----[ IN-LINE AFTER, ADD ]------------------------------------- 
# 
u.user_session_time, 

# 
#-----[ FIND ]------------------------------------- 
# 
   $sql = "SELECT u.username, u.user_id, u.user_viewemail, u.user_posts, u.user_regdate, u.user_from, u.user_website, u.user_email, u.user_icq, u.user_aim, u.user_yim, u.user_msnm 
# 
#-----[ IN-LINE FIND ]------------------------------------- 
# 
u.user_regdate, 
# 
#-----[ IN-LINE AFTER, ADD ]------------------------------------- 
# 
u.user_session_time, 

# 
#-----[ FIND ]------------------------------------- 
# 
generate_user_info($group_moderator, $board_config['default_dateformat'], $is_moderator, $from, $posts, $joined, $poster_avatar, $profile_img, $profile, $search_img, $search, $pm_img, $pm, $email_img, $email, $www_img, $www, $icq_status_img, $icq_img, $icq, $aim_img, $aim, $msn_img, $msn, $yim_img, $yim); 
# 
#-----[ IN-LINE FIND ]------------------------------------- 
# 
 $joined, 
# 
#-----[ IN-LINE AFTER, ADD ]------------------------------------- 
# 
 $lastvisit, 
# 
#-----[ FIND ]------------------------------------- 
# 
      'MOD_JOINED' => $joined, 
# 
#-----[ AFTER, ADD ]------------------------------------- 
# 
      'MOD_LASTVISIT' => $lastvisit, 
# 
#-----[ FIND ]------------------------------------- 
# 
generate_user_info($group_members[$i], $board_config['default_dateformat'], $is_moderator, $from, $posts, $joined, $poster_avatar, $profile_img, $profile, $search_img, $search, $pm_img, $pm, $email_img, $email, $www_img, $www, $icq_status_img, $icq_img, $icq, $aim_img, $aim, $msn_img, $msn, $yim_img, $yim); 
# 
#-----[ IN-LINE FIND ]------------------------------------- 
# 
 $joined, 
# 
#-----[ IN-LINE AFTER, ADD ]------------------------------------- 
# 
 $lastvisit, 
# 
#-----[ FIND ]------------------------------------- 
# 
            'JOINED' => $joined, 

# 
#-----[ AFTER, ADD ]------------------------------------- 
# 
            'LASTVISIT' => $lastvisit, 
# 
#-----[ FIND ]------------------------------------- 
# 
generate_user_info($modgroup_pending_list[$i], $board_config['default_dateformat'], $is_moderator, $from, $posts, $joined, $poster_avatar, $profile_img, $profile, $search_img, $search, $pm_img, $pm, $email_img, $email, $www_img, $www, $icq_status_img, $icq_img, $icq, $aim_img, $aim, $msn_img, $msn, $yim_img, $yim); 

# 
#-----[ IN-LINE FIND ]------------------------------------- 
# 
 $joined, 
# 
#-----[ IN-LINE AFTER, ADD ]------------------------------------- 
# 
 $lastvisit, 
# 
#-----[ FIND ]------------------------------------- 
# 
               'JOINED' => $joined, 

# 
#-----[ AFTER, ADD ]------------------------------------- 
# 
               'LASTVISIT' => $lastvisit, 

# 
#-----[ OPEN ]------------------------------------------ 
# 

memberlist.php 
# 
# 
#-----[ FIND ]------------------------------------------ 
# 
$mode_types_text = array($lang['Sort_Joined'], $lang['Sort_Username'], $lang['Sort_Location'], $lang['Sort_Posts'], $lang['Sort_Email'],  $lang['Sort_Website'], $lang['Sort_Top_Ten']); 

# 
#-----[ IN-LINE FIND ]------------------------------------------ 
# 
$mode_types_text = array($lang['Sort_Joined'], 
# 
#-----[ IN-LINE AFTER, ADD ]------------------------------------------ 
# 
 $lang['Sort_Visited'], 

# 
#-----[ FIND ]------------------------------------------ 
# 
$mode_types = array('joined', 'username', 'location', 'posts', 'email', 'website', 'topten'); 

# 
#-----[ IN-LINE FIND ]------------------------------------------ 
# 
$mode_types = array('joined', 
# 
#-----[ IN-LINE AFTER, ADD ]------------------------------------------ 
# 
 'visitdate', 
# 
#-----[ FIND ]------------------------------------------ 
# 
   case 'joined': 
      $order_by = "user_regdate $sort_order LIMIT $start, " . $board_config['topics_per_page']; 
      break; 

# 
#-----[ AFTER, ADD ]------------------------------------------ 
# 
   case 'visitdate': 
      $order_by = "user_session_time $sort_order LIMIT $start, " . $board_config['topics_per_page']; 
      break; 

# 
#-----[ FIND ]------------------------------------------ 
# 
$sql = "SELECT username, user_id, user_viewemail, user_posts, user_regdate, user_from, user_website, user_email, user_icq, user_aim, user_yim, user_msnm, user_avatar, user_avatar_type, user_allowavatar 

# 
#-----[ IN-LINE FIND ]------------------------------------------ 
# 
$sql = "SELECT username, user_id, user_viewemail, user_posts, user_regdate, 
# 
#-----[ IN-LINE AFTER, ADD ]------------------------------------------ 
# 
 user_session_time, 
# 
#-----[ FIND ]------------------------------------------ 
# 
      $from = ( !empty($row['user_from']) ) ? $row['user_from'] : '&nbsp;'; 
      $joined = create_date($lang['DATE_FORMAT'], $row['user_regdate'], $board_config['board_timezone']); 

# 
#-----[ AFTER, ADD ]------------------------------------------ 
# 

      // If user_session_time is zero, then user has never visited. 
      if($row['user_session_time']==0) 
      { 
         $lastvisit = '---------'; 
      } 
      else 
      { 
         $lastvisit = create_date($lang['DATE_FORMAT'], $row['user_session_time'], $board_config['board_timezone']); 
      } 


# 
#-----[ FIND ]------------------------------------------ 
# 
         'USERNAME' => $username, 
         'FROM' => $from, 
         'JOINED' => $joined, 

# 
#-----[ AFTER, ADD ]------------------------------------------ 
# 
         'VISITED' => $lastvisit, 

# 
#-----[ OPEN ]------------------------------------------ 
# 

viewtopic.php 
# 
# 
#-----[ FIND ]------------------------------------------ 
# 
$sql = "SELECT u.username, u.user_id, u.user_posts, u.user_from, u.user_website, u.user_email, u.user_icq, u.user_aim, u.user_yim, u.user_regdate, u.user_msnm, u.user_viewemail, u.user_rank, u.user_sig, u.user_sig_bbcode_uid, u.user_avatar, u.user_avatar_type, u.user_allowavatar, u.user_allowsmile, p.*,  pt.post_text, pt.post_subject, pt.bbcode_uid 
# 
#-----[ IN-LINE FIND ]------------------------------------------ 
# 
 u.user_regdate, 
# 
#-----[ IN-LINE AFTER, ADD ]------------------------------------------ 
# 
 u.user_session_time, 
# 
#-----[ FIND ]------------------------------------------ 
# 
   $poster_joined = ( $postrow[$i]['user_id'] != ANONYMOUS ) ? $lang['Joined'] . ': ' . create_date($lang['DATE_FORMAT'], $postrow[$i]['user_regdate'], $board_config['board_timezone']) : ''; 
# 
#-----[ AFTER, ADD ]------------------------------------------ 
# 

   $poster_visited =  ( $postrow[$i]['user_id'] != ANONYMOUS ) ? $lang['Visited'] . ': ' . create_date($lang['DATE_FORMAT'], $postrow[$i]['user_session_time'], $board_config['board_timezone']) : ''; 

# 
#-----[ FIND ]------------------------------------------ 
# 
      'POSTER_JOINED' => $poster_joined, 
# 
#-----[ AFTER, ADD ]------------------------------------------ 
# 
      'POSTER_VISITED' => $poster_visited, 
# 
#-----[ OPEN ]------------------------------------------ 
# 

includes/usercp_viewprofile.php 
# 
#-----[ FIND ]------------------------------------------ 
# 
   'USERNAME' => $profiledata['username'], 
   'JOINED' => create_date($lang['DATE_FORMAT'], $profiledata['user_regdate'], $board_config['board_timezone']), 
# 
#-----[ AFTER, ADD ]------------------------------------------ 
# 
   'VISITED' => $profiledata['user_session_time'] ? ( create_date($lang['DATE_FORMAT'], $profiledata['user_session_time'], $board_config['board_timezone'])) : '--------', 

# 
#-----[ OPEN ]------------------------------------------ 
# 

includes/page_header.php 
# 
#-----[ FIND ]------------------------------------------ 
# 
   'L_INDEX' => sprintf($lang['Forum_Index'], $board_config['sitename']), 
   'L_REGISTER' => $lang['Register'], 
# 
#-----[ AFTER, ADD ]------------------------------------------ 
# 
   'L_VISITED' => $lang['Visited'], 
# 
#-----[ OPEN ]------------------------------------------ 
# 

language/lang_english/lang_main.php 
# 
#-----[ FIND ]------------------------------------------ 
# 
$lang['Sort_Descending'] = 'Descending'; 
$lang['Order'] = 'Order'; 
# 
#-----[ AFTER, ADD ]------------------------------------------ 
# 
$lang['Visited'] = 'Last Visit'; 
$lang['Sort_Visited'] = 'Last Visit Date'; 

# 
#-----[ OPEN ]------------------------------------- 
# 
templates/subSilver/groupcp_info_body.tpl 

# 
#-----[ FIND ]------------------------------------- 
# 
     <th class="thTop">{L_POSTS}</th> 
# 
#-----[ AFTER, ADD ]------------------------------------- 
# 
     <th class="thTop">{L_VISITED}</th> 
# 
#-----[ FIND ]------------------------------------- 
# 
     <td class="catSides" colspan="{%:1}" height="28"><span class="cattitle">{L_GROUP_MODERATOR}</span></td> 

# 
#-----[ INCREMENT ]------------------------------------- 
# 
%:1 

# 
#-----[ FIND ]------------------------------------- 
# 
     <td class="row1" align="center" valign="middle"><span class="gen">{MOD_POSTS}</span></td> 
# 
#-----[ AFTER, ADD ]------------------------------------- 
# 
     <td class="row1" align="center" valign="middle"><span class="gen">{MOD_LASTVISIT}</span></td> 
# 
#-----[ FIND ]------------------------------------- 
# 
     <td class="catSides" colspan="{%:1}" height="28"><span class="cattitle">{L_GROUP_MEMBERS}</span></td> 
# 
#-----[ INCREMENT ]------------------------------------- 
# 
%:1 

# 
#-----[ FIND ]------------------------------------- 
# 
     <td class="{member_row.ROW_CLASS}" align="center"><span class="gen">{member_row.POSTS}</span></td> 
# 
#-----[ AFTER, ADD ]------------------------------------- 
# 
     <td class="{member_row.ROW_CLASS}" align="center"><span class="gen">{member_row.LASTVISIT}</span></td> 
# 
#-----[ FIND ]------------------------------------- 
# 
     <td class="row1" colspan="{%:1}" align="center"><span class="gen">{L_NO_MEMBERS}</span></td> 
# 
#-----[ INCREMENT ]------------------------------------- 
# 
%:1 

# 
#-----[ FIND ]------------------------------------- 
# 
     <td class="row1" colspan="{%:1}" align="center"><span class="gen">{L_HIDDEN_MEMBERS}</span></td> 
# 
#-----[ INCREMENT ]------------------------------------- 
# 
%:1 

# 
#-----[ OPEN ]------------------------------------------ 
# 

templates/subSilver/memberlist_body.tpl 
# 
#-----[ FIND ]------------------------------------------ 
# 
     <th class="thTop" nowrap="nowrap">{L_FROM}</th> 
     <th class="thTop" nowrap="nowrap">{L_JOINED}</th> 
# 
#-----[ AFTER, ADD ]------------------------------------------ 
# 
     <th class="thTop" nowrap="nowrap">{L_VISITED}</th> 
# 
#-----[ FIND ]------------------------------------------ 
# 
     <td class="{memberrow.ROW_CLASS}" align="center" valign="middle"><span class="gen">{memberrow.FROM}</span></td> 
     <td class="{memberrow.ROW_CLASS}" align="center" valign="middle"><span class="gensmall">{memberrow.JOINED}</span></td> 
# 
#-----[ AFTER, ADD ]------------------------------------------ 
# 
     <td class="{memberrow.ROW_CLASS}" align="center" valign="middle"><span class="gensmall">{memberrow.VISITED}</span></td> 

# 
#-----[ FIND ]------------------------------------------ 
# 
     <td class="catBottom" colspan="{%:1}" height="28">&nbsp;</td> 

# 
#-----[ INCREMENT ]---------------------------------- 
# 
%:1 

# 
#-----[ OPEN ]------------------------------------------ 
# 

templates/subSilver/profile_view_body.tpl 
# 
#-----[ FIND ]------------------------------------------ 
# 
      <tr> 
        <td valign="middle" align="right" nowrap="nowrap"><span class="gen">{L_JOINED}:&nbsp;</span></td> 
        <td width="100%"><b><span class="gen">{JOINED}</span></b></td> 
      </tr> 
# 
#-----[ AFTER, ADD ]------------------------------------------ 
# 
      <tr> 
        <td valign="middle" align="right" nowrap="nowrap"><span class="gen">{L_VISITED}:&nbsp;</span></td> 
        <td width="100%"><b><span class="gen">{VISITED}</span></b></td> 
      </tr> 
# 
#-----[ OPEN ]------------------------------------------ 
# 

templates/subSilver/viewtopic_body.tpl 
# 
#-----[ FIND ]------------------------------------------ 
# 
      <td width="150" align="left" valign="top" class="{postrow.ROW_CLASS}"><span class="name"><a name="{postrow.U_POST_ID}"></a><b>{postrow.POSTER_NAME}</b></span><br /><span class="postdetails">{postrow.POSTER_RANK}<br />{postrow.RANK_IMAGE}{postrow.POSTER_AVATAR}<br /><br />{postrow.POSTER_JOINED}<br />{postrow.POSTER_POSTS}<br />{postrow.POSTER_FROM}</span><br /></td> 
# 
#-----[ IN-LINE FIND ]---------------------------------- 
# 
{postrow.POSTER_JOINED}<br /> 
# 
#-----[ IN-LINE AFTER, ADD ]---------------------------------- 
# 
{postrow.POSTER_VISITED}<br /> 

# 
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------ 
# 
# EoM
namu
Registered User
Posts: 14
Joined: Sun Apr 24, 2005 4:21 pm
Contact:

Post by namu »

Thanks so much, I was wading through all the posts
and I missed that page, haha.
"If a man does his best, what else is there?"
- General George S. Patton
Ricki
Registered User
Posts: 2
Joined: Mon Feb 05, 2007 7:49 am

Post by Ricki »

Hi,

will this Mod function also in the version 2.0.22?

thx
User avatar
masterofceremony
Registered User
Posts: 22
Joined: Tue Oct 11, 2005 6:46 am
Location: Eesti/Estonia
Contact:

Post by masterofceremony »

Hi,

I installed this mod manually. In topic view, in profile view it works perfectly, but with memberlist it shows error:
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /www/01/cbfoorum.pri.ee/memberlist.php on line 65

Can please anybody help me with this problem.

brgs,

Marco

Edit: As usually, I found the mistake and fixed it already.

MOD works perfectly. Thank you very much for the developers.
Try everything, because you only live once.
Post Reply

Return to “[2.0.x] MOD Database Releases”