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.

postdetails time

View previous topic View next topic Go down

Solved postdetails time

Post by dodler-foddler on February 29th 2016, 3:49 pm

I'm getting kind of spoiled XD

can someone help me with removing the postdetails time and date? on every post a member makes there is a time and date that the post was made, and I was wondering if there was an easy way of removing that?


Last edited by dodler-foddler on March 5th 2016, 7:48 pm; edited 1 time in total

dodler-foddler
New Member

Male Posts : 17
Reputation : 1
Language : english

http://freneticgaming.forumotion.com

Back to top Go down

Solved Re: postdetails time

Post by APE on February 29th 2016, 4:10 pm

What part are you talking about ? Please give a screen shot and link to your forum

Thank you.





APE
Manager
Manager

Male Posts : 8648
Reputation : 759
Language : fluent in dork / mumbojumbo & English haha
Location : STUCK IN FORUMOTIONS SERVERS HELP ME !!!!!!

http://chatworld.forumotion.co.uk/

Back to top Go down

Solved Re: postdetails time

Post by SLGray on February 29th 2016, 6:45 pm

I can give you a code that will do it, but also remove the author of the post.


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


SLGray
Administrator
Administrator

Male Posts : 36735
Reputation : 2446
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

Solved Re: postdetails time

Post by dodler-foddler on February 29th 2016, 7:43 pm

@APE wrote:What part are you talking about ? Please give a screen shot and link to your forum

Thank you.


dodler-foddler
New Member

Male Posts : 17
Reputation : 1
Language : english

http://freneticgaming.forumotion.com

Back to top Go down

Solved Re: postdetails time

Post by SLGray on February 29th 2016, 9:48 pm

@SLGray wrote:I can give you a code that will do it, but also remove the author of the post.


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


SLGray
Administrator
Administrator

Male Posts : 36735
Reputation : 2446
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

Solved Re: postdetails time

Post by dodler-foddler on March 1st 2016, 6:11 pm

@SLGray wrote:I can give you a code that will do it, but also remove the author of the post.

idk if that's exactly the best approach though. I have tried to remove it like this

Code:
$(document).ready(function(){
  $(".postdetails").remove();
});

but it didn't work

dodler-foddler
New Member

Male Posts : 17
Reputation : 1
Language : english

http://freneticgaming.forumotion.com

Back to top Go down

Solved Re: postdetails time

Post by 10spetter10 on March 1st 2016, 6:53 pm

Your javascript should remove the part you selected in one of your previous posts, but also the profile-info of the users. If it doesn't remove a thing you should set your settings if it is placed on the topics, else there might be a conflict with another script or javascript isn't enabled.



If you want to use javascript to remove the whole box you can use this script:

placing: 'on the posts'
Code:
$(document).ready(function(){
  $(".postdetails").not(".poster-profile").remove();
});



If you just want to remove the date you can do this by editing your template 'viewtopic_body' (found at display > templates > general). At line 154, you should the part that corresponds with your chosen cell:

Code:
<td><span class="postdetails"><img src="{postrow.displayed.MINI_POST_IMG}" alt="{postrow.displayed.L_MINI_POST_ALT}" title="{postrow.displayed.L_MINI_POST_ALT}" border="0" />{L_POST_SUBJECT}: {postrow.displayed.POST_SUBJECT}&nbsp; &nbsp;<img src="{postrow.displayed.MINI_TIME_IMG}" alt="" border="0" />{postrow.displayed.POST_DATE}</span></td>


To remove the date you just have to remove:
Code:
&nbsp; &nbsp;<img src="{postrow.displayed.MINI_TIME_IMG}" alt="" border="0" />{postrow.displayed.POST_DATE}


Then save the template and confirm the modifications.

10spetter10
Forumember

Posts : 195
Reputation : 81
Language : Dutch

Back to top Go down

Solved Re: postdetails time

Post by dodler-foddler on March 2nd 2016, 2:39 pm

thanks! editing the template worked perfectly!

dodler-foddler
New Member

Male Posts : 17
Reputation : 1
Language : english

http://freneticgaming.forumotion.com

Back to top Go down

Solved Re: postdetails time

Post by APE on March 5th 2016, 9:59 pm

Topic solved and archived





APE
Manager
Manager

Male Posts : 8648
Reputation : 759
Language : fluent in dork / mumbojumbo & English haha
Location : STUCK IN FORUMOTIONS SERVERS HELP ME !!!!!!

http://chatworld.forumotion.co.uk/

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