TinyPortal

Development => Support => Topic started by: than on March 20, 2007, 01:49:10 PM

Title: Hide online user names to guests.
Post by: than on March 20, 2007, 01:49:10 PM
Hi,

I recently install the mod Hide Who Is On line, but this only work in board index.

How can y modify the TPortalBlocks.template, to hide names of on line users to guests?

Thanks in advance.
Title: Re: Hide online user names to guests.
Post by: G6Cad on March 20, 2007, 04:02:58 PM
As this have nothing to do with TP, you have to seek help from where you got the mod from.
Title: Re: Hide online user names to guests.
Post by: than on March 20, 2007, 04:07:16 PM
Mi question is: How to hide member names from the TP STATS BLOCK TO GUESTS?

I only mentioned the mod as a reference, i don't need to modify this.

Thanks in advance.
Title: Re: Hide online user names to guests.
Post by: G6Cad on March 21, 2007, 08:38:54 AM
And again we dont support other mods on this site, only TP.
So if you want to have the same functions in the users online list from the MOD inside TP, you have to ask the mod author to help you with it.
He/She knows the code and probably also the answer you need.
Title: Re: Hide online user names to guests.
Post by: than on March 21, 2007, 12:17:36 PM
Hi, please see the pictures.

Regards.
Title: Re: Hide online user names to guests.
Post by: than on March 23, 2007, 11:17:57 AM
I found Howto make it:

Search this code in TportalBlocks.template.php
<div style="width: 100%; ' , $online['num_users']>14 ? 'height: 23ex;overflow: auto;' : '' ,'">';

Add after:
if ($context['user']['is_logged'])

Regards.