Marcus
Well-known member
Project:The author of content always sees his own content as visible, regardless if it is moderated or deleted. Simple as that.
Note: The content is deleted or moderated. Please don't touch that. I just want the user see his content as usual in the forum and on the thread.
How to do: That should be ideally done with a simple user-right-permission modification, but I am new to MVC. So I need a coder to do that for me. In my former forum I did this:
1. changed the page to never give an error if the logged in user is the thread author
2. Changed the query to display all posts, with the exception of deleted or approved messages when they were not from author
But I would much prefer if you would do this with a simple MVC permission.
Payment is 60 USD. I can pay by Paypal or Bank Wire Transfer.
Note: The content is deleted or moderated. Please don't touch that. I just want the user see his content as usual in the forum and on the thread.
How to do: That should be ideally done with a simple user-right-permission modification, but I am new to MVC. So I need a coder to do that for me. In my former forum I did this:
1. changed the page to never give an error if the logged in user is the thread author
2. Changed the query to display all posts, with the exception of deleted or approved messages when they were not from author
Code:
SELECT posts WHERE visible AND posts NOT IN (SELECT posts WHERE IN (moderated, deleted) AND post.author != logged in user)
Payment is 60 USD. I can pay by Paypal or Bank Wire Transfer.