Adriano Faria Posted October 13, 2010 Share Posted October 13, 2010 File Name: (SOS31) Total Time Spent On Forums v1.0.0File Submitter: Adriano FariaFile Submitted: 13 Oct 2010File Category: Modifications Will show how much time each member spends logged into the site.Notes:Requires 1 file editThis modification isn't retroactive. The timer begins once the installation is successfully completed and the member logged in his accountBased on Total Time Spent On Forums 2.0.0 mod for IP.Board 2.2.X, from -Calypso-, which was based on Total Time Spent On Forums 1.0.0 for IP.Board 2.1.X, from ntd1712. The upgrade was previously authorized by him.Click here to download this file Link to comment
broni Posted October 14, 2010 Share Posted October 14, 2010 Hmmm....it doesn't work for me. Installed xml, edited file, logged out, logged in....nothing. Link to comment
tekguru Posted October 14, 2010 Share Posted October 14, 2010 Hope it gets fixed as I want to try this! Link to comment
Adriano Faria Posted October 14, 2010 Author Share Posted October 14, 2010 It's working on my live board: http://forum.sosinvision.com.br/ Retested in one live TEST board; no problem. Retested in LOCALHOST; no problem. What's your IP.Board version ? This is only for 3.1.X! Link to comment
broni Posted October 15, 2010 Share Posted October 15, 2010 I have the newest IPB version. Ha! It seems to be working now in member profile, but not in topic view...hmmmmm Link to comment
broni Posted October 15, 2010 Share Posted October 15, 2010 Hahaha....it seems to be working everywhere now....weird. Very nice hook :) Thank you :) Link to comment
broni Posted October 18, 2010 Share Posted October 18, 2010 Wondering... Would it be possible to adjust this hook, or create a new one, which would display total time spent on forum EVER (so it accumulates)? Basically, this is what I was hoping for, seeing your hook. Link to comment
Adriano Faria Posted October 18, 2010 Author Share Posted October 18, 2010 That's what this hook does! Of course, due to the new column added, it does AFTER the hook install. Link to comment
tekguru Posted October 18, 2010 Share Posted October 18, 2010 Back from hols so will load up shortly! Link to comment
broni Posted October 18, 2010 Share Posted October 18, 2010 Ok, OK. I can see now. Another question... The hook works fine in default skin and couple of others, but it kind of misbehaves in two of my skins. I quite don't understand how skin template may have something to do with the hook code. For instance, in one of my skin, it shows up fine in first topic post, but not the consecutive posts. Really puzzling. Link to comment
Adriano Faria Posted October 18, 2010 Author Share Posted October 18, 2010 Hook searchs for hookpoints! Maybe the author of this skin had the GREAT idea to make it incompatible... anyway, all hooks/mods/apps are made using default skin. You should ask the author some help. ;) Link to comment
Chillyware Posted October 19, 2010 Share Posted October 19, 2010 thanks for this mod :thumbsup: Link to comment
broni Posted October 19, 2010 Share Posted October 19, 2010 Not a big deal, I just switched skins and all is fine. Great hook. Thanks :) Link to comment
Funnykat Posted November 1, 2010 Share Posted November 1, 2010 Hello I don't get what time exactly this mod shows, in my profile it shows "19 days" on another member who registered a year ago it shows "3 mins" and for other veteran and active members it shows time of a few hours it can't be since my board was started because that was 4 years ago and I'm on every day , it can't be since the mod was installed because I just did it a few minutes ago Link to comment
Adriano Faria Posted November 1, 2010 Author Share Posted November 1, 2010 This modification isn't retroactive. The timer begins once the installation is successfully completed and the member logged in his account 4 years ? Did you use the previous version from Calypso ? If so, the only reason why it happens is that you already have the ibf_members.time_spent column on your DB. When a hook is installed and you already got the column, it keeps what you already got with its data. Can't imagine other situation. Link to comment
Funnykat Posted November 1, 2010 Share Posted November 1, 2010 Possible I used Calypso's but I can't be sure as it's been a long time , whatever time frame it shows from that column it doesn't seems to be accurate Thanks anyway Link to comment
xecutey Posted November 3, 2010 Share Posted November 3, 2010 Is this permission based? For example can I use it only to monitor my staff group (no others - scared it may slow down forums) online time (to spy on them to see who is online the most) and set it so only I as admin can see there time and no one else? Link to comment
Adriano Faria Posted November 3, 2010 Author Share Posted November 3, 2010 Not in this current version. I'm planning a new version to be released still in this week. I'll add a setting to to user groups who can see the time. Link to comment
JahLion Posted November 3, 2010 Share Posted November 3, 2010 I wish i can use this hook but i can't because of file edits :( Link to comment
Adriano Faria Posted November 3, 2010 Author Share Posted November 3, 2010 New version will show in all miniprofiles (topics, PMs, calendar events, annoucements, etc) but unfortunatelly file edit is still required 'cause we can't hook the file that needs to be edited. Link to comment
Buskopan Posted November 18, 2010 Share Posted November 18, 2010 New version will show in all miniprofiles (topics, PMs, calendar events, annoucements, etc) but unfortunatelly file edit is still required 'cause we can't hook the file that needs to be edited. is this released already ? thank you! Link to comment
Adriano Faria Posted November 18, 2010 Author Share Posted November 18, 2010 It's done but yet untested... In a few days I'll post. And the new version requires NO FILE EDIT! Link to comment
JahLion Posted November 19, 2010 Share Posted November 19, 2010 It's done but yet untested... In a few days I'll post. And the new version requires NO FILE EDIT! Great! :wub: Link to comment
Jonathan G Posted November 27, 2010 Share Posted November 27, 2010 One of the things I missed in SMF (Which I converted from), was the ability to see the "top 10" most online users, based on their total time spent on the forums. Possible feature request? :whistle: Link to comment
Adriano Faria Posted November 27, 2010 Author Share Posted November 27, 2010 Nice... I'll add a sidebar hook to show that top 5. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.