2015-04-30, 12:42 AM
2015-04-30, 02:39 AM
are you sure you want to remove all those options ! basically the code is from showthread template of the theme
MyBB 1.8.x default theme showthread template consists of code likebelow
exactly which theme you are using ?
MyBB 1.8.x default theme showthread template consists of code likebelow
<span class="smalltext"><strong><a href="javascript:;" id="thread_modes">{$lang->thread_modes}</a>{$threadnoteslink}</strong></span>
your theme might be having few extra codes in that span element. exactly which theme you are using ?
2015-04-30, 11:40 AM
Nope! I don't wanna remove them all, just some options.
I'm using Vienna.
I'm using Vienna.
2015-04-30, 01:00 PM
find required code after {$footer} in the showthread template and remove unwanted codes from code segment similar to below
<div id="thread_modes_popup" class="popup_menu" style="display: none;">
<div class="popup_item_container"><a href="showthread.php?mode=linear&tid={$tid}&pid={$pid}#pid{$pid}" class="popup_item">{$lang->linear}</a></div>
<div class="popup_item_container"><a href="showthread.php?mode=threaded&tid={$tid}&pid={$pid}#pid{$pid}" class="popup_item">{$lang->threaded}</a></div>
<div class="popup_item_container"><a href="/printthread.php?tid={$tid}" class="popup_item">{$lang->view_printable}</a></div>
<div class="popup_item_container"><a href="usercp2.php?action={$add_remove_subscription}subscription&tid={$tid}&my_post_key={$mybb->post_code}" class="popup_item">{$add_remove_subscription_text}</a></div>
<div class="popup_item_container"><a href="polls.php?action=newpoll&tid={$tid}" class="popup_item">{$lang->add_poll_to_thread}</a></div>
<div class="popup_item_container"><a href="sendthread.php?tid={$tid}" class="popup_item">Send thread to a friend</a></div>
</div>
2015-04-30, 01:29 PM
Oh my god. It was right there from the begging.
Thanks, works great!
Thanks, works great!