Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted September 21, 200915 yr File Name: [HK020] - IPB3.x - Online users and Group LegendFile Submitter: RobertMiddFile Submitted: 16 Aug 2009File Updated: 25 Jul 2011File Category: Hooks and Plugins The current online users only shows those users that have logged onto your board and have a valid session. Once the session has expired or they logoff then the member will no longer be displayed in the list. This hook adds a list of users that have been online in the past x hours and you can also add an optional group legend. The hook is highly configurable using settings in the ACP. See the screenshot for the settings and the hook in action 31 OCT 2010 Changed so that a custom order can be used when displaying the group legends. 02 NOV 2010 Fixed issue with faulty span tag. 03 NOV 2010 Fixed issue causing non display of online list and language string for group legendClick here to download this file
September 26, 200915 yr Is it possible to remove the statement/info on the forum?(in the past xx hours) from the xx online member(s) (in the past xx hours)
September 27, 200915 yr Author Not sure why as that is the purpose to show how many members have been online in the past xx hours. You would need to edit the board index skin in the ACP and the template bit of hookGetOnline. Remove the parts I have put in bold red. <if test="hookGetOnline:|:count($stats['NAMES']) and $hours=sprintf($this->lang->words['hookpast_hours'],$this->settings['hookonline_hours'] )"> <div id='hookonline_users' class='stats_list'> <h2>{$stats['MEMBERS']} {$this->lang->words['hookonline_members']} <span>$hours</span></h2>
October 7, 200915 yr Please add "Most members ever online" similar in Members Online Today 1.0.0 Thank you ;)
October 13, 200915 yr My forum has many invisible groups. We have lots of hidden private forums that most member don't need to see or know about (individual team forums for leagues we run) and would not want these displayed in the legend. I do not see any way in the screenshot to control which groups are shown in the legend and which aren't. Is there a way to do that?
October 16, 200915 yr In 3.0.4 the various groups all display with the same colour i.e. the legend is the same colour. I've had to uninstall the hook as this was the main reason of installing it. 3DKiwi
October 22, 200915 yr Author [quote name='SGS' date='13 October 2009 - 04:32 PM' timestamp='1255447944' post='1866080'] My forum has many invisible groups. We have lots of hidden private forums that most member don't need to see or know about (individual team forums for leagues we run) and would not want these displayed in the legend. I do not see any way in the screenshot to control which groups are shown in the legend and which aren't. Is there a way to do that? Yes that was added but the screenshot has not been updated. There is a new setting that has a dropdown list of groups that are to be shown.
October 22, 200915 yr Author [quote name='3DKiwi' date='16 October 2009 - 04:53 AM' timestamp='1255665197' post='1867311'] In 3.0.4 the various groups all display with the same colour i.e. the legend is the same colour. I've had to uninstall the hook as this was the main reason of installing it. 3DKiwi I will install 3.0.4 this weekend and try to fix this issue.
October 25, 200915 yr Author [quote name='3DKiwi' date='16 October 2009 - 03:53 AM' timestamp='1255665197' post='1867311'] In 3.0.4 the various groups all display with the same colour i.e. the legend is the same colour. I've had to uninstall the hook as this was the main reason of installing it. 3DKiwi I have just upgraded to 3.0.4 and cannot reproduce this issue. Can you check the settings at that you have Group legend show prefix/suffix set to Yes.
October 25, 200915 yr The problem was my end. I didn't realize I also had to set up colours for user groups. You might want to mention this in the install instructions. 3DKiwi
December 20, 200915 yr Hello Is there a maximum number of hours in the setup of your hook? (Can we set it up to 1000 hours ?) Gaston
December 21, 200915 yr [quote name='SOS-I' date='07 October 2009 - 08:13 AM' timestamp='1254903236' post='1864147'] Please add "Most members ever online" similar in Members Online Today 1.0.0 Thank you ;) Agreed :) ... Any chance this could be added in m8? This is an excellent mod, so cheers for that :)
December 21, 200915 yr Author [quote name='Gaston Huot' date='20 December 2009 - 11:43 PM' timestamp='1261352588' post='1890411'] Hello Is there a maximum number of hours in the setup of your hook? (Can we set it up to 1000 hours ?) Gaston Set the following to any integer you want but bear in mind the higher the value then the more work the hooks has to do and the bigger the list will be displayed.
January 30, 201015 yr Hello, Is it possible to change the group legend sort key or just to turn it off ? I'd like to sort groups manually. Regards, haerde
January 31, 201015 yr Author [quote name='haerde' date='30 January 2010 - 02:52 PM' timestamp='1264863172' post='1906578'] Hello, Is it possible to change the group legend sort key or just to turn it off ? I'd like to sort groups manually. Regards, haerde Sorry but this is not currently possible.
June 8, 201014 yr [quote name='Trix' date='03 June 2010 - 07:14 AM' timestamp='1275574470' post='1963680'] Is this working with 3.1? I have 3.1 Board and I'm using this hook right now. I don't see any problems or issues so far. I'll post if any problems occur. And I like to thank the developer for the hook, really nice feature. :)
June 8, 201014 yr Author [quote name='Edo1023' date='08 June 2010 - 05:10 AM' timestamp='1275970202' post='1966934'] And I like to thank the developer for the hook, really nice feature. :) Thank you.
October 31, 201014 yr Author New version uploaded now that allows the group legend order to be customised so you can display in any order you like.
October 31, 201014 yr Hey Robert, how and where is it displayed ? You posted only screenshots from settings. :) EDIT: NVM; just installed.
October 31, 201014 yr [quote name='Adriano Faria' timestamp='1288533476' post='2035814'] Hey Robert, how and where is it displayed ? You posted only screenshots from settings. :) EDIT: NVM; just installed. That's what i wondering my self :)
October 31, 201014 yr [quote name='Top_Shotta' timestamp='1288537479' post='2035836'] That's what i wondering my self :)
November 1, 201014 yr I have the group legend turned off but see lots of mal-formed span tags is the offender<div id='hookonline_users' class='stats_list'> <h2>24 online member(s) <span>(in the past 24 hours)</span></h2> <p> <span class='name'><span style='white-space:nowrap;'<a href='http://www.*****.net/forum/user/****/' title='08:35 AM'><span style='color:darkgreen'>****</span></a></span>, </span> <span style='white-space:nowrap;'
Archived
This topic is now archived and is closed to further replies.