Change date v2.6 changes:
Now compatible with XF 2.0, XF 2.1 and XF 2.2.
Change date v2.7 changes:
Now updateds forum_view last post date column.
Change date v2.8 changes:
Latest activity is now updated.
$newsFeed->content_id = $result['post_id'];
// update thread post date
// check condition
if ($post->position == 0)
{
// save thread
$thread->post_date = $newDate;
$thread->saveIfChanged();
}
//########################################
// update thread post date
// check condition
$finder = \XF::finder('XF:Post');
$result = $finder
->where('thread_id', $threadId)
->order('position', 'ASC')
->fetchOne();
// save thread
$thread->post_date = $newDate;
$thread->first_post_id = $post->post_id;
$thread->saveIfChanged();
InvalidArgumentException: Attempted to convert NULL to integer [user_id] in src/XF/Mvc/Entity/Entity.php at line 763
- XF\Mvc\Entity\Entity->_castValueToType() in src/XF/Mvc/Entity/Entity.php at line 641
- XF\Mvc\Entity\Entity->set() in src/XF/Mvc/Entity/Entity.php at line 570
- XF\Mvc\Entity\Entity->__set() in src/addons/Andy/ChangeDate/XF/Pub/Controller/Post.php at line 226
- Andy\ChangeDate\XF\Pub\Controller\Post->actionChangeDateSave() in src/XF/Mvc/Dispatcher.php at line 352
- XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 259
- XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 115
- XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 57
- XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2352
- XF\App->run() in src/XF.php at line 524
- XF::runApp() in index.php at line 20
Change date v2.9 changes:
Compatible XF 2.x versions: 2.3
Change date v3.0 changes:
Fixed issue with "does not match formatter pattern" server error was being displayed.
Change date v3.1 changes:
Now compatible with XF 2.2 and 2.3.
Change date v3.2 changes:
Removed "Set current time" function.
Andy, is there way you could maintain this feature? We use it a lotAndyB updated Change date with a new update entry:
See description
Read the rest of this update entry...
Change date v3.3 changes.
Compatible with XF 2.3. Added "Use current time" link.
Not working, there is an error in the console when the link is clicked:AndyB updated Change date with a new update entry:
See description
Read the rest of this update entry...
We use essential cookies to make this site work, and optional cookies to enhance your experience.