[For 1.8] How can i Create Horizontal Newest User Panel ?
Hi,  I used https://community.mybb.com/mods.php?action=view&pid=269

My Newest Users Panel under boardstats >>>> https://imgur.com/X4LMorO

Question : How can i change this code to Horizontal Newest Users without Data & avatar ???

            <tr><td class="trow1">
	    {$tpl['profilelink']}<br />{$lang->topStats_NewestUsersJoin}: {$tpl['date']}

Like this >>>> https://imgur.com/TqQVlVk

I'm waiting for response Smile
Want to Support Me? +Rep Me
 <td class="tcat"><span class="smalltext"><strong>{$lang->whos_online}</strong> [<a href="online.php">{$lang->complete_list}</a>]</span></td>
 <td class="trow1"><span class="smalltext">{$lang->online_note}<br />{$onlinemembers}</span></td>

use default MyBB code?

Other than that

 <td class="trow1">
 {$tpl['avatar']} <-- User avatar
 {$tpl['profilelink']} <-- user link
 <br />{$lang->topStats_NewestUsersJoin}: {$tpl['date']} <-- default language for "Joined:" and the join date

use the one below if you only want to display the user without avatar and join date.

 <td class="trow1">


[Image: 6bUWgmm.png]

This is how my sidebar forum stats look.

and this is the
code piece i use.
Top Stats plugin is designed for a table list, so you can't display users string together separated by comma by default.
But you can feel free to edit the templates of the plugin to fit your own needs.
If you are fine with a string of users without comma, then you have to remove the table structure and remove <table> + <tr> + <td>

Instead of comma, you can achieve a virtual separation of users with padding to the left and right, e.g.:
Template: "topStats_NewestUsersRow"
<span style="padding: 0 10px">{$tpl['profilelink']}</span>

This needs a change in
Template: "topStats_NewestUsers"
to get rid of the <table>...

New Forum / MyBB 1.8.26 + innovative full-responsive Theme

Forum Jump:

Users browsing this thread: 1 Guest(s)