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

Recent

Welcome to TinyPortal. Please login or sign up.

May 22, 2024, 09:05:41 PM

Login with username, password and session length
Members
Stats
  • Total Posts: 195,197
  • Total Topics: 21,221
  • Online today: 226
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 0
  • Guests: 78
  • Total: 78

How to put Board Stats into different blocks

Started by RebelRose, September 16, 2006, 09:49:42 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

rebelrose

Is there a way to break down the Board Stats block into individual blocks showing the icons and the list as it shows on the TP Board Stats block?

One block showing members info with icon, and so on per block.



rebelrose

If you don't want to use the TP stats box you can make your own like this:

Php Box


echo '<a href="'.$scripturl.'?action=stats"><img src="'.$settings['actual_images_url'].'/icons/info.gif'.'"  /> <b>'.$txt[645].'</b></a><br>
<span class="smalltext">';
ssi_boardStats();
echo '</span>';


Techdomain

Thanks Rebel. or is that Rose... Either way, thanks :)

rebelrose

#5
your welcome, the real thanks goes to Thurnok, I used code he gave me for another block and changed it for this one.

If you don't want the image use this:


echo '
<span class="smalltext">';
ssi_boardStats();
echo '</span>';