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.

remove 'time' from posts

View previous topic View next topic Go down

In progress remove 'time' from posts

Post by filbert1993 on January 5th 2015, 5:47 am

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.

filbert1993
New Member

Posts : 16
Reputation : 3
Language : english

Back to top Go down

In progress Re: remove 'time' from posts

Post by inallsorts on January 6th 2015, 12:34 pm

If I understand correctly, you wish to display (for example) "Today" Instead of "Today at 2:30pm".

Would this be correct?

inallsorts
Forumember

Posts : 246
Reputation : 8
Language : English

Back to top Go down

In progress Re: remove 'time' from posts

Post by _Twisted_Mods_ on January 6th 2015, 12:48 pm

acp>modules>javascript managment

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

_Twisted_Mods_
Helper
Helper

Male Posts : 2020
Reputation : 299
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

In progress Re: remove 'time' from posts

Post by filbert1993 on January 7th 2015, 7:55 am

Thanks worked in the "post" topics not the !homepage" Can remove the  time from " homepage" to please?

filbert1993
New Member

Posts : 16
Reputation : 3
Language : english

Back to top Go down

In progress Re: remove 'time' from posts

Post by _Twisted_Mods_ on January 7th 2015, 8:32 am

just change placement to all pages and should work everywhere time is displayed on the site

_Twisted_Mods_
Helper
Helper

Male Posts : 2020
Reputation : 299
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

In progress Re: remove 'time' from posts

Post by filbert1993 on January 7th 2015, 10:48 am

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

Back to top Go down

In progress Re: remove 'time' from posts

Post by filbert1993 on January 8th 2015, 12:27 pm

Bumping.....

filbert1993
New Member

Posts : 16
Reputation : 3
Language : english

Back to top Go down

In progress Re: remove 'time' from posts

Post by Ange Tuteur on January 8th 2015, 11:10 pm

Hello @filbert1993,

Could you provide a link to your forum ?

Thanks

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2681
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