Last visit mod 2.0.18 Problem

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 !

Postby acoolwelshbloke on Fri 09. Dec, 2005 12:15

I'll take a look and let you know shortly! :wink:
www.thegamersforums.com
<b><u>For All Your Gaming Needs!</u></b>
acoolwelshbloke
Poster
Poster
 
Posts: 66
Joined: Wed 02. Nov, 2005 15:09

Postby acoolwelshbloke on Fri 09. Dec, 2005 12:15

Your code:

Code: Select all
//
// Memberlist sorting
//
$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']);
$mode_types = array('joined', 'username', 'location', 'posts', 'email', 'website', 'topten');


Should be:
Code: Select all
//
// Memberlist sorting
//
$mode_types_text = array($lang['Sort_Joined'], $lang['Last_logon'], $lang['Sort_Username'], $lang['Sort_Location'], $lang['Sort_Posts'], $lang['Sort_Email'],  $lang['Sort_Website'], $lang['Sort_Top_Ten']);
$mode_types = array('joined', 'lastlogon', 'username', 'location', 'posts', 'email', 'website', 'topten');


I have not gone through the rest of your memberlist.php so check to see if you have added the rest of the last visit mod changes. The above is the change to the first couple of changes required in the mod relating to memberlist.php
www.thegamersforums.com
<b><u>For All Your Gaming Needs!</u></b>
acoolwelshbloke
Poster
Poster
 
Posts: 66
Joined: Wed 02. Nov, 2005 15:09

Postby extralarge on Fri 09. Dec, 2005 12:43

Thanks a lot for your quick reply!

But I think this would not change a lot, because EMI looks for a 'joindate'

Thats the error I get:

Critical Error

IN-LINE FIND FAILED: In file [memberlist.php] could not find:

'joindate'
extralarge
Poster
Poster
 
Posts: 18
Joined: Mon 05. Dec, 2005 21:34

Postby acoolwelshbloke on Fri 09. Dec, 2005 14:49

Nope it is correct it has just been renamed in the latest version of phpbb.

See www.thegamersforums.com if you want proof that it works as I am using my re-written version on there!

Good Luck
www.thegamersforums.com
<b><u>For All Your Gaming Needs!</u></b>
acoolwelshbloke
Poster
Poster
 
Posts: 66
Joined: Wed 02. Nov, 2005 15:09

Postby extralarge on Fri 09. Dec, 2005 15:46

OK, I'll give it a shot as soon as I am at home, will let you know if it worked - meanwhile thanks for your great help!
extralarge
Poster
Poster
 
Posts: 18
Joined: Mon 05. Dec, 2005 21:34

Postby acoolwelshbloke on Fri 09. Dec, 2005 20:13

If your still getting that prob then I may dig a lil deeper and help you out if im not too busy! :wink:
www.thegamersforums.com
<b><u>For All Your Gaming Needs!</u></b>
acoolwelshbloke
Poster
Poster
 
Posts: 66
Joined: Wed 02. Nov, 2005 15:09

Postby extralarge on Fri 09. Dec, 2005 21:10

I have replaced it with the code you gave me, but have a look yourself:

http://www.extralarge.at/phpBB2/

cannot find the MOD!

Will manualy update all the files, lets have a look what happens.

Thanks for your great offer to help me, will get back to you!
extralarge
Poster
Poster
 
Posts: 18
Joined: Mon 05. Dec, 2005 21:34

Postby acoolwelshbloke on Fri 09. Dec, 2005 22:01

I know why that is happening.

That is common, I came across it myself when I was originally doing the code.

You have made a simple error when installing the mod in the sessions.php

Try installing it again and see if you get it right this time, if you can not do it post your sessions.php file on here and i will do it for you....
www.thegamersforums.com
<b><u>For All Your Gaming Needs!</u></b>
acoolwelshbloke
Poster
Poster
 
Posts: 66
Joined: Wed 02. Nov, 2005 15:09

PreviousNext

Return to Last visit [2.0.10/EM]

Who is online

Users browsing this forum: No registered users and 1 guest

cron