RobertMidd Posted September 21, 2009 Posted September 21, 2009 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
Morph2008 Posted September 26, 2009 Posted September 26, 2009 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)
RobertMidd Posted September 27, 2009 Author Posted September 27, 2009 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>
SOS-I Posted October 7, 2009 Posted October 7, 2009 Please add "Most members ever online" similar in Members Online Today 1.0.0 Thank you ;)
SG Staff Posted October 13, 2009 Posted October 13, 2009 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?
3DKiwi Posted October 16, 2009 Posted October 16, 2009 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
RobertMidd Posted October 22, 2009 Author Posted October 22, 2009 [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.
RobertMidd Posted October 22, 2009 Author Posted October 22, 2009 [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.
RobertMidd Posted October 25, 2009 Author Posted October 25, 2009 [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.
3DKiwi Posted October 25, 2009 Posted October 25, 2009 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
Gaston Huot Posted December 20, 2009 Posted December 20, 2009 Hello Is there a maximum number of hours in the setup of your hook? (Can we set it up to 1000 hours ?) Gaston
Nityananda Posted December 21, 2009 Posted December 21, 2009 [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 :)
RobertMidd Posted December 21, 2009 Author Posted December 21, 2009 [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.
haerde Posted January 30, 2010 Posted January 30, 2010 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
RobertMidd Posted January 31, 2010 Author Posted January 31, 2010 [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.
Ciwan Posted April 25, 2010 Posted April 25, 2010 Thanks for this. It is a Great Hook/Mod. very Much appreciate it.
Edo1023 Posted June 8, 2010 Posted June 8, 2010 [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. :)
RobertMidd Posted June 8, 2010 Author Posted June 8, 2010 [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.
RobertMidd Posted October 31, 2010 Author Posted October 31, 2010 New version uploaded now that allows the group legend order to be customised so you can display in any order you like.
Adriano Faria Posted October 31, 2010 Posted October 31, 2010 Hey Robert, how and where is it displayed ? You posted only screenshots from settings. :) EDIT: NVM; just installed.
JahLion Posted October 31, 2010 Posted October 31, 2010 [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 :)
Adriano Faria Posted October 31, 2010 Posted October 31, 2010 [quote name='Top_Shotta' timestamp='1288537479' post='2035836'] That's what i wondering my self :)
JahLion Posted October 31, 2010 Posted October 31, 2010 [quote name='Adriano Faria' timestamp='1288537591' post='2035837'] Thanks!
optrexnz Posted November 1, 2010 Posted November 1, 2010 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;'
Recommended Posts
Archived
This topic is now archived and is closed to further replies.