Hello I want to remove the 'time' from posts in the homepage and the posts . But leave the date there. So it can only show the date of posts and not the ' time" of when it was posted. Its for phpbb3 forum.
4 posters
remove 'time' from posts
inallsorts- Forumember
- Posts : 246
Reputation : 8
Language : English
- Post n°2
Re: remove 'time' from posts
If I understand correctly, you wish to display (for example) "Today" Instead of "Today at 2:30pm".
Would this be correct?
Would this be correct?
_Twisted_Mods_- Helper
- Posts : 2083
Reputation : 336
Language : English
Location : Ms
- Post n°3
Re: remove 'time' from posts
acp>modules>javascript managment
turn on javascript
create a name script
title: whatever
placement : in the topics
submit
turn on javascript
create a name script
title: whatever
placement : in the topics
- Code:
$(function(){
$(".author").html(function (index, value) {
return value.replace(/( - | at )\d{1,2}:\d{2}/ig, '');
});
});
submit
filbert1993- New Member
- Posts : 16
Reputation : 3
Language : english
- Post n°4
Re: remove 'time' from posts
Thanks worked in the "post" topics not the !homepage" Can remove the  time from " homepage" to please?
_Twisted_Mods_- Helper
- Posts : 2083
Reputation : 336
Language : English
Location : Ms
- Post n°5
Re: remove 'time' from posts
just change placement to all pages and should work everywhere time is displayed on the site
filbert1993- New Member
- Posts : 16
Reputation : 3
Language : english
- Post n°6
Re: remove 'time' from posts
The all pages I tried it already but not working. Ange should be able to solve this. Thanks for Your help I will wait for a code
filbert1993- New Member
- Posts : 16
Reputation : 3
Language : english
- Post n°7
Re: remove 'time' from posts
Bumping.....
Ange Tuteur- Forumaster
- Posts : 13207
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania
- Post n°8