Sub Menu
Links Menu
Online Users

In total there are 319 users online :: 3 registered, 0 hidden and 316 guests

Most users ever online was 1091 on Wed Aug 16, 2023 5:27 pm

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

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 12: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
Likes: 0 post
Liked in: 0 post
Joined: Wed Jul 04, 2007 10:30 am
Cash on hand: 0.00

Re: Active user block editing to show only total?

PostAuthor: Helter » Sat Feb 27, 2010 8: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
Always use Protection
Image


Please do not PM for support
User avatar
Helter
Administrator
Administrator
 
Posts: 4167
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Sat Mar 11, 2006 3:46 pm
Cash on hand: 172.60
Location: Seattle Wa
IntegraMOD version: IM 3

Re: Active user block editing to show only total?

PostAuthor: viragotech » Sat Feb 27, 2010 9: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
Likes: 0 post
Liked in: 0 post
Joined: Wed Jul 04, 2007 10:30 am
Cash on hand: 0.00

Re: Active user block editing to show only total?

PostAuthor: MWE_001 » Sat Feb 27, 2010 8: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
Sr Integra Member
Sr Integra Member
 
Posts: 1265
Likes: 0 post
Liked in: 0 post
Images: 12
Joined: Fri Apr 21, 2006 6:59 pm
Cash on hand: 0.00
Location: Illinois


Return to IntegraMOD 140

Who is online

Registered users: Bing [Bot], Google [Bot], Majestic-12 [Bot]

cron