D&D Forums - MyBB Plugins & Themes
[Emerald] Adding a Recent Threads Bar - Printable Version

+- D&D Forums - MyBB Plugins & Themes (https://developement.design/forum)
+-- Forum: MyBB Ressources (https://developement.design/forum/forumdisplay.php?fid=5)
+--- Forum: Free MyBB Themes (https://developement.design/forum/forumdisplay.php?fid=7)
+---- Forum: Support (https://developement.design/forum/forumdisplay.php?fid=12)
+---- Thread: [Emerald] Adding a Recent Threads Bar (/showthread.php?tid=34)

Pages: 1 2


[Emerald] Adding a Recent Threads Bar - IllusionTM - 01-06-2018

Hello.

I'm writing this post because I've been attempting to place a recent threads bar on our forum ever since we've got this wonderful theme! If possible, could you please assist me on this matter? We are dying to find something responsive.


RE: [Emerald] Adding a Recent Threads Bar - AmazOuz - 01-10-2018

Hello !
You must use a plugin for this, look for : https://community.mybb.com/mods.php?action=view&pid=291


RE: [Emerald] Adding a Recent Threads Bar - IllusionTM - 01-10-2018

Alright. I downloaded and imported the one you listed above. It shows on the side of the announcement sidebox and the statistics. I would like them to be under the statistics. The only option that specific plugin gives you is to list the bar on the left or right of the forum. It doesn't allow you to list it underneath the statistics. Any ideas?


RE: [Emerald] Adding a Recent Threads Bar - AmazOuz - 01-11-2018

Hello,
Give me your index template Wink


RE: [Emerald] Adding a Recent Threads Bar - IllusionTM - 01-11-2018

Here's my index template.

Code:
<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}
{$dvz_shoutbox}
<div class="forum" style="float: left;">{$forums}{$boardstats}</div>
<div class="side" style="float: right; width: 22%; margin: auto;">


<table style="" class="tborder" border="0" cellpadding="{$theme['tablespace']}" cellspacing="{$theme['borderwidth']}">
<tbody><tr>
  <td style="font-weight: bold;" class="thead">
 <i class="fa fa-bullhorn"></i> Announcements
  </td>
</tr>

<tr>
  <td class="trow2" style="padding:11px">
     <a href="#">We've recently updated the forum theme, to match our community colors! It's fully custom, so we hope you enjoy it! Be sure to check out the HL2 forum section, and prepare for future server launching. Speak to Native Son, and/or Whoop about that specific server!</a>
  </td>
</tr>
</tbody></table>

<table style="margin-top: 10px; margin-bottom: 10px;" class="tborder" border="0" cellpadding="{$theme['tablespace']}" cellspacing="{$theme['borderwidth']}">

<tbody><tr>
  <td style="font-weight: bold;" class="thead">
 <i class="fa fa-bar-chart-o"></i> Statistics
  </td>
</tr>

<tr>
  <td style="padding: 12px;" class="trow2">
 <span style="float:left">Members :</span> <span style="float:right">{$stats['numusers']}</span>
  </td>
</tr>
 
<tr>
  <td style="padding: 12px;" class="trow2">
 <span style="float:left">Posts :</span> <span style="float:right">{$stats['numposts']} </span>
  </td>
</tr>
 
<tr>
  <td style="padding: 12px;" class="trow2">
 <span style="float:left">Threads :</span> <span style="float:right">{$stats['numthreads']}</span>
  </td>
</tr>
<tr style="">
  <td style="padding: 12px;" class="trow2">
 <span style="float:left">Newest Member :</span> <span style="float:right"><a href="#">{$newestmember}</a></span>
  </td>
</tr>
</tbody></table>
</div>
<br class="clear" />
{$footer}
</body>
</html>



RE: [Emerald] Adding a Recent Threads Bar - AmazOuz - 01-11-2018

Something is missing on the code for me to understand. Can you send me the link of your forums ?


RE: [Emerald] Adding a Recent Threads Bar - IllusionTM - 01-11-2018

Sure thing!

You can find our community forums here.


RE: [Emerald] Adding a Recent Threads Bar - AmazOuz - 01-11-2018

It's normal that i don't see anything, please activate the plugin (even if it is ugly, so i can see and give you the fix) then give me the new index template Wink


RE: [Emerald] Adding a Recent Threads Bar - IllusionTM - 01-11-2018

I've updated my forum to enable the plugin. Here's the index code, since it's been activated.

Code:
<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}
{$dvz_shoutbox}
<div class="forum" style="float: left;"><div style="float:{$left};width: 74%;">{$forums}</div>
    <div style="float:{$right};width:25%;">{$sidebar}</div>{$boardstats}</div>
<div class="side" style="float: right; width: 22%; margin: auto;">


<table style="" class="tborder" border="0" cellpadding="{$theme['tablespace']}" cellspacing="{$theme['borderwidth']}">
<tbody><tr>
  <td style="font-weight: bold;" class="thead">
 <i class="fa fa-bullhorn"></i> Announcements
  </td>
</tr>

<tr>
  <td class="trow2" style="padding:11px">
     <a href="#">We've recently updated the forum theme, to match our community colors! It's fully custom, so we hope you enjoy it! Be sure to check out the HL2 forum section, and prepare for future server launching. Speak to Native Son, and/or Whoop about that specific server!</a>
  </td>
</tr>
</tbody></table>

<table style="margin-top: 10px; margin-bottom: 10px;" class="tborder" border="0" cellpadding="{$theme['tablespace']}" cellspacing="{$theme['borderwidth']}">

<tbody><tr>
  <td style="font-weight: bold;" class="thead">
 <i class="fa fa-bar-chart-o"></i> Statistics
  </td>
</tr>

<tr>
  <td style="padding: 12px;" class="trow2">
 <span style="float:left">Members :</span> <span style="float:right">{$stats['numusers']}</span>
  </td>
</tr>
 
<tr>
  <td style="padding: 12px;" class="trow2">
 <span style="float:left">Posts :</span> <span style="float:right">{$stats['numposts']} </span>
  </td>
</tr>
 
<tr>
  <td style="padding: 12px;" class="trow2">
 <span style="float:left">Threads :</span> <span style="float:right">{$stats['numthreads']}</span>
  </td>
</tr>
<tr style="">
  <td style="padding: 12px;" class="trow2">
 <span style="float:left">Newest Member :</span> <span style="float:right"><a href="#">{$newestmember}</a></span>
  </td>
</tr>
</tbody></table>
</div>
<br class="clear" />
{$footer}
</body>
</html>



RE: [Emerald] Adding a Recent Threads Bar - AmazOuz - 01-11-2018

Code:
<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}
{$dvz_shoutbox}
<div class="forum" style="float: left;">{$forums}{$boardstats}</div>
<div class="side" style="float: right; width: 22%; margin: auto;">
<table style="" class="tborder" border="0" cellpadding="{$theme['tablespace']}" cellspacing="{$theme['borderwidth']}">
<tbody><tr>
<td style="font-weight: bold;" class="thead">
<i class="fa fa-bullhorn"></i> Announcements
</td>
</tr>

<tr>
<td class="trow2" style="padding:11px">
   <a href="#">We've recently updated the forum theme, to match our community colors! It's fully custom, so we hope you enjoy it! Be sure to check out the HL2 forum section, and prepare for future server launching. Speak to Native Son, and/or Whoop about that specific server!</a>
</td>
</tr>
</tbody></table>

<table style="margin-top: 10px; margin-bottom: 10px;" class="tborder" border="0" cellpadding="{$theme['tablespace']}" cellspacing="{$theme['borderwidth']}">

<tbody><tr>
<td style="font-weight: bold;" class="thead">
<i class="fa fa-bar-chart-o"></i> Statistics
</td>
</tr>

<tr>
<td style="padding: 12px;" class="trow2">
<span style="float:left">Members :</span> <span style="float:right">{$stats['numusers']}</span>
</td>
</tr>

<tr>
<td style="padding: 12px;" class="trow2">
<span style="float:left">Posts :</span> <span style="float:right">{$stats['numposts']} </span>
</td>
</tr>

<tr>
<td style="padding: 12px;" class="trow2">
<span style="float:left">Threads :</span> <span style="float:right">{$stats['numthreads']}</span>
</td>
</tr>
<tr style="">
<td style="padding: 12px;" class="trow2">
<span style="float:left">Newest Member :</span> <span style="float:right"><a href="#">{$newestmember}</a></span>
</td>
</tr>
</tbody></table>
<br>
{$sidebar}
</div>
<br class="clear" />
{$footer}
</body>
</html>

Try this Wink