MyBB Community Forums

Full Version: Editing $activebit
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Is there a way to edit the function of {$activebit} so that when on a thread page, it says "Current Thread" instead of the actual thread's name? I'm trying to put the navigation area in a certain section of my layout, and when a thread's name is long, it breaks the layout because of the length. So instead of having like "PokeBeach.com Forums / PokeBeach / News Capsules / New Pokemon Revealed in September Issue of CoroCoro that is Really Super Deedooper Cool", I want the Navigation to say "PokeBeach.com Forums / PokeBeach / News Capsules / Current Thread" instead. Any possible way to do this?

Thank you in advance! Smile
Open showthread.php
Find
// Build the navigation.
build_forum_breadcrumb($fid);
add_breadcrumb($thread['subject'], get_thread_link($thread['tid']));

Change into
// Build the navigation.
build_forum_breadcrumb($fid);
add_breadcrumb("Current Thread", get_thread_link($thread['tid']));