Edit text show after post edit
Replies 10
Hi,
If you want to display in initial thread, edit just one file.
Open view.php file and edit ligne 25 approximately, search this code:
Add this after:
Now display if you want on this template for example (Ligne 90):
If you want to display in initial thread, edit just one file.
Open view.php file and edit ligne 25 approximately, search this code:
$tag = isset($topicEntry['tag']) ? $topicEntry['tag']. ' ' : '';
Add this after:
$lastModified = @filemtime(DATA_DIR. 'topic' .DS.$_GET['topic']. '.dat.php');
$lastedited = 'Last edited on: ' .date($config['date_format'], $lastModified);
Now display if you want on this template for example (Ligne 90):
<i class="fa fa-calendar"></i> ' .Util::toDate($_GET['topic'], $config['date_format']). ' / ' .$lastedited. '
- Before ask a question, read the documentation.
- 🎉 Featured as #1 product of the day on Product Hunt
- Please like in alternativeto.net 👍🏻
- ╰☆╮Flatboard╰☆╮ is a open source and community contributions are essential to project success!
- <TextField>, my new CMS project designed by a passionate developer, for developers!
- My last project Fast⚡︎CMS, a Flat-File cms.
- I am currently busy 😫.
Oops 😯, ignores my modification, because it is currently not possible to have the date of last edition.
Each reply is added to the subject file, which distorts the author's last edition date.
I note it to add it in the next version.😎
Each reply is added to the subject file, which distorts the author's last edition date.
I note it to add it in the next version.😎
- Before ask a question, read the documentation.
- 🎉 Featured as #1 product of the day on Product Hunt
- Please like in alternativeto.net 👍🏻
- ╰☆╮Flatboard╰☆╮ is a open source and community contributions are essential to project success!
- <TextField>, my new CMS project designed by a passionate developer, for developers!
- My last project Fast⚡︎CMS, a Flat-File cms.
- I am currently busy 😫.
Added to my Todolist and it ready here ;)
Edit: try date change for my edit post.
Edit: try date change for my edit post.
Last modified by Fred on Thursday 1st January 1970, 01:00:00
- Before ask a question, read the documentation.
- 🎉 Featured as #1 product of the day on Product Hunt
- Please like in alternativeto.net 👍🏻
- ╰☆╮Flatboard╰☆╮ is a open source and community contributions are essential to project success!
- <TextField>, my new CMS project designed by a passionate developer, for developers!
- My last project Fast⚡︎CMS, a Flat-File cms.
- I am currently busy 😫.
Suggested Topics
Alexander@254111a5
started Partnership with Internetblogger.de
General Questions
Alexander Liebrecht
started solved How can I display forum icons
General Questions
906bcb19
started How to create a FAQ page
General Questions
SurveyBuilder-Admin
started solved See more doesn't toggle right box
Bug reports