News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Your Last Visit

Started by M-DVD, June 05, 2009, 04:46:18 AM

Previous topic - Next topic

M-DVD

Link to Mod




MOD Your Last Visit v1.1
=================






  • Author:
M-DVD
  • Version:
1.1
  • Release:
24th May 2009
  • Languages:

 
  • Compatible With:
SMF 1.1.1 - 1.1.9
SMF 2 RC1-1




Comment this Mod
My MODs
Images
Help support my MODs



Features:

  • With this MOD will be displayed the date/time the last visited in the Profile Header.
  • Also, will be displayed in the Profile.
  • The 'Last Visited' date, will be hidden (for normal members) if the member has hidden his online status
  • Extra: the 'Last Active' date, also will be hidden if the member has hidden his online status

Note 1: The date/time 'Last Visited' is different to 'Last Active'.
Note 2: At the moment install the MOD, the 'Last Visited' don't exists, and isn't shows. After the next visit or logout, the 'Last Visited' will be shows.

Thanks to Blinker for idea.

==========================

Languages (normal & utf-8)


$txt['your_last_visit'] = 'You last visited:';
$txt['last_visit'] = 'Last Visit';


I welcome new translations here

==========================

Características:

  • Con este MOD será mostrada la fecha de tu última visita en el Perfil de Cabecera.
  • También se mostrará en el Perfil de Usuario.
  • La 'Última Visita' se ocultará (para miembros normales) si el usuario ha activado 'ocultarle a otros usuarios que está conectado'.
  • Extra: La fecha 'Última vez Activo' también ocultará (para miembros normales) si el usuario ha activado 'ocultarle a otros usuarios que está conectado'.

Nota 1: La 'Última Visita' es diferente a 'Última vez Activo'.
Nota 2: Al momento de instalar el MOD no habrá ninguna 'Última Visita' registrada, por lo que no se mostrará. Luego de la próxima visita o cierre de sesión, la 'Última Visita' se mostrará.

Fin.

==========================

ChangeLog:



QuoteVersion 1.0 - 24th May 2009
   o Initial release.
   o Will be displayed the date/time the last visited in the Profile Header.
   o Compatible with SMF 1.1.X & SMF 2RC-X
Version 1.1 - 29th June 2009
   ! Fix bug, last visit date incorrect after login - Thanks Blinker by report
   + Also the last visit is displayed in the profile - Thanks Jessikard by idea
   o In the profile, the 'last visit' date will be hidden if the member has hidden his online status.
   * Extra: also the 'last active' date will be hidden if the member has hidden his online status.
   + English, English_British, Spanish_Es, Spanish_Latin and Greek in the package
   ? Unistall and ReInstall - Isn't neccesary re-edit yours custom templates files

QuoteLeyend
   o Feature
   * Change
   + Added
   - Eliminated
   ! Bug Fixed
   ? How to Update

M-DVD

Had less than 9 downloads, and the package was re-uploaded to fix a spelling mistake (thanks fille87 for reporting).

Eclipse16V

Here in German

// MOD Your Last Visit
$txt['your_last_visit'] = 'Letzter Besuch:';
I worked with:
SMF 2 in German

Shop:
SID Giessen

M-DVD

Quote from: Eclipse16V on June 05, 2009, 05:09:44 PM
Here in German

// MOD Your Last Visit
$txt['your_last_visit'] = 'Letzter Besuch:';


Thanks, have been uploaded :)

speedyuk7

I installed your mod, its nice but I changed the text to "Your last visit:" instead of "You last visited:", I think it's more correct like that.
Thanks for your mod
Here in polish tho :p

//   MOD Your Last Visit
$txt['your_last_visit'] = 'Ostatnia wizyta:';

Blinker

#5
Hi M-DVD

I realised I have a support question in the original mod request thread so I thought I better keep that stuff in this thread.

I'm not sure if this is how you intended the mod to work but when you log in it shows your last visit as the exact time of your login. It should show (rather, what I was originally wanting) was the logout time of the last visit.

For example:

Login at 12:10pm, browse for 20 mins and logout at 12:30pm. Log back in again at 4:30pm.

Currently it will show - You last visited: Today at 16:30:00

Instead, I would like it to show - You last visited: Today at 12:30:00

