Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
How to let users only edit or delete their posts?
Lokio27
New
Right now, how would I allow users to only edit or delete their own posts instead of other people's posts?
0
Comments
@Lokio27
You want to add this to conf/config.php
$Configuration['Vanilla']['Comments']['AllowSelfDelete'] = TRUE; // allow self-delete of comments.
As for edit, you can change that in the advanced settings under the Forum menu
Look for "Discussion & Comment Editing" -- and set it as you wish
I should add, the search here is really good for finding answers
@Adrian I literally just found my answer. Sorry. Anyway, thanks for the help
@Adrian Why are so many options missing from the dashboard?
No worries
Edit:
The point of Vanilla is for simple experience without the dials and the knobs. And to be honest, you can find most of what you need in the dashboard. Nothing is missing, hidden might be the better word. You can look at config defaults file to see most of the other things. The goal of Vanilla is to not be another bloated forum. We give you what you need to get up and running and you can modify as you need.
@Adrian Ah, okay. I might just make something so that I can just edit some of those with settings in a "Super Advanced" tab.
I actually have something you can use for that, on Github only:
https://github.com/bleistivt/EditConfig
Edit: Just noticed, they changed the syntax highlighting for strings again I just liked it the way it was before
My themes: pure | minusbaseline - My plugins: CSSedit | HTMLedit | InfiniteScroll | BirthdayModule | [all] - PM me about customizations
VanillaSkins.com - Plugins, Themes and Graphics for Vanillaforums OS
This is an AWESOME plugin!
Also, github's new syntax highlighting is very... blue.
Search first
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.
I need some help. Whatever settings I change I can't seem to get the edit option in my discussions: http://vwlt.co.uk/forum/discussion/26/ael-engine-transplant Any ideas?
Bump. Can anyone help me find the edit button link? Ta
Please give more information to your problem.
Can you edit a discussion as when you are logged in as admin?
Which config settings have you tried?
Are you sure you have added them at the right place?
if you are the super-admin role, you should be able to edit discussions regardless of time limit or author.
suggest you upgrade to vanilla 2.2.1 and start a new discussion after you have upgraded if you still have a problem after reading this.
potential reasons.
https://vanillaforums.org/discussion/27605/authors-can-not-edit-messages
https://vanillaforums.org/discussion/comment/221413#Comment_221413
https://vanillaforums.org/discussion/28470/gear-icons-not-working
https://vanillaforums.org/discussion/32432/problems-with-editing-signatures-adding-tags-editing-discussions-permissions-problems-yaga
potential testing...
test with default theme.
make sure there are no js errors.
disable all plugins, disable yaga, if installed.
set the timeout.
edit or add either of these in your conf/config.php after changing to default theme, and disabling plugins.
$Configuration['Garden']['EditContentTimeout'] = -1; // unlimited time to edit.
if you want a user to be able to delete their own COMMENTS.
You want to add this to conf/config.php
$Configuration['Vanilla']['Comments']['AllowSelfDelete'] = TRUE; // allow self-delete of comments.
then hover over a discussion or comment that you created and click on the gear icon to the right of each discussion.
Pragmatism is all I have to offer. Avoiding the sidelines and providing centerline pro-tips.