News: Welcome to the TinyPortal Support site.

Login  |  Register
* * *

Welcome !!!

Welcome, Guest. Please login or register.
Did you miss your activation email?
Please welcome dhall, our newest member.

 
 

TinyPortal on Twitter
Welcome, Guest. Please login or register.
Did you miss your activation email?
April 25, 2017, 11:56:06 PM

Login with username, password and session length

Recent

Members
  • Total Members: 3655
  • Latest: dhall
Stats
  • Total Posts: 180837
  • Total Topics: 20293
  • Online Today: 69
  • Online Ever: 383
  • (January 02, 2015, 05:58:49 AM)
Users Online
Users: 1
Guests: 70
Total: 71

Please read the Posting Guidelines


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

0 Members and 1 Guest are viewing this topic.

Offline VladTepes

  • Jr. Member
  • **
  • Posts: 40
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

Offline lurkalot

  • Administrator
  • *
  • Posts: 3421
    • 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: 1674
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: 40
Re: Modifying display orientation in Stats block ?
« Reply #3 on: April 04, 2017, 06:03:50 AM »
Thanks I will give that a crack.