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

Recent

Welcome to TinyPortal. Please login or sign up.

March 29, 2024, 06:16:44 AM

Login with username, password and session length
Members
Stats
  • Total Posts: 195,106
  • Total Topics: 21,213
  • Online today: 358
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online

Stats Block

Started by ontap, September 04, 2005, 04:42:44 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ontap


i know theres allready a statsbox for tinyportal, but it dosent show Categories Or Total Boards,

so heres another ssi code you could add for a block

ssi_boardStats();


Racenut

This is something we can add or Bloc will have to add?

bloc

You can simply use it in a php block.

Racenut


Racenut


borgBOB

Can you link that to the /index.php?action=stats like the other SMF stats box?

bloc

i suppose just adding the link in the title for the block will do it.

borgBOB


scotte44

I like that, are there any other simple ssi calls we can put into a php block?

bloc

Lots really...some of them:

ssi_menubar();
ssi_topPoster(xx);  ...where xx is number of posters
ssi_topBoards(xx);  ....same here
ssi_topTopicsReplies();
ssi_topTopicsViews();
ssi_topPoll();
ssi_todaysBirthdays();
ssi_todaysHolidays();
ssi_todaysEvents();

There are more..but these are the ones not covered by TP functions.