PDA

View Full Version : Can only view own post.


Jack.D
03-23-2011, 01:02 AM
Does anyone know of any mod, similar to the settings for the forum permissions "Can only view own thread" if there's a way to only allow "Can only view own post".

So that users can only view their own posts in a certain thread, helpful for support forums where users can have a bit of privacy.

Anyone know if there is one, or how I can go about making one?

Cheers

Jack.D
03-28-2011, 01:35 PM
Bump.

Lynne
03-28-2011, 03:34 PM
I have not seen one like that. You probably would need to write a plugin using at least one of the postbit_display_* hook locations to see if the post user is the same as the viewing user and if not, don't display the post. Or, better yet, play with the original query that gets the posts in the first place. Take a look at the showthread.php page to see how it is coded.

Jack.D
03-29-2011, 10:28 AM
I will do :), Now that I know roughly where to look, I will begin scimming the templates. Cheers Lynne.