Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=1545)
Author: Bulakbol Mod Name: Time Logged-In Version: 3.1
Tested: Freshly installed SMF 1.1.7 and SMF 2.0 Beta 4
If you want to see the amount of time a member has been logged-in (session in days, hours and minutes),
count of posts they made the day while/was online, "Total time logged in", and a Theme your member is using,
then this mod is for you. The information can be found in the summary of a member's profile.
After installation, your members should log-in first before "Logged in", "Posts made" and "Online for" info are available.
Support for "Super Admin" mod. No configuration required.
Supported languages
English
English-utf8
December 8, 2008 - Released version 2.0
Rewritten code because of additional feature.
Added the "Total time logged in". Requested by SunKing.
December 10, 2008 - Released version 3.0
Rewritten and optimized code because of additional feature.
Added count of posts made the day a member logged-in ("Posts made").
December 11, 2008
Removed excess code and added missing line of code (SMF 2.0 Beta 4) - fixed. Thanks edi67.
Added Italian language translation. Thanks ed67.
Added Swedish language translation. Thanks ScarMix.
Added Greek-utf8 language translation. Thanks villasg.
December 17, 2008
Added "Current Theme". A Theme a member is using.
Added Spanish language translation. Thanks ksawery.
February 19, 2009
Released update for SMF version 2.0 RC1 and 1.1.8.
Please support mod authors and SMF by becoming a charter member.
nice
Mod installed without any issues.
But all I get is:
Logged in: Not Available.
Online for: Not Available.
Does it take sometime to get the info.?
I have SMF2 Beta 4!
Quote from: fords8 on December 06, 2008, 11:20:11 AM
Mod installed without any issues.
But all I get is:
Logged in: Not Available.
Online for: Not Available.
Does it take sometime to get the info.?
I have SMF2 Beta 4!
Need to login and logout a member AFTER installation
Hey bro Bulakbol! Nice MOD here huh! I definitely need it to my board... heheh.
Thanks bro!
Quote from: fords8 on December 06, 2008, 11:20:11 AM
Mod installed without any issues.
But all I get is:
Logged in: Not Available.
Online for: Not Available.
Does it take sometime to get the info.?
I have SMF2 Beta 4!
Villasg figured it out correctly. :) Sorry, I forgot to mention it in the readme file. I will in the next update.
@senyorito 8) Thanks for liking it bro. Good to see you again.
@AllThank you for using or trying this mod. I hope you'll find it usefull too.
Quote from: villasg on December 06, 2008, 12:38:11 PM
Quote from: fords8 on December 06, 2008, 11:20:11 AM
Mod installed without any issues.
But all I get is:
Logged in: Not Available.
Online for: Not Available.
Does it take sometime to get the info.?
I have SMF2 Beta 4!
Need to login and logout a member AFTER installation
Yup! That worked! Thanks!
Great Mod !! Installed Flawlessly on my Heavily Modded Forum !!
Great Job !!
Thanks guys. I've been using this mod for a while and decided to share it to all.
You probably figured already that only admins can see the information. If you want to show to everyone including guests, you have to edit default/Profile.template.php and remove the
if ($context['user']['is_admin'])
If you want to show only to Admins and Global Moderators, you can try using
if (allowedTo('moderate_forum'))
Such a Excellent Mod. Its very Useful.
@Bulakbol: Bro, I've just noticed something...
It is clearly that this MOD remembers the time and date of the member's "last logged-in". However, there are many forum members that doesn't logout when they leave the board/forum.
If for example, member1 logged in today and stayed for only 5 minutes and left the forum without logging out, then he returns after 7 days, when you look at member1's profile, the hours and minutes will even count the days that member1 was missing.
My question is, is there a way that time logged-in will only count the time whenever member1 is in connected to the forum?
Can it be done like this?
member1's profile page
Logged in: Today at 01:00:00 AM (Note: Today = December 7, 2008)
Online for: 5 minutes.
member1 left the forum without logging out.
After 7 days member1 came back. He didn't login this time because he logged with "Forever" the last time he login.
Is it possible to only remember the time he is online to the forum?
Logged in: Today at 010:00:00 AM (Today = December 14, 2008) <== This will become Today.
Online for: 45 minutes.
Thank you bro.
Translate for greek-utf8
$txt['tli_logged_in'] = 'Συνδέθηκε ';
$txt['tli_online_for'] = 'Συνδεδεμένος για';
$txt['tli_not_available'] = 'Μη διαθέσιμο.';
$txt['tli_day'] = ' ημέρα,';
$txt['tli_days'] = ' ημέρες,';
$txt['tli_hour'] = ' ώρα και';
$txt['tli_hours'] = ' ώρες και';
$txt['tli_minute'] = ' λεπτό';
$txt['tli_minutes'] = ' λεπτά'
Good mod. Thanks
Translate for turkish
Modifications.turkish.php
$txt['tli_logged_in'] = 'Son Giriş Zamanı:';
$txt['tli_online_for'] = 'Ne Kadar Süredir Burada';
$txt['tli_not_available'] = 'Kayıt yok.';
$txt['tli_day'] = ' Gün, ';
$txt['tli_days'] = ' Gün, ';
$txt['tli_hour'] = ' Saat ve';
$txt['tli_hours'] = ' Saat ve';
$txt['tli_minute'] = ' dakika.';
$txt['tli_minutes'] = ' dakika.';
Is there a way to show total time logged in since they registered? Like what's in the user info area (like Total time logged in: XX days, XX hours and XX minutes)?
Thanks in advance.
@A.SK
Thanks for the compliment.
@Alpay and villasg
Thanks for the language translation guys. I'll add them to version 2.0. :)
@senyorito
You are right there. I understand what you mean bro but sorry, I can't. The only way is to configure your members' browser to delete cookies when they close their browser window. Maybe they don't want to login again that's why they don't click on the logout button. At least, you now have information telling you that they want to stay logged-in all the time. :)
@SunKing
That's a good idea. Maybe I should update the mod now. Thanks for the suggestion.
<edit>
December 11, 2008 - Released version 2.0
Added the "Total time logged in" as requested by SunKing.
Added support for Greek-utf8 language (Thanks villasg)
Added support for Turkish language (Thanks Alpay)
</edit>
Quote from: Bulakbol on December 08, 2008, 07:53:12 PM
...Added the "Total time logged in"...
Fantastic!! Works perfectly.
Thanks for a great mod.
Great mod, but i get an error
8: Undefined index: total_logged_in
File: /var/www/html/forum/Themes/default/languages/Who.english.php (eval?)
Line: 299
I wish it was more "Theme Friendly"
Anyway, good mod. Thx.
Hello love the idea of this mod
I just have a problem getting it working, I get this error:
Database Error
Unknown column 'mem.first_login' in 'field list'
File: /home/scarmix/public_html/Sources/Load.php
Line: 990
Hope that you will help me
Thanks in advance
@Sunking
Thanks for the compliment. Check out the new package. I added additional info that might interest admins.
@Nfanthr33 and ScarMix
What version of SMF? You have to extract the tli20x.php (Beta 4) or the tli11x.php (1.1.7) from the package and then upload the file to your root directory. Run it by typing http://www.your_site/tli11x.php if you are using version 1.1.7 or til20x.php if you are using version 2.0 Beta 4.
@PLAYBOY
Most theme uses the default/Profile.template.php. If your custom theme has its own Profile.template.php then you have to manually edit it to make this mod work.
still doesnt work when i did that
Try the new package with additional info. Let me know how it goes.
Maybe you are using free host and doesn't want you to install anything. :)
Nice enhancements to the mod! It just keeps getting better. Thanks again.
my host isnt free, it my father. I did install the new one too, still doesnt work ~ 1.1.7
8: Undefined index: total_logged_in
8: Undefined index: online_for
8: Undefined index: first_login
8: Undefined index: posts_made
SMF 1.1.7
Hi Bulakbol,
Downloaded and installed with no problems.
However after logging back in, it shows the correct total time logged in for me but it shows zero post when I actually (being admin) have quite a number of post.
Does it only start counting after the installation?
Regards.
Those are for the posts you have made that day, not total posts ever made. ;D
Ah, okay understood.
Regards.
Sorry but i found one little problem:
immediately when i click the profile of one new user registered in my forum, i receive this error trying to open profile:
The database value you're trying to insert does not exist: recycle_board
Some solution for solve this?
ps. if i unistall your mod everything is ok.
italian language bro ;D
$txt['tli_logged_in'] = 'Ultimo accesso';
$txt['tli_online_for'] = 'Online per';
$txt['tli_not_available'] = 'Non Disponibile.';
$txt['tli_day'] = ' giorno, ';
$txt['tli_days'] = ' giorni, ';
$txt['tli_hour'] = ' ora e ';
$txt['tli_hours'] = ' ore e ';
$txt['tli_minute'] = ' minuto.';
$txt['tli_minutes'] = ' minuti.';
$txt['tli_post'] = ' discussione.';
$txt['tli_posts'] = ' discussioni.';
$txt['tli_posts_made'] = 'Discussioni scritte';
$txt['tli_total_logged_in'] = 'Tempo Totale collegato';
greek-utf8
$txt['tli_logged_in'] = 'Συνδέθηκε ';
$txt['tli_online_for'] = 'Συνδεδεμένος για';
$txt['tli_not_available'] = 'Μη διαθέσιμο.';
$txt['tli_day'] = ' ημέρα,';
$txt['tli_days'] = ' ημέρες,';
$txt['tli_hour'] = ' ώρα και';
$txt['tli_hours'] = ' ώρες και';
$txt['tli_minute'] = ' λεπτό';
$txt['tli_minutes'] = ' λεπτά'
$txt['tli_post'] = ' πόστ.';
$txt['tli_posts'] = ' πόστς.';
$txt['tli_posts_made'] = 'Πόστ που έκανε';
$txt['tli_total_logged_in'] = 'Συνολικός χρόνος σύνδεσης';
Thanks for this nice mod
But for me it does not seem to show correct, so I made a screen shot and here it is:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi526.photobucket.com%2Falbums%2Fcc343%2FCairX%2FScreenShot029.jpg&hash=087796869265ced41b580555afb6eeb65684760c)
Thanks for help in advance ;)
And btw a Swedish translation (not many that will use that but anyway):
$txt['tli_logged_in'] = 'Inloggad';
$txt['tli_online_for'] = 'Du har varit inloggad i';
$txt['tli_not_available'] = 'Inte tillgänglig.';
$txt['tli_day'] = ' dag, ';
$txt['tli_days'] = ' dagar, ';
$txt['tli_hour'] = ' time och ';
$txt['tli_hours'] = ' timmar och ';
$txt['tli_minute'] = ' minut.';
$txt['tli_minutes'] = ' minuter.';
$txt['tli_post'] = ' inlägg.';
$txt['tli_posts'] = ' inlägg.';
$txt['tli_posts_made'] = 'Antal inlägg';
$txt['tli_total_logged_in'] = 'Total tid inloggad';
Work good
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg339.imageshack.us%2Fimg339%2F1580%2Fsnap2vn2.jpg&hash=b1b2786926eb309d04bbc50c4d53be76e1786f4a) (http://imageshack.us)
What I am I doing wrong?? :(
@Nfanthr33
Which theme are you using? No errors in the error log? Give me more details please.
@TechPrince
If you installed the mod manually, the code probably in the wrong place. Attach your Sources/Profile.php.
@SunKing
Thanks for the help.
@edi67
Sorry about that. I missed one line of code in the beta 4 version of the mod. It is now fixed. Download the new package and reinstall.
@ScarMix
Copy the txt language to default/Modification.{your_language}.php and try it again. Try the default theme too and see if it is woking there.
Thanks guys for the language translations. I added them already.
Theme ~ Default
Errors ~
8: Undefined index: total_logged_in
File: /home/virtual/site69/fst/var/www/html/forum/Themes/default/languages/Who.english.php (eval?)
Line: 302
8: Undefined index: posts_made
File: /home/virtual/site69/fst/var/www/html/forum/Themes/default/languages/Who.english.php (eval?)
Line: 299
8: Undefined index: online_for
File: /home/virtual/site69/fst/var/www/html/forum/Themes/default/languages/Who.english.php (eval?)
Line: 296
8: Undefined index: first_login
File: /home/virtual/site69/fst/var/www/html/forum/Themes/default/languages/Who.english.php (eval?)
Line: 293
Glitch ~ will not show time, posts, total, first
@Nfanthr33
Attach your Sources/Profile.php.
@ScarMix
Download and try the new package. Version 3.0.
here you go
How did you install this mod Nfanthr33 ?
Anyhow, here's your Profile.template.php. I cannot test it so let me know if there's more error.
heres one ~ Page wont load
users page will not load
I don't know. It is maybe conflicting with other mods. A link to your site will help.
http://www.vgrecordist.com/forum/index.php?action=profile;u=1
here, its my Profile
Sorry, attach the pic here. I don't the link that you posted.
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.vgrecordist.com%2Fforum%2FMGalleryItem.php%3Fid%3D219&hash=aaded614bc1fe636dd72ed32e3fbd39e3a163f48)
Nothing Shows, i did have 1.0 and 2.0 installed before this one
Did you uploaded the Profile.php that I posted? Any error in the error log?
nothing in the error log, when i loaded it, the Page goes Blank
Sorry, I ran out of idea why. It should at least display "Not Available" when there's no data. Try hightlighting the blank space where the data should be printed. It might be black in color.
tried a manualy add it, still doesnt work even when running tlidb
Hi. I add spanish language:
$txt['tli_logged_in'] = 'Conectado';
$txt['tli_online_for'] = 'Online desde';
$txt['tli_not_available'] = 'No disponible.';
$txt['tli_day'] = ' día, ';
$txt['tli_days'] = ' días, ';
$txt['tli_hour'] = ' hora y ';
$txt['tli_hours'] = ' horas y ';
$txt['tli_minute'] = ' minuto.';
$txt['tli_minutes'] = ' minutos.';
$txt['tli_post'] = ' post.';
$txt['tli_posts'] = ' posts.';
$txt['tli_posts_made'] = 'Posts creados';
$txt['tli_total_logged_in'] = 'Tiempo total conectado';
everything work perfect now THX Bulakbol ;)
Translate for german language
// Time Logged-In
$txt['tli_logged_in'] = 'Eingeloggt um';
$txt['tli_online_for'] = 'Online für';
$txt['tli_not_available'] = 'Nicht verfügbar.';
$txt['tli_day'] = ' Tag, ';
$txt['tli_days'] = ' Tage, ';
$txt['tli_hour'] = ' Stunde und ';
$txt['tli_hours'] = ' Stunden und ';
$txt['tli_minute'] = ' Minute.';
$txt['tli_minutes'] = ' Minuten.';
$txt['tli_post'] = ' Beitrag.';
$txt['tli_posts'] = ' Beiträge.';
$txt['tli_posts_made'] = 'Beiträge erstellt';
$txt['tli_total_logged_in'] = 'Gesamte Onlinezeit';
$txt['tli_theme'] = 'Aktuelles Layout';
//Time Logged-In End
Thanks for the translation firehopper.
Everything working nicely on me forum ta mate.
One suggestion or idea(however you want to look at it): how about adding the last post a user made !?
I think that would be quite useful too no !?
eZ.
@ksawery
Thanks for the translation. I'll add them together with German translation to the next upldate.
@TheSentinel®
There's "Show the last posts of this person." link at the bottom already so I think it is not needed.
When I have time, I might add how many posts a member made a day before last active. I might re-arrage the display too. It is in my TODO list.
Sounds great, might try.
The link is show the last posts of the person, aye I know.
But who wants to click links for everything when you could have it right there in front of you.
Just my way of thinking. Make ****** easier mind :D
Nevermind esé, I'll figure it out meself. - no problem.
eZ.
Sorry TheSentinel®. I thank you for the suggestion although IMO, it is too much information if we add another link for the member's last post.
Like I said esé.
No problem !
I'll have a go at it myself and anything I can't do the fellow admin on me site probably will know how to.
I'm currently trying to improve the profile look is all by making it more like the ultimate profile thing for smf 1.x ...
I'm using smf2.04beta but aye whatever.
eZ esé & peace :)
Hello
Thanks for the mod :)
I get and error when trying to view profile,
I was hoping that you could help me out with it
Quote
Fatal error: Cannot redeclare days_hours_minutes() in /home/scarmix/public_html/Sources/Profile-View.php on line 293
Thanks in advance,
Scarmix
EDIT:I tried with out using the total time thing and then it works except for the total time of course :P but then I saw another problem. The text that should show does not show :( ... how do I fix it both of the problems?
and btw some Swedish for the new one ;)
$txt['tli_logged_in'] = 'In loggad';
$txt['tli_online_for'] = 'Tid Online';
$txt['tli_not_available'] = 'Ej tillgänglig.';
$txt['tli_day'] = ' dag,';
$txt['tli_days'] = ' dagar,';
$txt['tli_hour'] = ' timme ';
$txt['tli_hours'] = ' timmar och ';
$txt['tli_minute'] = ' minut';
$txt['tli_minutes'] = ' minuter';
$txt['tli_post'] = ' inlägg.';
$txt['tli_posts'] = ' inlägg.';
$txt['tli_posts_made'] = 'Antal inlägg';
$txt['tli_total_logged_in'] = 'Total tid in loggad';
$txt['tli_theme'] = 'Tema';
@ScarmixOpen your Sources/Profile-View.php and remove the other existence of the function. Look for
function days_hours_minutes() and delete the block. Thanks for the translation.
Package is updated and uploaded.
- Added number of posts a member made a day before last active.
- Rearranged the display of profile summary for admin eyes only. Normal profile display for others.
Check it out! ;D
translated for german utf-8 (Latest Version V 3.2)
$txt['tli_logged_in'] = 'Eingeloggt um';
$txt['tli_online_for'] = 'Online für';
$txt['tli_not_available'] = 'Nicht verfügbar.';
$txt['tli_day'] = ' Tag, ';
$txt['tli_days'] = ' Tage, ';
$txt['tli_hour'] = ' Stunde und ';
$txt['tli_hours'] = ' Stunden und ';
$txt['tli_minute'] = ' Minute.';
$txt['tli_minutes'] = ' Minuten.';
$txt['tli_post'] = ' Beitrag.';
$txt['tli_posts'] = ' Beiträge.';
$txt['tli_posts_made'] = 'Beiträge erstellt';
$txt['tli_total_logged_in'] = 'Gesamte Onlinezeit';
$txt['tli_theme'] = 'Aktuelles Layout';
$txt['tli_posts_before'] = 'Beiträge am Tag vorher';
$txt['tli_total_posts'] = 'Gesamt Beiträge';
and german unicode (ISO 8859-1)
$txt['tli_logged_in'] = 'Eingeloggt um';
$txt['tli_online_for'] = 'Online für';
$txt['tli_not_available'] = 'Nicht verfügbar.';
$txt['tli_day'] = ' Tag, ';
$txt['tli_days'] = ' Tage, ';
$txt['tli_hour'] = ' Stunde und ';
$txt['tli_hours'] = ' Stunden und ';
$txt['tli_minute'] = ' Minute.';
$txt['tli_minutes'] = ' Minuten.';
$txt['tli_post'] = ' Beitrag.';
$txt['tli_posts'] = ' Beiträge.';
$txt['tli_posts_made'] = 'Beiträge erstellt';
$txt['tli_total_logged_in'] = 'Gesamte Onlinezeit';
$txt['tli_theme'] = 'Aktuelles Layout';
$txt['tli_posts_before'] = 'Beiträge am Tag vorher';
$txt['tli_total_posts'] = 'Gesamt Beiträge';
Well it tried your idea with the Profile-view and then I when to the mod and looked at the code and changed it to the new one. I got the error message again but on another line but I can't remember what line. Then I uploaded the language file. And then a totally different problem occurred I got this error message at the start page.
Warning: require_once(/home/scarmix/public_html/Sources/QueryString.php) [function.require-once]: failed to open stream: Permission denied in /home/scarmix/public_html/index.php on line 64
Fatal error: require_once() [function.require]: Failed opening required '/home/scarmix/public_html/Sources/QueryString.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/scarmix/public_html/index.php on line 64
I don't know what happened,
but I have tried setting everything back, but nothing works :(
Can anybody please please help me?
Thanks in advance,
Scarmix
EDIT: I fixed it :)
But I still don't get the text to work neither the Total time view :(
Well this is funny "Last Active" shows :P
All Columns were displayed only to admin id.
And even Blue Dream's Profile Visitors mod is affected. A line Total no of Profile Visitors : line is missing after installation.
@Scarmix
If you see the ":" (colon) character then it is definitely txt string issue. If you are not using the default theme, check your custom theme's own Modifications.english.php.
@A.SK
Yes, only to admins. If you want to show to everyone, let me know so we can change some codes.
The visitors profile show only to regular members after installing this mod. Open Profile.template.php and find
<td>', $context['member']['last_login'], '</td>
</tr><tr>
<td><b>', $txt['pv_visited'], ': </b></td>
Replace
<td>', $context['member']['last_login'], '</td>
</tr>';
echo ' <tr>
<td><b>', $txt['pv_visited'], ': </b></td>
Another great mod, Johnny! :)
Quote from: Bulakbol on December 24, 2008, 08:49:13 PM
@A.SK
Yes, only to admins. If you want to show to everyone, let me know so we can change some codes.
The visitors profile show only to regular members after installing this mod. Open Profile.template.php and find
Thank you JohnyB.
$txt['tli_logged_in'] = 'Logged in'; $txt['tli_online_for'] = 'Online for'; $txt['tli_not_available'] = 'Not Available.'; $txt['tli_day'] = ' day, '; $txt['tli_days'] = ' days, '; $txt['tli_hour'] = ' hour and '; $txt['tli_hours'] = ' hours and '; $txt['tli_minute'] = ' minute.'; $txt['tli_minutes'] = ' minutes.'; $txt['tli_post'] = ' post.'; $txt['tli_posts'] = ' posts.'; $txt['tli_posts_made'] = 'Posts made'; $txt['tli_total_logged_in'] = 'Total time logged in'; $txt['tli_theme'] = 'Current Theme'; $txt['tli_posts_before'] = 'Posts a day before'; $txt['tli_total_posts'] = 'Total Posts'; $txt['tli_logged_in'] = 'Logged in'; $txt['tli_online_for'] = 'Online for'; $txt['tli_not_available'] = 'Not Available.'; $txt['tli_day'] = ' day, '; $txt['tli_days'] = ' days, '; $txt['tli_hour'] = ' hour and '; $txt['tli_hours'] = ' hours and '; $txt['tli_minute'] = ' minute.'; $txt['tli_minutes'] = ' minutes.'; $txt['tli_post'] = ' post.'; $txt['tli_posts'] = ' posts.'; $txt['tli_posts_made'] = 'Posts made'; $txt['tli_total_logged_in'] = 'Total time logged in'; $txt['tli_theme'] = 'Current Theme'; $txt['tli_posts_before'] = 'Posts a day before'; $txt['tli_total_posts'] = 'Total Posts'; $txt['tli_logged_in'] = 'Logged in'; $txt['tli_online_for'] = 'Online for'; $txt['tli_not_available'] = 'Not Available.'; $txt['tli_day'] = ' day, '; $txt['tli_days'] = ' days, '; $txt['tli_hour'] = ' hour and '; $txt['tli_hours'] = ' hours and '; $txt['tli_minute'] = ' minute.'; $txt['tli_minutes'] = ' minutes.'; $txt['tli_post'] = ' post.'; $txt['tli_posts'] = ' posts.'; $txt['tli_posts_made'] = 'Posts made'; $txt['tli_total_logged_in'] = 'Total time logged in'; $txt['tli_theme'] = 'Current Theme'; $txt['tli_posts_before'] = 'Posts a day before'; $txt['tli_total_posts'] = 'Total Posts';
how do i delete this?
Highlight it and press backspace.
lol funny....i wish i could
Oh. Is it embedded like this text that I am writing?
If so, you'd have to search the file..
Hi, and thanks for this mod, which could be very useful.
I do, however, have a problem in that although it works fine for Admins, I would also like Global Moderators to be able to view the additional information. I have implemented the modification in Reply #8 (http://www.simplemachines.org/community/index.php?topic=278791.msg1829787#msg1829787) of this thread, which has worked to some extent, but GMs can only see two of the fields with any data in them, the rest are blank:
Logged in:
Last Active: Today at 21:40
Online for:
Posts made:
Posts a day before:
Total Posts: 14103 (27.173 per day)
Total time logged in:
Current Theme:
Is there anything I can do to allow GMs to use the mod fully?
Many thanks,
Simon.
Apologies for the delayed reply.
Thanks BurkeKnight.
You are welcome A.SK
@scenerip2k
Open your default/languages/Modifications.{yourLanguage}.php and find the ending PHP tag (i.e. ?>). Move it at the very end with its own line.
@Si6776
I updated the package. You can give any group you want a permission to see the information. Admin => Permission By Membergroup => "Allow this group to access the logged-in info". It's under "Member Profiles" category.
Bulakbol:
Thanks for the Cool Mod, Bro!
Using it on a heavily modified 1.1.7 custom theme.
Werks great!
- -
Okay,
Father Luke
Hi,
it doesn´t work on my Page.
Theme: babylon
SMF: 1.1.8
Time Logged-In MOD: 3.3
ErrorLog:
Quote8: Undefined index: total_logged_in
Datei: .../Themes/default/languages/Who.german.php (eval?)
Zeile: 203
8: Undefined index: posts_before
Datei: .../Themes/default/languages/Who.german.php (eval?)
Zeile: 195
8: Undefined index: posts_made
Datei: .../Themes/default/languages/Who.german.php (eval?)
Zeile: 191
8: Undefined index: online_for
Datei: .../Themes/default/languages/Who.german.php (eval?)
Zeile: 187
8: Undefined index: first_login
Datei: .../Themes/default/languages/Who.german.php (eval?)
Zeile: 179
Display (Profil Page):
QuoteKarma: 0
Registrierungsdatum: 07.10.08 - 20:43:20 Uhr
Eingeloggt um:
Letzter Besuch: Heute um 21:24:24 Uhr
Online für:
Beiträge erstellt:
Beiträge am Tag vorher:
Gesamt Beiträge: 1 (0,008 pro Tag)
Gesamte Onlinezeit:
@ Bulakbol
There is a Error in the German Languages of your MOD. Here is it right.
$txt['tli_logged_in'] = 'Eingeloggt um';
$txt['tli_online_for'] = 'Online für';
$txt['tli_not_available'] = 'Nicht verfügbar.';
$txt['tli_day'] = ' Tag, ';
$txt['tli_days'] = ' Tage, ';
$txt['tli_hour'] = ' Stunde und ';
$txt['tli_hours'] = ' Stunden und ';
$txt['tli_minute'] = ' Minute.';
$txt['tli_minutes'] = ' Minuten.';
$txt['tli_post'] = ' Beitrag.';
$txt['tli_posts'] = ' Beiträge.';
$txt['tli_posts_made'] = 'Beiträge erstellt';
$txt['tli_total_logged_in'] = 'Gesamte Onlinezeit';
$txt['tli_theme'] = 'Aktuelles Layout';
$txt['tli_posts_before'] = 'Beiträge am Tag vorher';
$txt['tli_total_posts'] = 'Gesamt Beiträge';
@Eclipse16V
Thanks for the German language correction. I will update the package soon. Do you still need help with this mod?
Yes, it doesn´t work on my site. :(
@Eclipse16V
Did you get any error when you installed this mod? Did you install the mod manually?
Try the attached Profile.php.
Hi,
when I use your Profil.php from the last post I became this on the Page:
QuoteParse error: syntax error, unexpected $end in .../Sources/Profile.php on line 3523
Yes I install it manually.
Eclipse16V
Sorry for the delay. I will update this mod soon. I have 15 mods to update so give me few days.
The new update is now up. Support both SMF 1.1.8 and 2.0 RC1 versions. Thanks for using/trying this mod.
Thank you, Bulakbol.
Thank you, Bulakbol.
I tested an my SMF 2.0RC1
Hi just wonderd if someone could help please
I have 2 forums my main and a test both on dilbermc, now i downloaded the package and got an error when trying to apply the mod
1. Execute Modification ./Sources/LogInOut.php Test successful
2. Execute Modification ./Sources/Load.php Test successful
3. Execute Modification ./Sources/ManagePermissions.php Test successful
4. Execute Modification ./Sources/Profile.php Test successful
5. Execute Modification ./Themes/default/Profile.template.php Test failed
6. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
7. Execute Modification ./Themes/default/languages/ManagePermissions.english.php Test successful
8. Execute Modification ./Themes/default/languages/ManagePermissions.english-utf8.php Test successful
9. Execute Modification ./Themes/default/languages/Modifications.english-utf8.php Test successful
10. Execute Modification ./Themes/default/languages/Modifications.italian.php Skipping file
11. Execute Modification ./Themes/default/languages/Modifications.greek-utf8.php Test successful
12. Execute Modification ./Themes/default/languages/Modifications.spanish.php Skipping file
13. Execute Modification ./Themes/default/languages/Modifications.german.php Skipping file
14. Execute Modification ./Themes/default/languages/Modifications.german-utf8.php Test successful
15. Execute Modification ./Themes/default/languages/Modifications.swedish.php Skipping file
16. Execute Code tlidb11x.php
so went onto test forum change theme to default everything fine, then switched back to dilber again everything ok working fine, but when i went to do this with my main forum still got the error message.
any ideas?
thanks
@Sunking and Eclipse16V
You're welcome guys.
@hawaii
You probably installed a mod that altered the Profile.template.php. If you will attach the file in question, I can look at it and edit it for you in my spare time.
getting a whole load of errors, I had this installed before and never had any trouble with it.
8: Undefined index: theme_name
File: /public_html/Themes/default/languages/Who.english-utf8.php (summary sub template - eval?)
Line: 189
http://twnb-worldofstuff.com/index.php?action=profile
8: Undefined index: total_logged_in
File: /public_html/Themes/default/languages/Who.english-utf8.php (summary sub template - eval?)
Line: 186
http://twnb-worldofstuff.com/index.php?action=profile
8: Undefined index: posts_before
File: /public_html/Themes/default/languages/Who.english-utf8.php (summary sub template - eval?)
Line: 180
http://twnb-worldofstuff.com/index.php?action=profile
8: Undefined index: posts_made
File: public_html/Themes/default/languages/Who.english-utf8.php (summary sub template - eval?)
Line: 177
http://twnb-worldofstuff.com/index.php?action=profile
8: Undefined index: online_for
File: /public_html/Themes/default/languages/Who.english-utf8.php (summary sub template - eval?)
Line: 174
http://twnb-worldofstuff.com/index.php?action=profile
8: Undefined index: first_login
File: /public_html/Themes/default/languages/Who.english-utf8.php (summary sub template - eval?)
Line: 168
help me fix these!
@The_Wii_Nes_Boy
I think it was not properly installed. Try uninstalling it, download the latest version and then install it again. What version of SMF are you using?
Sorry forgot to say I got this fixed.
Oh, thank you. I can sleep sound now. :)
hi! can i change my and other connection time manually? how i can??
thx!
Please update it for SMF 2.0 RC2
Thx
Nice Mod
Please update it for SMF 2.0RC3 ;)
Thanks
Greetings,
using this mod and was wondering, is it normal that only I - the admin can see it in users profiles? Other members claim that they don't see it in theirs or anybody else's profiles.
Any ideas? Thanks in advance.
Best Regards,
SS-Totenkopf
Quote from: Bulakbol on December 30, 2008, 07:56:47 PM
Apologies for the delayed reply.
Thanks BurkeKnight.
You are welcome A.SK
@scenerip2k
Open your default/languages/Modifications.{yourLanguage}.php and find the ending PHP tag (i.e. ?>). Move it at the very end with its own line.
@Si6776
I updated the package. You can give any group you want a permission to see the information. Admin => Permission By Membergroup => "Allow this group to access the logged-in info". It's under "Member Profiles" category.
;)
Does it work with SMF 2.0.2 ?