Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
New Add-on: Edit in place [beta]
This discussion has been closed.
Comments
Try clicking in the comment body, the words you want to edit.
this is a screenshot of how it should work, notice the post above and after the one being edited:
The plugin don´t work in my vanilla, when i turn of the Rewrite it works
jeez... I can't believe I forgot to re-upload the fix. Addons now has what is running on my server now.
I am using 1.0.1, and have installed the newest version of this extension. The source of my page looks like this: So...It it's loading...but it isn't working. Also having trouble with SmoothPageJump - but it might be unrelated. Thought I'd mention it since they both use the prototype library.
For example:
<div class="PageInfo"> <p>1 to 12 of 12</p> <ol class="PageList PageListEmpty"> <li> </li> </ol> </div> </div><script type="text/javascript">EditInPlace.makeEditable( { id: 'CommentBody_92', save_url: 'extensions\EditInPlace\eip.php?CommentID=92' } ); EditInPlace.makeEditable( { id: 'CommentBody_93', save_url: 'extensions\EditInPlace\eip.php?CommentID=93' } ); EditInPlace.makeEditable( { id: 'CommentBody_94', save_url: 'extensions\EditInPlace\eip.php?CommentID=94' } );
This should only appear if there are some editable comments.
I've never tested with SmoothPageJump--and won't be able to until possibly after the weekend-- Does editing work if you disable the others?
I disabled those other extensions with no change. The javascripts still don't show up as embedded in the page.
Another thing to try is to put about line 20 in default.php. (should be a todo block of comments) This should return the number of comments that can be edited.
Vanlla Version: 1.0.1. Yes, I upgraded.
I added in that bit of code and got a '000' above the title of the post. However, I definitely can edit all posts in the thread.
Weird.
$CommentIDs = returnSubstrings($CommentList, '?CommentID=', '">'. $CommentGrid->Context->Dictionary['edit']);
Should instead read:$CommentIDs = returnSubstrings($CommentList, 'post/', '/">'. $CommentGrid->Context->Dictionary['edit']);
This was written in php 4.4.4, so there may be another bug there.
However, I noticed that when you hit the "cancel and go back" just in case you edit by accident - it goes back to the index instead of just canceling the edit. Perhaps there should be something like "cancel edit" (although I realize it is much easier to just to pull the comments panel into the post)?