Page 1 of 1

Active user block editing to show only total?

PostPosted: Sat Feb 27, 2010 12:03 am
Author: viragotech
Active user block editing to show only total?

What Id like to do is edit the active users block so its only show how many folks visited in the last .... hours. [mine is set to 36] But I don't want it to show a list of names, in either a list or scroll. I just want it to say how many but show no names.

Been playing but don't know code enough to know what parts to remove.
Not as simple as hacking html.

[img]http://viragotech.com/activeusers.jpg[/img]

http://viragotech.com/blocks_imp_users_visited.txt

Re: Active user block editing to show only total?

PostPosted: Sat Feb 27, 2010 8:45 am
Author: Helter
go to acp/IMPortal/Portal Configuration.
uncheck "Show not visited"
You can also adjust the time there.

edit the block forum root/blocks/blocks_imp_users_visited.php

FIND
Code: Select all
$day_userlist = ( ( isset($forum_id) ) ? '' ], $day_users, $portal_config['md_hours_track_users']) ) . '<br><marquee>' . $day_userlist . '</marquee>';

REPLACE WITH
Code: Select all
$day_userlist = ( ( isset($forum_id) ) ? '' ], $day_users, $portal_config['md_hours_track_users']) );


go to acp/IMPortal/Delete Cache Files

Re: Active user block editing to show only total?

PostPosted: Sat Feb 27, 2010 9:46 am
Author: viragotech
Awesome, thank you very much. <img>

Some reason that little bit of info helps keep activity up.


Can't wait to dig my heels into IM3x when its ready for cummunity use.

Re: Active user block editing to show only total?

PostPosted: Sat Feb 27, 2010 8:07 pm
Author: MWE_001
"viragotech" wrote:
Can't wait to dig my heels into IM3x when its ready for cummunity use.


You won't be sorry either. The guys have put together a nice piece of software.