TinyPortal

Development => Support => Topic started by: TtuEd on February 12, 2006, 08:24:46 PM

Title: Calendar and Users Online Today in TP stats block?
Post by: TtuEd on February 12, 2006, 08:24:46 PM
I have installed Users On-line Today Mod for SMF (it displays who have logged in during the day) and I would like to display this information in standard TP stats block (on frontpage).

I would also like display upcoming calendar events in standard TP stats block.

So, mu question is :) where can I change what is being displayed in TP stats block (in which file)?
Title: Re: Calendar and Users Online Today in TP stats block?
Post by: crip on February 12, 2006, 08:28:22 PM
For Cal. look at your ssi_examples.php..
OnLineUserToday mod I do not know, I really don't think that can be done?

Title: Re: Calendar and Users Online Today in TP stats block?
Post by: bloc on February 13, 2006, 11:26:47 AM
For changing the actual Statsblock, you need to look in TPortalBlocks.template..look for "stats" and insert your code there. I assume it will only be present in forum index page though - unless you have a ssi.php fucntion for it as well. Otherwise its info is only fetched when in the forum index.