News: When asking for support, it helps us and you, if you read the Posting Guidelines

Login  |  Register
* * *
TinyPortal on Twitter
Welcome, Guest. Please login or register.
Did you miss your activation email?
August 21, 2017, 11:55:12 AM

Login with username, password and session length

Recent

Members
Stats
  • Total Posts: 181382
  • Total Topics: 20345
  • Online Today: 83
  • Online Ever: 383
  • (January 02, 2015, 05:58:49 AM)
Users Online
Users: 2
Guests: 49
Total: 51

Skinz





Author Topic: Modifying display orientation in Stats block ?  (Read 1552 times)

0 Members and 1 Guest are viewing this topic.

Offline VladTepes

  • Jr. Member
  • **
  • Posts: 46
Modifying display orientation in Stats block ?
« on: April 03, 2017, 05:57:34 AM »
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

Online lurkalot

  • Administrator
  • *
  • Posts: 3645
    • Camera Craniums
Re: Modifying display orientation in Stats block ?
« Reply #1 on: April 03, 2017, 08:07:00 AM »
The stats block is designed to go in a side panel. Hence why it looks a bit strange.
Mick aka lurkalot.  Running TP1.2 and TP1.2R

Camera Craniums Running SMF 2.0.13 / Tinyportal 1.2
Guitarist Guild Running SMF 2.0.13 / Tinyportal 1.2R Beta
The Garden Machinery Forum Running SMF 2.0.13 / Tinyportal 1.2R Beta

Online illori

  • Administrator
  • *
  • Posts: 1771
Re: Modifying display orientation in Stats block ?
« Reply #2 on: April 03, 2017, 03:58:29 PM »
in TPsubs.template.php
Code: (find) [Select]
echo  $bullet2 , $user['hidden'] ? '<i>' . $user['link'] . '</i>' : $user['link'];
echo '<br />';

Code: [Select]
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.

Offline VladTepes

  • Jr. Member
  • **
  • Posts: 46
Re: Modifying display orientation in Stats block ?
« Reply #3 on: April 04, 2017, 06:03:50 AM »
Thanks I will give that a crack.