MyBB Community Forums

Full Version: add user block sidebar
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello!

I'm trying to insert a user block in the right sidebar of my forum

<html>
<head>
<title>{$mybb->settings['bbname']}</title>
{$headerinclude}
<script type="text/javascript">

	lang.no_new_posts = "{$lang->no_new_posts}";
	lang.click_mark_read = "{$lang->click_mark_read}";

</script>
</head>
<body>
{$header}
<div class="forum">
{$forums}
</div>
<div class="sidebar"><br/>
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
{$sidebar}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead">
<strong><i class="fa fa-registered"></i> Publicité</strong>
</td>
</tr>
<tr>
<td class="trow1">
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- Xenforo Bloc droit -->
<ins class="adsbygoogle"
     style="display:block"
     data-ad-client="ca-pub-0303223895323900"
     data-ad-slot="2603519760"
     data-ad-format="auto"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script><br/>
</td>
</tr>
</table><br/>
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead"><strong><i class="fa fa-pie-chart"></i> Statistiques du forum</strong></td>
</tr>
<tr>
<td class="trow1">
<span class="smalltext">
{$mybb->settings['bbname']} a {$stats['numusers']} membres<br />
Membre le plus récent est {$newestmember}<br />
Nombre total de discussions : {$stats['numthreads']}<br />
Nombre total de messages : {$stats['numposts']}<br />
Qui est en ligne : {$onlinemembers}<br />
Anniversaires : {$comma}{$bdayuser['profilelink']}{$age}
</span>
</td>
</tr>
</table>
<br />
</div>
{$boardstats}
<br class="clear" />
{$footer}
</body>
</html>


[attachment=39259]

https://www.scooter-chinois-4t.com/forum/

Thank you for your help

Nobody has any solution?
ive made something for a friend in past lokeed like this

[Image: mILoCRs.png]

i dont remeber quite well how ive made it but its simple html+css
also that block was only viewable by logged in members by using php template conditionals plugin