MyBB Community Forums

Full Version: Disable "click and hold to edit"
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
from where i disable this function???? Angry
It would be a Javascript file. Find it and then just delete it.
It is indeed surprising that the most noticeable feature cannot be disabled via ACP
Option 1:
(This will disable all Ajax-Related features across the board)
Admin CP>Configuration>Server and Optimization Options
Disable the "Enable XMLHttp request features" option


Option 2:
(Use this if you want to disable only the Click and hold to edit feature in the thread list)
Admin CP>Templates>Forum Display Templates>forumdisplay_thread
Find:
            <span>{$prefix} {$gotounread}{$thread['threadprefix']}<a href="{$thread['threadlink']}" class="{$inline_edit_class} {$new_class}" id="tid_{$inline_edit_tid}">{$thread['subject']}</a>{$thread['multipage']}</span>

Remove {$inline_edit_class} from the above to make it like this:
            <span>{$prefix} {$gotounread}{$thread['threadprefix']}<a href="{$thread['threadlink']}" class="{$new_class}" id="tid_{$inline_edit_tid}">{$thread['subject']}</a>{$thread['multipage']}</span>
(2010-09-29, 05:28 AM)- G33K - Wrote: [ -> ]Option 1:
(This will disable all Ajax-Related features across the board)
Admin CP>Configuration>Server and Optimization Options
Disable the "Enable XMLHttp request features" option


Option 2:
(Use this if you want to disable only the Click and hold to edit feature in the thread list)
Admin CP>Templates>Forum Display Templates>forumdisplay_thread
Find:
            <span>{$prefix} {$gotounread}{$thread['threadprefix']}<a href="{$thread['threadlink']}" class="{$inline_edit_class} {$new_class}" id="tid_{$inline_edit_tid}">{$thread['subject']}</a>{$thread['multipage']}</span>

Remove {$inline_edit_class} from the above to make it like this:
            <span>{$prefix} {$gotounread}{$thread['threadprefix']}<a href="{$thread['threadlink']}" class="{$new_class}" id="tid_{$inline_edit_tid}">{$thread['subject']}</a>{$thread['multipage']}</span>

thaabks :* Heart
(2010-09-29, 04:16 AM)dikidera Wrote: [ -> ]It is indeed surprising that the most noticeable feature cannot be disabled via ACP

Most noticeable? How many people click and hold a link? Honestly I think this is one of the hidden gems of MyBB(or it was when I got here at least).
Only mods/admins can edit all threads title.