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,963
  • Latest: BiZaJe
Stats
  • Total Posts: 195,917
  • Total Topics: 21,308
  • Online today: 790
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online

Users online

Started by haktanir, February 21, 2006, 09:29:49 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

haktanir

Excellent! Thank you very much.  :)

RoarinRow

Quote from: feline on February 21, 2006, 10:49:29 AM
try this in your box:

echo '<span class="smalltext">';
ssi_whosOnline();
echo '</span>';


Fel

I really like this code Fel.  How do you make it so that you can click on the first line that tells you the number of Guests and Users, that it brings you to the '?action=who' screen.  That would save me a couple of clicks.   ;)


SMF 2.0 RC3
TP 1.0 beta 5-1
Wordpress 3.0

RoarinRow

Quote from: RoarinRow on May 20, 2006, 04:20:01 PM
Quote from: feline on February 21, 2006, 10:49:29 AM
try this in your box:

echo '<span class="smalltext">';
ssi_whosOnline();
echo '</span>';


Fel

I really like this code Fel.  How do you make it so that you can click on the first line that tells you the number of Guests and Users, that it brings you to the '?action=who' screen.  That would save me a couple of clicks.   ;)



Bump.  Anyone?   :uglystupid2:

SMF 2.0 RC3
TP 1.0 beta 5-1
Wordpress 3.0

serhat


Nokonium

In the next release of TP it will be there in the Stats block (I hope) as it is on here

The specific code line you want is

<a href="'.$scripturl.'?action=who"><b>'.$txt[158].'</b></a>

RoarinRow

Quote from: nokonium on June 20, 2006, 07:16:10 AM
In the next release of TP it will be there in the Stats block (I hope) as it is on here

The specific code line you want is

<a href="'.$scripturl.'?action=who"><b>'.$txt[158].'</b></a>

How would you combine the two with what you have and

ssi_whosOnline();

SMF 2.0 RC3
TP 1.0 beta 5-1
Wordpress 3.0

akulion

like this...



echo '<a href="'.$scripturl.'?action=who"><b>'.$txt[158].'</b></a><br>
<span class="smalltext">';
ssi_whosOnline();
echo '</span>';


RoarinRow

Quote from: akulion on August 30, 2006, 06:22:38 PM
like this...



echo '<a href="'.$scripturl.'?action=who"><b>'.$txt[158].'</b></a><br>
<span class="smalltext">';
ssi_whosOnline();
echo '</span>';



Awesome!! thank you!   :up:

SMF 2.0 RC3
TP 1.0 beta 5-1
Wordpress 3.0

akulion


rebelrose

Quote from: akulion on August 30, 2006, 06:22:38 PM
like this...



echo '<a href="'.$scripturl.'?action=who"><b>'.$txt[158].'</b></a><br>
<span class="smalltext">';
ssi_whosOnline();
echo '</span>';



Could this be done using the icon as well, how would that be coded?

This website is proudly hosted on Crocweb Cloud Website Hosting.