News:

Wondering if this will always be free?  See why free is better.

Main Menu

Urgent help required / forum dates

Started by Silvius, February 09, 2016, 07:14:55 AM

Previous topic - Next topic

Silvius

Hello, i would like to remove the dates from my forum as follows:

- remove last post date (when viewing the boards)
- remove post date (when reading it, it shows the date)
- remove user registration date ( from all the places )
- remove info center

Is anyone able to help me with this? which lines do i have to remove?
I am also using a custom theme, maybe that has to do with something.
I can pay.

RSVP

Sir Osis of Liver

Remove last post date/time -

BoardIndex.template.php

Find and remove this -



', $txt['on'], ' ', $board['last_post']['time'],'




Remove info center (this removes all of it) -

BoardIndex.template.php

Find and remove this -



template_info_center();




Remove date/time from posts -

Display.template.php

Find this -



<div class="smalltext">« <strong>', !empty($message['counter']) ? $txt['reply_noun'] . ' #' . $message['counter'] : '', ' ',

$txt['on'], ':</strong> ', $message['time'], ' »</div>



Change to this -



<div class="smalltext">« <strong>', !empty($message['counter']) ? $txt['reply_noun'] . ' #' . $message['counter'] : '', '

</div>




Where do you want to remove registration dates?  Do you still want them visible to admins?

Backup your files before making any changes.

Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

Silvius

id like to remove the registration dates from everywhere.

these actual dates appear on the member list and also at the forum profile, do i have to remove them from one or 2 places?

also, im using a theme, do i erase those lines from the theme's template, or from the core, or both ?

thank you in advance

Silvius

Also, the last post date and time appear on sub boards too

To explain better, here is an example:

Main board - Information about the project (managed to remvoe the last post date/time from here)

sub boards - useful information about the project
                  - announcements

these 2 secondary categories, when i enter them, i can see the last post date/time

Silvius

I have managed to remove the registration date by reading an older post.

All i need is to remove the date/time of the posts, entirely.

Kindred

You are going to have to edit every single template that has any display of a message...

Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Silvius

I only have 7 posts where i need to remove this.

Can you assist me ?

Silvius

sorry, i only have 2 categories (templates, if thats what you re referring about) where i want to remove date/time of the posts.

Kindred

no... you don't seem to understand.

Post date is displayed EVERYWHERE that a post is listed.
This includes the board index, the message index, the topic display, the recent posts list, the unread posts list, the RSS feed, the profile pages... and probably others which I didn't list.


I guess the big question is WHY do you feel the need to remove the post date?   What are you actually trying to accomplish?
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Silvius


i only need to remove the dates from the children board (if thats the correct term)

Silvius

Can anyone clarify the terminology about what im trying to do?

Last post date/time doesnt appear when im looking at the home page of the forum.

When i enter on a sub forum, like "general announcements", for every topic i have a "last post date/time" is showing on the right side. - How can i remove this? where do i find the line?

Sir Osis of Liver

 
BoardIndex.template.php

Find and remove this -



', $txt['on'], ' ', $board['last_post']['time'],'




MessageIndex.template.php

Find and remove this -



', $topic['last_post']['time'], '<br />





', $txt['on'], ' ', $board['last_post']['time'],'




Display.template.php

Find and remove this -



', $txt['on'], ':</strong> ', $message['time'], ' &#187;



I think that's all of them.

Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

Advertisement: