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
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?
(2014-09-20, 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.
^ 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
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>
^ that is fine. and the plugin should be working (if it is activated)
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?
^ 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
Is there a way to move it so that its above the other categories, or will it always be at the bottom?
^ 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
(2016-06-05, 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.
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