Last Edited Message

Go down

Solved Last Edited Message

Post by LilaP on Mon Mar 10, 2014 1:34 pm

how can you get rid of the message that automatically shows after editing like in screen shot below?
is there somewhere I can fix it so it doesn't show?
thanks



this is the screen shot of what I mean below
avatar
LilaP
Forumember

Posts : 376
Reputation : 0
Language : English

http://thenawtypspden.canadian-forum.com/

Back to top Go down

Solved Re: Last Edited Message

Post by masesm on Wed Mar 12, 2014 2:03 am

Use this in your javascript. To access that, go to: ACP > Modules > JavaScript Code management > Create new.

Enter this code in the body>

Code:
jQuery(document).ready(function(){jQuery('.post .postbody').each(function(){if(jQuery(this).html().indexOf('<br>Last edited by')!=-1){jQuery(this).html(jQuery(this).html().replace(/<br>Last edited by /g,'<br><div style=display:none>Last edited by ').replace(/vez(es)/g,' vez(es)</div>'))}});});

Cheers  Hello 
avatar
masesm
Forumember

Male Posts : 74
Reputation : 7
Language : Java, C++, C#, Python, JavaScript, PHP, MySQL, AWS
Location : United States

http://sicktier.forumotion.com/

Back to top Go down

Solved Re: Last Edited Message

Post by LilaP on Tue Mar 18, 2014 9:28 am

tyvm for the code. hope it works for me.
have a good one
avatar
LilaP
Forumember

Posts : 376
Reputation : 0
Language : English

http://thenawtypspden.canadian-forum.com/

Back to top Go down

Solved Re: Last Edited Message

Post by masesm on Wed Mar 19, 2014 10:50 pm

If your problem was solved, please mark it solved.
avatar
masesm
Forumember

Male Posts : 74
Reputation : 7
Language : Java, C++, C#, Python, JavaScript, PHP, MySQL, AWS
Location : United States

http://sicktier.forumotion.com/

Back to top Go down

Solved Re: Last Edited Message

Post by Neptune- on Wed Mar 19, 2014 11:50 pm

Hello !

Another way to solve this regardless to the language of your forum (or the preferences on profile of your members)

Add to your CSS
Code:
.postbody {visibility:hidden; }
.postbody * { visibility:visible; }
avatar
Neptune-
Forumember

Male Posts : 229
Reputation : 38
Language : French (10), English (8), CSS (5), HTML (4), Javascript (4)
Location : France

https://www.galaxie-series.net/

Back to top Go down

Solved Re: Last Edited Message

Post by LilaP on Tue Mar 25, 2014 10:59 pm

this has been solved. thanks to you both for your help.
avatar
LilaP
Forumember

Posts : 376
Reputation : 0
Language : English

http://thenawtypspden.canadian-forum.com/

Back to top Go down

Solved Re: Last Edited Message

Post by Ange Tuteur on Tue Mar 25, 2014 11:20 pm

Topic solved and archived
avatar
Ange Tuteur
Forumaster

Male Posts : 13201
Reputation : 2917
Language : EN10, FR5, JA5
Location : Macungie, PA

https://github.com/SethClydesdale

Back to top Go down

Back to top


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