Remove Date in a Post

Go down

Solved Remove Date in a Post

Post by Asriel on December 27th 2013, 2:34 am

Is there a way of removing a date from a post so it is not visible in a main page?



My version is Phbb2
Site: X-Men: World of Mutants

Thank you!
avatar
Asriel
Forumember

Male Posts : 584
Reputation : 30
Language : English, Russian, Ukrainian
Location : St. Somewhere

http://www.worldofmutants.forumotion.com

Back to top Go down

Solved Re: Remove Date in a Post

Post by Ange Tuteur on December 27th 2013, 2:48 am

Hello Asriel,

Are you wanting to remove the date in 'last posts' ? It is hard to tell by your image.
avatar
Ange Tuteur
Forumaster

Male Posts : 13202
Reputation : 2918
Language : EN10, FR5, JA5
Location : Macungie, PA

https://github.com/SethClydesdale

Back to top Go down

Solved Re: Remove Date in a Post

Post by Asriel on December 27th 2013, 3:04 am

Yes...yes I do!
avatar
Asriel
Forumember

Male Posts : 584
Reputation : 30
Language : English, Russian, Ukrainian
Location : St. Somewhere

http://www.worldofmutants.forumotion.com

Back to top Go down

Solved Re: Remove Date in a Post

Post by Ange Tuteur on December 27th 2013, 3:25 am

Okay this is going to be tricky since all that content is within one variable, but we can try the following I've thought up :

Administration Panel > Display > Templates > General > index_box

Find :
Code:
<td class="row3 over" align="center" valign="middle" height="50">
 <span class="gensmall">{catrow.forumrow.LAST_POST}</span>
 </td>

Replace with :
Code:
<td class="row3 over" align="center" valign="middle" height="50">
 <span class="gensmall" id="lastpost_content">{catrow.forumrow.LAST_POST}</span>
 </td>

Save and publish.

Then add this to your CSS :
Pictures and colors > Colors > CSS stylesheet
Code:
#lastpost_content { font-size:0; }
#lastpost_content a { font-size:10px; }
avatar
Ange Tuteur
Forumaster

Male Posts : 13202
Reputation : 2918
Language : EN10, FR5, JA5
Location : Macungie, PA

https://github.com/SethClydesdale

Back to top Go down

Solved Re: Remove Date in a Post

Post by Asriel on December 27th 2013, 3:41 am

Works like a charm.

Thank you very much!

Topic Solved.
avatar
Asriel
Forumember

Male Posts : 584
Reputation : 30
Language : English, Russian, Ukrainian
Location : St. Somewhere

http://www.worldofmutants.forumotion.com

Back to top Go down

Solved Re: Remove Date in a Post

Post by Ange Tuteur on December 27th 2013, 3:44 am

You're welcome I love you

Topic solved and archived
avatar
Ange Tuteur
Forumaster

Male Posts : 13202
Reputation : 2918
Language : EN10, FR5, JA5
Location : Macungie, PA

https://github.com/SethClydesdale

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum