1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Change Limit 1.6

Allows changing the time limit for editing an individual post.

  1. AndyB

    AndyB Well-Known Member

    AndyB submitted a new resource:
     
    Last edited: Feb 5, 2014
  2. Mouth

    Mouth Well-Known Member

    Another great idea. Thanks!
     
  3. AndreaMarucci

    AndreaMarucci Well-Known Member

    Andy I've a problem. As soon as I change the date I get an error message that the date format is not correct...

    Schermata 2014-03-26 alle 10.59.10.png Schermata 2014-03-26 alle 10.58.59.png
     
  4. AndyB

    AndyB Well-Known Member

  5. AndyB

    AndyB Well-Known Member

  6. markku

    markku Well-Known Member

    Screen Shot 2014-06-19 at 1.19.31.png


    • For a post, I changed the "Allow editing until:" to the year 2025. It saved OK. Now when I click again "Change Limit" on the same post, it again shows me 2014. Why doesn't it show the new date I just set before?
    • When I edit a post number #2, #25, or any post number really, it always says "Change limit for post #1"? Why doesn't it correctly say what is the post number being edited?

    Otherwise, a great addon.
     
  7. AndyB

    AndyB Well-Known Member

  8. 0ptima

    0ptima Well-Known Member

    Can this be set for certain nodes only?
     
  9. Jafo

    Jafo Active Member

    This is not working for me. I change the date on a thread, then when I check it again, the same date (from the past) shows. Why?
     
  10. Jafo

    Jafo Active Member

    I figured this out btw. You can change this by finding this code in library\Andy\ChangeLimit\ControllerPublic\Post.php:

    Code:
        if ($endDate != '')
         {
           // format endDate
           $formattedEndDate = date($timeFormat, $endDate); 
         }
    
    And change it to:

    Code:
        if ($endDate != '')
         {
           // format endDate
           $formattedEndDate = date($timeFormat, $endDate);
    
           $formattedDate = $formattedEndDate;   
         }
    
    That now makes more sense.
     
  11. AndyB

    AndyB Well-Known Member

Share This Page