2014-02-20, 09:10 PM
2014-02-20, 09:13 PM
(2014-02-20, 09:10 PM)Tempest Wrote: [ -> ]How can I make the recent topics plugin available on all pages? When I move it to the header it doesn't display any recent threads.
You would have to edit the core of the plugin, I think the hooks it uses are only coded to work(or are in) the index.php file. You'd have to check though. I'm not too advanced in this area, however I think a few edits would allow it to work.
2014-02-20, 09:37 PM
Open recenttopicsindex.php (file plugin), and search (line: 18):
$plugins->add_hook("index_end", "recenttopicsindex_show");
and change to:$plugins->add_hook("global_start", "recenttopicsindex_show");
2014-02-25, 08:12 PM
For some reason I am not finding that first line anywhere in the file? Would you mind taking a screenshot of it for me? I have been looking for it but I just do not see that line anywhere.
Was googling and I think I may have titled this wrong. I meant the recent posts. I didn't realize there were 2 plugins like this.
- http://mods.mybb.com/view/recent-posts-forum-index This is the one I have uploaded. I am so sorry.
Was googling and I think I may have titled this wrong. I meant the recent posts. I didn't realize there were 2 plugins like this.
- http://mods.mybb.com/view/recent-posts-forum-index This is the one I have uploaded. I am so sorry.
2014-02-25, 10:22 PM
Open recentpostsindex.php (file plugin), and search (line: 13):
In template index - remove: {$recentposts}
... and add in template or plugin (where you want to display) {$recentposts}.
$plugins->add_hook("index_start", "recentposts_box");
and change to $plugins->add_hook("global_start", "recentposts_box");
In template index - remove: {$recentposts}
... and add in template or plugin (where you want to display) {$recentposts}.
2014-02-28, 04:13 AM
Thank you for your help!
2014-05-24, 03:07 PM
(2014-05-24, 01:17 AM)Leefish Wrote: [ -> ]hkkp - the forum link is already there - the showthread link is on the last post. Perhaps try this one from Cedric? It has templates, so it is easier.
http://mods.mybb.com/view/mylatestthreads
not show on index for me