Hey! I hope somebody can help me.
Code place: viewtopic_body
I have chrome
version: phpBB2
Try forum: http://forum-try-here.forumotion.co.uk/t37-hey
I want change date in postbody. What i want? Just i want other words. I have got java code, only changed the top message. BUT I want all "Today at" in this page.
So what i would like? For example;
all "Today at" in to --> "we was here today"
I think in my code miss some replay or something, but i don't know what is the replay in java language xD... Can somebody help me? Good bless you if you guys can!
My java code:
in the viewtopic_body:
Code place: viewtopic_body
I have chrome
version: phpBB2
Try forum: http://forum-try-here.forumotion.co.uk/t37-hey
- settings:
- Problem:
I want change date in postbody. What i want? Just i want other words. I have got java code, only changed the top message. BUT I want all "Today at" in this page.
So what i would like? For example;
all "Today at" in to --> "we was here today"
I think in my code miss some replay or something, but i don't know what is the replay in java language xD... Can somebody help me? Good bless you if you guys can!
My java code:
- Code:
document.getElementById('latepost').innerHTML=document.getElementById('latepost').innerHTML.replace(/Today at/,"we was here today ");
in the viewtopic_body:
- Code:
<span id="latepost">{postrow.displayed.POST_DATE} </span>
Last edited by Duckbunny80 on September 20th 2019, 7:12 pm; edited 1 time in total