TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,973
  • Latest: NonStop
Stats
  • Total Posts: 196,234
  • Total Topics: 21,353
  • Online today: 739
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 374
  • Total: 374

Hide online user names to guests.

Started by than, March 20, 2007, 01:49:10 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

than

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.

G6Cad

As this have nothing to do with TP, you have to seek help from where you got the mod from.

than

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.

G6Cad

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.

than

Hi, please see the pictures.

Regards.

than

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.

This website is proudly hosted on Crocweb Cloud Website Hosting.