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

Recent

Welcome to TinyPortal. Please login or sign up.

March 29, 2024, 05:12:04 AM

Login with username, password and session length
Members
Stats
  • Total Posts: 195,105
  • Total Topics: 21,213
  • Online today: 310
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 1
  • Guests: 285
  • Total: 286
  • lurkalot

Modifying display orientation in Stats block ?

Started by VladTepes, April 03, 2017, 12:57:34 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

VladTepes

I have this set as a bottom block on my forum board index.  Unfortunately there is a lot of wasted space with each component stacking the information vertically, (e.g. the online users) leaving a big empty space to the right.  The more users online, the sillier this becomes.

How would I change this please so that the data is displayed horizontally (as is the case, for example) with the standalone users online block ?

Thanks

lurkalot

The stats block is designed to go in a side panel. Hence why it looks a bit strange.

illori

in TPsubs.template.php
Code (find) Select
echo  $bullet2 , $user['hidden'] ? '<i>' . $user['link'] . '</i>' : $user['link'];
echo '<br />';


echo  $bullet2 , $user['hidden'] ? '<i>' . $user['link'] . '</i>' : $user['link'];
echo ', ';


there is no check on this for if only one user on the forum, so if one user there will be the , and a space. this may also appear at the end of the line as well.

VladTepes