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.
The index template is not evaluated until just before index_end. Why would you need to hook to index_start?
I want to move recent posts before the forum.
I think that I must play with the lines 198 and 199
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.
You have to move the entry "{$recentthreadtable}" in theme template index above the entry "{$forums}".
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
How can i have this on the side? Can someone be very helpful and explain.
Live preview of what i want
https://realityforum.net/
(2015-06-17, 07:15 PM)dragonexpert Wrote: [ -> ] (2015-06-17, 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
Hello.
I would like to fetch the prefixes of the subjects if he were \
Could someone help?
{$thread[\'prefix\']}
Displays only numbers