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,972
  • Latest: Lineo
Stats
  • Total Posts: 196,091
  • Total Topics: 21,343
  • Online today: 862
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 429
  • Total: 429

Users Logged In Today on TP Stats

Started by weimi, June 23, 2008, 09:25:43 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

weimi

I use :
TinyPortal v1.0.5
SMF 1.1.5

I want to know how to post users logged in today on TP stats after usesr online? i don't know if TP teams let us to make this on stat?

Thank

Ken.

Take a look in the Block Codes Snippets boards, you should find what you need there.
" If everything seems under control, you're not going fast enough." - Mario Andretti
Yesterday When I was Young.

Xarcell

There are several versions, as Ken stated, please check the block code snippets board.

weimi

Thank to Help,i have to find all topics about users online today, that say you must modify ssi.php and TPortalBlocks.template.php or use phpbox code.

So  i already change my SSI.php and use phpbox code that work but i have a error on my forum admin (Forum Error Log).

and i want only  Users Logged In Today not users online cause on tp stat have already!


Ken.

Check on the SMF forums, there is a mod for "Users Online Today", it may give you what you need.
" If everything seems under control, you're not going fast enough." - Mario Andretti
Yesterday When I was Young.

weimi

i have already this mod user online today from smf, but that i want is Users Logged In Today on TP Stats!
For exemple on TP STATS :

STATS

Members
Total Members: 141
Latest: vickilove
Stats
Total Posts: 871
Total Topics: 149
Online Today: 13
Online Ever: 160
(May 09, 2008, 10:12:46 AM)
Users Online
Users: 0
Guests: 14
Total: 14
Users Logged In Today :
Kanita, vickin_0i, chester777


before i already have this but i have updated my tp that why i don't have it,cause tp stats don't show users logged in today automatically.

weimi


Smoky

link to your site?

Quote

before i already have this but i have updated my tp that why i don't have it,cause tp stats don't show users logged in today automatically.


im lost, you had this mod, but you do not have it now?

weimi

#8
ok before i have used this http://www.tinyportal.net/index.php?topic=2365.msg97902#msg97902 look at this topic but now i update tp  in TP v1.0.5 so TPortalBlocks.template.php is change, now name is TBlocks.template.php and the code inside not a same..

That why i want to know how can i do a change? i have already changed my SSI.php and use a code on phpblock, look like this topic code http://www.tinyportal.net/index.php?topic=2365.msg20286#msg20286 only change my SSI.php and use phpblock that is working but i have a error on my Forum Error Log.

i have this now

STATS

Members
Total Members: 141
Latest: vickilove
Stats
Total Posts: 871
Total Topics: 149
Online Today: 13
Online Ever: 160
(May 09, 2008, 10:12:46 AM)
Users Online
Users: 0
Guests: 14
Total: 14 


in phpblock Users Online Today
Users: 0   Guests: 14
Users Logged In Today :
Kanita, vickin_0i, chester777




How can i have only Users Logged In Today in Stats Box?? 
Users Logged In Today :
Kanita, vickin_0i, chester777       

G6Cad

To get it in a box, you must have the "engine" for the function.
Im not sure i have managd to follow your posts correctly as you seem to change the info in every post right now.

I suggest you start over with fresh files ( the ones you have edit allready ) and go from there again.
The block itself cannot show any ssi info thats not implemented in some way in your smf files. so you need to have the mod installed first and then call for the function inside a block.

This website is proudly hosted on Crocweb Cloud Website Hosting.