Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Try Vanilla Forums Cloud product

In this Discussion

Please upgrade to 2.3 here. The 2.2 and earlier branches are no longer being updated.

bug: ToggleFlyout OptionsMenu - is shown even when edit time is off

edited June 2012 in Vanilla 2.0 - 2.2

It is on vanilla site too. You can see it on Your any old topic .
Option menu with the only point - Edit - and an error of Permission Problem when you try to push it.

How can I correct this ?


  • edited June 2012


          // Edit discussion
          +++ $from_time=strftime(Gdn_Format::ToTimestamp($Discussion->DateInserted));
          +++ $nowtime = strftime(time());
          +++ $diff=$nowtime - $from_time;               
          if (($Discussion->FirstUserID == $Session->UserID && $diff<C('Garden.EditContentTimeout')) || 

    this also is concerned to the delete link of FileUpload plugin

Sign In or Register to comment.