Translate
Sub Menu
Links Menu
Online Users

In total there are 64 users online :: 1 registered, 0 hidden and 63 guests

Most users ever online was 372 on Thu May 09, 2019 3:50 am

Registered users: Majestic-12 [Bot] based on users active over the past 60 minutes

Last Online
In order to view the online list you have to be registered and logged in.



We are a free and open
community, all are welcome.

Click here to Register

Active user block editing to show only total?

Support for IntegraMOD 140

Moderator: Integra Moderator

Active user block editing to show only total?

PostAuthor: viragotech » Sat Feb 27, 2010 1:03 am

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
User avatar
viragotech
Sr Integra Member
Sr Integra Member
 
Posts: 292
Joined: Wed Jul 04, 2007 11:30 am

Re: Active user block editing to show only total?

PostAuthor: Helter » Sat Feb 27, 2010 9:45 am

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
Image
Please do not PM for support
User avatar
Helter
Administrator
Administrator
 
Posts: 4125
Joined: Sat Mar 11, 2006 4:46 pm
Location: Seattle Wa

Re: Active user block editing to show only total?

PostAuthor: viragotech » Sat Feb 27, 2010 10:46 am

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.
User avatar
viragotech
Sr Integra Member
Sr Integra Member
 
Posts: 292
Joined: Wed Jul 04, 2007 11:30 am

Re: Active user block editing to show only total?

PostAuthor: MWE_001 » Sat Feb 27, 2010 9:07 pm

"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.
"Don't gain the world and lose your soul, wisdom is better than silver and gold" -Bob Marley

If you build it, I can break it! ~ Whispered in the tone of the movie Field of Dreams.
User avatar
MWE_001
Administrator
Administrator
 
Posts: 1249
Images: 12
Joined: Fri Apr 21, 2006 7:59 pm
Location: Illinois


Return to IntegraMOD 140

Who is online

Registered users: Majestic-12 [Bot]

cron