The forum of the forums

Would you like to react to this message? Create an account in a few clicks or log in to continue.
The forum of the forums
3 posters

    Alternative to hiding edit history?

    Beyonder
    Beyonder
    Forumember


    Male Posts : 726
    Reputation : 29
    Language : English
    Location : Beyond Realm

    Solved Alternative to hiding edit history?

    Post by Beyonder March 9th 2023, 12:29 am

    Hello! I am just wondering if there is any alternate scripting of hiding edit history or if there is a way to disable it? I know there is this code Hide the sentence "Last edited by..." on specific or all messages but the small flaw I noticed is that it still shows a post was edited when someone quickly refreshes the page.

    Any help with this will be amazing!


    Last edited by Beyonder on March 9th 2023, 11:58 am; edited 1 time in total
    skouliki
    skouliki
    Manager
    Manager


    Female Posts : 15391
    Reputation : 1709
    Language : English,Greek
    Location : Greece

    Solved Re: Alternative to hiding edit history?

    Post by skouliki March 9th 2023, 8:42 am


    Razor12345
    Razor12345
    Support Moderator
    Support Moderator


    Male Posts : 1584
    Reputation : 268
    Language : Ukr, Rus, Eng
    Location : Ukraine

    Solved Re: Alternative to hiding edit history?

    Post by Razor12345 March 9th 2023, 10:05 am

    Good afternoon!

    If you need to hide this function at all, why not remove it from the template viewtopic_body
    Find and remove:

    Code:
    <span class="gensmall">{postrow.displayed.EDITED_MESSAGE}</span>

    If you remove it completely from the template, it won't even load on your forum.

    If hiding via scripts, the code needs time to load and process the page - so it may appear for a fraction of a second.



    Alternative to hiding edit history? Screen51

    skouliki, Ape, TonnyKamper and Beyonder like this post

    Beyonder
    Beyonder
    Forumember


    Male Posts : 726
    Reputation : 29
    Language : English
    Location : Beyond Realm

    Solved Re: Alternative to hiding edit history?

    Post by Beyonder March 9th 2023, 11:02 am

    Razor12345 wrote:Good afternoon!

    If you need to hide this function at all, why not remove it from the template viewtopic_body
    Find and remove:

    Code:
    <span class="gensmall">{postrow.displayed.EDITED_MESSAGE}</span>

    If you remove it completely from the template, it won't even load on your forum.

    If hiding via scripts, the code needs time to load and process the page - so it may appear for a fraction of a second.

    Thank you!!
    skouliki
    skouliki
    Manager
    Manager


    Female Posts : 15391
    Reputation : 1709
    Language : English,Greek
    Location : Greece

    Solved Re: Alternative to hiding edit history?

    Post by skouliki March 9th 2023, 11:12 am

    When your request is complete, please mark it as Solved.

    Beyonder
    Beyonder
    Forumember


    Male Posts : 726
    Reputation : 29
    Language : English
    Location : Beyond Realm

    Solved Re: Alternative to hiding edit history?

    Post by Beyonder March 9th 2023, 11:58 am

    skouliki wrote: When your request is complete, please mark it as Solved.

    Done!

    skouliki likes this post

    skouliki
    skouliki
    Manager
    Manager


    Female Posts : 15391
    Reputation : 1709
    Language : English,Greek
    Location : Greece

    Solved Re: Alternative to hiding edit history?

    Post by skouliki March 9th 2023, 12:43 pm

    Problem solved & topic archived.
    Please read our forum rules: ESF General Rules


      Current date/time is November 14th 2024, 9:41 pm