Change limit

Change limit [Paid] 2.2

No permission to buy ($35.00)

AndyB

Well-known member
AndyB submitted a new resource:

Change limit - Allows changing the time limit for editing an individual post.

Premium upgrade:

This XF2 add-on along with the entire collection can be purchased for $25.00 USD. Your Premium upgrade will allow you to download as many XF2 add-ons as you like for one year. Please see the entire collection located in the Resources area at this URL:

https://www.xf2addons.com/

Note: all my XF1 add-ons are still 100% free and are supported by donations.

Description:

Most forums have a short time period where a post can be edited by the author...

Read more about this resource...
 
Andy,
I'm having a little trouble. I cannot get this to work on my XF2 installation and I'm getting an error in the Server Log:

Stack trace
#0 src/addons/Andy/ChangeLimit/XF/Pub/Controller/Post.php(54): XF::handlePhpError(8, '[E_NOTICE] Unde...', '/home/xxxxxxx/...', 54, Array)
#1 src/XF/Mvc/Dispatcher.php(249): Andy\ChangeLimit\XF\Pub\Controller\Post->actionChangeLimit(Object(XF\Mvc\ParameterBag))
#2 src/XF/Mvc/Dispatcher.php(88): XF\Mvc\Dispatcher->dispatchClass('XF:Post', 'Changelimit', 'json', Object(XF\Mvc\ParameterBag), 'forums', Object(Andy\ChangeLimit\XF\Pub\Controller\Post), NULL)
#3 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#4 src/XF/App.php(1891): XF\Mvc\Dispatcher->run()
#5 src/XF.php(328): XF\App->run()
#6 index.php(13): XF::runApp('XF\\Pub\\App')
#7 {main}

Request state
array(4) {
["url"] => string(152) "/posts/247/changelimit?_xfRequestUri=%2Fthreads%2Fhello.185%2F&_xfWithData=1&_xfToken=1521738098%2C1e1b48ad84eb34c728795411243ee9d1&_xfResponseType=json"
["referrer"] => string(51) "https://www.xxxxxxx.com/threads/hello.185/"
["_GET"] => array(4) {
["_xfRequestUri"] => string(19) "/threads/hello.185/"
["_xfWithData"] => string(1) "1"
["_xfToken"] => string(43) "1521738098,1e1b48ad84eb34c728795411243ee9d1"
["_xfResponseType"] => string(4) "json"
}
["_POST"] => array(0) {
}
}
 
Suggestion for an additional feature--I have a forum area where I want to remove the limit on the first post in each thread. So it would be like this add-on, always applied to the first post in the thread, with unlimited editing time. Is something like this possible?
 
Back
Top Bottom