MyBB Community Forums

Full Version: Recent topics on Header or Footer
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
im using the Recent Topics on Index Page by vbgamer45...

is it possible to place it in the header or footer so that it'll show while inside the threads & topics? i dont want to use a sidebar for that...
open the plugin file (./inc/plugins/recenttopicsindex.php) in a code editor (eg. notepad++) and around line 18 find code like below
$plugins->add_hook("index_end", "recenttopicsindex_show");

replace above with :
// $plugins->add_hook("index_end", "recenttopicsindex_show");
$plugins->add_hook("global_start", "recenttopicsindex_show");
save the file and use it

navigate to index template of the active theme, find & remove {$recenttopics} and save the template

navigate to header template of the theme (or header_welcomeblock_member template or footer template)
add {$recenttopics} at required location and save the template
thanks a heap man! that's exactly what i wanted to do!

cheers! Smile
Is it also possibole to show it in a slideshow, and for example 5 topics?