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!
- 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!
- 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!
- I am currently busy 😫.
Suggested Topics
Simon
started solved 🇫🇷 Choix des langues
Bug reports
ubyby@bbe35467
started Premium script
General Questions
sysadmin@24b1f4c3
started Testing video
Open Bar
Ben@84171e7c
started Sort Function Built Into Forum View
Feature Requests