MyBB Community Forums
[For 1.8] Recent Threads On Index [Updated 02-12-19] - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Extensions (https://community.mybb.com/forum-201.html)
+--- Forum: Plugins (https://community.mybb.com/forum-73.html)
+---- Forum: Plugin Releases (https://community.mybb.com/forum-102.html)
+---- Thread: [For 1.8] Recent Threads On Index [Updated 02-12-19] (/thread-159857.html)

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


RE: Recent Threads On Index [Updated 03-11-17] - dragonexpert - 03-20-2017

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.


RE: Recent Threads On Index [Updated 03-11-17] - kiwiqing - 04-01-2017

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!


RE: Recent Threads On Index [Updated 03-11-17] - EscortPay - 04-01-2017

(04-01-2017, 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.



RE: Recent Threads On Index [Updated 03-11-17] - kiwiqing - 04-01-2017

(04-01-2017, 03:30 AM)EscortPay Wrote:
(04-01-2017, 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


RE: Recent Threads On Index [Updated 03-11-17] - EscortPay - 04-01-2017

(04-01-2017, 04:11 AM)kiwiqing Wrote:
(04-01-2017, 03:30 AM)EscortPay Wrote:
(04-01-2017, 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


RE: Recent Threads On Index [Updated 03-11-17] - Eldenroot - 04-01-2017

@dragonexpert - do you plan to release a new version soon? I use your github version, seems to be fine


RE: Recent Threads On Index [Updated 03-11-17] - niere8 - 04-05-2017

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..


RE: Recent Threads On Index [Updated 03-11-17] - dragonexpert - 04-05-2017

Somehow you ended up with div class=scroll and div class=recentthreads twice. You'll need to remove one of each of them.


RE: Recent Threads On Index [Updated 03-11-17] - Ishidres - 05-06-2017

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?


RE: Recent Threads On Index [Updated 03-11-17] - Mipher - 05-26-2017

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.