MyBB Community Forums

Full Version: Recent Threads On Index [Updated 02-09-21]
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
1) I can add a handler for no threads. I didn't think about it when I made it.

2) All only shows up in edit settings because forumselect is the only way to get the list of forums. Generally someone who owns a forum will not want to ignore every forum so I didn't put a handler for that. I could probably add one, although unlikely it would get used.
Hello friend I'm a new MyBB user I'd love to use your plugin.  But when I install and active it  there is nothing to show on my index.Could you please help me with it? tks!
(2017-04-01, 03:19 AM)kiwiqing Wrote: [ -> ]Hello friend I'm a new MyBB user I'd love to use your plugin.  But when I install and active it  there is nothing to show on my index.Could you please help me with it? tks!

Please Be sure You checked this . If those are not there , Please include it .

Go to your ACP >THEMES > Templates > Your Theme > Index >  index template and verify {$recentthread_headerinclude} and {$recentthreadtable} are on the template once each.
(2017-04-01, 03:30 AM)EscortPay Wrote: [ -> ]
(2017-04-01, 03:19 AM)kiwiqing Wrote: [ -> ]Hello friend I'm a new MyBB user I'd love to use your plugin.  But when I install and active it  there is nothing to show on my index.Could you please help me with it? tks!

Please Be sure You checked this . If those are not there , Please include it .

Go to your ACP >THEMES > Templates > Your Theme > Index >  index template and verify {$recentthread_headerinclude} and {$recentthreadtable} are on the template once each.
Thanks But there still nothing.So sad.Confused
(2017-04-01, 04:11 AM)kiwiqing Wrote: [ -> ]
(2017-04-01, 03:30 AM)EscortPay Wrote: [ -> ]
(2017-04-01, 03:19 AM)kiwiqing Wrote: [ -> ]Hello friend I'm a new MyBB user I'd love to use your plugin.  But when I install and active it  there is nothing to show on my index.Could you please help me with it? tks!

Please Be sure You checked this . If those are not there , Please include it .

Go to your ACP >THEMES > Templates > Your Theme > Index >  index template and verify {$recentthread_headerinclude} and {$recentthreadtable} are on the template once each.
Thanks But there still nothing.So sad.Confused

May I have a access to your forum ? I mean the link
@dragonexpert - do you plan to release a new version soon? I use your github version, seems to be fine
Hi, I have actived the plugin, edited something on template but now I have 2 times scroll and recentthreads.. but in the template I have it only 1 time :/

On the browser, in the html I have:

<div class="scroll">
<div id="recentthreads">
<div class="scroll">
<div id="recentthreads">

<table border="0" cellspacing="1" cellpadding="6" class="tborder" style="clear: both;max-height:300px">
<thead>
    <tr>

...etc etc

Can you help me?

Thanks

------------

EDIT: I tried to reinstalled the plugin but nothing..
Somehow you ended up with div class=scroll and div class=recentthreads twice. You'll need to remove one of each of them.
I don't know why, but it just shows nothing.
Does anyone know why?

<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
  <tr>
    <td class="thead">
      <strong><i class="fa fa-comments"></i> Recent Posts</strong>
    </td>
  </tr>
  <tr>
    <td class="trow1">
      {$recentthreadtable}</td>
  </tr>
</table>

Screenshot:
(attachment)

Does anyone know, what I'm doing wrong?
the one from the Extend section have a little problem here:

foreach ($new_template as $title => $template)
{
 $my_template = array(
 'title' => $db->escape_string($title),
 'template' => $db->escape_string($template),
 'sid' => '$sid',
 'version' => '1800',
 'dateline' => TIME_NOW);
 $db->insert_query('templates', $my_template);
}

The sid variable can't be interpreted if inside a single quoted string.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42