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 - Eldenroot - 02-18-2015

(02-18-2015, 02:27 PM)dragonexpert Wrote: ACp->Styles & Templates->Templates->Global Templates->recentthread_headerinclude.

After the line that starts with var stopper=, add this code:

$(document).ready(function() { refresh_recent_threads();  });

Thanks! Amazing, it solved my problem!


RE: Recent Threads On Index - dragonexpert - 02-18-2015

Each time it calls the function it checks the newest x amount of threads. It doesn't cache any data. If two threads were posted you'd see that.

@Eldenroot: Thanks for the confirmation. I'll put the code in my next release. Language would be a key feature I want in the next update.

Edit: I updated the master branch on Github to have that fix.


RE: Recent Threads On Index - expat - 02-21-2015

why does the author link come out pre-styled and I cannot seem to restyle it?


RE: Recent Threads On Index - dragonexpert - 02-21-2015

If you want to do your own styling you will need to replace {$thread['author'] with this code:
<a href="{$mybb->settings['bburl']}/member.php?action=profile&uid={$thread['uid']}"><span style="whatever here">{$thread['userusername']}</span></a>



RE: Recent Threads On Index - expat - 02-22-2015

How can i make this global?

I tried to call it into the forumdisplay and it wont show?


RE: Recent Threads On Index - dragonexpert - 02-22-2015

It isn't meant to be global. It would take a lot of modification to be global.


RE: Recent Threads On Index - expat - 02-22-2015

How much modifications, I am game is you are LOL


RE: Recent Threads On Index - dragonexpert - 02-23-2015

Right now I'm closed for requests. I leave on vacation Thursday.


RE: Recent Threads On Index - tzameti13 - 04-12-2015

I am trying to show only Author and Last post. I have commented out

<!--
<td class="tcat" width="30" style="font-size: 9pt; text-align: center;"><strong>Forum</strong></td>
<td class="tcat" width="30" style="font-size: 9pt; text-align: center;"><strong>Posts</strong></td>
//-->

<!--
<td class="{$trow}">{$thread[\'forum\']}</td>
<td class="{$trow}"><a href="javascript:MyBB.whoPosted({$thread[\'tid\']});">{$thread[\'replies\']}</a></td>
//-->


But it shows the forum and posts. What should I do?


RE: Recent Threads On Index - AURA - 04-13-2015

Is there any way for, for example threads to be broken up depending on which category e.g The Games Category which has all the posts in that category and then The Discussion Category and all threads there? I wanted to make a dynamically tabbed table for the Recent Threads and make the user able to switch between the Games and Discussion tab? I've seen this on another site, but I am unsure if it was a request or possible on this plugin?