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 - jesuite - 06-05-2016

Guests cannot see the threads listed in the Recent Threads on Index plugin, even though all of the appropriate permissions are set. How can I fix this?


RE: Recent Threads On Index - thesoccerpitch - 06-23-2016

(09-20-2014, 06:57 PM)dragonexpert Wrote: This plugin adds the most recent threads to your index page.

Compatibility: 1.8.1 or higher
Latest Version: 8.0
Features:
- Uses the forum permission system
- Ajax refreshing every 30 seconds
- Ajax refreshes disabled after 15 minutes.
- Options for displaying avatars
- Options to exclude certain forums from having threads show
- Easily adjust how many threads you want to show
- Thread title links to the newest post you haven't read
- Username styles are maintained
- Reply count is clickable to bring up the list of who posted
- Variables for relative time, date, and standard time of last post
- Thread titles can be shortened along with an option of breaking at the word or character level.
- Option to select which groups can't use this.

Installation:
1) Upload recenthread.php to your inc/plugins folder.
2) Install and Activate in the Admin CP
3) Go to your index template and verify {$recentthread_headerinclude} and {$recentthreadtable} are on the template once each.
4) Customize settings to your liking.

Download: http://community.mybb.com/mods.php?action=view&pid=191

As someone not familiar with this coding, where within the code would I be able to make sure #3 above is actually present, and if its not, where does it go?  Not sure I'm even looking at the right file.



RE: Recent Threads On Index - .m. - 06-23-2016

^ look at below location
forum admin panel >> Templates & Style >> Templates >> [your theme templates] >>
Index Page Templates >> index

{$recentthread_headerinclude} can be above </head>
{$recentthreadtable} can be above or below {$forums}

see also => MyBB Templates System


RE: Recent Threads On Index - thesoccerpitch - 06-23-2016

This is what I'm seeing:

<html>
<head>
<title>{$mybb->settings['bbname']}</title>
{$headerinclude}{$recentthread_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}
{$forums}<div id="recentthreads">{$recentthreadtable}</div>
{$boardstats}

<dl class="forum_legend smalltext">
<dt><span class="forum_status forum_on" title="{$lang->new_posts}"></span></dt>
<dd>{$lang->new_posts}</dd>

<dt><span class="forum_status forum_off" title="{$lang->no_new_posts}"></span></dt>
<dd>{$lang->no_new_posts}</dd>

<dt><span class="forum_status forum_offlock" title="{$lang->forum_locked}"></span></dt>
<dd>{$lang->forum_locked}</dd>

<dt><span class="forum_status forum_offlink" title="{$lang->forum_redirect}"></span></dt>
<dd>{$lang->forum_redirect}</dd>
</dl>
<br class="clear" />
{$footer}
</body>
</html>


RE: Recent Threads On Index - .m. - 06-23-2016

^ that is fine. and the plugin should be working (if it is activated)


RE: Recent Threads On Index - thesoccerpitch - 06-23-2016

I found it, but its at the bottom of all of the other categories. I had thought it would be on the side of all of the categories - how would I move it so that it lists the new threads in a completely different sidebar?


RE: Recent Threads On Index - .m. - 06-23-2016

^ in general, it doesn't fit in a sidebar (this plugin's purpose is different)
instead of this plugin, you can try using Top Stats plugin


RE: Recent Threads On Index - thesoccerpitch - 06-23-2016

Is there a way to move it so that its above the other categories, or will it always be at the bottom?


RE: Recent Threads On Index - .m. - 06-23-2016

^ of course, it can be moved to top.
change {$forums}<div id="recentthreads">{$recentthreadtable}</div>
to <div id="recentthreads">{$recentthreadtable}</div>{$forums}
and save the template


RE: Recent Threads On Index - jesuite - 06-27-2016

(06-05-2016, 08:37 PM)jesuite Wrote: Guests cannot see the threads listed in the Recent Threads on Index plugin, even though all of the appropriate permissions are set. How can I fix this?

Fixed with a fresh install of the plugin. Thanks.