Does that make sense? I use this feature on VBulletin forums to work backwards and see which posts I should be reading in certain topics I'm following (that are new since my last visit). Using the unread posts feature is useless on a board that might have 10,000 new posts since my last visit.

Dante`

Here is turkish

//   MOD Your Last Visit
$txt['your_last_visit'] = 'Son Ziyaretin:';

and nice mod
thx

islam2hamy

nice mode

Arabic translation (utf-8) :

$txt['your_last_visit'] = 'آخر زيارة لك كانت فى :';

please before put the translation in the file be sure that the file encode is UTF-8

Arabic Translator - Web Designer
My Mods / My Themes  //  GfxLand





Sudhakar Arjunan

Good Mod.

Thank you M-DVD
Working on New Mods & Themes for SMF... Will update soon... My Blog page
My Smf forum : Discuss ITAcumens :: My SMF Forum

Jessikard

i think it would be great - but is it possible to show this in each profile
because then the mods and admins can see how many time is between the visit now and the visit before


M-DVD

#10
Quote from: speedyuk7 on June 05, 2009, 10:27:31 PM
I installed your mod, its nice but I changed the text to "Your last visit:" instead of "You last visited:", I think it's more correct like that.
Thanks for your mod

Thanks for your comments, and yes, have been fixed :)

--

Quote from: speedyuk7 on June 05, 2009, 10:27:31 PM
Here in polish tho :p

//   MOD Your Last Visit
$txt['your_last_visit'] = 'Ostatnia wizyta:';


Quote from: dantebyy on June 06, 2009, 05:36:58 AM
Here is turkish

//   MOD Your Last Visit
$txt['your_last_visit'] = 'Son Ziyaretin:';

and nice mod
thx

Quote from: islam2hamy on June 06, 2009, 05:48:23 AM
nice mode

Arabic translation (utf-8) :

$txt['your_last_visit'] = 'آخر زيارة لك كانت فى :';

please before put the translation in the file be sure that the file encode is UTF-8

Thanks for translate, have been uploaded :)

--

Quote from: Blinker on June 06, 2009, 02:45:10 AM
Login at 12:10pm, browse for 20 mins and logout at 12:30pm. Log back in again at 4:30pm.

Currently it will show - You last visited: Today at 16:30:00

Instead, I would like it to show - You last visited: Today at 12:30:00

I will check it ::)

--

Quote from: A.SK on June 06, 2009, 11:24:58 AM
Good Mod.

Thank you M-DVD

Thanks for your comment :)

--

Quote from: Jessikard on June 07, 2009, 07:39:11 PM
i think it would be great - but is it possible to show this in each profile
because then the mods and admins can see how many time is between the visit now and the visit before

I can try add this feature. Thanks. :)

Jessikard

if you could, you´ll be my hero , because that is a perfect mod for our forum  :-*

villasg

Good mod

greek
//   MOD Your Last Visit
$txt['your_last_visit'] = 'Η τελευταία σας επίσκεψη:';

M-DVD

Quote from: villasg on June 09, 2009, 05:07:13 PM
Good mod

greek
//   MOD Your Last Visit
$txt['your_last_visit'] = 'Η τελευταία σας επίσκεψη:';


Thanks for translate, in the next update i will add this translation. :)

--

Quote from: Jessikard on June 08, 2009, 02:23:05 AM
if you could, you´ll be my hero , because that is a perfect mod for our forum  :-*

Ok, I need a new text.

$txt['last_visit'] = 'Last Visit:';

I will include in the new package (It will have this new feature and an fix bug) all translations (Will be released when I have this new text.)

Jessikard

 O:) i think it would be one of the most helpful mods for our team

i expect your update and if it run to our 1.1.9 smf i´ll rate 5 stars for you

fille87

Translated to swedish:


//   MOD Your Last Visit
$txt['your_last_visit'] = 'Ditt senaste besök:';

Blinker

Quote from: M-DVD on June 07, 2009, 08:02:26 PM
Quote from: Blinker on June 06, 2009, 02:45:10 AM
Login at 12:10pm, browse for 20 mins and logout at 12:30pm. Log back in again at 4:30pm.

Currently it will show - You last visited: Today at 16:30:00

Instead, I would like it to show - You last visited: Today at 12:30:00

I will check it ::)

Hi M-DVD

Any news on this? It still shows current login time as last visit.

Have you (or anyone else) been able to replicate this?

villasg

greek-utf8
$txt['last_visit'] = 'Tελευταία επίσκεψη:';


milenmk

On Bulgarian - $txt['Вашето_последно_посещение'] = 'Вашето последно посещение:';

M-DVD

#19
Update Your Last Visit v1.1:
=========================


New features:

  • Fix bug, last visit date incorrect after login - Thanks Blinker by report
  • Also the last visit is displayed in the profile - Thanks Jessikard by idea.
  • In the profile, the 'last visit' date will be hidden if the member has hidden his online status.
  • Extra: also the 'last active' date will be hidden if the member has hidden his online status.
  • English, English_British, Spanish_Es, Spanish_Latin and Greek in the package

How do I upgrade?

  • Uninstall the previous version
  • Install the new
  • Isn't neccesary re-edit yours custom templates files

=======================================

Características Nuevas:

  • Reparado bug con fecha problema luego de deslogearse.
  • Ahora, también es posible ver en el perfil de los usuarios la hecha de Última Visita.
  • Esta fecha no será visible (para usuarios normales) si el usuario mantiene oculto su estado de conexión.
  • Extra: También la fecha de Última vez Activo no será visible (para usuarios normales) si el usuario mantiene oculto su estado de conexión

¿Como actualizar?

  • Desinstalar la anterior versión
  • Instalar la nueva
  • No es necesario reeditar archivos templates

Chaos Dragon

I Uploaded your new version of "Your last visit" I originally uploaded 1.0 and was going to leave a reply here stating that it did not have last visit on the page instead it showed when you logged in.
Anyway I uninstalled 1.0 and installed 1.1 and did the manual install for Load.php because it failed the modification test and went to add the code manually then saved and it did not show at all, but when I reinstall the older version it is fine.
I uploaded my Load.php just in case.....The only one that was giving me a problem was this:
Findmem.openid_uri, mem.birthdate, mem.icq, mem.aim, mem.yim, mem.msn, mem.posts, mem.last_login,

Add After mem.last_visit,

That's what i like about SMF2.0RC1-1 it pretty much tells which one is failing instead of the whole file as it does in SMF1.1.9.

Anywho if you could take a look I would appreciate it. Thank You
I do also Have a few other mods installed.

"Never stop exploring new ideas, concepts and techniques, but never forget the old ones, they just may come in handy someday!"
"Don't give up! Otherwise you do not win and nothing gets accomplished!"
Einstein "Insanity is doing the same thing over and over again, and expecting different results..."
Do Not PM me for Support. They will be Ignored. Use the Threads the have been provided.

M-DVD

Quote from: Chef-Polo on June 29, 2009, 04:49:07 PM
I Uploaded your new version of "Your last visit" I originally uploaded 1.0 and was going to leave a reply here stating that it did not have last visit on the page instead it showed when you logged in.
Anyway I uninstalled 1.0 and installed 1.1 and did the manual install for Load.php because it failed the modification test and went to add the code manually then saved and it did not show at all, but when I reinstall the older version it is fine.
I uploaded my Load.php just in case.....The only one that was giving me a problem was this:
Findmem.openid_uri, mem.birthdate, mem.icq, mem.aim, mem.yim, mem.msn, mem.posts, mem.last_login,

Add After mem.last_visit,

That's what i like about SMF2.0RC1-1 it pretty much tells which one is failing instead of the whole file as it does in SMF1.1.9.

Anywho if you could take a look I would appreciate it. Thank You
I do also Have a few other mods installed.



This line is for SMF 2RC

You should see the install_1.xml ;)

Chaos Dragon

Yes I know it is for both SMF1.1.9 and 2.0RC1-1......
It is stated in "Compatible with"
As I said when I make the manual install and add the one piece of code it does not show in the header area where the info should be and also does not display on the profile.

It gets a Test Failed in Load.php.
1.  Execute Modification  ./Sources/Load.php  Test failed
1. Add After ./Sources/Load.php Test successful
2. Add After ./Sources/Load.php Test successful
3. Add After ./Sources/Load.php Test successful
4. Add After ./Sources/Load.php Test failed
5. Add After ./Sources/Load.php Test successful


That is the only one that fails. The rest installs fine. I go ahead and install and then manually add that one piece of code and save and nothing happens.

"Never stop exploring new ideas, concepts and techniques, but never forget the old ones, they just may come in handy someday!"
"Don't give up! Otherwise you do not win and nothing gets accomplished!"
Einstein "Insanity is doing the same thing over and over again, and expecting different results..."
Do Not PM me for Support. They will be Ignored. Use the Threads the have been provided.

villasg

#23
Hi .
I remove the previous version and try to install the new .
I take error in ./Themes/default/Profile.template.php .
Examine the install_1.xml and found (?) the error .

The action is : in istall_1.xml in
[CDATA[
            </tr><tr>
               <td><b>', $txt['lastLoggedIn'], ': </b></td>
               <td>', $context['member']['last_login'], '</td>
            </tr>';]]

What is your opinion ?
take and my Profile.template.php

I modify the  install_1.xml and try to install but take again the same error
smf Version 1.1.9 .

can you help me ?

Blinker

Awesome work M-DVD, the update fixed the bug! Fantastic stuff, thank you very much. :)

One question: I have the Time Logged In mod, which means the code for the profile template doesn't fit as it should. It may actually be another mod causing it but I'm not sure.

I've attached my profile.template.php file. Would you mind taking a look at it when you get a chance? I think the section I need has been commented out by a mod.

M-DVD

Quote from: Chaos Dragon on June 29, 2009, 05:10:58 PM
Yes I know it is for both SMF1.1.9 and 2.0RC1-1......
It is stated in "Compatible with"
As I said when I make the manual install and add the one piece of code it does not show in the header area where the info should be and also does not display on the profile.

It gets a Test Failed in Load.php.
1.  Execute Modification  ./Sources/Load.php  Test failed
1. Add After ./Sources/Load.php Test successful
2. Add After ./Sources/Load.php Test successful
3. Add After ./Sources/Load.php Test successful
4. Add After ./Sources/Load.php Test failed
5. Add After ./Sources/Load.php Test successful


That is the only one that fails. The rest installs fine. I go ahead and install and then manually add that one piece of code and save and nothing happens.

Ok, but you didn't find this code:

mem.openid_uri, mem.birthdate, mem.icq, mem.aim, mem.yim, mem.msn, mem.posts, mem.last_login,

Because, is for SMF 2RC.

You should look the install_1.xml

<file name="$sourcedir/Load.php">
<operation>
<search position="before"><![CDATA[
mem.birthdate, mem.memberIP, mem.memberIP2, mem.ICQ, mem.AIM, mem.YIM, mem.MSN, mem.posts, mem.lastLogin,]]></search>
<add><![CDATA[ mem.last_visit,]]></add>
</operation>

<operation>
<search position="before"><![CDATA[
mem.birthdate, mem.ICQ, mem.AIM, mem.YIM, mem.MSN, mem.posts, mem.lastLogin,]]></search>
<add><![CDATA[ mem.last_visit,]]></add>
</operation>

<operation>
<search position="before"><![CDATA[
'last_login_timestamp' => empty($profile['lastLogin']) ? 0 : forum_time(0, $profile['lastLogin']),]]></search>
<add><![CDATA[
'last_visit' => $profile['isOnline'] > 0 ? $profile['last_visit'] : max($profile['last_visit'], $profile['lastLogin']),
'show_online' => !empty($profile['showOnline']) || allowedTo('moderate_forum'),]]></add>
</operation>
</file>


--

Quote from: villasg on July 01, 2009, 10:44:12 AM
Hi .
I remove the previous version and try to install the new .
I take error in ./Themes/default/Profile.template.php .
Examine the install_1.xml and found (?) the error .

The action is : in istall_1.xml in
[CDATA[
            </tr><tr>
               <td><b>', $txt['lastLoggedIn'], ': </b></td>
               <td>', $context['member']['last_login'], '</td>
            </tr>';]]

What is your opinion ?
take and my Profile.template.php

I modify the  install_1.xml and try to install but take again the same error
smf Version 1.1.9 .

can you help me ?


Look the attachment(1)

(*)

--

Quote from: Blinker on July 02, 2009, 04:59:16 AM
Awesome work M-DVD, the update fixed the bug! Fantastic stuff, thank you very much. :)

One question: I have the Time Logged In mod, which means the code for the profile template doesn't fit as it should. It may actually be another mod causing it but I'm not sure.

I've attached my profile.template.php file. Would you mind taking a look at it when you get a chance? I think the section I need has been commented out by a mod.

Look the attachment(2)

(*)

--

(*) What other MOD you have installed? The Time Logged-In?

Blinker

Thanks M-DVD, that worked perfectly, last visit now shows in profiles! :) You're a legend.

MATTEK

Works perfect. Thank you.
SMF 2.0.1

Like Comics, Books, Movies or T.V. Shows? Read about them here!!

villasg

Quote from: M-DVD on July 05, 2009, 12:19:42 AM
(*) What other MOD you have installed? The Time Logged-In?

1.     Add IP2Location to Track IP      1.1      
2.    No Temp Directory Removal    1.0    
3.    TinyPortal    0.983    
4.    Ad Managment    2.3    
5.    YouTube BBCode    2.5.1    
6.    vMoveTopic Notify by PM    1.0    
7.    Go Up & Go Down    1.2    
8.    Images On Board    1.1    
9.    Audible PM    1.5    
10.    RemovePM    1.1.4    
11.    Recycle Bin Cleaner    1.1    
12.    MessagePreviewOnHover    1.7    
13.    Quick PM    1.0    
14.    Header Rotator    1.1.0    
15.    Are You Human? Anti-Bot Registration Check    1.3    
16.    SMF 1.0.14 / 1.1.6 Update    1.0    
17.    Registered Images    2.3    
18.    Welcome Back    1.0    
19.    Manage Members Membergroups    1.0.0    
20.    Welcome Topic Mod    2.0.2    
21.     Custom Copyright      1.1
22.    Posting_Announcement    1.1.4    
23.    Search Time Limitation    1.0    
24.    Restrict Email Providers on Registration    1.2    
25.    SMF 1.0.17 / 1.1.9 / 2.0 RC1 Update    1.0    
26.    Time Logged-In    3.3    
27.    Welcome Back    1.0    
28.    New Style Message Icon    1.1    
29.    Registration redirection    0.1    
30.    Off-Topic_BBC_Tag    1.0    
31.    Thank-O-Matic    1.2.4    
32.    Auto Merge Double Post    1.2
33.    Stop Forum Spam    0.5    
34.    Easy Edit Meta Data    1.0    
35.    Thank-O-Matic Greek Translation    1.2.2    
36.    OS & Browser Detection    1.4    
37.    Skype Integration    1.0    
38.    Simple ImageShack    2.0.3    
39.    SMF 1.0.16 / 1.1.8 Update    1.0
40.    SMF 1.0.15 / 1.1.7 Update    1.0    
41.    Activity_Bar    1.0.1

villasg

Have errors
http://www.thai.gr/....../index.php?action=profile;u=741
8: Undefined index: online_for
Αρχείο: /home/,,,,,,,,,,/Themes/default/languages/Who.greek-utf8.php (summary sub template - eval?)
Γραμμή: 188


http://www.thai.gr/,,,,,,/index.php?action=profile;u=741
8: Undefined index: first_login
Αρχείο: /home/,,,,,,,,,,,,,,,,,,/Themes/default/languages/Who.greek-utf8.php (summary sub template - eval?)
Γραμμή: 182


M-DVD

#30
Try now

--

Quote from: MATTEK on July 05, 2009, 01:52:55 AM
Works perfect. Thank you.

Quote from: Blinker on July 05, 2009, 01:26:52 AM
Thanks M-DVD, that worked perfectly, last visit now shows in profiles! :) You're a legend.

Thanks for yoor cumment :)

PS: Blinker, If (sometime) happens the same problem villasg's, tell me.



lucas-ruroken

Adk Portal 3.1 is coming....

Design your universe!

villasg

#32
Quote from: M-DVD on July 05, 2009, 02:57:38 PM
Try now


Ok i install again with new "Profile.template.php" provided from you .
I watch for errors
Thanks

Again
ttp://www.thai.gr/forum/index.php?action=profile
8: Undefined index: online_for
Αρχείο: /home/thai.gr/www/forum/Themes/default/languages/Who.greek-utf8.php (summary sub template - eval?)
Γραμμή: 188


8: Undefined index: first_login
Αρχείο: /home/thai.gr/www/forum/Themes/default/languages/Who.greek-utf8.php (summary sub template - eval?)
Γραμμή: 182

Blinker

Quote from: M-DVD on July 05, 2009, 02:57:38 PMPS: Blinker, If (sometime) happens the same problem villasg's, tell me.

Hi mate, I just checked my error log and sure enough, there are a few error messages. Always two for each member. The same ones as villasg's.

[8: Undefined index: first_login] <td>', $context['first_login'], '</td>

and

[8: Undefined index: online_for] <td>', $context['online_for'], '</td>

The lines of code from the profile are in the middle of the Time Logged In mod's code.

Here is the whole relevant section:

echo '
            <tr>
               <td><b>', $txt['lastLoggedIn'], ': </b></td>
                                        <td>', $context['member']['last_login'], '</td>
                                </tr>';

if (allowedTo('profile_logged_in'))
echo '
<tr>
<td colspan="2"><hr size="1" width="100%" class="hrcolor" /></td>
</tr>';

if (($context['member']['show_online'] || $context['user']['is_owner']) && $context['member']['last_visit'])
echo '
<tr>
<td><b>', $txt['last_visit'], ': </b></td>
<td>', timeformat($context['member']['last_visit']), '</td>
</tr>';

if (!allowedTo('profile_logged_in') || $context['member']['show_online'] || $context['user']['is_owner'])
echo '
<tr>
<td><b>', $txt['tli_logged_in'], ': </b></td>
<td>', $context['first_login'], '</td>
</tr><tr>
<td><b>', $txt['lastLoggedIn'], ': </b></td>
<td>', $context['member']['last_login'], '</td>
</tr><tr>
<td><b>', $txt['tli_online_for'], ': </b></td>
<td>', $context['online_for'], '</td>
</tr>';

if (allowedTo('profile_logged_in'))
echo '
<tr>
<td><b>', $txt['tli_posts_made'], ':</b></td>
<td>', $context['posts_made'], '</td>
</tr><tr>
<td><b>', $txt['tli_posts_before'], ':</b></td>
<td>', $context['posts_before'], '</td>
</tr><tr>
<td><b>', $txt['tli_total_posts'], ': </b></td>
<td>', $context['member']['posts'], ' (', $context['member']['posts_per_day'], ' ', $txt['posts_per_day'], ')</td>
</tr><tr>
<td><b>', $txt['tli_total_logged_in'], ':</b></td>
<td>', $context['total_logged_in'], '</td>
</tr><tr>
<td><b>', $txt['tli_theme'], ':</b></td>
<td>', $context['theme_name'], '</td>
</tr>';

Chaos Dragon

Sorry for the late reply but all issues have been resolved.....
Thanks for a great mod....
"Never stop exploring new ideas, concepts and techniques, but never forget the old ones, they just may come in handy someday!"
"Don't give up! Otherwise you do not win and nothing gets accomplished!"
Einstein "Insanity is doing the same thing over and over again, and expecting different results..."
Do Not PM me for Support. They will be Ignored. Use the Threads the have been provided.

M-DVD

Quote from: villasg on July 05, 2009, 04:29:10 PM
Ok i install again with new "Profile.template.php" provided from you .
I watch for errors
Thanks

Again
ttp://www.thai.gr/forum/index.php?action=profile
8: Undefined index: online_for
Αρχείο: /home/thai.gr/www/forum/Themes/default/languages/Who.greek-utf8.php (summary sub template - eval?)
Γραμμή: 188


8: Undefined index: first_login
Αρχείο: /home/thai.gr/www/forum/Themes/default/languages/Who.greek-utf8.php (summary sub template - eval?)
Γραμμή: 182


Quote from: Blinker on July 05, 2009, 07:40:05 PM
Quote from: M-DVD on July 05, 2009, 02:57:38 PMPS: Blinker, If (sometime) happens the same problem villasg's, tell me.

Hi mate, I just checked my error log and sure enough, there are a few error messages. Always two for each member. The same ones as villasg's.

[8: Undefined index: first_login] <td>', $context['first_login'], '</td>

and

[8: Undefined index: online_for] <td>', $context['online_for'], '</td>

The lines of code from the profile are in the middle of the Time Logged In mod's code.

Here is the whole relevant section:


Sorry for delay.

Have you uninstalled the MOD Time Logged-In?

These variables must exist if still you have installed it.

--

Quote from: Chaos Dragon on July 05, 2009, 07:50:41 PM
Sorry for the late reply but all issues have been resolved.....
Thanks for a great mod....


You're welcome. I'm glad that works well. :)

villasg

Quote from: M-DVD on October 03, 2009, 12:09:07 AM

Sorry for delay.

Have you uninstalled the MOD Time Logged-In?

These variables must exist if still you have installed it.


I have glean up and remove the mod !

meehan09

#37
Since i installed this hack iam getting erros in admin error logs for GUEST Only?

------------------------------------------------------------------------------
http://www.exoticforums.co.uk//index.php?action=dlattach;attach=357;type=avatar
Undefined variable: id_member
File: /home/reptiles/public_html/Sources/Load.php
Line: 1648

-----------------------------------------------------------------------------

http://www.exoticforums.co.uk//index.php?action=dlattach;attach=357;type=avatar 
Undefined index: last_login
File: /home/reptiles/public_html/Sources/Load.php
Line: 1647


Ive also attachted my Load.php below, I hope somone can fix this for me has iam not sure why iam getting thease errors.



Thanks in advance,
Paul

meehan09

Anyone please?, has this is filling my logs up pritty quick and always needing to remove all logs  :(

M-DVD

Quote from: villasg on October 03, 2009, 02:31:22 AM
Quote from: M-DVD on October 03, 2009, 12:09:07 AM

Sorry for delay.

Have you uninstalled the MOD Time Logged-In?

These variables must exist if still you have installed it.


I have glean up and remove the mod !

If you have the MOD Time Logged-In, then you should use this Profile.template.php

http://www.simplemachines.org/community/index.php?topic=315507.msg2144164#msg2144164

Otherwise, the MOD installed without problems

Anyway, the next version will be compatible with the MOD Time Logged-In, if you have installed (or not) the MOD Time Logged-In you will can install this MOD without problems.

--

Quote from: meehan09 on October 05, 2009, 08:22:05 AM
Anyone please?, has this is filling my logs up pritty quick and always needing to remove all logs  :(

Have you installed manually? Try use this attachment

--

Yesterday I thought I saw a message with another issue.

I don't know if it was on this issue, or is already solved.

meehan09

That load.php seems to have fixed the problem ?

Im not sure why?, Ive attachted my old Load.php below to see if you can see what was wrong, has your load.php you gavin me may not have my mods installed into it?

If you could edit the load.php attachted below to the same has yours has it seemed to fix it and stop the errors from guests.


Kindest Regards,
Paul

meehan09

One more little problem, When i view a members profile where it says Date Registered !!, This is no longer there?, And just shows the date and no text?

Example here : http://www.exoticforums.co.uk//index.php?action=profile;u=1


Ive attachted my profile.template below, has everythign else seems to run/work fine now without errors just this profile issue.


Thanks,
Paul


Eclipse16V

German Lang Update
$txt['your_last_visit'] = 'Dein letzter Besuch:';
$txt['last_visit'] = 'Letzter Besuch';
I worked with:
SMF 2 in German

Shop:
SID Giessen

Eclipse16V

Please update it for SMF 2.0 RC2

Thx
I worked with:
SMF 2 in German

Shop:
SID Giessen

kicky

Hi,

I installed this mod in my SMF 1.1.11
And it looks not work 100%

In profile it looks not complete, please see the attached pic

Eclipse16V

Nice Mod

Please update it for SMF 2.0 RC3  ;)

Thx
I worked with:
SMF 2 in German

Shop:
SID Giessen

peter656

slovakia language : $txt['your_last_visit'] = 'Vaša posledná návšteva:';
$txt['last_visit'] = 'Posledná návšteva';

Apllicmz

Portuguese Linguage
when update dont forget

<file name="$languagedir/Modifications.portuguese_pt.php" error="skip">
        <operation>
            <search position="end" />
            <add><![CDATA[
//    MOD Your Last Visit
$txt['your_last_visit'] = 'Sua &uacute;ltima visita:';
$txt['last_visit'] = '&Uacute;ltima Visita';]]></add>
        </operation>
    </file>
    <file name="$languagedir/Modifications.portuguese_pt-utf8.php" error="skip">
        <operation>
            <search position="end" />
            <add><![CDATA[
//    MOD Your Last Visit
$txt['your_last_visit'] = 'Sua &uacute;ltima visita:';
$txt['last_visit'] = '&Uacute;ltima Visita';]]></add>
        </operation>
    </file>



Apllicmz

when try to install SMF 2.0.10
I see that error



Advertisement: