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.

Change post words.

View previous topic View next topic Go down

Solved Change post words.

Post by Zuke on November 9th 2014, 2:30 am

Hey there, I have been wondering how to edit this text here, can you tell me.

Here is what I want editing, the text that says when it was posted. http://prntscr.com/54gu4g


I would like it to say Updated by (Username), Today at 9:54


Please tell me how to edit this! Smile

-Luke

Zuke
Forumember

Male Posts : 375
Reputation : 20
Language : English
Location : United Kingdom

http://ocean.forums.fm

Back to top Go down

Solved Re: Change post words.

Post by Zuke on November 9th 2014, 2:38 am

PLEASE READ, sorry for double posting, this message can be deleted once someone has told me how to do this, it's just this topic was getting lost.

Zuke
Forumember

Male Posts : 375
Reputation : 20
Language : English
Location : United Kingdom

http://ocean.forums.fm

Back to top Go down

Solved Re: Change post words.

Post by Ange Tuteur on November 9th 2014, 3:09 am

Hello Luke Spike,

You may bump your topic after 24h with no reply. Please understand that we try to read every topic.

Add this to your CSS :
Display > Colors > CSS stylesheet
Code:
.author-last strong:before { content:"Updated by " !important }
.author-last strong:after {
 content:", ";
 font-weight:normal;
}


And create a new script :
Modules > JavaScript codes management

Title : Your choice
Placement : In the homepage
Code:
$(function() {
 var s = document.getElementsByTagName('STRONG'),i;
 for (i=0; i<s.length; i++) if (/author-last/.test(s[i].parentNode.className)) s[i].parentNode.insertBefore(s[i],s[i].parentNode.childNodes[0]);
});

Ange Tuteur
Forumaster

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

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Change post words.

Post by Zuke on November 9th 2014, 3:12 am

Thanks! It worked. Smile

Zuke
Forumember

Male Posts : 375
Reputation : 20
Language : English
Location : United Kingdom

http://ocean.forums.fm

Back to top Go down

Solved Re: Change post words.

Post by Ange Tuteur on November 9th 2014, 3:53 am

You're welcome ^^

Topic 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