Hiding "Last edited by" in Blogs

Go down

Solved Hiding "Last edited by" in Blogs

Post by CindaLove on July 15th 2018, 9:33 pm

I followed this tutorial for removing the last edited by sentenced. It works for the forum posts but doesn't work for the blogs. How do I remove this from blogs?

Example:
http://www.thesimmersgarden.com/t319-my-first-plant-sim#334


Last edited by CindaLove on July 17th 2018, 3:53 am; edited 2 times in total
avatar
CindaLove
Forumember

Female Posts : 46
Reputation : 3
Language : U.S. English
Location : U.S.A.

http://thesimmersgarden.com

Back to top Go down

Solved Re: Hiding "Last edited by" in Blogs

Post by pedxz on July 15th 2018, 9:45 pm

Hey @CindaLove,
You need repeat the second step (Hide edits only on specific messages) in this template:
viewcomments_body

pedxz
avatar
pedxz
Forumember

Male Posts : 146
Reputation : 30
Language : speaker daemonium & português
Location : Portugal

https://ajuda.forumeiros.com/u62843

Back to top Go down

Solved Re: Hiding "Last edited by" in Blogs

Post by CindaLove on July 15th 2018, 9:55 pm

With the JavaScript, what do I select? In all pages did not work.
avatar
CindaLove
Forumember

Female Posts : 46
Reputation : 3
Language : U.S. English
Location : U.S.A.

http://thesimmersgarden.com

Back to top Go down

Solved Re: Hiding "Last edited by" in Blogs

Post by SLGray on July 15th 2018, 10:17 pm

Now, create a new javascript and select "in the topics" for the placement :



When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
avatar
SLGray
Administrator
Administrator

Male Posts : 44345
Reputation : 3144
Language : English
Location : United States

http://fmthemesdesignteam.forumotion.com/

Back to top Go down

Solved Re: Hiding "Last edited by" in Blogs

Post by CindaLove on July 15th 2018, 10:26 pm

Still not working.

Spoiler:



avatar
CindaLove
Forumember

Female Posts : 46
Reputation : 3
Language : U.S. English
Location : U.S.A.

http://thesimmersgarden.com

Back to top Go down

Solved Re: Hiding "Last edited by" in Blogs

Post by SLGray on July 15th 2018, 10:30 pm

Are you adding the JavaScript to the template?  If yes, you need to remove it, and add it to JavaScript Management.



When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
avatar
SLGray
Administrator
Administrator

Male Posts : 44345
Reputation : 3144
Language : English
Location : United States

http://fmthemesdesignteam.forumotion.com/

Back to top Go down

Solved Re: Hiding "Last edited by" in Blogs

Post by CindaLove on July 15th 2018, 10:31 pm

@SLGray wrote:Are you adding the JavaScript to the template?  If yes, you need to remove it, and add it to JavaScript Management.

No, I have added it to JavaScript Management. It is also published in the templates.

Spoiler:
avatar
CindaLove
Forumember

Female Posts : 46
Reputation : 3
Language : U.S. English
Location : U.S.A.

http://thesimmersgarden.com

Back to top Go down

Solved Re: Hiding "Last edited by" in Blogs

Post by SarkZKalie on July 16th 2018, 3:10 pm

You can easily hide it by adding this line to your CSS
Code:
span.edit {
display:none;
}


avatar
SarkZKalie
Support Moderator
Support Moderator

Male Posts : 940
Reputation : 157
Language : English

http://rotavn.forumotion.com

Back to top Go down

Solved Re: Hiding "Last edited by" in Blogs

Post by CindaLove on July 16th 2018, 5:41 pm

That works for the first post but not the rest of the replies.
avatar
CindaLove
Forumember

Female Posts : 46
Reputation : 3
Language : U.S. English
Location : U.S.A.

http://thesimmersgarden.com

Back to top Go down

Solved Re: Hiding "Last edited by" in Blogs

Post by SarkZKalie on July 17th 2018, 12:56 am

Search and replace this one
Code:
{comment.displayed.EDITED_MESSAGE}
by
[code]<span class="edit">{comment.displayed.EDITED_MESSAGE}</span>
Save & remember to publish it.


avatar
SarkZKalie
Support Moderator
Support Moderator

Male Posts : 940
Reputation : 157
Language : English

http://rotavn.forumotion.com

Back to top Go down

Solved Re: Hiding "Last edited by" in Blogs

Post by CindaLove on July 17th 2018, 3:53 am

@SarkZKalie wrote:Search and replace this one
Code:
{comment.displayed.EDITED_MESSAGE}
by
Code:
<span class="edit">{comment.displayed.EDITED_MESSAGE}</span>
Save & remember to publish it.

That worked. Thank you, @SarkZKalie! thumleft
avatar
CindaLove
Forumember

Female Posts : 46
Reputation : 3
Language : U.S. English
Location : U.S.A.

http://thesimmersgarden.com

Back to top Go down

Solved Re: Hiding "Last edited by" in Blogs

Post by SLGray on July 17th 2018, 5:46 am

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



When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
avatar
SLGray
Administrator
Administrator

Male Posts : 44345
Reputation : 3144
Language : English
Location : United States

http://fmthemesdesignteam.forumotion.com/

Back to top Go down

Back to top


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