PDA

View Full Version : Users can only view the contents of their own threads. It's possible?


sonic83
06-08-2017, 06:14 AM
Hello friends. I do not get this and I do not know if it is possible.

Inside a subforum I want users to see the list of all published threads, of all. But I want you to only see the content of your own subjects.

That is, If this is the list of threads:

Thread 1 started by user 1
Thread 2 started by user 2
Thread 3 started by user 3
Thread 4 started by user 4

User 1 can see the list of threads:

Thread 1
Thread 2
Thread 3
Thread 4

But you can only see the content of the thread started by him:

Thread 1

So far with the permits I have not been able to do it. Either you can not see the threads started by others, or you can not see the contents of the threads including your own.

Could this be possible?

Thank you

sonic83
07-09-2017, 03:05 PM
Please help :(

MarkFL
07-09-2017, 03:14 PM
I think you would need some custom coding to do that. I recommend posting in one of the request forums. :)

sonic83
07-09-2017, 09:51 PM
I think you would need some custom coding to do that. I recommend posting in one of the request forums. :)

thank you sir

grey_goose
07-10-2017, 12:29 PM
You could wrap the whole postbit template in:


<vb:if condition="(in_array($GLOBALS[forumid], array(x)) && $bbuserinfo[userid] == $thread[postuserid])">
</vb:if>


The first condition lets you specify the forum and the second condition checks to see if the user matches the thread starter. Unless I'm missing something?

Zylantex
07-10-2017, 02:01 PM
Staff need to see all threads, will they see them with that code?

grey_goose
07-10-2017, 05:24 PM
Wasn't specified, but adding "can_moderate($thread['forumid'])" would do the trick.