Login  |  Register
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome, Guest. Please login or register.
Did you miss your activation email?

August 19, 2022, 05:22:11 AM

Login with username, password and session length
Members
  • Total Members: 3843
  • Latest: Tricky
Stats
  • Total Posts: 193479
  • Total Topics: 21088
  • Online today: 52
  • Online ever: 1035
  • (November 26, 2020, 04:45:12 AM)
Users Online
Users: 1
Guests: 53
Total: 54

Author Topic: Users online  (Read 21532 times)

0 Members and 1 Guest are viewing this topic.

haktanir

  • Guest
Users online
« on: February 21, 2006, 02:29:49 AM »
Could someone pls tell me the code for showing users online, without showing the whole stats box?

feline

  • Guest
Re: Users online
« Reply #1 on: February 21, 2006, 02:47:55 AM »
create a php block and use ssi function
ssi_whosOnline()

Fel

haktanir

  • Guest
Re: Users online
« Reply #2 on: February 21, 2006, 02:57:12 AM »
I've been trying that but just get an empty box.

I chhose PHP box and enter exactly what u said.

crip

  • Guest
Re: Users online
« Reply #3 on: February 21, 2006, 03:12:20 AM »
try it like this in php box     ssi_whosOnline();

haktanir

  • Guest
Re: Users online
« Reply #4 on: February 21, 2006, 03:17:42 AM »
yes thank you that worked!  :)

feline

  • Guest
Re: Users online
« Reply #5 on: February 21, 2006, 03:21:25 AM »
spend crip many, many ";" for all I forgott  :2funny:

haktanir

  • Guest
Re: Users online
« Reply #6 on: February 21, 2006, 03:25:03 AM »
lol

by the way is there a way to make the font smaller within this box?

crip

  • Guest
Re: Users online
« Reply #7 on: February 21, 2006, 03:36:30 AM »
lol

by the way is there a way to make the font smaller within this box?

not sure, i think it goes along with whatever your Theme font size is..?

haktanir

  • Guest
Re: Users online
« Reply #8 on: February 21, 2006, 03:44:45 AM »
yup it goes with standard font size
I was hoping og having the names smaller like in the default stats box

feline

  • Guest
Re: Users online
« Reply #9 on: February 21, 2006, 03:49:29 AM »
try this in your box:
Code: [Select]
echo '<span class="smalltext">';
ssi_whosOnline();
echo '</span>';

Fel