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,966
  • Latest: safir45
Stats
  • Total Posts: 195,989
  • Total Topics: 21,322
  • Online today: 1,078
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 676
  • Total: 676

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.

scotte44

Thanks Bloc. Events and Birthdays are nice to have. How could I make the text smaller to match the rest of the portal?

bloc

Try something like this:

echo '<span class="smalltext">';

ssi_topPoster();

echo '</span>';

Skhilled

Bloc, will the birthday ssi not show if there is no b-day on a particular day? What I mean is will it say "today's birthdays...(blank)" or nothing at all...

scotte44

It says nothing at all for events and birthdays if there arent any. How can I make it say None if there arent any?

Skhilled

Thanks, scotte44. BTW, your suggestion would be a neat trick...

Puchu

I am messing with birthdays...  I'm not using the title just the frame...

echo '<span class="smalltext">';
echo "Today's Birthday(s)<br />";
ssi_todaysBirthdays();
echo '</span>';



That works well... but I would like to know if its possible to use if else...  perferrably if there are not any birthdays to show nothing at all,  or just to say None would work too but I still perfer the other...

SRaven

Is it possible to use ssi_boardStats(); in HTML somehow?

Thurnok

If you mean in a static HTML page, you just need to make sure you put in the php start and end tags around the ssi_boardStats() function since it is a php function.

If you mean in a TinyPortal HTML Block, then no.  It is php code.  You would need a php block.
Thurnok
The one, the only!

SRaven

heh no, I was trying to put it in the news part that only allows html and BBC tags...However it doesn't look like I'll be able to, but thanks :)

Chriso

TP should support, total download count, total files count

This website is proudly hosted on Crocweb Cloud Website Hosting.