The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Last Edited Message

View previous topic View next topic Go down

Solved Last Edited Message

Post by LilaP on March 10th 2014, 6: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

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 March 12th 2014, 7: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

masesm
Forumember

Male Posts : 67
Reputation : 5
Language : English, Java, JavaScript, HTML, CSS.
Location : United States

http://sicktier.forumotion.com/

Back to top Go down

Solved Re: Last Edited Message

Post by LilaP on March 18th 2014, 2:28 pm

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

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 March 20th 2014, 3:50 am

If your problem was solved, please mark it solved.

masesm
Forumember

Male Posts : 67
Reputation : 5
Language : English, Java, JavaScript, HTML, CSS.
Location : United States

http://sicktier.forumotion.com/

Back to top Go down

Solved Re: Last Edited Message

Post by Neptune- on March 20th 2014, 4:50 am

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; }

Neptune-
Forumember

Male Posts : 187
Reputation : 21
Language : French (10), English (8), CSS (5), HTML (4), Javascript (1)
Location : France

http://www.planet-series.com/

Back to top Go down

Solved Re: Last Edited Message

Post by LilaP on March 26th 2014, 3:59 am

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

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 March 26th 2014, 4:20 am

Topic solved and archived

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2684
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

View previous topic View next topic Back to top


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