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 - kinggg - 11-02-2015

I am trying to replace

$plugins->add_hook("index_end", "recentthread_list_threads");

with

$plugins->add_hook("index_start", "recentthread_list_threads");

but nothing happens.

Any idea?

Thanks.


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

The index template is not evaluated until just before index_end. Why would you need to hook to index_start?


RE: Recent Threads On Index - kinggg - 11-02-2015

I want to move recent posts before the forum.
I think that I must play with the lines 198 and 199


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

You don't need to change the hook. You can move {$recentthreadtable} to wherever you want it to appear on the index page. It will be on your index template.


RE: Recent Threads On Index - SvePu - 11-02-2015

You have to move the entry "{$recentthreadtable}" in theme template index above the entry "{$forums}".


RE: Recent Threads On Index - kinggg - 11-03-2015

Thanks


RE: Recent Threads On Index - expat - 11-06-2015

there is a tiny problem with this: it shows the posts that are soft deleted or unapproved?

how can i prevent this? even admins dont need this unless its flagged for the admins


RE: Recent Threads On Index - Swift - 11-13-2015

How can i have this on the side? Can someone be very helpful and explain.

Live preview of what i want https://realityforum.net/


RE: Recent Threads On Index - belgrade - 12-03-2015

(06-17-2015, 07:15 PM)dragonexpert Wrote:
(06-17-2015, 07:05 PM)vidme Wrote: hmm, still doesn't work, even tried editing portal template still nothing.

Make sure in your portal template {$latestthreads} is there.  If it still is, PM me an admin account and I will look into the issue for you.

Hi there,

Can I ask about the same issue, its not showing in my portal either, and {$latestthreads} is there.

Also is there anyway to have this as the only information available in Portal?

Thanks


RE: Recent Threads On Index - damian0507 - 01-03-2016

Hello.
I would like to fetch the prefixes of the subjects if he were \

Could someone help?

{$thread[\'prefix\']}
Displays only numbers