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

Recent

Welcome to TinyPortal. Please login or sign up.

May 19, 2024, 03:26:21 AM

Login with username, password and session length
Members
  • Total Members: 3,886
  • Latest: Grendor
Stats
  • Total Posts: 195,189
  • Total Topics: 21,220
  • Online today: 100
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 0
  • Guests: 100
  • Total: 100

Who's online

Started by denaon, October 13, 2006, 01:47:52 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

denaon

Ok, I won't mind if this thread is merged, deleted, moved...whatever the admin and/or mods decide.... ;)
(I've searched all over Tinyportal and SMF-Community and I sincerely haven't found any clue how to solve this, however I've seen several threads with ppl having the same trouble)
I'm running SMF 1.0.8/ TP 0.95  :up:
I'm having problems with Who's online, it shows only my nick as viewing the site (I have just one user registered...so I cannot say I have hundrer of users) but I've asked some friends to enter my site and it has not changed....
I've added the statsbox (learned it from searching  :coolsmiley: ) but still nothing...
Is there anything I can do??  :'(

Ps: I apologise for not finding the solution myself by searching....I truly haven't found anything  :( :laugh:

*edit* I have the GoogleBot and spiders mod installed...I hope it'll work too!!

akulion

try this and tell me the results:

create a block on ur site (a PHP block) and put in it:

ssi_whosOnline();

and then activate the block

Thurnok

I just went to your site, and I see two user names online.

akulion

Problem solved!!!

see Thurnok can perform miracles! :D I knew it

denaon

Quote from: Thurnok on October 13, 2006, 01:56:32 AM
I just went to your site, and I see two user names online.
it's not who's online today (maybe that's the one you saw with two names...it's who's online (right now)

Quote from: akuliontry this and tell me the results:

create a block on ur site (a PHP block) and put in it:

ssi_whosOnline();

and then activate the block
Ok, I'm gonna try it now ;)

denaon

Done it...I'm the only one to appear....but i can't say if that's working or not

RoarinRow

This is the code I'm using.  It shows and icon as well.

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

SMF 2.0 RC3
TP 1.0 beta 5-1
Wordpress 3.0

denaon

Quote from: RoarinRow on October 13, 2006, 02:08:34 AM
This is the code I'm using.  It shows and icon as well.

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

thx a lot!!! but now....where must I add this?

Thurnok

#8
That's not who's online today, that's who's online in the past xx minutes as set in your admin control panel.

Which also show's who's online now.

denaon

#9
Quote from: Thurnok on October 13, 2006, 02:14:18 AM
That's not who's online today, that's who's online in the past xx minutes as set in your admin control panel.

Which also show's who's online now.
well, I'm sure you're right about it....however this doesn't show when there are multiple viewers...it's some kind of log of who's been online....isn't it?
I'm looking for having users, guests and bots who's online....I'm not sure I'm making myself clear  :-\

*edit* does that show when I have guests and bots online too?

*edit again* I've changed the language for you to have a better view of it....