Change Content Owner or Date

Change Content Owner or Date 2.0.18

No permission to download
@TickTackk Is it possible that after changing username, the new user is recorded as being 'Last Seen' at that latest time of the post. That way the profile will not contradict and also that new changed user can appear in "recently online" widgets.

Is this possible?
 
Last edited:
just curious if it would be possible to add a button to load current date in the date picker. i understand that i can simply type the date in the field but the year-month-day format is kind of hard to get used to as we use dd-mm-yyyy here. :p thanks!

1593723226353.webp
 
the thing is that most of the old threads i change dates on are really really old. like from 2007 like the image above. just changing the year using the calendar component takes way too many clicks. it is just faster to type the date. it's a small annoyance though as this is not something i do frequently.

here is a screenshot. the year 2020 does not appear on first click. i have to pick a newer year and then reload to access 2020.

1593724839752.webp

i checked out and it seems that the native html5 browser date picker component is actually easier to use than this custom component.

 
I have actually asked for that too but since I asked don't really find it a problem. :)
2. Is there a setting to change date/time to current time instead of having to enter it manually?
My use case:
I have an RRS feed that goes into moderation. The problem is when I approve them, the timestamps are from the actual post and these get lost in the new post list. When I approve the post I want it to accept the approval date. I know this will take two actions, but I'd like to edit time to current, then click approve. I don't want to have to add it manually if possible just because this is a daily task already and it saves time. If this is not possible can you add a button that enters the current time into the fields? Like [Current time] "This adds your local board time into the fields" or something like that.

Thanks!
Not at this moment.


What you're looking is definitely possible but for does not fit the scope of this add-on.
 
I installed this addon and it works perfect like it states. Can i make a suggestion. Now we rely on moderation for changing the thread date. It would be 2.0 if this could also be done on the creation of a thread. And then with user permissions to tell who may do this. That saves my members a lot of time.
 
I recently installed this very useful add-on. Works perfect but... since I installed it, I get a lot of slow SQL query reports. After disabling, the slow SQL query were gone again so I think it is related to this add-on?

Example:
  • Exception: Slow query: 1.1429 seconds, /topics/ziggo-go-eredivisie.90269/
  • src/addons/SV/SlowQueryLogger/Db/Mysqli/SlowQueryLogAdapter.php:287
  • Generated by: Unknown account
  • Sep 2, 2020 at 2:11 PM

Stack trace​

#0 src/XF/Db/Mysqli/Statement.php(108): SV\SlowQueryLogger\Db\Mysqli\SlowQueryLogAdapter->logQueryCompletion()
#1 src/XF/Db/AbstractAdapter.php(94): XF\Db\Mysqli\Statement->execute()
#2 src/XF/Repository/SessionActivity.php(158): XF\Db\AbstractAdapter->query('
-- XFDB=noF...', Array)
#3 src/XF/Pub/Controller/AbstractController.php(81): XF\Repository\SessionActivity->updateSessionActivity(0, 'ip', 'XF\\Pub\\Controll...', 'Index', Array, 'valid', 'yandex')
#4 src/XF/Pub/Controller/AbstractController.php(41): XF\Pub\Controller\AbstractController->updateSessionActivity('Index', Object(XF\Mvc\ParameterBag), Object(XF\Mvc\Reply\View))
#5 src/XF/Mvc/Controller.php(284): XF\Pub\Controller\AbstractController->postDispatchType('Index', Object(XF\Mvc\ParameterBag), Object(XF\Mvc\Reply\View))
#6 src/XF/Mvc/Dispatcher.php(383): XF\Mvc\Controller->postDispatch('Index', Object(XF\Mvc\ParameterBag), Object(XF\Mvc\Reply\View))
#7 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass('XF:Thread', 'Index', Object(XF\Mvc\RouteMatch), Object(TickTackk\ChangeContentOwner\XF\Pub\Controller\Thread), NULL)
#8 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(TickTackk\ChangeContentOwner\XF\Pub\Controller\Thread), NULL)
#9 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#10 src/XF/App.php(2190): XF\Mvc\Dispatcher->run()
#11 src/XF.php(391): XF\App->run()
#12 index.php(20): XF::runApp('XF\\Pub\\App')
#13 {main}

Request state​

array(4) {
["url"] => string(34) "/topics/ziggo-go-eredivisie.90269/"
["referrer"] => bool(false)
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}
 
Last edited:
Back
Top Bottom