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.

Alternative to hiding edit history?

3 posters

Go down

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
Beyonder
Beyonder
Forumember

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

http://fictionalomniverse.forumotion.com/

Back to top Go down

Solved Re: Alternative to hiding edit history?

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

skouliki
skouliki
Manager
Manager

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

http://iconskouliki.forumgreek.com

Back to top Go down

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
Razor12345
Razor12345
Support Moderator
Support Moderator

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

skouliki, Ape, TonnyKamper and Beyonder like this post

Back to top Go down

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!!
Beyonder
Beyonder
Forumember

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

http://fictionalomniverse.forumotion.com/

Back to top Go down

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.
skouliki
skouliki
Manager
Manager

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

http://iconskouliki.forumgreek.com

Back to top Go down

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!
Beyonder
Beyonder
Forumember

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

http://fictionalomniverse.forumotion.com/

skouliki likes this post

Back to top Go down

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
skouliki
skouliki
Manager
Manager

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

http://iconskouliki.forumgreek.com

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum